@feedmepos/mf-order-setting 0.0.26 → 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-BiF6v7Zj.js → KioskDevicesView-BgXkmJ7v.js} +1 -1
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-DZT0BuUN.js +301 -0
- package/dist/{KioskSettingView-COhGcRtP.js → KioskSettingView-DyX3Wv_2.js} +3 -3
- package/dist/{KioskView-C1T-n1MY.js → KioskView-Bgff7QPc.js} +5 -5
- package/dist/OrderSettingsView-C63s4uCD.js +74334 -0
- package/dist/app-Dp79Gu_F.js +1016 -0
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-BHDLv42p.js → dayjs.min-B2ZkfNUH.js} +633 -641
- package/dist/frontend/mf-order/src/App.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/Entry.vue.d.ts +1 -1
- 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/kiosk/index.d.ts +2 -0
- package/dist/frontend/mf-order/src/app.d.ts +336 -0
- package/dist/frontend/mf-order/src/components/GoogleMap.vue.d.ts +3 -5
- package/dist/frontend/mf-order/src/main.d.ts +79 -0
- package/dist/frontend/mf-order/src/modules/kiosk/interface.d.ts +5 -1
- package/dist/frontend/mf-order/src/stores/business/index.d.ts +62 -0
- package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +16 -1
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +207 -112
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +81 -78
- package/dist/frontend/mf-order/src/views/all-orders/ActionMenuCell.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/all-orders/FilterRestaurant.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/all-orders/FilterStatus.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/all-orders/FilterStatusMenu.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +56 -54
- package/dist/frontend/mf-order/src/views/all-orders/UpdateDeliveryOrderDialog.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/KioskSummary.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/KioskView.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDeviceCard.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDeviceDetail.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDevicesView.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskOtpDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskUnbindConfirm.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDineInSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDisplayStandSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskEnablePaxDialogSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskInstructionSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskMenuItemSection.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPaymentTypeSection.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskSettingView.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskTakeawaySection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliveryList.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/components/TaxInput.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/CurrencyInput.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryCustomTime.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryOrder.vue.d.ts +6 -141
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryTime.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/TimePicker.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/ZoneDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +6 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FeedmeDelivery.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FoodpandaCampaignDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +5 -5
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/OfflinePaymentTypeDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/OfflinePaymentTypeDialogContent.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/PaymentType.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/discount-rule/DiscountRuleSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/src/views/order-settings/pickup/AddressInput.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/CustomPayment.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PaymentSidesheet.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpPointDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpPointDialogContent.vue.d.ts +2 -137
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickupList.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/pickup/Preorder.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/servicecharge/RateInput.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +1 -1
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-DSCb3ndM.js → index-BXsnV_eO.js} +5 -5
- package/dist/{index-B5kfsi9C.js → index-DzQn92Tp.js} +2 -2
- package/dist/package/entity/booking/booking.do.d.ts +596 -551
- package/dist/package/entity/cursor/cursor.dto.d.ts +2 -2
- package/dist/package/entity/delivery/delivery.dto.d.ts +118 -109
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +349 -659
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +13800 -487
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +746 -1245
- 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 +64 -0
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +79 -0
- 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/dine-in/dine-in.do.d.ts +8 -8
- package/dist/package/entity/order/dine-in/dine-in.dto.d.ts +4 -4
- package/dist/package/entity/order/effects/effect.dto.d.ts +154 -6
- package/dist/package/entity/order/menu/menu.dto.d.ts +12 -12
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +101 -42
- package/dist/package/entity/order/order.do.d.ts +206 -601
- package/dist/package/entity/order/order.dto.d.ts +1096 -1600
- package/dist/package/entity/order/order.enum.d.ts +2 -2
- 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/menu.dto.d.ts +31 -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/{queue.do-y-ubeoKZ.js → queue.do-BUtcyDk3.js} +53522 -50841
- 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/kiosk/index.ts +9 -4
- package/src/app.ts +4 -1
- package/src/locales/en-US.json +24 -1
- package/src/locales/th-TH.json +31 -1
- package/src/locales/zh-CN.json +27 -1
- package/src/modules/kiosk/interface.ts +5 -1
- package/src/stores/business/index.ts +45 -0
- package/src/stores/kiosk/index.ts +9 -4
- package/src/stores/kiosk/mapper.ts +5 -1
- package/src/stores/restaurant/index.ts +3 -1
- package/src/views/kiosk/devices/KioskDeviceCard.vue +202 -80
- package/src/views/order-settings/OrderSettingsView.vue +17 -5
- package/src/views/order-settings/delivery/DeliverySetting.vue +1 -1
- package/src/views/order-settings/delivery/delivery.data.ts +2 -2
- package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +14 -2
- package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +2 -34
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +15 -12
- package/src/views/order-settings/discount-rule/DiscountRuleSetting.vue +434 -0
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-1r_DBAc-.js +0 -207
- package/dist/OrderSettingsView-CI5bdVXr.js +0 -72108
- package/dist/app-BfWp4ow3.js +0 -682
|
@@ -282,6 +282,13 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
282
282
|
precision: number;
|
|
283
283
|
};
|
|
284
284
|
}>;
|
|
285
|
+
adjustmentRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
286
|
+
type: z.ZodEnum<["CAPPED_AT"]>;
|
|
287
|
+
}, "strip", z.ZodTypeAny, {
|
|
288
|
+
type: "CAPPED_AT";
|
|
289
|
+
}, {
|
|
290
|
+
type: "CAPPED_AT";
|
|
291
|
+
}>>>;
|
|
285
292
|
total: z.ZodObject<{
|
|
286
293
|
currency: z.ZodIntersection<z.ZodString, z.ZodUnion<[z.ZodLiteral<"AED">, z.ZodLiteral<"AFN">, z.ZodLiteral<"ALL">, z.ZodLiteral<"AMD">, z.ZodLiteral<"ANG">, z.ZodLiteral<"AOA">, z.ZodLiteral<"ARS">, z.ZodLiteral<"AUD">, z.ZodLiteral<"AWG">, z.ZodLiteral<"AZN">, z.ZodLiteral<"BAM">, z.ZodLiteral<"BBD">, z.ZodLiteral<"BDT">, z.ZodLiteral<"BGN">, z.ZodLiteral<"BHD">, z.ZodLiteral<"BIF">, z.ZodLiteral<"BMD">, z.ZodLiteral<"BND">, z.ZodLiteral<"BOB">, z.ZodLiteral<"BOV">, z.ZodLiteral<"BRL">, z.ZodLiteral<"BSD">, z.ZodLiteral<"BTN">, z.ZodLiteral<"BWP">, z.ZodLiteral<"BYN">, z.ZodLiteral<"BZD">, z.ZodLiteral<"CAD">, z.ZodLiteral<"CDF">, z.ZodLiteral<"CHE">, z.ZodLiteral<"CHF">, z.ZodLiteral<"CHW">, z.ZodLiteral<"CLF">, z.ZodLiteral<"CLP">, z.ZodLiteral<"CNY">, z.ZodLiteral<"COP">, z.ZodLiteral<"COU">, z.ZodLiteral<"CRC">, z.ZodLiteral<"CUC">, z.ZodLiteral<"CUP">, z.ZodLiteral<"CVE">, z.ZodLiteral<"CZK">, z.ZodLiteral<"DJF">, z.ZodLiteral<"DKK">, z.ZodLiteral<"DOP">, z.ZodLiteral<"DZD">, z.ZodLiteral<"EGP">, z.ZodLiteral<"ERN">, z.ZodLiteral<"ETB">, z.ZodLiteral<"EUR">, z.ZodLiteral<"FJD">, z.ZodLiteral<"FKP">, z.ZodLiteral<"GBP">, z.ZodLiteral<"GEL">, z.ZodLiteral<"GHS">, z.ZodLiteral<"GIP">, z.ZodLiteral<"GMD">, z.ZodLiteral<"GNF">, z.ZodLiteral<"GTQ">, z.ZodLiteral<"GYD">, z.ZodLiteral<"HKD">, z.ZodLiteral<"HNL">, z.ZodLiteral<"HRK">, z.ZodLiteral<"HTG">, z.ZodLiteral<"HUF">, z.ZodLiteral<"IDR">, z.ZodLiteral<"ILS">, z.ZodLiteral<"INR">, z.ZodLiteral<"IQD">, z.ZodLiteral<"IRR">, z.ZodLiteral<"ISK">, z.ZodLiteral<"JMD">, z.ZodLiteral<"JOD">, z.ZodLiteral<"JPY">, z.ZodLiteral<"KES">, z.ZodLiteral<"KGS">, z.ZodLiteral<"KHR">, z.ZodLiteral<"KMF">, z.ZodLiteral<"KPW">, z.ZodLiteral<"KRW">, z.ZodLiteral<"KWD">, z.ZodLiteral<"KYD">, z.ZodLiteral<"KZT">, z.ZodLiteral<"LAK">, z.ZodLiteral<"LBP">, z.ZodLiteral<"LKR">, z.ZodLiteral<"LRD">, z.ZodLiteral<"LSL">, z.ZodLiteral<"LYD">, z.ZodLiteral<"MAD">, z.ZodLiteral<"MDL">, z.ZodLiteral<"MGA">, z.ZodLiteral<"MKD">, z.ZodLiteral<"MMK">, z.ZodLiteral<"MNT">, z.ZodLiteral<"MOP">, z.ZodLiteral<"MRU">, z.ZodLiteral<"MUR">, z.ZodLiteral<"MVR">, z.ZodLiteral<"MWK">, z.ZodLiteral<"MXN">, z.ZodLiteral<"MXV">, z.ZodLiteral<"MYR">, z.ZodLiteral<"MZN">, z.ZodLiteral<"NAD">, z.ZodLiteral<"NGN">, z.ZodLiteral<"NIO">, z.ZodLiteral<"NOK">, z.ZodLiteral<"NPR">, z.ZodLiteral<"NZD">, z.ZodLiteral<"OMR">, z.ZodLiteral<"PAB">, z.ZodLiteral<"PEN">, z.ZodLiteral<"PGK">, z.ZodLiteral<"PHP">, z.ZodLiteral<"PKR">, z.ZodLiteral<"PLN">, z.ZodLiteral<"PYG">, z.ZodLiteral<"QAR">, z.ZodLiteral<"RON">, z.ZodLiteral<"RSD">, z.ZodLiteral<"RUB">, z.ZodLiteral<"RWF">, z.ZodLiteral<"SAR">, z.ZodLiteral<"SBD">, z.ZodLiteral<"SCR">, z.ZodLiteral<"SDG">, z.ZodLiteral<"SEK">, z.ZodLiteral<"SGD">, z.ZodLiteral<"SHP">, z.ZodLiteral<"SLL">, z.ZodLiteral<"SOS">, z.ZodLiteral<"SRD">, z.ZodLiteral<"SSP">, z.ZodLiteral<"STN">, z.ZodLiteral<"SVC">, z.ZodLiteral<"SYP">, z.ZodLiteral<"SZL">, z.ZodLiteral<"THB">, z.ZodLiteral<"TJS">, z.ZodLiteral<"TMT">, z.ZodLiteral<"TND">, z.ZodLiteral<"TOP">, z.ZodLiteral<"TRY">, z.ZodLiteral<"TTD">, z.ZodLiteral<"TWD">, z.ZodLiteral<"TZS">, z.ZodLiteral<"UAH">, z.ZodLiteral<"UGX">, z.ZodLiteral<"USD">, z.ZodLiteral<"USN">, z.ZodLiteral<"UYI">, z.ZodLiteral<"UYU">, z.ZodLiteral<"UYW">, z.ZodLiteral<"UZS">, z.ZodLiteral<"VES">, z.ZodLiteral<"VND">, z.ZodLiteral<"VUV">, z.ZodLiteral<"WST">, z.ZodLiteral<"XAF">, z.ZodLiteral<"XAG">, z.ZodLiteral<"XAU">, z.ZodLiteral<"XBA">, z.ZodLiteral<"XBB">, z.ZodLiteral<"XBC">, z.ZodLiteral<"XBD">, z.ZodLiteral<"XCD">, z.ZodLiteral<"XDR">, z.ZodLiteral<"XOF">, z.ZodLiteral<"XPD">, z.ZodLiteral<"XPF">, z.ZodLiteral<"XPT">, z.ZodLiteral<"XSU">, z.ZodLiteral<"XTS">, z.ZodLiteral<"XUA">, z.ZodLiteral<"XXX">, z.ZodLiteral<"YER">, z.ZodLiteral<"ZAR">, z.ZodLiteral<"ZMW">, z.ZodLiteral<"ZWL">]>>;
|
|
287
294
|
amount: z.ZodNumber;
|
|
@@ -320,6 +327,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
320
327
|
}, "strip", z.ZodTypeAny, {
|
|
321
328
|
reason?: string | null | undefined;
|
|
322
329
|
referenceId?: string | null | undefined;
|
|
330
|
+
adjustmentRule?: {
|
|
331
|
+
type: "CAPPED_AT";
|
|
332
|
+
} | null | undefined;
|
|
323
333
|
remark?: string | null | undefined;
|
|
324
334
|
excludeAddonPrice?: boolean | null | undefined;
|
|
325
335
|
total: {
|
|
@@ -348,6 +358,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
348
358
|
}, {
|
|
349
359
|
reason?: string | null | undefined;
|
|
350
360
|
referenceId?: string | null | undefined;
|
|
361
|
+
adjustmentRule?: {
|
|
362
|
+
type: "CAPPED_AT";
|
|
363
|
+
} | null | undefined;
|
|
351
364
|
remark?: string | null | undefined;
|
|
352
365
|
excludeAddonPrice?: boolean | null | undefined;
|
|
353
366
|
total: {
|
|
@@ -389,6 +402,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
389
402
|
adjustment?: Record<string, {
|
|
390
403
|
reason?: string | null | undefined;
|
|
391
404
|
referenceId?: string | null | undefined;
|
|
405
|
+
adjustmentRule?: {
|
|
406
|
+
type: "CAPPED_AT";
|
|
407
|
+
} | null | undefined;
|
|
392
408
|
remark?: string | null | undefined;
|
|
393
409
|
excludeAddonPrice?: boolean | null | undefined;
|
|
394
410
|
total: {
|
|
@@ -485,6 +501,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
485
501
|
adjustment?: Record<string, {
|
|
486
502
|
reason?: string | null | undefined;
|
|
487
503
|
referenceId?: string | null | undefined;
|
|
504
|
+
adjustmentRule?: {
|
|
505
|
+
type: "CAPPED_AT";
|
|
506
|
+
} | null | undefined;
|
|
488
507
|
remark?: string | null | undefined;
|
|
489
508
|
excludeAddonPrice?: boolean | null | undefined;
|
|
490
509
|
total: {
|
|
@@ -633,7 +652,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
633
652
|
} | null | undefined;
|
|
634
653
|
_id: string;
|
|
635
654
|
}>>>;
|
|
636
|
-
effects: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<
|
|
655
|
+
effects: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
|
|
637
656
|
adjustment: z.ZodObject<{
|
|
638
657
|
type: z.ZodEnum<["BY_PERCENTAGE", "BY_AMOUNT", "TO_AMOUNT"]>;
|
|
639
658
|
amount: z.ZodObject<{
|
|
@@ -663,11 +682,15 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
663
682
|
};
|
|
664
683
|
}>;
|
|
665
684
|
availableOnlineOrder: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>, "many">>>;
|
|
685
|
+
adjustmentRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
686
|
+
type: z.ZodEnum<["CAPPED_AT"]>;
|
|
687
|
+
}, "strip", z.ZodTypeAny, {
|
|
688
|
+
type: "CAPPED_AT";
|
|
689
|
+
}, {
|
|
690
|
+
type: "CAPPED_AT";
|
|
691
|
+
}>>>;
|
|
666
692
|
options: z.ZodDiscriminatedUnion<"target", z.Primitive, z.ZodObject<z.extendShape<{
|
|
667
693
|
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
668
|
-
}, {
|
|
669
|
-
target: z.ZodLiteral<"BILL">;
|
|
670
|
-
excludeIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
671
694
|
minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
672
695
|
amount: z.ZodNumber;
|
|
673
696
|
precision: z.ZodNumber;
|
|
@@ -678,12 +701,25 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
678
701
|
amount: number;
|
|
679
702
|
precision: number;
|
|
680
703
|
}>>>;
|
|
704
|
+
minPurchaseItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
705
|
+
productId: z.ZodString;
|
|
706
|
+
}, "strip", z.ZodTypeAny, {
|
|
707
|
+
productId: string;
|
|
708
|
+
}, {
|
|
709
|
+
productId: string;
|
|
710
|
+
}>, "many">>>;
|
|
711
|
+
}, {
|
|
712
|
+
target: z.ZodLiteral<"BILL">;
|
|
713
|
+
excludeIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
681
714
|
}>, "strip", z.ZodTypeAny, {
|
|
682
715
|
excludeIds?: string[] | null | undefined;
|
|
683
716
|
minPurchase?: {
|
|
684
717
|
amount: number;
|
|
685
718
|
precision: number;
|
|
686
719
|
} | null | undefined;
|
|
720
|
+
minPurchaseItems?: {
|
|
721
|
+
productId: string;
|
|
722
|
+
}[] | null | undefined;
|
|
687
723
|
target: "BILL";
|
|
688
724
|
}, {
|
|
689
725
|
excludeIds?: string[] | null | undefined;
|
|
@@ -691,9 +727,29 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
691
727
|
amount: number;
|
|
692
728
|
precision: number;
|
|
693
729
|
} | null | undefined;
|
|
730
|
+
minPurchaseItems?: {
|
|
731
|
+
productId: string;
|
|
732
|
+
}[] | null | undefined;
|
|
694
733
|
target: "BILL";
|
|
695
734
|
}> | z.ZodObject<z.extendShape<{
|
|
696
735
|
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
736
|
+
minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
737
|
+
amount: z.ZodNumber;
|
|
738
|
+
precision: z.ZodNumber;
|
|
739
|
+
}, "strip", z.ZodTypeAny, {
|
|
740
|
+
amount: number;
|
|
741
|
+
precision: number;
|
|
742
|
+
}, {
|
|
743
|
+
amount: number;
|
|
744
|
+
precision: number;
|
|
745
|
+
}>>>;
|
|
746
|
+
minPurchaseItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
747
|
+
productId: z.ZodString;
|
|
748
|
+
}, "strip", z.ZodTypeAny, {
|
|
749
|
+
productId: string;
|
|
750
|
+
}, {
|
|
751
|
+
productId: string;
|
|
752
|
+
}>, "many">>>;
|
|
697
753
|
}, {
|
|
698
754
|
target: z.ZodLiteral<"ITEM">;
|
|
699
755
|
strategy: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
@@ -792,6 +848,13 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
792
848
|
maxQuantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
793
849
|
excludeAddonPrice: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
794
850
|
}>, "strip", z.ZodTypeAny, {
|
|
851
|
+
minPurchase?: {
|
|
852
|
+
amount: number;
|
|
853
|
+
precision: number;
|
|
854
|
+
} | null | undefined;
|
|
855
|
+
minPurchaseItems?: {
|
|
856
|
+
productId: string;
|
|
857
|
+
}[] | null | undefined;
|
|
795
858
|
maxQuantity?: number | null | undefined;
|
|
796
859
|
excludeAddonPrice?: boolean | null | undefined;
|
|
797
860
|
target: "ITEM";
|
|
@@ -823,6 +886,13 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
823
886
|
};
|
|
824
887
|
targetIds: string[];
|
|
825
888
|
}, {
|
|
889
|
+
minPurchase?: {
|
|
890
|
+
amount: number;
|
|
891
|
+
precision: number;
|
|
892
|
+
} | null | undefined;
|
|
893
|
+
minPurchaseItems?: {
|
|
894
|
+
productId: string;
|
|
895
|
+
}[] | null | undefined;
|
|
826
896
|
maxQuantity?: number | null | undefined;
|
|
827
897
|
excludeAddonPrice?: boolean | null | undefined;
|
|
828
898
|
target: "ITEM";
|
|
@@ -855,8 +925,6 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
855
925
|
targetIds: string[];
|
|
856
926
|
}> | z.ZodObject<z.extendShape<{
|
|
857
927
|
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
858
|
-
}, {
|
|
859
|
-
target: z.ZodLiteral<"PAYMENT">;
|
|
860
928
|
minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
861
929
|
amount: z.ZodNumber;
|
|
862
930
|
precision: z.ZodNumber;
|
|
@@ -867,179 +935,107 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
867
935
|
amount: number;
|
|
868
936
|
precision: number;
|
|
869
937
|
}>>>;
|
|
938
|
+
minPurchaseItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
939
|
+
productId: z.ZodString;
|
|
940
|
+
}, "strip", z.ZodTypeAny, {
|
|
941
|
+
productId: string;
|
|
942
|
+
}, {
|
|
943
|
+
productId: string;
|
|
944
|
+
}>, "many">>>;
|
|
945
|
+
}, {
|
|
946
|
+
target: z.ZodLiteral<"PAYMENT">;
|
|
870
947
|
}>, "strip", z.ZodTypeAny, {
|
|
871
948
|
minPurchase?: {
|
|
872
949
|
amount: number;
|
|
873
950
|
precision: number;
|
|
874
951
|
} | null | undefined;
|
|
952
|
+
minPurchaseItems?: {
|
|
953
|
+
productId: string;
|
|
954
|
+
}[] | null | undefined;
|
|
875
955
|
target: "PAYMENT";
|
|
876
956
|
}, {
|
|
877
957
|
minPurchase?: {
|
|
878
958
|
amount: number;
|
|
879
959
|
precision: number;
|
|
880
960
|
} | null | undefined;
|
|
961
|
+
minPurchaseItems?: {
|
|
962
|
+
productId: string;
|
|
963
|
+
}[] | null | undefined;
|
|
881
964
|
target: "PAYMENT";
|
|
882
965
|
}>>;
|
|
883
966
|
priority: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
884
967
|
}, {
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
}, "strip", z.ZodTypeAny, {
|
|
891
|
-
amount: number;
|
|
892
|
-
precision: number;
|
|
893
|
-
}, {
|
|
894
|
-
amount: number;
|
|
895
|
-
precision: number;
|
|
896
|
-
}>;
|
|
897
|
-
inclusive: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
968
|
+
success: z.ZodBoolean;
|
|
969
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
970
|
+
usedItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
971
|
+
id: z.ZodString;
|
|
972
|
+
quantity: z.ZodNumber;
|
|
898
973
|
}, "strip", z.ZodTypeAny, {
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
amount: {
|
|
902
|
-
amount: number;
|
|
903
|
-
precision: number;
|
|
904
|
-
};
|
|
974
|
+
id: string;
|
|
975
|
+
quantity: number;
|
|
905
976
|
}, {
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
977
|
+
id: string;
|
|
978
|
+
quantity: number;
|
|
979
|
+
}>, "many">>>;
|
|
980
|
+
toUse: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
981
|
+
toGet: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
982
|
+
maximumReached: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
983
|
+
items: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
984
|
+
name: z.ZodString;
|
|
985
|
+
from: z.ZodEnum<["COUNTER", "PROMOTION", "VOUCHER", "MEMBERSHIP", "FREE_CREDIT"]>;
|
|
986
|
+
referenceId: z.ZodString;
|
|
987
|
+
returnId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
988
|
+
customer: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
989
|
+
id: z.ZodString;
|
|
990
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
991
|
+
}, "strip", z.ZodTypeAny, {
|
|
992
|
+
name?: string | null | undefined;
|
|
993
|
+
id: string;
|
|
916
994
|
}, {
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
995
|
+
name?: string | null | undefined;
|
|
996
|
+
id: string;
|
|
997
|
+
}>>>;
|
|
998
|
+
autoApplied: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
999
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1000
|
+
reason?: string | null | undefined;
|
|
1001
|
+
priority?: number | null | undefined;
|
|
1002
|
+
items?: string[] | null | undefined;
|
|
1003
|
+
adjustmentRule?: {
|
|
1004
|
+
type: "CAPPED_AT";
|
|
1005
|
+
} | null | undefined;
|
|
1006
|
+
customer?: {
|
|
1007
|
+
name?: string | null | undefined;
|
|
1008
|
+
id: string;
|
|
1009
|
+
} | null | undefined;
|
|
1010
|
+
availableOnlineOrder?: ("DINE_IN" | "PICKUP" | "DELIVERY")[] | null | undefined;
|
|
1011
|
+
usedItems?: {
|
|
1012
|
+
id: string;
|
|
1013
|
+
quantity: number;
|
|
1014
|
+
}[] | null | undefined;
|
|
1015
|
+
toUse?: string[] | null | undefined;
|
|
1016
|
+
toGet?: string[] | null | undefined;
|
|
1017
|
+
maximumReached?: boolean | null | undefined;
|
|
1018
|
+
returnId?: string | null | undefined;
|
|
1019
|
+
autoApplied?: boolean | null | undefined;
|
|
1020
|
+
name: string;
|
|
1021
|
+
options: {
|
|
930
1022
|
excludeIds?: string[] | null | undefined;
|
|
931
1023
|
minPurchase?: {
|
|
932
1024
|
amount: number;
|
|
933
1025
|
precision: number;
|
|
934
1026
|
} | null | undefined;
|
|
1027
|
+
minPurchaseItems?: {
|
|
1028
|
+
productId: string;
|
|
1029
|
+
}[] | null | undefined;
|
|
935
1030
|
target: "BILL";
|
|
936
|
-
}
|
|
937
|
-
excludeIds?: string[] | null | undefined;
|
|
1031
|
+
} | {
|
|
938
1032
|
minPurchase?: {
|
|
939
1033
|
amount: number;
|
|
940
1034
|
precision: number;
|
|
941
1035
|
} | null | undefined;
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
}, {
|
|
946
|
-
target: z.ZodLiteral<"ITEM">;
|
|
947
|
-
strategy: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
948
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
949
|
-
}, {
|
|
950
|
-
type: z.ZodLiteral<"SIMPLE">;
|
|
951
|
-
withAddons: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
952
|
-
}>, "strip", z.ZodTypeAny, {
|
|
953
|
-
withAddons?: string[] | null | undefined;
|
|
954
|
-
type: "SIMPLE";
|
|
955
|
-
}, {
|
|
956
|
-
withAddons?: string[] | null | undefined;
|
|
957
|
-
type: "SIMPLE";
|
|
958
|
-
}> | z.ZodObject<z.extendShape<{
|
|
959
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
960
|
-
}, {
|
|
961
|
-
type: z.ZodLiteral<"BUY_X_GET_Y">;
|
|
962
|
-
x: z.ZodNumber;
|
|
963
|
-
y: z.ZodNumber;
|
|
964
|
-
}>, "strip", z.ZodTypeAny, {
|
|
965
|
-
type: "BUY_X_GET_Y";
|
|
966
|
-
x: number;
|
|
967
|
-
y: number;
|
|
968
|
-
}, {
|
|
969
|
-
type: "BUY_X_GET_Y";
|
|
970
|
-
x: number;
|
|
971
|
-
y: number;
|
|
972
|
-
}> | z.ZodObject<z.extendShape<{
|
|
973
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
974
|
-
}, {
|
|
975
|
-
type: z.ZodLiteral<"BUY_X_ITEM_A_GET_Y_ITEM_B">;
|
|
976
|
-
itemAIds: z.ZodArray<z.ZodString, "many">;
|
|
977
|
-
x: z.ZodNumber;
|
|
978
|
-
y: z.ZodNumber;
|
|
979
|
-
}>, "strip", z.ZodTypeAny, {
|
|
980
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
981
|
-
x: number;
|
|
982
|
-
y: number;
|
|
983
|
-
itemAIds: string[];
|
|
984
|
-
}, {
|
|
985
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
986
|
-
x: number;
|
|
987
|
-
y: number;
|
|
988
|
-
itemAIds: string[];
|
|
989
|
-
}> | z.ZodObject<z.extendShape<{
|
|
990
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
991
|
-
}, {
|
|
992
|
-
type: z.ZodLiteral<"BUY_X_GET_Y_V2">;
|
|
993
|
-
priority: z.ZodEnum<["CHEAPEST_FIRST", "MOST_EXPENSIVE_FIRST"]>;
|
|
994
|
-
itemAIds: z.ZodArray<z.ZodString, "many">;
|
|
995
|
-
x: z.ZodNumber;
|
|
996
|
-
y: z.ZodNumber;
|
|
997
|
-
}>, "strip", z.ZodTypeAny, {
|
|
998
|
-
type: "BUY_X_GET_Y_V2";
|
|
999
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
1000
|
-
x: number;
|
|
1001
|
-
y: number;
|
|
1002
|
-
itemAIds: string[];
|
|
1003
|
-
}, {
|
|
1004
|
-
type: "BUY_X_GET_Y_V2";
|
|
1005
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
1006
|
-
x: number;
|
|
1007
|
-
y: number;
|
|
1008
|
-
itemAIds: string[];
|
|
1009
|
-
}> | z.ZodObject<z.extendShape<{
|
|
1010
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
1011
|
-
}, {
|
|
1012
|
-
type: z.ZodLiteral<"COMBO">;
|
|
1013
|
-
groups: z.ZodArray<z.ZodObject<{
|
|
1014
|
-
itemIds: z.ZodArray<z.ZodString, "many">;
|
|
1015
|
-
count: z.ZodNumber;
|
|
1016
|
-
}, "strip", z.ZodTypeAny, {
|
|
1017
|
-
count: number;
|
|
1018
|
-
itemIds: string[];
|
|
1019
|
-
}, {
|
|
1020
|
-
count: number;
|
|
1021
|
-
itemIds: string[];
|
|
1022
|
-
}>, "many">;
|
|
1023
|
-
atLeast: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1024
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1025
|
-
atLeast?: boolean | null | undefined;
|
|
1026
|
-
groups: {
|
|
1027
|
-
count: number;
|
|
1028
|
-
itemIds: string[];
|
|
1029
|
-
}[];
|
|
1030
|
-
type: "COMBO";
|
|
1031
|
-
}, {
|
|
1032
|
-
atLeast?: boolean | null | undefined;
|
|
1033
|
-
groups: {
|
|
1034
|
-
count: number;
|
|
1035
|
-
itemIds: string[];
|
|
1036
|
-
}[];
|
|
1037
|
-
type: "COMBO";
|
|
1038
|
-
}>>;
|
|
1039
|
-
targetIds: z.ZodArray<z.ZodString, "many">;
|
|
1040
|
-
maxQuantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1041
|
-
excludeAddonPrice: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1042
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1036
|
+
minPurchaseItems?: {
|
|
1037
|
+
productId: string;
|
|
1038
|
+
}[] | null | undefined;
|
|
1043
1039
|
maxQuantity?: number | null | undefined;
|
|
1044
1040
|
excludeAddonPrice?: boolean | null | undefined;
|
|
1045
1041
|
target: "ITEM";
|
|
@@ -1070,461 +1066,67 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
1070
1066
|
type: "COMBO";
|
|
1071
1067
|
};
|
|
1072
1068
|
targetIds: string[];
|
|
1073
|
-
}
|
|
1074
|
-
maxQuantity?: number | null | undefined;
|
|
1075
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
1076
|
-
target: "ITEM";
|
|
1077
|
-
strategy: {
|
|
1078
|
-
withAddons?: string[] | null | undefined;
|
|
1079
|
-
type: "SIMPLE";
|
|
1080
|
-
} | {
|
|
1081
|
-
type: "BUY_X_GET_Y";
|
|
1082
|
-
x: number;
|
|
1083
|
-
y: number;
|
|
1084
|
-
} | {
|
|
1085
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
1086
|
-
x: number;
|
|
1087
|
-
y: number;
|
|
1088
|
-
itemAIds: string[];
|
|
1089
|
-
} | {
|
|
1090
|
-
type: "BUY_X_GET_Y_V2";
|
|
1091
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
1092
|
-
x: number;
|
|
1093
|
-
y: number;
|
|
1094
|
-
itemAIds: string[];
|
|
1095
|
-
} | {
|
|
1096
|
-
atLeast?: boolean | null | undefined;
|
|
1097
|
-
groups: {
|
|
1098
|
-
count: number;
|
|
1099
|
-
itemIds: string[];
|
|
1100
|
-
}[];
|
|
1101
|
-
type: "COMBO";
|
|
1102
|
-
};
|
|
1103
|
-
targetIds: string[];
|
|
1104
|
-
}> | z.ZodObject<z.extendShape<{
|
|
1105
|
-
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
1106
|
-
}, {
|
|
1107
|
-
target: z.ZodLiteral<"PAYMENT">;
|
|
1108
|
-
minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1109
|
-
amount: z.ZodNumber;
|
|
1110
|
-
precision: z.ZodNumber;
|
|
1111
|
-
}, "strip", z.ZodTypeAny, {
|
|
1112
|
-
amount: number;
|
|
1113
|
-
precision: number;
|
|
1114
|
-
}, {
|
|
1115
|
-
amount: number;
|
|
1116
|
-
precision: number;
|
|
1117
|
-
}>>>;
|
|
1118
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1119
|
-
minPurchase?: {
|
|
1120
|
-
amount: number;
|
|
1121
|
-
precision: number;
|
|
1122
|
-
} | null | undefined;
|
|
1123
|
-
target: "PAYMENT";
|
|
1124
|
-
}, {
|
|
1069
|
+
} | {
|
|
1125
1070
|
minPurchase?: {
|
|
1126
1071
|
amount: number;
|
|
1127
1072
|
precision: number;
|
|
1128
1073
|
} | null | undefined;
|
|
1074
|
+
minPurchaseItems?: {
|
|
1075
|
+
productId: string;
|
|
1076
|
+
}[] | null | undefined;
|
|
1129
1077
|
target: "PAYMENT";
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
id: z.ZodString;
|
|
1136
|
-
quantity: z.ZodNumber;
|
|
1137
|
-
}, "strip", z.ZodTypeAny, {
|
|
1138
|
-
id: string;
|
|
1139
|
-
quantity: number;
|
|
1140
|
-
}, {
|
|
1141
|
-
id: string;
|
|
1142
|
-
quantity: number;
|
|
1143
|
-
}>, "many">>>;
|
|
1144
|
-
toUse: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1145
|
-
toGet: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1146
|
-
maximumReached: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1147
|
-
}>, {
|
|
1148
|
-
items: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1149
|
-
name: z.ZodString;
|
|
1150
|
-
from: z.ZodEnum<["COUNTER", "PROMOTION", "VOUCHER", "MEMBERSHIP", "FREE_CREDIT"]>;
|
|
1151
|
-
referenceId: z.ZodString;
|
|
1152
|
-
returnId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1153
|
-
adjustment: z.ZodObject<{
|
|
1154
|
-
type: z.ZodEnum<["BY_PERCENTAGE", "BY_AMOUNT", "TO_AMOUNT"]>;
|
|
1155
|
-
amount: z.ZodObject<{
|
|
1156
|
-
amount: z.ZodNumber;
|
|
1157
|
-
precision: z.ZodNumber;
|
|
1158
|
-
}, "strip", z.ZodTypeAny, {
|
|
1159
|
-
amount: number;
|
|
1160
|
-
precision: number;
|
|
1161
|
-
}, {
|
|
1162
|
-
amount: number;
|
|
1163
|
-
precision: number;
|
|
1164
|
-
}>;
|
|
1165
|
-
inclusive: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1166
|
-
}, "strip", z.ZodTypeAny, {
|
|
1167
|
-
inclusive?: boolean | null | undefined;
|
|
1168
|
-
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
1169
|
-
amount: {
|
|
1170
|
-
amount: number;
|
|
1171
|
-
precision: number;
|
|
1172
|
-
};
|
|
1173
|
-
}, {
|
|
1078
|
+
};
|
|
1079
|
+
success: boolean;
|
|
1080
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
1081
|
+
referenceId: string;
|
|
1082
|
+
adjustment: {
|
|
1174
1083
|
inclusive?: boolean | null | undefined;
|
|
1175
1084
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
1176
1085
|
amount: {
|
|
1177
1086
|
amount: number;
|
|
1178
1087
|
precision: number;
|
|
1179
1088
|
};
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
reason
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1089
|
+
};
|
|
1090
|
+
}, {
|
|
1091
|
+
reason?: string | null | undefined;
|
|
1092
|
+
priority?: number | null | undefined;
|
|
1093
|
+
items?: string[] | null | undefined;
|
|
1094
|
+
adjustmentRule?: {
|
|
1095
|
+
type: "CAPPED_AT";
|
|
1096
|
+
} | null | undefined;
|
|
1097
|
+
customer?: {
|
|
1098
|
+
name?: string | null | undefined;
|
|
1099
|
+
id: string;
|
|
1100
|
+
} | null | undefined;
|
|
1101
|
+
availableOnlineOrder?: ("DINE_IN" | "PICKUP" | "DELIVERY")[] | null | undefined;
|
|
1102
|
+
usedItems?: {
|
|
1103
|
+
id: string;
|
|
1104
|
+
quantity: number;
|
|
1105
|
+
}[] | null | undefined;
|
|
1106
|
+
toUse?: string[] | null | undefined;
|
|
1107
|
+
toGet?: string[] | null | undefined;
|
|
1108
|
+
maximumReached?: boolean | null | undefined;
|
|
1109
|
+
returnId?: string | null | undefined;
|
|
1110
|
+
autoApplied?: boolean | null | undefined;
|
|
1111
|
+
name: string;
|
|
1112
|
+
options: {
|
|
1199
1113
|
excludeIds?: string[] | null | undefined;
|
|
1200
1114
|
minPurchase?: {
|
|
1201
1115
|
amount: number;
|
|
1202
1116
|
precision: number;
|
|
1203
1117
|
} | null | undefined;
|
|
1118
|
+
minPurchaseItems?: {
|
|
1119
|
+
productId: string;
|
|
1120
|
+
}[] | null | undefined;
|
|
1204
1121
|
target: "BILL";
|
|
1205
|
-
}
|
|
1206
|
-
excludeIds?: string[] | null | undefined;
|
|
1122
|
+
} | {
|
|
1207
1123
|
minPurchase?: {
|
|
1208
1124
|
amount: number;
|
|
1209
1125
|
precision: number;
|
|
1210
1126
|
} | null | undefined;
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
}, {
|
|
1215
|
-
target: z.ZodLiteral<"ITEM">;
|
|
1216
|
-
strategy: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
1217
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
1218
|
-
}, {
|
|
1219
|
-
type: z.ZodLiteral<"SIMPLE">;
|
|
1220
|
-
withAddons: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1221
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1222
|
-
withAddons?: string[] | null | undefined;
|
|
1223
|
-
type: "SIMPLE";
|
|
1224
|
-
}, {
|
|
1225
|
-
withAddons?: string[] | null | undefined;
|
|
1226
|
-
type: "SIMPLE";
|
|
1227
|
-
}> | z.ZodObject<z.extendShape<{
|
|
1228
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
1229
|
-
}, {
|
|
1230
|
-
type: z.ZodLiteral<"BUY_X_GET_Y">;
|
|
1231
|
-
x: z.ZodNumber;
|
|
1232
|
-
y: z.ZodNumber;
|
|
1233
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1234
|
-
type: "BUY_X_GET_Y";
|
|
1235
|
-
x: number;
|
|
1236
|
-
y: number;
|
|
1237
|
-
}, {
|
|
1238
|
-
type: "BUY_X_GET_Y";
|
|
1239
|
-
x: number;
|
|
1240
|
-
y: number;
|
|
1241
|
-
}> | z.ZodObject<z.extendShape<{
|
|
1242
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
1243
|
-
}, {
|
|
1244
|
-
type: z.ZodLiteral<"BUY_X_ITEM_A_GET_Y_ITEM_B">;
|
|
1245
|
-
itemAIds: z.ZodArray<z.ZodString, "many">;
|
|
1246
|
-
x: z.ZodNumber;
|
|
1247
|
-
y: z.ZodNumber;
|
|
1248
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1249
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
1250
|
-
x: number;
|
|
1251
|
-
y: number;
|
|
1252
|
-
itemAIds: string[];
|
|
1253
|
-
}, {
|
|
1254
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
1255
|
-
x: number;
|
|
1256
|
-
y: number;
|
|
1257
|
-
itemAIds: string[];
|
|
1258
|
-
}> | z.ZodObject<z.extendShape<{
|
|
1259
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
1260
|
-
}, {
|
|
1261
|
-
type: z.ZodLiteral<"BUY_X_GET_Y_V2">;
|
|
1262
|
-
priority: z.ZodEnum<["CHEAPEST_FIRST", "MOST_EXPENSIVE_FIRST"]>;
|
|
1263
|
-
itemAIds: z.ZodArray<z.ZodString, "many">;
|
|
1264
|
-
x: z.ZodNumber;
|
|
1265
|
-
y: z.ZodNumber;
|
|
1266
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1267
|
-
type: "BUY_X_GET_Y_V2";
|
|
1268
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
1269
|
-
x: number;
|
|
1270
|
-
y: number;
|
|
1271
|
-
itemAIds: string[];
|
|
1272
|
-
}, {
|
|
1273
|
-
type: "BUY_X_GET_Y_V2";
|
|
1274
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
1275
|
-
x: number;
|
|
1276
|
-
y: number;
|
|
1277
|
-
itemAIds: string[];
|
|
1278
|
-
}> | z.ZodObject<z.extendShape<{
|
|
1279
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
1280
|
-
}, {
|
|
1281
|
-
type: z.ZodLiteral<"COMBO">;
|
|
1282
|
-
groups: z.ZodArray<z.ZodObject<{
|
|
1283
|
-
itemIds: z.ZodArray<z.ZodString, "many">;
|
|
1284
|
-
count: z.ZodNumber;
|
|
1285
|
-
}, "strip", z.ZodTypeAny, {
|
|
1286
|
-
count: number;
|
|
1287
|
-
itemIds: string[];
|
|
1288
|
-
}, {
|
|
1289
|
-
count: number;
|
|
1290
|
-
itemIds: string[];
|
|
1291
|
-
}>, "many">;
|
|
1292
|
-
atLeast: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1293
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1294
|
-
atLeast?: boolean | null | undefined;
|
|
1295
|
-
groups: {
|
|
1296
|
-
count: number;
|
|
1297
|
-
itemIds: string[];
|
|
1298
|
-
}[];
|
|
1299
|
-
type: "COMBO";
|
|
1300
|
-
}, {
|
|
1301
|
-
atLeast?: boolean | null | undefined;
|
|
1302
|
-
groups: {
|
|
1303
|
-
count: number;
|
|
1304
|
-
itemIds: string[];
|
|
1305
|
-
}[];
|
|
1306
|
-
type: "COMBO";
|
|
1307
|
-
}>>;
|
|
1308
|
-
targetIds: z.ZodArray<z.ZodString, "many">;
|
|
1309
|
-
maxQuantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1310
|
-
excludeAddonPrice: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1311
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1312
|
-
maxQuantity?: number | null | undefined;
|
|
1313
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
1314
|
-
target: "ITEM";
|
|
1315
|
-
strategy: {
|
|
1316
|
-
withAddons?: string[] | null | undefined;
|
|
1317
|
-
type: "SIMPLE";
|
|
1318
|
-
} | {
|
|
1319
|
-
type: "BUY_X_GET_Y";
|
|
1320
|
-
x: number;
|
|
1321
|
-
y: number;
|
|
1322
|
-
} | {
|
|
1323
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
1324
|
-
x: number;
|
|
1325
|
-
y: number;
|
|
1326
|
-
itemAIds: string[];
|
|
1327
|
-
} | {
|
|
1328
|
-
type: "BUY_X_GET_Y_V2";
|
|
1329
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
1330
|
-
x: number;
|
|
1331
|
-
y: number;
|
|
1332
|
-
itemAIds: string[];
|
|
1333
|
-
} | {
|
|
1334
|
-
atLeast?: boolean | null | undefined;
|
|
1335
|
-
groups: {
|
|
1336
|
-
count: number;
|
|
1337
|
-
itemIds: string[];
|
|
1338
|
-
}[];
|
|
1339
|
-
type: "COMBO";
|
|
1340
|
-
};
|
|
1341
|
-
targetIds: string[];
|
|
1342
|
-
}, {
|
|
1343
|
-
maxQuantity?: number | null | undefined;
|
|
1344
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
1345
|
-
target: "ITEM";
|
|
1346
|
-
strategy: {
|
|
1347
|
-
withAddons?: string[] | null | undefined;
|
|
1348
|
-
type: "SIMPLE";
|
|
1349
|
-
} | {
|
|
1350
|
-
type: "BUY_X_GET_Y";
|
|
1351
|
-
x: number;
|
|
1352
|
-
y: number;
|
|
1353
|
-
} | {
|
|
1354
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
1355
|
-
x: number;
|
|
1356
|
-
y: number;
|
|
1357
|
-
itemAIds: string[];
|
|
1358
|
-
} | {
|
|
1359
|
-
type: "BUY_X_GET_Y_V2";
|
|
1360
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
1361
|
-
x: number;
|
|
1362
|
-
y: number;
|
|
1363
|
-
itemAIds: string[];
|
|
1364
|
-
} | {
|
|
1365
|
-
atLeast?: boolean | null | undefined;
|
|
1366
|
-
groups: {
|
|
1367
|
-
count: number;
|
|
1368
|
-
itemIds: string[];
|
|
1369
|
-
}[];
|
|
1370
|
-
type: "COMBO";
|
|
1371
|
-
};
|
|
1372
|
-
targetIds: string[];
|
|
1373
|
-
}> | z.ZodObject<z.extendShape<{
|
|
1374
|
-
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
1375
|
-
}, {
|
|
1376
|
-
target: z.ZodLiteral<"PAYMENT">;
|
|
1377
|
-
minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1378
|
-
amount: z.ZodNumber;
|
|
1379
|
-
precision: z.ZodNumber;
|
|
1380
|
-
}, "strip", z.ZodTypeAny, {
|
|
1381
|
-
amount: number;
|
|
1382
|
-
precision: number;
|
|
1383
|
-
}, {
|
|
1384
|
-
amount: number;
|
|
1385
|
-
precision: number;
|
|
1386
|
-
}>>>;
|
|
1387
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1388
|
-
minPurchase?: {
|
|
1389
|
-
amount: number;
|
|
1390
|
-
precision: number;
|
|
1391
|
-
} | null | undefined;
|
|
1392
|
-
target: "PAYMENT";
|
|
1393
|
-
}, {
|
|
1394
|
-
minPurchase?: {
|
|
1395
|
-
amount: number;
|
|
1396
|
-
precision: number;
|
|
1397
|
-
} | null | undefined;
|
|
1398
|
-
target: "PAYMENT";
|
|
1399
|
-
}>>;
|
|
1400
|
-
availableOnlineOrder: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>, "many">>>;
|
|
1401
|
-
customer: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1402
|
-
id: z.ZodString;
|
|
1403
|
-
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1404
|
-
}, "strip", z.ZodTypeAny, {
|
|
1405
|
-
name?: string | null | undefined;
|
|
1406
|
-
id: string;
|
|
1407
|
-
}, {
|
|
1408
|
-
name?: string | null | undefined;
|
|
1409
|
-
id: string;
|
|
1410
|
-
}>>>;
|
|
1411
|
-
autoApplied: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1412
|
-
usedItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1413
|
-
id: z.ZodString;
|
|
1414
|
-
quantity: z.ZodNumber;
|
|
1415
|
-
}, "strip", z.ZodTypeAny, {
|
|
1416
|
-
id: string;
|
|
1417
|
-
quantity: number;
|
|
1418
|
-
}, {
|
|
1419
|
-
id: string;
|
|
1420
|
-
quantity: number;
|
|
1421
|
-
}>, "many">>>;
|
|
1422
|
-
toUse: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1423
|
-
toGet: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1424
|
-
maximumReached: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1425
|
-
priority: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1426
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1427
|
-
reason?: string | null | undefined;
|
|
1428
|
-
priority?: number | null | undefined;
|
|
1429
|
-
items?: string[] | null | undefined;
|
|
1430
|
-
customer?: {
|
|
1431
|
-
name?: string | null | undefined;
|
|
1432
|
-
id: string;
|
|
1433
|
-
} | null | undefined;
|
|
1434
|
-
availableOnlineOrder?: ("DINE_IN" | "PICKUP" | "DELIVERY")[] | null | undefined;
|
|
1435
|
-
usedItems?: {
|
|
1436
|
-
id: string;
|
|
1437
|
-
quantity: number;
|
|
1438
|
-
}[] | null | undefined;
|
|
1439
|
-
toUse?: string[] | null | undefined;
|
|
1440
|
-
toGet?: string[] | null | undefined;
|
|
1441
|
-
maximumReached?: boolean | null | undefined;
|
|
1442
|
-
returnId?: string | null | undefined;
|
|
1443
|
-
autoApplied?: boolean | null | undefined;
|
|
1444
|
-
name: string;
|
|
1445
|
-
options: {
|
|
1446
|
-
excludeIds?: string[] | null | undefined;
|
|
1447
|
-
minPurchase?: {
|
|
1448
|
-
amount: number;
|
|
1449
|
-
precision: number;
|
|
1450
|
-
} | null | undefined;
|
|
1451
|
-
target: "BILL";
|
|
1452
|
-
} | {
|
|
1453
|
-
maxQuantity?: number | null | undefined;
|
|
1454
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
1455
|
-
target: "ITEM";
|
|
1456
|
-
strategy: {
|
|
1457
|
-
withAddons?: string[] | null | undefined;
|
|
1458
|
-
type: "SIMPLE";
|
|
1459
|
-
} | {
|
|
1460
|
-
type: "BUY_X_GET_Y";
|
|
1461
|
-
x: number;
|
|
1462
|
-
y: number;
|
|
1463
|
-
} | {
|
|
1464
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
1465
|
-
x: number;
|
|
1466
|
-
y: number;
|
|
1467
|
-
itemAIds: string[];
|
|
1468
|
-
} | {
|
|
1469
|
-
type: "BUY_X_GET_Y_V2";
|
|
1470
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
1471
|
-
x: number;
|
|
1472
|
-
y: number;
|
|
1473
|
-
itemAIds: string[];
|
|
1474
|
-
} | {
|
|
1475
|
-
atLeast?: boolean | null | undefined;
|
|
1476
|
-
groups: {
|
|
1477
|
-
count: number;
|
|
1478
|
-
itemIds: string[];
|
|
1479
|
-
}[];
|
|
1480
|
-
type: "COMBO";
|
|
1481
|
-
};
|
|
1482
|
-
targetIds: string[];
|
|
1483
|
-
} | {
|
|
1484
|
-
minPurchase?: {
|
|
1485
|
-
amount: number;
|
|
1486
|
-
precision: number;
|
|
1487
|
-
} | null | undefined;
|
|
1488
|
-
target: "PAYMENT";
|
|
1489
|
-
};
|
|
1490
|
-
success: boolean;
|
|
1491
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
1492
|
-
referenceId: string;
|
|
1493
|
-
adjustment: {
|
|
1494
|
-
inclusive?: boolean | null | undefined;
|
|
1495
|
-
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
1496
|
-
amount: {
|
|
1497
|
-
amount: number;
|
|
1498
|
-
precision: number;
|
|
1499
|
-
};
|
|
1500
|
-
};
|
|
1501
|
-
}, {
|
|
1502
|
-
reason?: string | null | undefined;
|
|
1503
|
-
priority?: number | null | undefined;
|
|
1504
|
-
items?: string[] | null | undefined;
|
|
1505
|
-
customer?: {
|
|
1506
|
-
name?: string | null | undefined;
|
|
1507
|
-
id: string;
|
|
1508
|
-
} | null | undefined;
|
|
1509
|
-
availableOnlineOrder?: ("DINE_IN" | "PICKUP" | "DELIVERY")[] | null | undefined;
|
|
1510
|
-
usedItems?: {
|
|
1511
|
-
id: string;
|
|
1512
|
-
quantity: number;
|
|
1513
|
-
}[] | null | undefined;
|
|
1514
|
-
toUse?: string[] | null | undefined;
|
|
1515
|
-
toGet?: string[] | null | undefined;
|
|
1516
|
-
maximumReached?: boolean | null | undefined;
|
|
1517
|
-
returnId?: string | null | undefined;
|
|
1518
|
-
autoApplied?: boolean | null | undefined;
|
|
1519
|
-
name: string;
|
|
1520
|
-
options: {
|
|
1521
|
-
excludeIds?: string[] | null | undefined;
|
|
1522
|
-
minPurchase?: {
|
|
1523
|
-
amount: number;
|
|
1524
|
-
precision: number;
|
|
1525
|
-
} | null | undefined;
|
|
1526
|
-
target: "BILL";
|
|
1527
|
-
} | {
|
|
1127
|
+
minPurchaseItems?: {
|
|
1128
|
+
productId: string;
|
|
1129
|
+
}[] | null | undefined;
|
|
1528
1130
|
maxQuantity?: number | null | undefined;
|
|
1529
1131
|
excludeAddonPrice?: boolean | null | undefined;
|
|
1530
1132
|
target: "ITEM";
|
|
@@ -1560,6 +1162,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
1560
1162
|
amount: number;
|
|
1561
1163
|
precision: number;
|
|
1562
1164
|
} | null | undefined;
|
|
1165
|
+
minPurchaseItems?: {
|
|
1166
|
+
productId: string;
|
|
1167
|
+
}[] | null | undefined;
|
|
1563
1168
|
target: "PAYMENT";
|
|
1564
1169
|
};
|
|
1565
1170
|
success: boolean;
|
|
@@ -2598,15 +2203,18 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
2598
2203
|
attributeSettings: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2599
2204
|
key: z.ZodString;
|
|
2600
2205
|
type: z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
2601
|
-
entity: z.ZodUnion<[z.ZodLiteral<"restaurant">, z.ZodLiteral<"item">, z.ZodLiteral<"inventorySku">, z.ZodLiteral<"inventoryRecipe">, z.ZodLiteral<"warehouse">]>;
|
|
2206
|
+
entity: z.ZodUnion<[z.ZodLiteral<"restaurant">, z.ZodLiteral<"item">, z.ZodLiteral<"group">, z.ZodLiteral<"inventorySku">, z.ZodLiteral<"inventoryRecipe">, z.ZodLiteral<"warehouse">]>;
|
|
2207
|
+
options: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
|
|
2602
2208
|
}, "strip", z.ZodTypeAny, {
|
|
2209
|
+
options?: any[] | null | undefined;
|
|
2603
2210
|
type: "string" | "number" | "boolean" | "date";
|
|
2604
2211
|
key: string;
|
|
2605
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2212
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2606
2213
|
}, {
|
|
2214
|
+
options?: any[] | null | undefined;
|
|
2607
2215
|
type: "string" | "number" | "boolean" | "date";
|
|
2608
2216
|
key: string;
|
|
2609
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2217
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2610
2218
|
}>, "many">>>;
|
|
2611
2219
|
pf_agent: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
2612
2220
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -2862,9 +2470,10 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
2862
2470
|
expiredAt?: string | null | undefined;
|
|
2863
2471
|
agentId?: string | null | undefined;
|
|
2864
2472
|
attributeSettings?: {
|
|
2473
|
+
options?: any[] | null | undefined;
|
|
2865
2474
|
type: "string" | "number" | "boolean" | "date";
|
|
2866
2475
|
key: string;
|
|
2867
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2476
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2868
2477
|
}[] | null | undefined;
|
|
2869
2478
|
pf_agent?: {
|
|
2870
2479
|
clickupId?: string | null | undefined;
|
|
@@ -2928,9 +2537,10 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
2928
2537
|
expiredAt?: string | null | undefined;
|
|
2929
2538
|
agentId?: string | null | undefined;
|
|
2930
2539
|
attributeSettings?: {
|
|
2540
|
+
options?: any[] | null | undefined;
|
|
2931
2541
|
type: "string" | "number" | "boolean" | "date";
|
|
2932
2542
|
key: string;
|
|
2933
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2543
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2934
2544
|
}[] | null | undefined;
|
|
2935
2545
|
pf_agent?: {
|
|
2936
2546
|
clickupId?: string | null | undefined;
|
|
@@ -3083,9 +2693,10 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3083
2693
|
expiredAt?: string | null | undefined;
|
|
3084
2694
|
agentId?: string | null | undefined;
|
|
3085
2695
|
attributeSettings?: {
|
|
2696
|
+
options?: any[] | null | undefined;
|
|
3086
2697
|
type: "string" | "number" | "boolean" | "date";
|
|
3087
2698
|
key: string;
|
|
3088
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2699
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
3089
2700
|
}[] | null | undefined;
|
|
3090
2701
|
pf_agent?: {
|
|
3091
2702
|
clickupId?: string | null | undefined;
|
|
@@ -3184,9 +2795,10 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3184
2795
|
expiredAt?: string | null | undefined;
|
|
3185
2796
|
agentId?: string | null | undefined;
|
|
3186
2797
|
attributeSettings?: {
|
|
2798
|
+
options?: any[] | null | undefined;
|
|
3187
2799
|
type: "string" | "number" | "boolean" | "date";
|
|
3188
2800
|
key: string;
|
|
3189
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2801
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
3190
2802
|
}[] | null | undefined;
|
|
3191
2803
|
pf_agent?: {
|
|
3192
2804
|
clickupId?: string | null | undefined;
|
|
@@ -3312,6 +2924,13 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3312
2924
|
precision: number;
|
|
3313
2925
|
};
|
|
3314
2926
|
}>;
|
|
2927
|
+
adjustmentRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2928
|
+
type: z.ZodEnum<["CAPPED_AT"]>;
|
|
2929
|
+
}, "strip", z.ZodTypeAny, {
|
|
2930
|
+
type: "CAPPED_AT";
|
|
2931
|
+
}, {
|
|
2932
|
+
type: "CAPPED_AT";
|
|
2933
|
+
}>>>;
|
|
3315
2934
|
total: z.ZodObject<{
|
|
3316
2935
|
currency: z.ZodIntersection<z.ZodString, z.ZodUnion<[z.ZodLiteral<"AED">, z.ZodLiteral<"AFN">, z.ZodLiteral<"ALL">, z.ZodLiteral<"AMD">, z.ZodLiteral<"ANG">, z.ZodLiteral<"AOA">, z.ZodLiteral<"ARS">, z.ZodLiteral<"AUD">, z.ZodLiteral<"AWG">, z.ZodLiteral<"AZN">, z.ZodLiteral<"BAM">, z.ZodLiteral<"BBD">, z.ZodLiteral<"BDT">, z.ZodLiteral<"BGN">, z.ZodLiteral<"BHD">, z.ZodLiteral<"BIF">, z.ZodLiteral<"BMD">, z.ZodLiteral<"BND">, z.ZodLiteral<"BOB">, z.ZodLiteral<"BOV">, z.ZodLiteral<"BRL">, z.ZodLiteral<"BSD">, z.ZodLiteral<"BTN">, z.ZodLiteral<"BWP">, z.ZodLiteral<"BYN">, z.ZodLiteral<"BZD">, z.ZodLiteral<"CAD">, z.ZodLiteral<"CDF">, z.ZodLiteral<"CHE">, z.ZodLiteral<"CHF">, z.ZodLiteral<"CHW">, z.ZodLiteral<"CLF">, z.ZodLiteral<"CLP">, z.ZodLiteral<"CNY">, z.ZodLiteral<"COP">, z.ZodLiteral<"COU">, z.ZodLiteral<"CRC">, z.ZodLiteral<"CUC">, z.ZodLiteral<"CUP">, z.ZodLiteral<"CVE">, z.ZodLiteral<"CZK">, z.ZodLiteral<"DJF">, z.ZodLiteral<"DKK">, z.ZodLiteral<"DOP">, z.ZodLiteral<"DZD">, z.ZodLiteral<"EGP">, z.ZodLiteral<"ERN">, z.ZodLiteral<"ETB">, z.ZodLiteral<"EUR">, z.ZodLiteral<"FJD">, z.ZodLiteral<"FKP">, z.ZodLiteral<"GBP">, z.ZodLiteral<"GEL">, z.ZodLiteral<"GHS">, z.ZodLiteral<"GIP">, z.ZodLiteral<"GMD">, z.ZodLiteral<"GNF">, z.ZodLiteral<"GTQ">, z.ZodLiteral<"GYD">, z.ZodLiteral<"HKD">, z.ZodLiteral<"HNL">, z.ZodLiteral<"HRK">, z.ZodLiteral<"HTG">, z.ZodLiteral<"HUF">, z.ZodLiteral<"IDR">, z.ZodLiteral<"ILS">, z.ZodLiteral<"INR">, z.ZodLiteral<"IQD">, z.ZodLiteral<"IRR">, z.ZodLiteral<"ISK">, z.ZodLiteral<"JMD">, z.ZodLiteral<"JOD">, z.ZodLiteral<"JPY">, z.ZodLiteral<"KES">, z.ZodLiteral<"KGS">, z.ZodLiteral<"KHR">, z.ZodLiteral<"KMF">, z.ZodLiteral<"KPW">, z.ZodLiteral<"KRW">, z.ZodLiteral<"KWD">, z.ZodLiteral<"KYD">, z.ZodLiteral<"KZT">, z.ZodLiteral<"LAK">, z.ZodLiteral<"LBP">, z.ZodLiteral<"LKR">, z.ZodLiteral<"LRD">, z.ZodLiteral<"LSL">, z.ZodLiteral<"LYD">, z.ZodLiteral<"MAD">, z.ZodLiteral<"MDL">, z.ZodLiteral<"MGA">, z.ZodLiteral<"MKD">, z.ZodLiteral<"MMK">, z.ZodLiteral<"MNT">, z.ZodLiteral<"MOP">, z.ZodLiteral<"MRU">, z.ZodLiteral<"MUR">, z.ZodLiteral<"MVR">, z.ZodLiteral<"MWK">, z.ZodLiteral<"MXN">, z.ZodLiteral<"MXV">, z.ZodLiteral<"MYR">, z.ZodLiteral<"MZN">, z.ZodLiteral<"NAD">, z.ZodLiteral<"NGN">, z.ZodLiteral<"NIO">, z.ZodLiteral<"NOK">, z.ZodLiteral<"NPR">, z.ZodLiteral<"NZD">, z.ZodLiteral<"OMR">, z.ZodLiteral<"PAB">, z.ZodLiteral<"PEN">, z.ZodLiteral<"PGK">, z.ZodLiteral<"PHP">, z.ZodLiteral<"PKR">, z.ZodLiteral<"PLN">, z.ZodLiteral<"PYG">, z.ZodLiteral<"QAR">, z.ZodLiteral<"RON">, z.ZodLiteral<"RSD">, z.ZodLiteral<"RUB">, z.ZodLiteral<"RWF">, z.ZodLiteral<"SAR">, z.ZodLiteral<"SBD">, z.ZodLiteral<"SCR">, z.ZodLiteral<"SDG">, z.ZodLiteral<"SEK">, z.ZodLiteral<"SGD">, z.ZodLiteral<"SHP">, z.ZodLiteral<"SLL">, z.ZodLiteral<"SOS">, z.ZodLiteral<"SRD">, z.ZodLiteral<"SSP">, z.ZodLiteral<"STN">, z.ZodLiteral<"SVC">, z.ZodLiteral<"SYP">, z.ZodLiteral<"SZL">, z.ZodLiteral<"THB">, z.ZodLiteral<"TJS">, z.ZodLiteral<"TMT">, z.ZodLiteral<"TND">, z.ZodLiteral<"TOP">, z.ZodLiteral<"TRY">, z.ZodLiteral<"TTD">, z.ZodLiteral<"TWD">, z.ZodLiteral<"TZS">, z.ZodLiteral<"UAH">, z.ZodLiteral<"UGX">, z.ZodLiteral<"USD">, z.ZodLiteral<"USN">, z.ZodLiteral<"UYI">, z.ZodLiteral<"UYU">, z.ZodLiteral<"UYW">, z.ZodLiteral<"UZS">, z.ZodLiteral<"VES">, z.ZodLiteral<"VND">, z.ZodLiteral<"VUV">, z.ZodLiteral<"WST">, z.ZodLiteral<"XAF">, z.ZodLiteral<"XAG">, z.ZodLiteral<"XAU">, z.ZodLiteral<"XBA">, z.ZodLiteral<"XBB">, z.ZodLiteral<"XBC">, z.ZodLiteral<"XBD">, z.ZodLiteral<"XCD">, z.ZodLiteral<"XDR">, z.ZodLiteral<"XOF">, z.ZodLiteral<"XPD">, z.ZodLiteral<"XPF">, z.ZodLiteral<"XPT">, z.ZodLiteral<"XSU">, z.ZodLiteral<"XTS">, z.ZodLiteral<"XUA">, z.ZodLiteral<"XXX">, z.ZodLiteral<"YER">, z.ZodLiteral<"ZAR">, z.ZodLiteral<"ZMW">, z.ZodLiteral<"ZWL">]>>;
|
|
3317
2936
|
amount: z.ZodNumber;
|
|
@@ -3351,6 +2970,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3351
2970
|
}, "strip", z.ZodTypeAny, {
|
|
3352
2971
|
reason?: string | null | undefined;
|
|
3353
2972
|
referenceId?: string | null | undefined;
|
|
2973
|
+
adjustmentRule?: {
|
|
2974
|
+
type: "CAPPED_AT";
|
|
2975
|
+
} | null | undefined;
|
|
3354
2976
|
remark?: string | null | undefined;
|
|
3355
2977
|
excludeIds?: string[] | null | undefined;
|
|
3356
2978
|
total: {
|
|
@@ -3379,6 +3001,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3379
3001
|
}, {
|
|
3380
3002
|
reason?: string | null | undefined;
|
|
3381
3003
|
referenceId?: string | null | undefined;
|
|
3004
|
+
adjustmentRule?: {
|
|
3005
|
+
type: "CAPPED_AT";
|
|
3006
|
+
} | null | undefined;
|
|
3382
3007
|
remark?: string | null | undefined;
|
|
3383
3008
|
excludeIds?: string[] | null | undefined;
|
|
3384
3009
|
total: {
|
|
@@ -3425,16 +3050,16 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3425
3050
|
name: string;
|
|
3426
3051
|
}>;
|
|
3427
3052
|
paymentGateway: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3428
|
-
key: z.ZodEnum<["REVENUE_MONSTER", "FEEDME", "FEEDME_MEMBER_CREDIT", "RAZER_MERCHANT_SERVICE", "E_GHL", "FEEDME_TERMINAL", "MACAU_PASS", "NETS"]>;
|
|
3053
|
+
key: z.ZodEnum<["REVENUE_MONSTER", "FEEDME", "FEEDME_MEMBER_CREDIT", "RAZER_MERCHANT_SERVICE", "E_GHL", "FEEDME_TERMINAL", "MACAU_PASS", "NETS", "FEEDME_CARD"]>;
|
|
3429
3054
|
response: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3430
3055
|
transactionId: z.ZodString;
|
|
3431
3056
|
}, "strip", z.ZodTypeAny, {
|
|
3432
3057
|
response?: Record<string, any> | null | undefined;
|
|
3433
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
3058
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
3434
3059
|
transactionId: string;
|
|
3435
3060
|
}, {
|
|
3436
3061
|
response?: Record<string, any> | null | undefined;
|
|
3437
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
3062
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
3438
3063
|
transactionId: string;
|
|
3439
3064
|
}>>>;
|
|
3440
3065
|
reference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -3534,7 +3159,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3534
3159
|
} | null | undefined;
|
|
3535
3160
|
paymentGateway?: {
|
|
3536
3161
|
response?: Record<string, any> | null | undefined;
|
|
3537
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
3162
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
3538
3163
|
transactionId: string;
|
|
3539
3164
|
} | null | undefined;
|
|
3540
3165
|
reference?: string | null | undefined;
|
|
@@ -3579,7 +3204,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3579
3204
|
} | null | undefined;
|
|
3580
3205
|
paymentGateway?: {
|
|
3581
3206
|
response?: Record<string, any> | null | undefined;
|
|
3582
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
3207
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
3583
3208
|
transactionId: string;
|
|
3584
3209
|
} | null | undefined;
|
|
3585
3210
|
reference?: string | null | undefined;
|
|
@@ -3653,6 +3278,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3653
3278
|
reason?: string | null | undefined;
|
|
3654
3279
|
priority?: number | null | undefined;
|
|
3655
3280
|
items?: string[] | null | undefined;
|
|
3281
|
+
adjustmentRule?: {
|
|
3282
|
+
type: "CAPPED_AT";
|
|
3283
|
+
} | null | undefined;
|
|
3656
3284
|
customer?: {
|
|
3657
3285
|
name?: string | null | undefined;
|
|
3658
3286
|
id: string;
|
|
@@ -3674,8 +3302,18 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3674
3302
|
amount: number;
|
|
3675
3303
|
precision: number;
|
|
3676
3304
|
} | null | undefined;
|
|
3305
|
+
minPurchaseItems?: {
|
|
3306
|
+
productId: string;
|
|
3307
|
+
}[] | null | undefined;
|
|
3677
3308
|
target: "BILL";
|
|
3678
3309
|
} | {
|
|
3310
|
+
minPurchase?: {
|
|
3311
|
+
amount: number;
|
|
3312
|
+
precision: number;
|
|
3313
|
+
} | null | undefined;
|
|
3314
|
+
minPurchaseItems?: {
|
|
3315
|
+
productId: string;
|
|
3316
|
+
}[] | null | undefined;
|
|
3679
3317
|
maxQuantity?: number | null | undefined;
|
|
3680
3318
|
excludeAddonPrice?: boolean | null | undefined;
|
|
3681
3319
|
target: "ITEM";
|
|
@@ -3711,6 +3349,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3711
3349
|
amount: number;
|
|
3712
3350
|
precision: number;
|
|
3713
3351
|
} | null | undefined;
|
|
3352
|
+
minPurchaseItems?: {
|
|
3353
|
+
productId: string;
|
|
3354
|
+
}[] | null | undefined;
|
|
3714
3355
|
target: "PAYMENT";
|
|
3715
3356
|
};
|
|
3716
3357
|
success: boolean;
|
|
@@ -3739,9 +3380,10 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3739
3380
|
expiredAt?: string | null | undefined;
|
|
3740
3381
|
agentId?: string | null | undefined;
|
|
3741
3382
|
attributeSettings?: {
|
|
3383
|
+
options?: any[] | null | undefined;
|
|
3742
3384
|
type: "string" | "number" | "boolean" | "date";
|
|
3743
3385
|
key: string;
|
|
3744
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
3386
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
3745
3387
|
}[] | null | undefined;
|
|
3746
3388
|
pf_agent?: {
|
|
3747
3389
|
clickupId?: string | null | undefined;
|
|
@@ -3987,6 +3629,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3987
3629
|
adjustments: Record<string, {
|
|
3988
3630
|
reason?: string | null | undefined;
|
|
3989
3631
|
referenceId?: string | null | undefined;
|
|
3632
|
+
adjustmentRule?: {
|
|
3633
|
+
type: "CAPPED_AT";
|
|
3634
|
+
} | null | undefined;
|
|
3990
3635
|
remark?: string | null | undefined;
|
|
3991
3636
|
excludeIds?: string[] | null | undefined;
|
|
3992
3637
|
total: {
|
|
@@ -4028,6 +3673,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4028
3673
|
adjustment?: Record<string, {
|
|
4029
3674
|
reason?: string | null | undefined;
|
|
4030
3675
|
referenceId?: string | null | undefined;
|
|
3676
|
+
adjustmentRule?: {
|
|
3677
|
+
type: "CAPPED_AT";
|
|
3678
|
+
} | null | undefined;
|
|
4031
3679
|
remark?: string | null | undefined;
|
|
4032
3680
|
excludeAddonPrice?: boolean | null | undefined;
|
|
4033
3681
|
total: {
|
|
@@ -4120,7 +3768,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4120
3768
|
} | null | undefined;
|
|
4121
3769
|
paymentGateway?: {
|
|
4122
3770
|
response?: Record<string, any> | null | undefined;
|
|
4123
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
3771
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
4124
3772
|
transactionId: string;
|
|
4125
3773
|
} | null | undefined;
|
|
4126
3774
|
reference?: string | null | undefined;
|
|
@@ -4183,6 +3831,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4183
3831
|
reason?: string | null | undefined;
|
|
4184
3832
|
priority?: number | null | undefined;
|
|
4185
3833
|
items?: string[] | null | undefined;
|
|
3834
|
+
adjustmentRule?: {
|
|
3835
|
+
type: "CAPPED_AT";
|
|
3836
|
+
} | null | undefined;
|
|
4186
3837
|
customer?: {
|
|
4187
3838
|
name?: string | null | undefined;
|
|
4188
3839
|
id: string;
|
|
@@ -4204,8 +3855,18 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4204
3855
|
amount: number;
|
|
4205
3856
|
precision: number;
|
|
4206
3857
|
} | null | undefined;
|
|
3858
|
+
minPurchaseItems?: {
|
|
3859
|
+
productId: string;
|
|
3860
|
+
}[] | null | undefined;
|
|
4207
3861
|
target: "BILL";
|
|
4208
3862
|
} | {
|
|
3863
|
+
minPurchase?: {
|
|
3864
|
+
amount: number;
|
|
3865
|
+
precision: number;
|
|
3866
|
+
} | null | undefined;
|
|
3867
|
+
minPurchaseItems?: {
|
|
3868
|
+
productId: string;
|
|
3869
|
+
}[] | null | undefined;
|
|
4209
3870
|
maxQuantity?: number | null | undefined;
|
|
4210
3871
|
excludeAddonPrice?: boolean | null | undefined;
|
|
4211
3872
|
target: "ITEM";
|
|
@@ -4241,6 +3902,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4241
3902
|
amount: number;
|
|
4242
3903
|
precision: number;
|
|
4243
3904
|
} | null | undefined;
|
|
3905
|
+
minPurchaseItems?: {
|
|
3906
|
+
productId: string;
|
|
3907
|
+
}[] | null | undefined;
|
|
4244
3908
|
target: "PAYMENT";
|
|
4245
3909
|
};
|
|
4246
3910
|
success: boolean;
|
|
@@ -4269,9 +3933,10 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4269
3933
|
expiredAt?: string | null | undefined;
|
|
4270
3934
|
agentId?: string | null | undefined;
|
|
4271
3935
|
attributeSettings?: {
|
|
3936
|
+
options?: any[] | null | undefined;
|
|
4272
3937
|
type: "string" | "number" | "boolean" | "date";
|
|
4273
3938
|
key: string;
|
|
4274
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
3939
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4275
3940
|
}[] | null | undefined;
|
|
4276
3941
|
pf_agent?: {
|
|
4277
3942
|
clickupId?: string | null | undefined;
|
|
@@ -4517,6 +4182,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4517
4182
|
adjustments: Record<string, {
|
|
4518
4183
|
reason?: string | null | undefined;
|
|
4519
4184
|
referenceId?: string | null | undefined;
|
|
4185
|
+
adjustmentRule?: {
|
|
4186
|
+
type: "CAPPED_AT";
|
|
4187
|
+
} | null | undefined;
|
|
4520
4188
|
remark?: string | null | undefined;
|
|
4521
4189
|
excludeIds?: string[] | null | undefined;
|
|
4522
4190
|
total: {
|
|
@@ -4558,6 +4226,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4558
4226
|
adjustment?: Record<string, {
|
|
4559
4227
|
reason?: string | null | undefined;
|
|
4560
4228
|
referenceId?: string | null | undefined;
|
|
4229
|
+
adjustmentRule?: {
|
|
4230
|
+
type: "CAPPED_AT";
|
|
4231
|
+
} | null | undefined;
|
|
4561
4232
|
remark?: string | null | undefined;
|
|
4562
4233
|
excludeAddonPrice?: boolean | null | undefined;
|
|
4563
4234
|
total: {
|
|
@@ -4650,7 +4321,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4650
4321
|
} | null | undefined;
|
|
4651
4322
|
paymentGateway?: {
|
|
4652
4323
|
response?: Record<string, any> | null | undefined;
|
|
4653
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
4324
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
4654
4325
|
transactionId: string;
|
|
4655
4326
|
} | null | undefined;
|
|
4656
4327
|
reference?: string | null | undefined;
|
|
@@ -4704,11 +4375,13 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4704
4375
|
inclusive: boolean;
|
|
4705
4376
|
ignoreDiscount: boolean;
|
|
4706
4377
|
}>>>;
|
|
4378
|
+
printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4707
4379
|
}, "strip", z.ZodTypeAny, {
|
|
4708
4380
|
taxes?: {
|
|
4709
4381
|
inclusive: boolean;
|
|
4710
4382
|
ignoreDiscount: boolean;
|
|
4711
4383
|
} | null | undefined;
|
|
4384
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
4712
4385
|
voidReturnStock?: boolean | null | undefined;
|
|
4713
4386
|
autoAccept: boolean;
|
|
4714
4387
|
autoSend: boolean;
|
|
@@ -4718,6 +4391,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4718
4391
|
inclusive: boolean;
|
|
4719
4392
|
ignoreDiscount: boolean;
|
|
4720
4393
|
} | null | undefined;
|
|
4394
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
4721
4395
|
voidReturnStock?: boolean | null | undefined;
|
|
4722
4396
|
autoAccept: boolean;
|
|
4723
4397
|
autoSend: boolean;
|
|
@@ -4749,6 +4423,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4749
4423
|
reason?: string | null | undefined;
|
|
4750
4424
|
priority?: number | null | undefined;
|
|
4751
4425
|
items?: string[] | null | undefined;
|
|
4426
|
+
adjustmentRule?: {
|
|
4427
|
+
type: "CAPPED_AT";
|
|
4428
|
+
} | null | undefined;
|
|
4752
4429
|
customer?: {
|
|
4753
4430
|
name?: string | null | undefined;
|
|
4754
4431
|
id: string;
|
|
@@ -4770,8 +4447,18 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4770
4447
|
amount: number;
|
|
4771
4448
|
precision: number;
|
|
4772
4449
|
} | null | undefined;
|
|
4450
|
+
minPurchaseItems?: {
|
|
4451
|
+
productId: string;
|
|
4452
|
+
}[] | null | undefined;
|
|
4773
4453
|
target: "BILL";
|
|
4774
4454
|
} | {
|
|
4455
|
+
minPurchase?: {
|
|
4456
|
+
amount: number;
|
|
4457
|
+
precision: number;
|
|
4458
|
+
} | null | undefined;
|
|
4459
|
+
minPurchaseItems?: {
|
|
4460
|
+
productId: string;
|
|
4461
|
+
}[] | null | undefined;
|
|
4775
4462
|
maxQuantity?: number | null | undefined;
|
|
4776
4463
|
excludeAddonPrice?: boolean | null | undefined;
|
|
4777
4464
|
target: "ITEM";
|
|
@@ -4807,6 +4494,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4807
4494
|
amount: number;
|
|
4808
4495
|
precision: number;
|
|
4809
4496
|
} | null | undefined;
|
|
4497
|
+
minPurchaseItems?: {
|
|
4498
|
+
productId: string;
|
|
4499
|
+
}[] | null | undefined;
|
|
4810
4500
|
target: "PAYMENT";
|
|
4811
4501
|
};
|
|
4812
4502
|
success: boolean;
|
|
@@ -4835,9 +4525,10 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4835
4525
|
expiredAt?: string | null | undefined;
|
|
4836
4526
|
agentId?: string | null | undefined;
|
|
4837
4527
|
attributeSettings?: {
|
|
4528
|
+
options?: any[] | null | undefined;
|
|
4838
4529
|
type: "string" | "number" | "boolean" | "date";
|
|
4839
4530
|
key: string;
|
|
4840
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4531
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4841
4532
|
}[] | null | undefined;
|
|
4842
4533
|
pf_agent?: {
|
|
4843
4534
|
clickupId?: string | null | undefined;
|
|
@@ -5083,6 +4774,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5083
4774
|
adjustments: Record<string, {
|
|
5084
4775
|
reason?: string | null | undefined;
|
|
5085
4776
|
referenceId?: string | null | undefined;
|
|
4777
|
+
adjustmentRule?: {
|
|
4778
|
+
type: "CAPPED_AT";
|
|
4779
|
+
} | null | undefined;
|
|
5086
4780
|
remark?: string | null | undefined;
|
|
5087
4781
|
excludeIds?: string[] | null | undefined;
|
|
5088
4782
|
total: {
|
|
@@ -5124,6 +4818,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5124
4818
|
adjustment?: Record<string, {
|
|
5125
4819
|
reason?: string | null | undefined;
|
|
5126
4820
|
referenceId?: string | null | undefined;
|
|
4821
|
+
adjustmentRule?: {
|
|
4822
|
+
type: "CAPPED_AT";
|
|
4823
|
+
} | null | undefined;
|
|
5127
4824
|
remark?: string | null | undefined;
|
|
5128
4825
|
excludeAddonPrice?: boolean | null | undefined;
|
|
5129
4826
|
total: {
|
|
@@ -5216,7 +4913,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5216
4913
|
} | null | undefined;
|
|
5217
4914
|
paymentGateway?: {
|
|
5218
4915
|
response?: Record<string, any> | null | undefined;
|
|
5219
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
4916
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
5220
4917
|
transactionId: string;
|
|
5221
4918
|
} | null | undefined;
|
|
5222
4919
|
reference?: string | null | undefined;
|
|
@@ -5261,6 +4958,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5261
4958
|
inclusive: boolean;
|
|
5262
4959
|
ignoreDiscount: boolean;
|
|
5263
4960
|
} | null | undefined;
|
|
4961
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
5264
4962
|
voidReturnStock?: boolean | null | undefined;
|
|
5265
4963
|
autoAccept: boolean;
|
|
5266
4964
|
autoSend: boolean;
|
|
@@ -5292,6 +4990,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5292
4990
|
reason?: string | null | undefined;
|
|
5293
4991
|
priority?: number | null | undefined;
|
|
5294
4992
|
items?: string[] | null | undefined;
|
|
4993
|
+
adjustmentRule?: {
|
|
4994
|
+
type: "CAPPED_AT";
|
|
4995
|
+
} | null | undefined;
|
|
5295
4996
|
customer?: {
|
|
5296
4997
|
name?: string | null | undefined;
|
|
5297
4998
|
id: string;
|
|
@@ -5313,8 +5014,18 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5313
5014
|
amount: number;
|
|
5314
5015
|
precision: number;
|
|
5315
5016
|
} | null | undefined;
|
|
5017
|
+
minPurchaseItems?: {
|
|
5018
|
+
productId: string;
|
|
5019
|
+
}[] | null | undefined;
|
|
5316
5020
|
target: "BILL";
|
|
5317
5021
|
} | {
|
|
5022
|
+
minPurchase?: {
|
|
5023
|
+
amount: number;
|
|
5024
|
+
precision: number;
|
|
5025
|
+
} | null | undefined;
|
|
5026
|
+
minPurchaseItems?: {
|
|
5027
|
+
productId: string;
|
|
5028
|
+
}[] | null | undefined;
|
|
5318
5029
|
maxQuantity?: number | null | undefined;
|
|
5319
5030
|
excludeAddonPrice?: boolean | null | undefined;
|
|
5320
5031
|
target: "ITEM";
|
|
@@ -5350,6 +5061,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5350
5061
|
amount: number;
|
|
5351
5062
|
precision: number;
|
|
5352
5063
|
} | null | undefined;
|
|
5064
|
+
minPurchaseItems?: {
|
|
5065
|
+
productId: string;
|
|
5066
|
+
}[] | null | undefined;
|
|
5353
5067
|
target: "PAYMENT";
|
|
5354
5068
|
};
|
|
5355
5069
|
success: boolean;
|
|
@@ -5378,9 +5092,10 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5378
5092
|
expiredAt?: string | null | undefined;
|
|
5379
5093
|
agentId?: string | null | undefined;
|
|
5380
5094
|
attributeSettings?: {
|
|
5095
|
+
options?: any[] | null | undefined;
|
|
5381
5096
|
type: "string" | "number" | "boolean" | "date";
|
|
5382
5097
|
key: string;
|
|
5383
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
5098
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
5384
5099
|
}[] | null | undefined;
|
|
5385
5100
|
pf_agent?: {
|
|
5386
5101
|
clickupId?: string | null | undefined;
|
|
@@ -5626,6 +5341,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5626
5341
|
adjustments: Record<string, {
|
|
5627
5342
|
reason?: string | null | undefined;
|
|
5628
5343
|
referenceId?: string | null | undefined;
|
|
5344
|
+
adjustmentRule?: {
|
|
5345
|
+
type: "CAPPED_AT";
|
|
5346
|
+
} | null | undefined;
|
|
5629
5347
|
remark?: string | null | undefined;
|
|
5630
5348
|
excludeIds?: string[] | null | undefined;
|
|
5631
5349
|
total: {
|
|
@@ -5667,6 +5385,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5667
5385
|
adjustment?: Record<string, {
|
|
5668
5386
|
reason?: string | null | undefined;
|
|
5669
5387
|
referenceId?: string | null | undefined;
|
|
5388
|
+
adjustmentRule?: {
|
|
5389
|
+
type: "CAPPED_AT";
|
|
5390
|
+
} | null | undefined;
|
|
5670
5391
|
remark?: string | null | undefined;
|
|
5671
5392
|
excludeAddonPrice?: boolean | null | undefined;
|
|
5672
5393
|
total: {
|
|
@@ -5759,7 +5480,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5759
5480
|
} | null | undefined;
|
|
5760
5481
|
paymentGateway?: {
|
|
5761
5482
|
response?: Record<string, any> | null | undefined;
|
|
5762
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
5483
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
5763
5484
|
transactionId: string;
|
|
5764
5485
|
} | null | undefined;
|
|
5765
5486
|
reference?: string | null | undefined;
|
|
@@ -5804,6 +5525,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5804
5525
|
inclusive: boolean;
|
|
5805
5526
|
ignoreDiscount: boolean;
|
|
5806
5527
|
} | null | undefined;
|
|
5528
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
5807
5529
|
voidReturnStock?: boolean | null | undefined;
|
|
5808
5530
|
autoAccept: boolean;
|
|
5809
5531
|
autoSend: boolean;
|
|
@@ -5812,13 +5534,51 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5812
5534
|
}>;
|
|
5813
5535
|
export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
5814
5536
|
orderId: z.ZodString;
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5537
|
+
eventType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["DRIVER_INFO_CHANGED", "REFUND"]>>>;
|
|
5538
|
+
config: z.ZodObject<{
|
|
5539
|
+
autoAccept: z.ZodBoolean;
|
|
5540
|
+
autoSend: z.ZodBoolean;
|
|
5541
|
+
autoCloseBill: z.ZodBoolean;
|
|
5542
|
+
voidReturnStock: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
5543
|
+
taxes: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5544
|
+
inclusive: z.ZodBoolean;
|
|
5545
|
+
ignoreDiscount: z.ZodBoolean;
|
|
5546
|
+
}, "strip", z.ZodTypeAny, {
|
|
5547
|
+
inclusive: boolean;
|
|
5548
|
+
ignoreDiscount: boolean;
|
|
5549
|
+
}, {
|
|
5550
|
+
inclusive: boolean;
|
|
5551
|
+
ignoreDiscount: boolean;
|
|
5552
|
+
}>>>;
|
|
5553
|
+
printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
5554
|
+
}, "strip", z.ZodTypeAny, {
|
|
5555
|
+
taxes?: {
|
|
5556
|
+
inclusive: boolean;
|
|
5557
|
+
ignoreDiscount: boolean;
|
|
5558
|
+
} | null | undefined;
|
|
5559
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
5560
|
+
voidReturnStock?: boolean | null | undefined;
|
|
5561
|
+
autoAccept: boolean;
|
|
5562
|
+
autoSend: boolean;
|
|
5563
|
+
autoCloseBill: boolean;
|
|
5564
|
+
}, {
|
|
5565
|
+
taxes?: {
|
|
5566
|
+
inclusive: boolean;
|
|
5567
|
+
ignoreDiscount: boolean;
|
|
5568
|
+
} | null | undefined;
|
|
5569
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
5570
|
+
voidReturnStock?: boolean | null | undefined;
|
|
5571
|
+
autoAccept: boolean;
|
|
5572
|
+
autoSend: boolean;
|
|
5573
|
+
autoCloseBill: boolean;
|
|
5574
|
+
}>;
|
|
5575
|
+
order: z.ZodObject<{
|
|
5576
|
+
draft: z.ZodArray<z.ZodObject<{
|
|
5577
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5578
|
+
productId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5579
|
+
subItems: z.ZodArray<z.ZodType<import("./incoming-order-to-bill.dto").FdtoOrderItemSubItem, z.ZodTypeDef, import("./incoming-order-to-bill.dto").FdtoOrderItemSubItem>, "many">;
|
|
5580
|
+
quantity: z.ZodNumber;
|
|
5581
|
+
remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5822
5582
|
product: z.ZodObject<{
|
|
5823
5583
|
code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5824
5584
|
unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -6093,6 +5853,13 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
6093
5853
|
precision: number;
|
|
6094
5854
|
};
|
|
6095
5855
|
}>;
|
|
5856
|
+
adjustmentRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5857
|
+
type: z.ZodEnum<["CAPPED_AT"]>;
|
|
5858
|
+
}, "strip", z.ZodTypeAny, {
|
|
5859
|
+
type: "CAPPED_AT";
|
|
5860
|
+
}, {
|
|
5861
|
+
type: "CAPPED_AT";
|
|
5862
|
+
}>>>;
|
|
6096
5863
|
total: z.ZodObject<{
|
|
6097
5864
|
currency: z.ZodIntersection<z.ZodString, z.ZodUnion<[z.ZodLiteral<"AED">, z.ZodLiteral<"AFN">, z.ZodLiteral<"ALL">, z.ZodLiteral<"AMD">, z.ZodLiteral<"ANG">, z.ZodLiteral<"AOA">, z.ZodLiteral<"ARS">, z.ZodLiteral<"AUD">, z.ZodLiteral<"AWG">, z.ZodLiteral<"AZN">, z.ZodLiteral<"BAM">, z.ZodLiteral<"BBD">, z.ZodLiteral<"BDT">, z.ZodLiteral<"BGN">, z.ZodLiteral<"BHD">, z.ZodLiteral<"BIF">, z.ZodLiteral<"BMD">, z.ZodLiteral<"BND">, z.ZodLiteral<"BOB">, z.ZodLiteral<"BOV">, z.ZodLiteral<"BRL">, z.ZodLiteral<"BSD">, z.ZodLiteral<"BTN">, z.ZodLiteral<"BWP">, z.ZodLiteral<"BYN">, z.ZodLiteral<"BZD">, z.ZodLiteral<"CAD">, z.ZodLiteral<"CDF">, z.ZodLiteral<"CHE">, z.ZodLiteral<"CHF">, z.ZodLiteral<"CHW">, z.ZodLiteral<"CLF">, z.ZodLiteral<"CLP">, z.ZodLiteral<"CNY">, z.ZodLiteral<"COP">, z.ZodLiteral<"COU">, z.ZodLiteral<"CRC">, z.ZodLiteral<"CUC">, z.ZodLiteral<"CUP">, z.ZodLiteral<"CVE">, z.ZodLiteral<"CZK">, z.ZodLiteral<"DJF">, z.ZodLiteral<"DKK">, z.ZodLiteral<"DOP">, z.ZodLiteral<"DZD">, z.ZodLiteral<"EGP">, z.ZodLiteral<"ERN">, z.ZodLiteral<"ETB">, z.ZodLiteral<"EUR">, z.ZodLiteral<"FJD">, z.ZodLiteral<"FKP">, z.ZodLiteral<"GBP">, z.ZodLiteral<"GEL">, z.ZodLiteral<"GHS">, z.ZodLiteral<"GIP">, z.ZodLiteral<"GMD">, z.ZodLiteral<"GNF">, z.ZodLiteral<"GTQ">, z.ZodLiteral<"GYD">, z.ZodLiteral<"HKD">, z.ZodLiteral<"HNL">, z.ZodLiteral<"HRK">, z.ZodLiteral<"HTG">, z.ZodLiteral<"HUF">, z.ZodLiteral<"IDR">, z.ZodLiteral<"ILS">, z.ZodLiteral<"INR">, z.ZodLiteral<"IQD">, z.ZodLiteral<"IRR">, z.ZodLiteral<"ISK">, z.ZodLiteral<"JMD">, z.ZodLiteral<"JOD">, z.ZodLiteral<"JPY">, z.ZodLiteral<"KES">, z.ZodLiteral<"KGS">, z.ZodLiteral<"KHR">, z.ZodLiteral<"KMF">, z.ZodLiteral<"KPW">, z.ZodLiteral<"KRW">, z.ZodLiteral<"KWD">, z.ZodLiteral<"KYD">, z.ZodLiteral<"KZT">, z.ZodLiteral<"LAK">, z.ZodLiteral<"LBP">, z.ZodLiteral<"LKR">, z.ZodLiteral<"LRD">, z.ZodLiteral<"LSL">, z.ZodLiteral<"LYD">, z.ZodLiteral<"MAD">, z.ZodLiteral<"MDL">, z.ZodLiteral<"MGA">, z.ZodLiteral<"MKD">, z.ZodLiteral<"MMK">, z.ZodLiteral<"MNT">, z.ZodLiteral<"MOP">, z.ZodLiteral<"MRU">, z.ZodLiteral<"MUR">, z.ZodLiteral<"MVR">, z.ZodLiteral<"MWK">, z.ZodLiteral<"MXN">, z.ZodLiteral<"MXV">, z.ZodLiteral<"MYR">, z.ZodLiteral<"MZN">, z.ZodLiteral<"NAD">, z.ZodLiteral<"NGN">, z.ZodLiteral<"NIO">, z.ZodLiteral<"NOK">, z.ZodLiteral<"NPR">, z.ZodLiteral<"NZD">, z.ZodLiteral<"OMR">, z.ZodLiteral<"PAB">, z.ZodLiteral<"PEN">, z.ZodLiteral<"PGK">, z.ZodLiteral<"PHP">, z.ZodLiteral<"PKR">, z.ZodLiteral<"PLN">, z.ZodLiteral<"PYG">, z.ZodLiteral<"QAR">, z.ZodLiteral<"RON">, z.ZodLiteral<"RSD">, z.ZodLiteral<"RUB">, z.ZodLiteral<"RWF">, z.ZodLiteral<"SAR">, z.ZodLiteral<"SBD">, z.ZodLiteral<"SCR">, z.ZodLiteral<"SDG">, z.ZodLiteral<"SEK">, z.ZodLiteral<"SGD">, z.ZodLiteral<"SHP">, z.ZodLiteral<"SLL">, z.ZodLiteral<"SOS">, z.ZodLiteral<"SRD">, z.ZodLiteral<"SSP">, z.ZodLiteral<"STN">, z.ZodLiteral<"SVC">, z.ZodLiteral<"SYP">, z.ZodLiteral<"SZL">, z.ZodLiteral<"THB">, z.ZodLiteral<"TJS">, z.ZodLiteral<"TMT">, z.ZodLiteral<"TND">, z.ZodLiteral<"TOP">, z.ZodLiteral<"TRY">, z.ZodLiteral<"TTD">, z.ZodLiteral<"TWD">, z.ZodLiteral<"TZS">, z.ZodLiteral<"UAH">, z.ZodLiteral<"UGX">, z.ZodLiteral<"USD">, z.ZodLiteral<"USN">, z.ZodLiteral<"UYI">, z.ZodLiteral<"UYU">, z.ZodLiteral<"UYW">, z.ZodLiteral<"UZS">, z.ZodLiteral<"VES">, z.ZodLiteral<"VND">, z.ZodLiteral<"VUV">, z.ZodLiteral<"WST">, z.ZodLiteral<"XAF">, z.ZodLiteral<"XAG">, z.ZodLiteral<"XAU">, z.ZodLiteral<"XBA">, z.ZodLiteral<"XBB">, z.ZodLiteral<"XBC">, z.ZodLiteral<"XBD">, z.ZodLiteral<"XCD">, z.ZodLiteral<"XDR">, z.ZodLiteral<"XOF">, z.ZodLiteral<"XPD">, z.ZodLiteral<"XPF">, z.ZodLiteral<"XPT">, z.ZodLiteral<"XSU">, z.ZodLiteral<"XTS">, z.ZodLiteral<"XUA">, z.ZodLiteral<"XXX">, z.ZodLiteral<"YER">, z.ZodLiteral<"ZAR">, z.ZodLiteral<"ZMW">, z.ZodLiteral<"ZWL">]>>;
|
|
6098
5865
|
amount: z.ZodNumber;
|
|
@@ -6131,6 +5898,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
6131
5898
|
}, "strip", z.ZodTypeAny, {
|
|
6132
5899
|
reason?: string | null | undefined;
|
|
6133
5900
|
referenceId?: string | null | undefined;
|
|
5901
|
+
adjustmentRule?: {
|
|
5902
|
+
type: "CAPPED_AT";
|
|
5903
|
+
} | null | undefined;
|
|
6134
5904
|
remark?: string | null | undefined;
|
|
6135
5905
|
excludeAddonPrice?: boolean | null | undefined;
|
|
6136
5906
|
total: {
|
|
@@ -6159,6 +5929,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
6159
5929
|
}, {
|
|
6160
5930
|
reason?: string | null | undefined;
|
|
6161
5931
|
referenceId?: string | null | undefined;
|
|
5932
|
+
adjustmentRule?: {
|
|
5933
|
+
type: "CAPPED_AT";
|
|
5934
|
+
} | null | undefined;
|
|
6162
5935
|
remark?: string | null | undefined;
|
|
6163
5936
|
excludeAddonPrice?: boolean | null | undefined;
|
|
6164
5937
|
total: {
|
|
@@ -6200,6 +5973,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
6200
5973
|
adjustment?: Record<string, {
|
|
6201
5974
|
reason?: string | null | undefined;
|
|
6202
5975
|
referenceId?: string | null | undefined;
|
|
5976
|
+
adjustmentRule?: {
|
|
5977
|
+
type: "CAPPED_AT";
|
|
5978
|
+
} | null | undefined;
|
|
6203
5979
|
remark?: string | null | undefined;
|
|
6204
5980
|
excludeAddonPrice?: boolean | null | undefined;
|
|
6205
5981
|
total: {
|
|
@@ -6296,6 +6072,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
6296
6072
|
adjustment?: Record<string, {
|
|
6297
6073
|
reason?: string | null | undefined;
|
|
6298
6074
|
referenceId?: string | null | undefined;
|
|
6075
|
+
adjustmentRule?: {
|
|
6076
|
+
type: "CAPPED_AT";
|
|
6077
|
+
} | null | undefined;
|
|
6299
6078
|
remark?: string | null | undefined;
|
|
6300
6079
|
excludeAddonPrice?: boolean | null | undefined;
|
|
6301
6080
|
total: {
|
|
@@ -6368,599 +6147,83 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
6368
6147
|
amount: number;
|
|
6369
6148
|
precision: number;
|
|
6370
6149
|
} | null | undefined;
|
|
6371
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
6372
|
-
name: string;
|
|
6373
|
-
price: {
|
|
6374
|
-
currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
6375
|
-
amount: number;
|
|
6376
|
-
precision: number;
|
|
6377
|
-
};
|
|
6378
|
-
};
|
|
6379
|
-
subItems: import("./incoming-order-to-bill.dto").FdtoOrderItemSubItem[];
|
|
6380
|
-
}>, "many">;
|
|
6381
|
-
user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6382
|
-
_id: z.ZodString;
|
|
6383
|
-
birthday: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
6384
|
-
gender: z.ZodNullable<z.ZodOptional<z.ZodEnum<["MALE", "FEMALE"]>>>;
|
|
6385
|
-
addresses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6386
|
-
name: z.ZodString;
|
|
6387
|
-
address: z.ZodString;
|
|
6388
|
-
coordinates: z.ZodArray<z.ZodNumber, "many">;
|
|
6389
|
-
}, "strip", z.ZodTypeAny, {
|
|
6390
|
-
name: string;
|
|
6391
|
-
address: string;
|
|
6392
|
-
coordinates: number[];
|
|
6393
|
-
}, {
|
|
6394
|
-
name: string;
|
|
6395
|
-
address: string;
|
|
6396
|
-
coordinates: number[];
|
|
6397
|
-
}>, "many">>>;
|
|
6398
|
-
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6399
|
-
photoURL: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6400
|
-
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6401
|
-
phoneNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6402
|
-
imported: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6403
|
-
source: z.ZodEnum<["FEEDME", "CITY_POS", "STOREHUB", "KERUYUn", "QISOFT", "WECHAT", "TEABAR", "NULL_MEMBER", "UMAI_POS", "QASHIER", "XILNET", "GENIUSPOS", "YHOFOODIE"]>;
|
|
6404
|
-
raw: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
6405
|
-
}, "strip", z.ZodTypeAny, {
|
|
6406
|
-
raw: Record<string, any>;
|
|
6407
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
6408
|
-
}, {
|
|
6409
|
-
raw: Record<string, any>;
|
|
6410
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
6411
|
-
}>>>;
|
|
6412
|
-
}, "strip", z.ZodTypeAny, {
|
|
6413
|
-
email?: string | null | undefined;
|
|
6414
|
-
phoneNumber?: string | null | undefined;
|
|
6415
|
-
birthday?: string | null | undefined;
|
|
6416
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
6417
|
-
addresses?: {
|
|
6418
|
-
name: string;
|
|
6419
|
-
address: string;
|
|
6420
|
-
coordinates: number[];
|
|
6421
|
-
}[] | null | undefined;
|
|
6422
|
-
photoURL?: string | null | undefined;
|
|
6423
|
-
displayName?: string | null | undefined;
|
|
6424
|
-
imported?: {
|
|
6425
|
-
raw: Record<string, any>;
|
|
6426
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
6427
|
-
} | null | undefined;
|
|
6428
|
-
_id: string;
|
|
6429
|
-
}, {
|
|
6430
|
-
email?: string | null | undefined;
|
|
6431
|
-
phoneNumber?: string | null | undefined;
|
|
6432
|
-
birthday?: string | null | undefined;
|
|
6433
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
6434
|
-
addresses?: {
|
|
6435
|
-
name: string;
|
|
6436
|
-
address: string;
|
|
6437
|
-
coordinates: number[];
|
|
6438
|
-
}[] | null | undefined;
|
|
6439
|
-
photoURL?: string | null | undefined;
|
|
6440
|
-
displayName?: string | null | undefined;
|
|
6441
|
-
imported?: {
|
|
6442
|
-
raw: Record<string, any>;
|
|
6443
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
6444
|
-
} | null | undefined;
|
|
6445
|
-
_id: string;
|
|
6446
|
-
}>>>;
|
|
6447
|
-
effects: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<z.extendShape<{
|
|
6448
|
-
adjustment: z.ZodObject<{
|
|
6449
|
-
type: z.ZodEnum<["BY_PERCENTAGE", "BY_AMOUNT", "TO_AMOUNT"]>;
|
|
6450
|
-
amount: z.ZodObject<{
|
|
6451
|
-
amount: z.ZodNumber;
|
|
6452
|
-
precision: z.ZodNumber;
|
|
6453
|
-
}, "strip", z.ZodTypeAny, {
|
|
6454
|
-
amount: number;
|
|
6455
|
-
precision: number;
|
|
6456
|
-
}, {
|
|
6457
|
-
amount: number;
|
|
6458
|
-
precision: number;
|
|
6459
|
-
}>;
|
|
6460
|
-
inclusive: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
6461
|
-
}, "strip", z.ZodTypeAny, {
|
|
6462
|
-
inclusive?: boolean | null | undefined;
|
|
6463
|
-
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
6464
|
-
amount: {
|
|
6465
|
-
amount: number;
|
|
6466
|
-
precision: number;
|
|
6467
|
-
};
|
|
6468
|
-
}, {
|
|
6469
|
-
inclusive?: boolean | null | undefined;
|
|
6470
|
-
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
6471
|
-
amount: {
|
|
6472
|
-
amount: number;
|
|
6473
|
-
precision: number;
|
|
6474
|
-
};
|
|
6475
|
-
}>;
|
|
6476
|
-
availableOnlineOrder: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>, "many">>>;
|
|
6477
|
-
options: z.ZodDiscriminatedUnion<"target", z.Primitive, z.ZodObject<z.extendShape<{
|
|
6478
|
-
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
6479
|
-
}, {
|
|
6480
|
-
target: z.ZodLiteral<"BILL">;
|
|
6481
|
-
excludeIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
6482
|
-
minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6483
|
-
amount: z.ZodNumber;
|
|
6484
|
-
precision: z.ZodNumber;
|
|
6485
|
-
}, "strip", z.ZodTypeAny, {
|
|
6486
|
-
amount: number;
|
|
6487
|
-
precision: number;
|
|
6488
|
-
}, {
|
|
6489
|
-
amount: number;
|
|
6490
|
-
precision: number;
|
|
6491
|
-
}>>>;
|
|
6492
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6493
|
-
excludeIds?: string[] | null | undefined;
|
|
6494
|
-
minPurchase?: {
|
|
6495
|
-
amount: number;
|
|
6496
|
-
precision: number;
|
|
6497
|
-
} | null | undefined;
|
|
6498
|
-
target: "BILL";
|
|
6499
|
-
}, {
|
|
6500
|
-
excludeIds?: string[] | null | undefined;
|
|
6501
|
-
minPurchase?: {
|
|
6502
|
-
amount: number;
|
|
6503
|
-
precision: number;
|
|
6504
|
-
} | null | undefined;
|
|
6505
|
-
target: "BILL";
|
|
6506
|
-
}> | z.ZodObject<z.extendShape<{
|
|
6507
|
-
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
6508
|
-
}, {
|
|
6509
|
-
target: z.ZodLiteral<"ITEM">;
|
|
6510
|
-
strategy: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
6511
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
6512
|
-
}, {
|
|
6513
|
-
type: z.ZodLiteral<"SIMPLE">;
|
|
6514
|
-
withAddons: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
6515
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6516
|
-
withAddons?: string[] | null | undefined;
|
|
6517
|
-
type: "SIMPLE";
|
|
6518
|
-
}, {
|
|
6519
|
-
withAddons?: string[] | null | undefined;
|
|
6520
|
-
type: "SIMPLE";
|
|
6521
|
-
}> | z.ZodObject<z.extendShape<{
|
|
6522
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
6523
|
-
}, {
|
|
6524
|
-
type: z.ZodLiteral<"BUY_X_GET_Y">;
|
|
6525
|
-
x: z.ZodNumber;
|
|
6526
|
-
y: z.ZodNumber;
|
|
6527
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6528
|
-
type: "BUY_X_GET_Y";
|
|
6529
|
-
x: number;
|
|
6530
|
-
y: number;
|
|
6531
|
-
}, {
|
|
6532
|
-
type: "BUY_X_GET_Y";
|
|
6533
|
-
x: number;
|
|
6534
|
-
y: number;
|
|
6535
|
-
}> | z.ZodObject<z.extendShape<{
|
|
6536
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
6537
|
-
}, {
|
|
6538
|
-
type: z.ZodLiteral<"BUY_X_ITEM_A_GET_Y_ITEM_B">;
|
|
6539
|
-
itemAIds: z.ZodArray<z.ZodString, "many">;
|
|
6540
|
-
x: z.ZodNumber;
|
|
6541
|
-
y: z.ZodNumber;
|
|
6542
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6543
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
6544
|
-
x: number;
|
|
6545
|
-
y: number;
|
|
6546
|
-
itemAIds: string[];
|
|
6547
|
-
}, {
|
|
6548
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
6549
|
-
x: number;
|
|
6550
|
-
y: number;
|
|
6551
|
-
itemAIds: string[];
|
|
6552
|
-
}> | z.ZodObject<z.extendShape<{
|
|
6553
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
6554
|
-
}, {
|
|
6555
|
-
type: z.ZodLiteral<"BUY_X_GET_Y_V2">;
|
|
6556
|
-
priority: z.ZodEnum<["CHEAPEST_FIRST", "MOST_EXPENSIVE_FIRST"]>;
|
|
6557
|
-
itemAIds: z.ZodArray<z.ZodString, "many">;
|
|
6558
|
-
x: z.ZodNumber;
|
|
6559
|
-
y: z.ZodNumber;
|
|
6560
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6561
|
-
type: "BUY_X_GET_Y_V2";
|
|
6562
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
6563
|
-
x: number;
|
|
6564
|
-
y: number;
|
|
6565
|
-
itemAIds: string[];
|
|
6566
|
-
}, {
|
|
6567
|
-
type: "BUY_X_GET_Y_V2";
|
|
6568
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
6569
|
-
x: number;
|
|
6570
|
-
y: number;
|
|
6571
|
-
itemAIds: string[];
|
|
6572
|
-
}> | z.ZodObject<z.extendShape<{
|
|
6573
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
6574
|
-
}, {
|
|
6575
|
-
type: z.ZodLiteral<"COMBO">;
|
|
6576
|
-
groups: z.ZodArray<z.ZodObject<{
|
|
6577
|
-
itemIds: z.ZodArray<z.ZodString, "many">;
|
|
6578
|
-
count: z.ZodNumber;
|
|
6579
|
-
}, "strip", z.ZodTypeAny, {
|
|
6580
|
-
count: number;
|
|
6581
|
-
itemIds: string[];
|
|
6582
|
-
}, {
|
|
6583
|
-
count: number;
|
|
6584
|
-
itemIds: string[];
|
|
6585
|
-
}>, "many">;
|
|
6586
|
-
atLeast: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
6587
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6588
|
-
atLeast?: boolean | null | undefined;
|
|
6589
|
-
groups: {
|
|
6590
|
-
count: number;
|
|
6591
|
-
itemIds: string[];
|
|
6592
|
-
}[];
|
|
6593
|
-
type: "COMBO";
|
|
6594
|
-
}, {
|
|
6595
|
-
atLeast?: boolean | null | undefined;
|
|
6596
|
-
groups: {
|
|
6597
|
-
count: number;
|
|
6598
|
-
itemIds: string[];
|
|
6599
|
-
}[];
|
|
6600
|
-
type: "COMBO";
|
|
6601
|
-
}>>;
|
|
6602
|
-
targetIds: z.ZodArray<z.ZodString, "many">;
|
|
6603
|
-
maxQuantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
6604
|
-
excludeAddonPrice: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
6605
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6606
|
-
maxQuantity?: number | null | undefined;
|
|
6607
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
6608
|
-
target: "ITEM";
|
|
6609
|
-
strategy: {
|
|
6610
|
-
withAddons?: string[] | null | undefined;
|
|
6611
|
-
type: "SIMPLE";
|
|
6612
|
-
} | {
|
|
6613
|
-
type: "BUY_X_GET_Y";
|
|
6614
|
-
x: number;
|
|
6615
|
-
y: number;
|
|
6616
|
-
} | {
|
|
6617
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
6618
|
-
x: number;
|
|
6619
|
-
y: number;
|
|
6620
|
-
itemAIds: string[];
|
|
6621
|
-
} | {
|
|
6622
|
-
type: "BUY_X_GET_Y_V2";
|
|
6623
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
6624
|
-
x: number;
|
|
6625
|
-
y: number;
|
|
6626
|
-
itemAIds: string[];
|
|
6627
|
-
} | {
|
|
6628
|
-
atLeast?: boolean | null | undefined;
|
|
6629
|
-
groups: {
|
|
6630
|
-
count: number;
|
|
6631
|
-
itemIds: string[];
|
|
6632
|
-
}[];
|
|
6633
|
-
type: "COMBO";
|
|
6634
|
-
};
|
|
6635
|
-
targetIds: string[];
|
|
6636
|
-
}, {
|
|
6637
|
-
maxQuantity?: number | null | undefined;
|
|
6638
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
6639
|
-
target: "ITEM";
|
|
6640
|
-
strategy: {
|
|
6641
|
-
withAddons?: string[] | null | undefined;
|
|
6642
|
-
type: "SIMPLE";
|
|
6643
|
-
} | {
|
|
6644
|
-
type: "BUY_X_GET_Y";
|
|
6645
|
-
x: number;
|
|
6646
|
-
y: number;
|
|
6647
|
-
} | {
|
|
6648
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
6649
|
-
x: number;
|
|
6650
|
-
y: number;
|
|
6651
|
-
itemAIds: string[];
|
|
6652
|
-
} | {
|
|
6653
|
-
type: "BUY_X_GET_Y_V2";
|
|
6654
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
6655
|
-
x: number;
|
|
6656
|
-
y: number;
|
|
6657
|
-
itemAIds: string[];
|
|
6658
|
-
} | {
|
|
6659
|
-
atLeast?: boolean | null | undefined;
|
|
6660
|
-
groups: {
|
|
6661
|
-
count: number;
|
|
6662
|
-
itemIds: string[];
|
|
6663
|
-
}[];
|
|
6664
|
-
type: "COMBO";
|
|
6665
|
-
};
|
|
6666
|
-
targetIds: string[];
|
|
6667
|
-
}> | z.ZodObject<z.extendShape<{
|
|
6668
|
-
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
6669
|
-
}, {
|
|
6670
|
-
target: z.ZodLiteral<"PAYMENT">;
|
|
6671
|
-
minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6672
|
-
amount: z.ZodNumber;
|
|
6673
|
-
precision: z.ZodNumber;
|
|
6674
|
-
}, "strip", z.ZodTypeAny, {
|
|
6675
|
-
amount: number;
|
|
6676
|
-
precision: number;
|
|
6677
|
-
}, {
|
|
6678
|
-
amount: number;
|
|
6679
|
-
precision: number;
|
|
6680
|
-
}>>>;
|
|
6681
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6682
|
-
minPurchase?: {
|
|
6683
|
-
amount: number;
|
|
6684
|
-
precision: number;
|
|
6685
|
-
} | null | undefined;
|
|
6686
|
-
target: "PAYMENT";
|
|
6687
|
-
}, {
|
|
6688
|
-
minPurchase?: {
|
|
6689
|
-
amount: number;
|
|
6690
|
-
precision: number;
|
|
6691
|
-
} | null | undefined;
|
|
6692
|
-
target: "PAYMENT";
|
|
6693
|
-
}>>;
|
|
6694
|
-
priority: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
6695
|
-
}, {
|
|
6696
|
-
adjustment: z.ZodObject<{
|
|
6697
|
-
type: z.ZodEnum<["BY_PERCENTAGE", "BY_AMOUNT", "TO_AMOUNT"]>;
|
|
6698
|
-
amount: z.ZodObject<{
|
|
6699
|
-
amount: z.ZodNumber;
|
|
6700
|
-
precision: z.ZodNumber;
|
|
6701
|
-
}, "strip", z.ZodTypeAny, {
|
|
6702
|
-
amount: number;
|
|
6703
|
-
precision: number;
|
|
6704
|
-
}, {
|
|
6705
|
-
amount: number;
|
|
6706
|
-
precision: number;
|
|
6707
|
-
}>;
|
|
6708
|
-
inclusive: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
6709
|
-
}, "strip", z.ZodTypeAny, {
|
|
6710
|
-
inclusive?: boolean | null | undefined;
|
|
6711
|
-
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
6712
|
-
amount: {
|
|
6713
|
-
amount: number;
|
|
6714
|
-
precision: number;
|
|
6715
|
-
};
|
|
6716
|
-
}, {
|
|
6717
|
-
inclusive?: boolean | null | undefined;
|
|
6718
|
-
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
6719
|
-
amount: {
|
|
6720
|
-
amount: number;
|
|
6721
|
-
precision: number;
|
|
6722
|
-
};
|
|
6723
|
-
}>;
|
|
6724
|
-
availableOnlineOrder: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>, "many">>>;
|
|
6725
|
-
options: z.ZodDiscriminatedUnion<"target", z.Primitive, z.ZodObject<z.extendShape<{
|
|
6726
|
-
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
6727
|
-
}, {
|
|
6728
|
-
target: z.ZodLiteral<"BILL">;
|
|
6729
|
-
excludeIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
6730
|
-
minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6731
|
-
amount: z.ZodNumber;
|
|
6732
|
-
precision: z.ZodNumber;
|
|
6733
|
-
}, "strip", z.ZodTypeAny, {
|
|
6734
|
-
amount: number;
|
|
6735
|
-
precision: number;
|
|
6736
|
-
}, {
|
|
6737
|
-
amount: number;
|
|
6738
|
-
precision: number;
|
|
6739
|
-
}>>>;
|
|
6740
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6741
|
-
excludeIds?: string[] | null | undefined;
|
|
6742
|
-
minPurchase?: {
|
|
6743
|
-
amount: number;
|
|
6744
|
-
precision: number;
|
|
6745
|
-
} | null | undefined;
|
|
6746
|
-
target: "BILL";
|
|
6747
|
-
}, {
|
|
6748
|
-
excludeIds?: string[] | null | undefined;
|
|
6749
|
-
minPurchase?: {
|
|
6750
|
-
amount: number;
|
|
6751
|
-
precision: number;
|
|
6752
|
-
} | null | undefined;
|
|
6753
|
-
target: "BILL";
|
|
6754
|
-
}> | z.ZodObject<z.extendShape<{
|
|
6755
|
-
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
6756
|
-
}, {
|
|
6757
|
-
target: z.ZodLiteral<"ITEM">;
|
|
6758
|
-
strategy: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
6759
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
6760
|
-
}, {
|
|
6761
|
-
type: z.ZodLiteral<"SIMPLE">;
|
|
6762
|
-
withAddons: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
6763
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6764
|
-
withAddons?: string[] | null | undefined;
|
|
6765
|
-
type: "SIMPLE";
|
|
6766
|
-
}, {
|
|
6767
|
-
withAddons?: string[] | null | undefined;
|
|
6768
|
-
type: "SIMPLE";
|
|
6769
|
-
}> | z.ZodObject<z.extendShape<{
|
|
6770
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
6771
|
-
}, {
|
|
6772
|
-
type: z.ZodLiteral<"BUY_X_GET_Y">;
|
|
6773
|
-
x: z.ZodNumber;
|
|
6774
|
-
y: z.ZodNumber;
|
|
6775
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6776
|
-
type: "BUY_X_GET_Y";
|
|
6777
|
-
x: number;
|
|
6778
|
-
y: number;
|
|
6779
|
-
}, {
|
|
6780
|
-
type: "BUY_X_GET_Y";
|
|
6781
|
-
x: number;
|
|
6782
|
-
y: number;
|
|
6783
|
-
}> | z.ZodObject<z.extendShape<{
|
|
6784
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
6785
|
-
}, {
|
|
6786
|
-
type: z.ZodLiteral<"BUY_X_ITEM_A_GET_Y_ITEM_B">;
|
|
6787
|
-
itemAIds: z.ZodArray<z.ZodString, "many">;
|
|
6788
|
-
x: z.ZodNumber;
|
|
6789
|
-
y: z.ZodNumber;
|
|
6790
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6791
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
6792
|
-
x: number;
|
|
6793
|
-
y: number;
|
|
6794
|
-
itemAIds: string[];
|
|
6795
|
-
}, {
|
|
6796
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
6797
|
-
x: number;
|
|
6798
|
-
y: number;
|
|
6799
|
-
itemAIds: string[];
|
|
6800
|
-
}> | z.ZodObject<z.extendShape<{
|
|
6801
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
6802
|
-
}, {
|
|
6803
|
-
type: z.ZodLiteral<"BUY_X_GET_Y_V2">;
|
|
6804
|
-
priority: z.ZodEnum<["CHEAPEST_FIRST", "MOST_EXPENSIVE_FIRST"]>;
|
|
6805
|
-
itemAIds: z.ZodArray<z.ZodString, "many">;
|
|
6806
|
-
x: z.ZodNumber;
|
|
6807
|
-
y: z.ZodNumber;
|
|
6808
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6809
|
-
type: "BUY_X_GET_Y_V2";
|
|
6810
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
6811
|
-
x: number;
|
|
6812
|
-
y: number;
|
|
6813
|
-
itemAIds: string[];
|
|
6814
|
-
}, {
|
|
6815
|
-
type: "BUY_X_GET_Y_V2";
|
|
6816
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
6817
|
-
x: number;
|
|
6818
|
-
y: number;
|
|
6819
|
-
itemAIds: string[];
|
|
6820
|
-
}> | z.ZodObject<z.extendShape<{
|
|
6821
|
-
type: z.ZodEnum<["SIMPLE", "BUY_X_GET_Y", "BUY_X_ITEM_A_GET_Y_ITEM_B", "BUY_X_GET_Y_V2", "COMBO"]>;
|
|
6822
|
-
}, {
|
|
6823
|
-
type: z.ZodLiteral<"COMBO">;
|
|
6824
|
-
groups: z.ZodArray<z.ZodObject<{
|
|
6825
|
-
itemIds: z.ZodArray<z.ZodString, "many">;
|
|
6826
|
-
count: z.ZodNumber;
|
|
6827
|
-
}, "strip", z.ZodTypeAny, {
|
|
6828
|
-
count: number;
|
|
6829
|
-
itemIds: string[];
|
|
6830
|
-
}, {
|
|
6831
|
-
count: number;
|
|
6832
|
-
itemIds: string[];
|
|
6833
|
-
}>, "many">;
|
|
6834
|
-
atLeast: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
6835
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6836
|
-
atLeast?: boolean | null | undefined;
|
|
6837
|
-
groups: {
|
|
6838
|
-
count: number;
|
|
6839
|
-
itemIds: string[];
|
|
6840
|
-
}[];
|
|
6841
|
-
type: "COMBO";
|
|
6842
|
-
}, {
|
|
6843
|
-
atLeast?: boolean | null | undefined;
|
|
6844
|
-
groups: {
|
|
6845
|
-
count: number;
|
|
6846
|
-
itemIds: string[];
|
|
6847
|
-
}[];
|
|
6848
|
-
type: "COMBO";
|
|
6849
|
-
}>>;
|
|
6850
|
-
targetIds: z.ZodArray<z.ZodString, "many">;
|
|
6851
|
-
maxQuantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
6852
|
-
excludeAddonPrice: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
6853
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6854
|
-
maxQuantity?: number | null | undefined;
|
|
6855
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
6856
|
-
target: "ITEM";
|
|
6857
|
-
strategy: {
|
|
6858
|
-
withAddons?: string[] | null | undefined;
|
|
6859
|
-
type: "SIMPLE";
|
|
6860
|
-
} | {
|
|
6861
|
-
type: "BUY_X_GET_Y";
|
|
6862
|
-
x: number;
|
|
6863
|
-
y: number;
|
|
6864
|
-
} | {
|
|
6865
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
6866
|
-
x: number;
|
|
6867
|
-
y: number;
|
|
6868
|
-
itemAIds: string[];
|
|
6869
|
-
} | {
|
|
6870
|
-
type: "BUY_X_GET_Y_V2";
|
|
6871
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
6872
|
-
x: number;
|
|
6873
|
-
y: number;
|
|
6874
|
-
itemAIds: string[];
|
|
6875
|
-
} | {
|
|
6876
|
-
atLeast?: boolean | null | undefined;
|
|
6877
|
-
groups: {
|
|
6878
|
-
count: number;
|
|
6879
|
-
itemIds: string[];
|
|
6880
|
-
}[];
|
|
6881
|
-
type: "COMBO";
|
|
6882
|
-
};
|
|
6883
|
-
targetIds: string[];
|
|
6884
|
-
}, {
|
|
6885
|
-
maxQuantity?: number | null | undefined;
|
|
6886
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
6887
|
-
target: "ITEM";
|
|
6888
|
-
strategy: {
|
|
6889
|
-
withAddons?: string[] | null | undefined;
|
|
6890
|
-
type: "SIMPLE";
|
|
6891
|
-
} | {
|
|
6892
|
-
type: "BUY_X_GET_Y";
|
|
6893
|
-
x: number;
|
|
6894
|
-
y: number;
|
|
6895
|
-
} | {
|
|
6896
|
-
type: "BUY_X_ITEM_A_GET_Y_ITEM_B";
|
|
6897
|
-
x: number;
|
|
6898
|
-
y: number;
|
|
6899
|
-
itemAIds: string[];
|
|
6900
|
-
} | {
|
|
6901
|
-
type: "BUY_X_GET_Y_V2";
|
|
6902
|
-
priority: "CHEAPEST_FIRST" | "MOST_EXPENSIVE_FIRST";
|
|
6903
|
-
x: number;
|
|
6904
|
-
y: number;
|
|
6905
|
-
itemAIds: string[];
|
|
6906
|
-
} | {
|
|
6907
|
-
atLeast?: boolean | null | undefined;
|
|
6908
|
-
groups: {
|
|
6909
|
-
count: number;
|
|
6910
|
-
itemIds: string[];
|
|
6911
|
-
}[];
|
|
6912
|
-
type: "COMBO";
|
|
6913
|
-
};
|
|
6914
|
-
targetIds: string[];
|
|
6915
|
-
}> | z.ZodObject<z.extendShape<{
|
|
6916
|
-
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
6917
|
-
}, {
|
|
6918
|
-
target: z.ZodLiteral<"PAYMENT">;
|
|
6919
|
-
minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6920
|
-
amount: z.ZodNumber;
|
|
6921
|
-
precision: z.ZodNumber;
|
|
6922
|
-
}, "strip", z.ZodTypeAny, {
|
|
6923
|
-
amount: number;
|
|
6924
|
-
precision: number;
|
|
6925
|
-
}, {
|
|
6926
|
-
amount: number;
|
|
6927
|
-
precision: number;
|
|
6928
|
-
}>>>;
|
|
6929
|
-
}>, "strip", z.ZodTypeAny, {
|
|
6930
|
-
minPurchase?: {
|
|
6931
|
-
amount: number;
|
|
6932
|
-
precision: number;
|
|
6933
|
-
} | null | undefined;
|
|
6934
|
-
target: "PAYMENT";
|
|
6935
|
-
}, {
|
|
6936
|
-
minPurchase?: {
|
|
6937
|
-
amount: number;
|
|
6938
|
-
precision: number;
|
|
6939
|
-
} | null | undefined;
|
|
6940
|
-
target: "PAYMENT";
|
|
6941
|
-
}>>;
|
|
6942
|
-
priority: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
6943
|
-
success: z.ZodBoolean;
|
|
6944
|
-
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6945
|
-
usedItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6946
|
-
id: z.ZodString;
|
|
6947
|
-
quantity: z.ZodNumber;
|
|
6150
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
6151
|
+
name: string;
|
|
6152
|
+
price: {
|
|
6153
|
+
currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
6154
|
+
amount: number;
|
|
6155
|
+
precision: number;
|
|
6156
|
+
};
|
|
6157
|
+
};
|
|
6158
|
+
subItems: import("./incoming-order-to-bill.dto").FdtoOrderItemSubItem[];
|
|
6159
|
+
}>, "many">;
|
|
6160
|
+
user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6161
|
+
_id: z.ZodString;
|
|
6162
|
+
birthday: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
6163
|
+
gender: z.ZodNullable<z.ZodOptional<z.ZodEnum<["MALE", "FEMALE"]>>>;
|
|
6164
|
+
addresses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6165
|
+
name: z.ZodString;
|
|
6166
|
+
address: z.ZodString;
|
|
6167
|
+
coordinates: z.ZodArray<z.ZodNumber, "many">;
|
|
6948
6168
|
}, "strip", z.ZodTypeAny, {
|
|
6949
|
-
|
|
6950
|
-
|
|
6169
|
+
name: string;
|
|
6170
|
+
address: string;
|
|
6171
|
+
coordinates: number[];
|
|
6951
6172
|
}, {
|
|
6952
|
-
|
|
6953
|
-
|
|
6173
|
+
name: string;
|
|
6174
|
+
address: string;
|
|
6175
|
+
coordinates: number[];
|
|
6954
6176
|
}>, "many">>>;
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6177
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6178
|
+
photoURL: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6179
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6180
|
+
phoneNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6181
|
+
imported: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6182
|
+
source: z.ZodEnum<["FEEDME", "CITY_POS", "STOREHUB", "KERUYUn", "QISOFT", "WECHAT", "TEABAR", "NULL_MEMBER", "UMAI_POS", "QASHIER", "XILNET", "GENIUSPOS", "YHOFOODIE"]>;
|
|
6183
|
+
raw: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
6184
|
+
}, "strip", z.ZodTypeAny, {
|
|
6185
|
+
raw: Record<string, any>;
|
|
6186
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
6187
|
+
}, {
|
|
6188
|
+
raw: Record<string, any>;
|
|
6189
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
6190
|
+
}>>>;
|
|
6191
|
+
}, "strip", z.ZodTypeAny, {
|
|
6192
|
+
email?: string | null | undefined;
|
|
6193
|
+
phoneNumber?: string | null | undefined;
|
|
6194
|
+
birthday?: string | null | undefined;
|
|
6195
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
6196
|
+
addresses?: {
|
|
6197
|
+
name: string;
|
|
6198
|
+
address: string;
|
|
6199
|
+
coordinates: number[];
|
|
6200
|
+
}[] | null | undefined;
|
|
6201
|
+
photoURL?: string | null | undefined;
|
|
6202
|
+
displayName?: string | null | undefined;
|
|
6203
|
+
imported?: {
|
|
6204
|
+
raw: Record<string, any>;
|
|
6205
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
6206
|
+
} | null | undefined;
|
|
6207
|
+
_id: string;
|
|
6208
|
+
}, {
|
|
6209
|
+
email?: string | null | undefined;
|
|
6210
|
+
phoneNumber?: string | null | undefined;
|
|
6211
|
+
birthday?: string | null | undefined;
|
|
6212
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
6213
|
+
addresses?: {
|
|
6214
|
+
name: string;
|
|
6215
|
+
address: string;
|
|
6216
|
+
coordinates: number[];
|
|
6217
|
+
}[] | null | undefined;
|
|
6218
|
+
photoURL?: string | null | undefined;
|
|
6219
|
+
displayName?: string | null | undefined;
|
|
6220
|
+
imported?: {
|
|
6221
|
+
raw: Record<string, any>;
|
|
6222
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
6223
|
+
} | null | undefined;
|
|
6224
|
+
_id: string;
|
|
6225
|
+
}>>>;
|
|
6226
|
+
effects: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
|
|
6964
6227
|
adjustment: z.ZodObject<{
|
|
6965
6228
|
type: z.ZodEnum<["BY_PERCENTAGE", "BY_AMOUNT", "TO_AMOUNT"]>;
|
|
6966
6229
|
amount: z.ZodObject<{
|
|
@@ -6989,13 +6252,16 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
6989
6252
|
precision: number;
|
|
6990
6253
|
};
|
|
6991
6254
|
}>;
|
|
6992
|
-
|
|
6993
|
-
|
|
6255
|
+
availableOnlineOrder: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>, "many">>>;
|
|
6256
|
+
adjustmentRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6257
|
+
type: z.ZodEnum<["CAPPED_AT"]>;
|
|
6258
|
+
}, "strip", z.ZodTypeAny, {
|
|
6259
|
+
type: "CAPPED_AT";
|
|
6260
|
+
}, {
|
|
6261
|
+
type: "CAPPED_AT";
|
|
6262
|
+
}>>>;
|
|
6994
6263
|
options: z.ZodDiscriminatedUnion<"target", z.Primitive, z.ZodObject<z.extendShape<{
|
|
6995
6264
|
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
6996
|
-
}, {
|
|
6997
|
-
target: z.ZodLiteral<"BILL">;
|
|
6998
|
-
excludeIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
6999
6265
|
minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7000
6266
|
amount: z.ZodNumber;
|
|
7001
6267
|
precision: z.ZodNumber;
|
|
@@ -7006,12 +6272,25 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7006
6272
|
amount: number;
|
|
7007
6273
|
precision: number;
|
|
7008
6274
|
}>>>;
|
|
6275
|
+
minPurchaseItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6276
|
+
productId: z.ZodString;
|
|
6277
|
+
}, "strip", z.ZodTypeAny, {
|
|
6278
|
+
productId: string;
|
|
6279
|
+
}, {
|
|
6280
|
+
productId: string;
|
|
6281
|
+
}>, "many">>>;
|
|
6282
|
+
}, {
|
|
6283
|
+
target: z.ZodLiteral<"BILL">;
|
|
6284
|
+
excludeIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
7009
6285
|
}>, "strip", z.ZodTypeAny, {
|
|
7010
6286
|
excludeIds?: string[] | null | undefined;
|
|
7011
6287
|
minPurchase?: {
|
|
7012
6288
|
amount: number;
|
|
7013
6289
|
precision: number;
|
|
7014
6290
|
} | null | undefined;
|
|
6291
|
+
minPurchaseItems?: {
|
|
6292
|
+
productId: string;
|
|
6293
|
+
}[] | null | undefined;
|
|
7015
6294
|
target: "BILL";
|
|
7016
6295
|
}, {
|
|
7017
6296
|
excludeIds?: string[] | null | undefined;
|
|
@@ -7019,9 +6298,29 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7019
6298
|
amount: number;
|
|
7020
6299
|
precision: number;
|
|
7021
6300
|
} | null | undefined;
|
|
6301
|
+
minPurchaseItems?: {
|
|
6302
|
+
productId: string;
|
|
6303
|
+
}[] | null | undefined;
|
|
7022
6304
|
target: "BILL";
|
|
7023
6305
|
}> | z.ZodObject<z.extendShape<{
|
|
7024
6306
|
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
6307
|
+
minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6308
|
+
amount: z.ZodNumber;
|
|
6309
|
+
precision: z.ZodNumber;
|
|
6310
|
+
}, "strip", z.ZodTypeAny, {
|
|
6311
|
+
amount: number;
|
|
6312
|
+
precision: number;
|
|
6313
|
+
}, {
|
|
6314
|
+
amount: number;
|
|
6315
|
+
precision: number;
|
|
6316
|
+
}>>>;
|
|
6317
|
+
minPurchaseItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6318
|
+
productId: z.ZodString;
|
|
6319
|
+
}, "strip", z.ZodTypeAny, {
|
|
6320
|
+
productId: string;
|
|
6321
|
+
}, {
|
|
6322
|
+
productId: string;
|
|
6323
|
+
}>, "many">>>;
|
|
7025
6324
|
}, {
|
|
7026
6325
|
target: z.ZodLiteral<"ITEM">;
|
|
7027
6326
|
strategy: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
@@ -7120,6 +6419,13 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7120
6419
|
maxQuantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7121
6420
|
excludeAddonPrice: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
7122
6421
|
}>, "strip", z.ZodTypeAny, {
|
|
6422
|
+
minPurchase?: {
|
|
6423
|
+
amount: number;
|
|
6424
|
+
precision: number;
|
|
6425
|
+
} | null | undefined;
|
|
6426
|
+
minPurchaseItems?: {
|
|
6427
|
+
productId: string;
|
|
6428
|
+
}[] | null | undefined;
|
|
7123
6429
|
maxQuantity?: number | null | undefined;
|
|
7124
6430
|
excludeAddonPrice?: boolean | null | undefined;
|
|
7125
6431
|
target: "ITEM";
|
|
@@ -7151,6 +6457,13 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7151
6457
|
};
|
|
7152
6458
|
targetIds: string[];
|
|
7153
6459
|
}, {
|
|
6460
|
+
minPurchase?: {
|
|
6461
|
+
amount: number;
|
|
6462
|
+
precision: number;
|
|
6463
|
+
} | null | undefined;
|
|
6464
|
+
minPurchaseItems?: {
|
|
6465
|
+
productId: string;
|
|
6466
|
+
}[] | null | undefined;
|
|
7154
6467
|
maxQuantity?: number | null | undefined;
|
|
7155
6468
|
excludeAddonPrice?: boolean | null | undefined;
|
|
7156
6469
|
target: "ITEM";
|
|
@@ -7183,8 +6496,6 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7183
6496
|
targetIds: string[];
|
|
7184
6497
|
}> | z.ZodObject<z.extendShape<{
|
|
7185
6498
|
target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
|
|
7186
|
-
}, {
|
|
7187
|
-
target: z.ZodLiteral<"PAYMENT">;
|
|
7188
6499
|
minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7189
6500
|
amount: z.ZodNumber;
|
|
7190
6501
|
precision: z.ZodNumber;
|
|
@@ -7195,31 +6506,38 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7195
6506
|
amount: number;
|
|
7196
6507
|
precision: number;
|
|
7197
6508
|
}>>>;
|
|
6509
|
+
minPurchaseItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6510
|
+
productId: z.ZodString;
|
|
6511
|
+
}, "strip", z.ZodTypeAny, {
|
|
6512
|
+
productId: string;
|
|
6513
|
+
}, {
|
|
6514
|
+
productId: string;
|
|
6515
|
+
}>, "many">>>;
|
|
6516
|
+
}, {
|
|
6517
|
+
target: z.ZodLiteral<"PAYMENT">;
|
|
7198
6518
|
}>, "strip", z.ZodTypeAny, {
|
|
7199
6519
|
minPurchase?: {
|
|
7200
6520
|
amount: number;
|
|
7201
6521
|
precision: number;
|
|
7202
6522
|
} | null | undefined;
|
|
6523
|
+
minPurchaseItems?: {
|
|
6524
|
+
productId: string;
|
|
6525
|
+
}[] | null | undefined;
|
|
7203
6526
|
target: "PAYMENT";
|
|
7204
6527
|
}, {
|
|
7205
6528
|
minPurchase?: {
|
|
7206
6529
|
amount: number;
|
|
7207
6530
|
precision: number;
|
|
7208
6531
|
} | null | undefined;
|
|
6532
|
+
minPurchaseItems?: {
|
|
6533
|
+
productId: string;
|
|
6534
|
+
}[] | null | undefined;
|
|
7209
6535
|
target: "PAYMENT";
|
|
7210
6536
|
}>>;
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
}, "strip", z.ZodTypeAny, {
|
|
7216
|
-
name?: string | null | undefined;
|
|
7217
|
-
id: string;
|
|
7218
|
-
}, {
|
|
7219
|
-
name?: string | null | undefined;
|
|
7220
|
-
id: string;
|
|
7221
|
-
}>>>;
|
|
7222
|
-
autoApplied: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
6537
|
+
priority: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
6538
|
+
}, {
|
|
6539
|
+
success: z.ZodBoolean;
|
|
6540
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7223
6541
|
usedItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7224
6542
|
id: z.ZodString;
|
|
7225
6543
|
quantity: z.ZodNumber;
|
|
@@ -7233,11 +6551,29 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7233
6551
|
toUse: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
7234
6552
|
toGet: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
7235
6553
|
maximumReached: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
7236
|
-
|
|
6554
|
+
items: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
6555
|
+
name: z.ZodString;
|
|
6556
|
+
from: z.ZodEnum<["COUNTER", "PROMOTION", "VOUCHER", "MEMBERSHIP", "FREE_CREDIT"]>;
|
|
6557
|
+
referenceId: z.ZodString;
|
|
6558
|
+
returnId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6559
|
+
customer: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6560
|
+
id: z.ZodString;
|
|
6561
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6562
|
+
}, "strip", z.ZodTypeAny, {
|
|
6563
|
+
name?: string | null | undefined;
|
|
6564
|
+
id: string;
|
|
6565
|
+
}, {
|
|
6566
|
+
name?: string | null | undefined;
|
|
6567
|
+
id: string;
|
|
6568
|
+
}>>>;
|
|
6569
|
+
autoApplied: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
7237
6570
|
}>, "strip", z.ZodTypeAny, {
|
|
7238
6571
|
reason?: string | null | undefined;
|
|
7239
6572
|
priority?: number | null | undefined;
|
|
7240
6573
|
items?: string[] | null | undefined;
|
|
6574
|
+
adjustmentRule?: {
|
|
6575
|
+
type: "CAPPED_AT";
|
|
6576
|
+
} | null | undefined;
|
|
7241
6577
|
customer?: {
|
|
7242
6578
|
name?: string | null | undefined;
|
|
7243
6579
|
id: string;
|
|
@@ -7259,8 +6595,18 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7259
6595
|
amount: number;
|
|
7260
6596
|
precision: number;
|
|
7261
6597
|
} | null | undefined;
|
|
6598
|
+
minPurchaseItems?: {
|
|
6599
|
+
productId: string;
|
|
6600
|
+
}[] | null | undefined;
|
|
7262
6601
|
target: "BILL";
|
|
7263
6602
|
} | {
|
|
6603
|
+
minPurchase?: {
|
|
6604
|
+
amount: number;
|
|
6605
|
+
precision: number;
|
|
6606
|
+
} | null | undefined;
|
|
6607
|
+
minPurchaseItems?: {
|
|
6608
|
+
productId: string;
|
|
6609
|
+
}[] | null | undefined;
|
|
7264
6610
|
maxQuantity?: number | null | undefined;
|
|
7265
6611
|
excludeAddonPrice?: boolean | null | undefined;
|
|
7266
6612
|
target: "ITEM";
|
|
@@ -7296,6 +6642,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7296
6642
|
amount: number;
|
|
7297
6643
|
precision: number;
|
|
7298
6644
|
} | null | undefined;
|
|
6645
|
+
minPurchaseItems?: {
|
|
6646
|
+
productId: string;
|
|
6647
|
+
}[] | null | undefined;
|
|
7299
6648
|
target: "PAYMENT";
|
|
7300
6649
|
};
|
|
7301
6650
|
success: boolean;
|
|
@@ -7313,6 +6662,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7313
6662
|
reason?: string | null | undefined;
|
|
7314
6663
|
priority?: number | null | undefined;
|
|
7315
6664
|
items?: string[] | null | undefined;
|
|
6665
|
+
adjustmentRule?: {
|
|
6666
|
+
type: "CAPPED_AT";
|
|
6667
|
+
} | null | undefined;
|
|
7316
6668
|
customer?: {
|
|
7317
6669
|
name?: string | null | undefined;
|
|
7318
6670
|
id: string;
|
|
@@ -7334,8 +6686,18 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7334
6686
|
amount: number;
|
|
7335
6687
|
precision: number;
|
|
7336
6688
|
} | null | undefined;
|
|
6689
|
+
minPurchaseItems?: {
|
|
6690
|
+
productId: string;
|
|
6691
|
+
}[] | null | undefined;
|
|
7337
6692
|
target: "BILL";
|
|
7338
6693
|
} | {
|
|
6694
|
+
minPurchase?: {
|
|
6695
|
+
amount: number;
|
|
6696
|
+
precision: number;
|
|
6697
|
+
} | null | undefined;
|
|
6698
|
+
minPurchaseItems?: {
|
|
6699
|
+
productId: string;
|
|
6700
|
+
}[] | null | undefined;
|
|
7339
6701
|
maxQuantity?: number | null | undefined;
|
|
7340
6702
|
excludeAddonPrice?: boolean | null | undefined;
|
|
7341
6703
|
target: "ITEM";
|
|
@@ -7371,6 +6733,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7371
6733
|
amount: number;
|
|
7372
6734
|
precision: number;
|
|
7373
6735
|
} | null | undefined;
|
|
6736
|
+
minPurchaseItems?: {
|
|
6737
|
+
productId: string;
|
|
6738
|
+
}[] | null | undefined;
|
|
7374
6739
|
target: "PAYMENT";
|
|
7375
6740
|
};
|
|
7376
6741
|
success: boolean;
|
|
@@ -8409,15 +7774,18 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
8409
7774
|
attributeSettings: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8410
7775
|
key: z.ZodString;
|
|
8411
7776
|
type: z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
8412
|
-
entity: z.ZodUnion<[z.ZodLiteral<"restaurant">, z.ZodLiteral<"item">, z.ZodLiteral<"inventorySku">, z.ZodLiteral<"inventoryRecipe">, z.ZodLiteral<"warehouse">]>;
|
|
7777
|
+
entity: z.ZodUnion<[z.ZodLiteral<"restaurant">, z.ZodLiteral<"item">, z.ZodLiteral<"group">, z.ZodLiteral<"inventorySku">, z.ZodLiteral<"inventoryRecipe">, z.ZodLiteral<"warehouse">]>;
|
|
7778
|
+
options: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
|
|
8413
7779
|
}, "strip", z.ZodTypeAny, {
|
|
7780
|
+
options?: any[] | null | undefined;
|
|
8414
7781
|
type: "string" | "number" | "boolean" | "date";
|
|
8415
7782
|
key: string;
|
|
8416
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
7783
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
8417
7784
|
}, {
|
|
7785
|
+
options?: any[] | null | undefined;
|
|
8418
7786
|
type: "string" | "number" | "boolean" | "date";
|
|
8419
7787
|
key: string;
|
|
8420
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
7788
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
8421
7789
|
}>, "many">>>;
|
|
8422
7790
|
pf_agent: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
8423
7791
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -8673,9 +8041,10 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
8673
8041
|
expiredAt?: string | null | undefined;
|
|
8674
8042
|
agentId?: string | null | undefined;
|
|
8675
8043
|
attributeSettings?: {
|
|
8044
|
+
options?: any[] | null | undefined;
|
|
8676
8045
|
type: "string" | "number" | "boolean" | "date";
|
|
8677
8046
|
key: string;
|
|
8678
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
8047
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
8679
8048
|
}[] | null | undefined;
|
|
8680
8049
|
pf_agent?: {
|
|
8681
8050
|
clickupId?: string | null | undefined;
|
|
@@ -8739,9 +8108,10 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
8739
8108
|
expiredAt?: string | null | undefined;
|
|
8740
8109
|
agentId?: string | null | undefined;
|
|
8741
8110
|
attributeSettings?: {
|
|
8111
|
+
options?: any[] | null | undefined;
|
|
8742
8112
|
type: "string" | "number" | "boolean" | "date";
|
|
8743
8113
|
key: string;
|
|
8744
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
8114
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
8745
8115
|
}[] | null | undefined;
|
|
8746
8116
|
pf_agent?: {
|
|
8747
8117
|
clickupId?: string | null | undefined;
|
|
@@ -8894,9 +8264,10 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
8894
8264
|
expiredAt?: string | null | undefined;
|
|
8895
8265
|
agentId?: string | null | undefined;
|
|
8896
8266
|
attributeSettings?: {
|
|
8267
|
+
options?: any[] | null | undefined;
|
|
8897
8268
|
type: "string" | "number" | "boolean" | "date";
|
|
8898
8269
|
key: string;
|
|
8899
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
8270
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
8900
8271
|
}[] | null | undefined;
|
|
8901
8272
|
pf_agent?: {
|
|
8902
8273
|
clickupId?: string | null | undefined;
|
|
@@ -8995,9 +8366,10 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
8995
8366
|
expiredAt?: string | null | undefined;
|
|
8996
8367
|
agentId?: string | null | undefined;
|
|
8997
8368
|
attributeSettings?: {
|
|
8369
|
+
options?: any[] | null | undefined;
|
|
8998
8370
|
type: "string" | "number" | "boolean" | "date";
|
|
8999
8371
|
key: string;
|
|
9000
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
8372
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
9001
8373
|
}[] | null | undefined;
|
|
9002
8374
|
pf_agent?: {
|
|
9003
8375
|
clickupId?: string | null | undefined;
|
|
@@ -9123,6 +8495,13 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9123
8495
|
precision: number;
|
|
9124
8496
|
};
|
|
9125
8497
|
}>;
|
|
8498
|
+
adjustmentRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8499
|
+
type: z.ZodEnum<["CAPPED_AT"]>;
|
|
8500
|
+
}, "strip", z.ZodTypeAny, {
|
|
8501
|
+
type: "CAPPED_AT";
|
|
8502
|
+
}, {
|
|
8503
|
+
type: "CAPPED_AT";
|
|
8504
|
+
}>>>;
|
|
9126
8505
|
total: z.ZodObject<{
|
|
9127
8506
|
currency: z.ZodIntersection<z.ZodString, z.ZodUnion<[z.ZodLiteral<"AED">, z.ZodLiteral<"AFN">, z.ZodLiteral<"ALL">, z.ZodLiteral<"AMD">, z.ZodLiteral<"ANG">, z.ZodLiteral<"AOA">, z.ZodLiteral<"ARS">, z.ZodLiteral<"AUD">, z.ZodLiteral<"AWG">, z.ZodLiteral<"AZN">, z.ZodLiteral<"BAM">, z.ZodLiteral<"BBD">, z.ZodLiteral<"BDT">, z.ZodLiteral<"BGN">, z.ZodLiteral<"BHD">, z.ZodLiteral<"BIF">, z.ZodLiteral<"BMD">, z.ZodLiteral<"BND">, z.ZodLiteral<"BOB">, z.ZodLiteral<"BOV">, z.ZodLiteral<"BRL">, z.ZodLiteral<"BSD">, z.ZodLiteral<"BTN">, z.ZodLiteral<"BWP">, z.ZodLiteral<"BYN">, z.ZodLiteral<"BZD">, z.ZodLiteral<"CAD">, z.ZodLiteral<"CDF">, z.ZodLiteral<"CHE">, z.ZodLiteral<"CHF">, z.ZodLiteral<"CHW">, z.ZodLiteral<"CLF">, z.ZodLiteral<"CLP">, z.ZodLiteral<"CNY">, z.ZodLiteral<"COP">, z.ZodLiteral<"COU">, z.ZodLiteral<"CRC">, z.ZodLiteral<"CUC">, z.ZodLiteral<"CUP">, z.ZodLiteral<"CVE">, z.ZodLiteral<"CZK">, z.ZodLiteral<"DJF">, z.ZodLiteral<"DKK">, z.ZodLiteral<"DOP">, z.ZodLiteral<"DZD">, z.ZodLiteral<"EGP">, z.ZodLiteral<"ERN">, z.ZodLiteral<"ETB">, z.ZodLiteral<"EUR">, z.ZodLiteral<"FJD">, z.ZodLiteral<"FKP">, z.ZodLiteral<"GBP">, z.ZodLiteral<"GEL">, z.ZodLiteral<"GHS">, z.ZodLiteral<"GIP">, z.ZodLiteral<"GMD">, z.ZodLiteral<"GNF">, z.ZodLiteral<"GTQ">, z.ZodLiteral<"GYD">, z.ZodLiteral<"HKD">, z.ZodLiteral<"HNL">, z.ZodLiteral<"HRK">, z.ZodLiteral<"HTG">, z.ZodLiteral<"HUF">, z.ZodLiteral<"IDR">, z.ZodLiteral<"ILS">, z.ZodLiteral<"INR">, z.ZodLiteral<"IQD">, z.ZodLiteral<"IRR">, z.ZodLiteral<"ISK">, z.ZodLiteral<"JMD">, z.ZodLiteral<"JOD">, z.ZodLiteral<"JPY">, z.ZodLiteral<"KES">, z.ZodLiteral<"KGS">, z.ZodLiteral<"KHR">, z.ZodLiteral<"KMF">, z.ZodLiteral<"KPW">, z.ZodLiteral<"KRW">, z.ZodLiteral<"KWD">, z.ZodLiteral<"KYD">, z.ZodLiteral<"KZT">, z.ZodLiteral<"LAK">, z.ZodLiteral<"LBP">, z.ZodLiteral<"LKR">, z.ZodLiteral<"LRD">, z.ZodLiteral<"LSL">, z.ZodLiteral<"LYD">, z.ZodLiteral<"MAD">, z.ZodLiteral<"MDL">, z.ZodLiteral<"MGA">, z.ZodLiteral<"MKD">, z.ZodLiteral<"MMK">, z.ZodLiteral<"MNT">, z.ZodLiteral<"MOP">, z.ZodLiteral<"MRU">, z.ZodLiteral<"MUR">, z.ZodLiteral<"MVR">, z.ZodLiteral<"MWK">, z.ZodLiteral<"MXN">, z.ZodLiteral<"MXV">, z.ZodLiteral<"MYR">, z.ZodLiteral<"MZN">, z.ZodLiteral<"NAD">, z.ZodLiteral<"NGN">, z.ZodLiteral<"NIO">, z.ZodLiteral<"NOK">, z.ZodLiteral<"NPR">, z.ZodLiteral<"NZD">, z.ZodLiteral<"OMR">, z.ZodLiteral<"PAB">, z.ZodLiteral<"PEN">, z.ZodLiteral<"PGK">, z.ZodLiteral<"PHP">, z.ZodLiteral<"PKR">, z.ZodLiteral<"PLN">, z.ZodLiteral<"PYG">, z.ZodLiteral<"QAR">, z.ZodLiteral<"RON">, z.ZodLiteral<"RSD">, z.ZodLiteral<"RUB">, z.ZodLiteral<"RWF">, z.ZodLiteral<"SAR">, z.ZodLiteral<"SBD">, z.ZodLiteral<"SCR">, z.ZodLiteral<"SDG">, z.ZodLiteral<"SEK">, z.ZodLiteral<"SGD">, z.ZodLiteral<"SHP">, z.ZodLiteral<"SLL">, z.ZodLiteral<"SOS">, z.ZodLiteral<"SRD">, z.ZodLiteral<"SSP">, z.ZodLiteral<"STN">, z.ZodLiteral<"SVC">, z.ZodLiteral<"SYP">, z.ZodLiteral<"SZL">, z.ZodLiteral<"THB">, z.ZodLiteral<"TJS">, z.ZodLiteral<"TMT">, z.ZodLiteral<"TND">, z.ZodLiteral<"TOP">, z.ZodLiteral<"TRY">, z.ZodLiteral<"TTD">, z.ZodLiteral<"TWD">, z.ZodLiteral<"TZS">, z.ZodLiteral<"UAH">, z.ZodLiteral<"UGX">, z.ZodLiteral<"USD">, z.ZodLiteral<"USN">, z.ZodLiteral<"UYI">, z.ZodLiteral<"UYU">, z.ZodLiteral<"UYW">, z.ZodLiteral<"UZS">, z.ZodLiteral<"VES">, z.ZodLiteral<"VND">, z.ZodLiteral<"VUV">, z.ZodLiteral<"WST">, z.ZodLiteral<"XAF">, z.ZodLiteral<"XAG">, z.ZodLiteral<"XAU">, z.ZodLiteral<"XBA">, z.ZodLiteral<"XBB">, z.ZodLiteral<"XBC">, z.ZodLiteral<"XBD">, z.ZodLiteral<"XCD">, z.ZodLiteral<"XDR">, z.ZodLiteral<"XOF">, z.ZodLiteral<"XPD">, z.ZodLiteral<"XPF">, z.ZodLiteral<"XPT">, z.ZodLiteral<"XSU">, z.ZodLiteral<"XTS">, z.ZodLiteral<"XUA">, z.ZodLiteral<"XXX">, z.ZodLiteral<"YER">, z.ZodLiteral<"ZAR">, z.ZodLiteral<"ZMW">, z.ZodLiteral<"ZWL">]>>;
|
|
9128
8507
|
amount: z.ZodNumber;
|
|
@@ -9162,6 +8541,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9162
8541
|
}, "strip", z.ZodTypeAny, {
|
|
9163
8542
|
reason?: string | null | undefined;
|
|
9164
8543
|
referenceId?: string | null | undefined;
|
|
8544
|
+
adjustmentRule?: {
|
|
8545
|
+
type: "CAPPED_AT";
|
|
8546
|
+
} | null | undefined;
|
|
9165
8547
|
remark?: string | null | undefined;
|
|
9166
8548
|
excludeIds?: string[] | null | undefined;
|
|
9167
8549
|
total: {
|
|
@@ -9190,6 +8572,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9190
8572
|
}, {
|
|
9191
8573
|
reason?: string | null | undefined;
|
|
9192
8574
|
referenceId?: string | null | undefined;
|
|
8575
|
+
adjustmentRule?: {
|
|
8576
|
+
type: "CAPPED_AT";
|
|
8577
|
+
} | null | undefined;
|
|
9193
8578
|
remark?: string | null | undefined;
|
|
9194
8579
|
excludeIds?: string[] | null | undefined;
|
|
9195
8580
|
total: {
|
|
@@ -9236,16 +8621,16 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9236
8621
|
name: string;
|
|
9237
8622
|
}>;
|
|
9238
8623
|
paymentGateway: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9239
|
-
key: z.ZodEnum<["REVENUE_MONSTER", "FEEDME", "FEEDME_MEMBER_CREDIT", "RAZER_MERCHANT_SERVICE", "E_GHL", "FEEDME_TERMINAL", "MACAU_PASS", "NETS"]>;
|
|
8624
|
+
key: z.ZodEnum<["REVENUE_MONSTER", "FEEDME", "FEEDME_MEMBER_CREDIT", "RAZER_MERCHANT_SERVICE", "E_GHL", "FEEDME_TERMINAL", "MACAU_PASS", "NETS", "FEEDME_CARD"]>;
|
|
9240
8625
|
response: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
9241
8626
|
transactionId: z.ZodString;
|
|
9242
8627
|
}, "strip", z.ZodTypeAny, {
|
|
9243
8628
|
response?: Record<string, any> | null | undefined;
|
|
9244
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
8629
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
9245
8630
|
transactionId: string;
|
|
9246
8631
|
}, {
|
|
9247
8632
|
response?: Record<string, any> | null | undefined;
|
|
9248
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
8633
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
9249
8634
|
transactionId: string;
|
|
9250
8635
|
}>>>;
|
|
9251
8636
|
reference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -9345,7 +8730,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9345
8730
|
} | null | undefined;
|
|
9346
8731
|
paymentGateway?: {
|
|
9347
8732
|
response?: Record<string, any> | null | undefined;
|
|
9348
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
8733
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
9349
8734
|
transactionId: string;
|
|
9350
8735
|
} | null | undefined;
|
|
9351
8736
|
reference?: string | null | undefined;
|
|
@@ -9390,7 +8775,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9390
8775
|
} | null | undefined;
|
|
9391
8776
|
paymentGateway?: {
|
|
9392
8777
|
response?: Record<string, any> | null | undefined;
|
|
9393
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
8778
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
9394
8779
|
transactionId: string;
|
|
9395
8780
|
} | null | undefined;
|
|
9396
8781
|
reference?: string | null | undefined;
|
|
@@ -9464,6 +8849,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9464
8849
|
reason?: string | null | undefined;
|
|
9465
8850
|
priority?: number | null | undefined;
|
|
9466
8851
|
items?: string[] | null | undefined;
|
|
8852
|
+
adjustmentRule?: {
|
|
8853
|
+
type: "CAPPED_AT";
|
|
8854
|
+
} | null | undefined;
|
|
9467
8855
|
customer?: {
|
|
9468
8856
|
name?: string | null | undefined;
|
|
9469
8857
|
id: string;
|
|
@@ -9485,8 +8873,18 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9485
8873
|
amount: number;
|
|
9486
8874
|
precision: number;
|
|
9487
8875
|
} | null | undefined;
|
|
8876
|
+
minPurchaseItems?: {
|
|
8877
|
+
productId: string;
|
|
8878
|
+
}[] | null | undefined;
|
|
9488
8879
|
target: "BILL";
|
|
9489
8880
|
} | {
|
|
8881
|
+
minPurchase?: {
|
|
8882
|
+
amount: number;
|
|
8883
|
+
precision: number;
|
|
8884
|
+
} | null | undefined;
|
|
8885
|
+
minPurchaseItems?: {
|
|
8886
|
+
productId: string;
|
|
8887
|
+
}[] | null | undefined;
|
|
9490
8888
|
maxQuantity?: number | null | undefined;
|
|
9491
8889
|
excludeAddonPrice?: boolean | null | undefined;
|
|
9492
8890
|
target: "ITEM";
|
|
@@ -9522,6 +8920,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9522
8920
|
amount: number;
|
|
9523
8921
|
precision: number;
|
|
9524
8922
|
} | null | undefined;
|
|
8923
|
+
minPurchaseItems?: {
|
|
8924
|
+
productId: string;
|
|
8925
|
+
}[] | null | undefined;
|
|
9525
8926
|
target: "PAYMENT";
|
|
9526
8927
|
};
|
|
9527
8928
|
success: boolean;
|
|
@@ -9550,9 +8951,10 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9550
8951
|
expiredAt?: string | null | undefined;
|
|
9551
8952
|
agentId?: string | null | undefined;
|
|
9552
8953
|
attributeSettings?: {
|
|
8954
|
+
options?: any[] | null | undefined;
|
|
9553
8955
|
type: "string" | "number" | "boolean" | "date";
|
|
9554
8956
|
key: string;
|
|
9555
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
8957
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
9556
8958
|
}[] | null | undefined;
|
|
9557
8959
|
pf_agent?: {
|
|
9558
8960
|
clickupId?: string | null | undefined;
|
|
@@ -9798,6 +9200,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9798
9200
|
adjustments: Record<string, {
|
|
9799
9201
|
reason?: string | null | undefined;
|
|
9800
9202
|
referenceId?: string | null | undefined;
|
|
9203
|
+
adjustmentRule?: {
|
|
9204
|
+
type: "CAPPED_AT";
|
|
9205
|
+
} | null | undefined;
|
|
9801
9206
|
remark?: string | null | undefined;
|
|
9802
9207
|
excludeIds?: string[] | null | undefined;
|
|
9803
9208
|
total: {
|
|
@@ -9839,6 +9244,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9839
9244
|
adjustment?: Record<string, {
|
|
9840
9245
|
reason?: string | null | undefined;
|
|
9841
9246
|
referenceId?: string | null | undefined;
|
|
9247
|
+
adjustmentRule?: {
|
|
9248
|
+
type: "CAPPED_AT";
|
|
9249
|
+
} | null | undefined;
|
|
9842
9250
|
remark?: string | null | undefined;
|
|
9843
9251
|
excludeAddonPrice?: boolean | null | undefined;
|
|
9844
9252
|
total: {
|
|
@@ -9931,7 +9339,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9931
9339
|
} | null | undefined;
|
|
9932
9340
|
paymentGateway?: {
|
|
9933
9341
|
response?: Record<string, any> | null | undefined;
|
|
9934
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
9342
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
9935
9343
|
transactionId: string;
|
|
9936
9344
|
} | null | undefined;
|
|
9937
9345
|
reference?: string | null | undefined;
|
|
@@ -9994,6 +9402,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9994
9402
|
reason?: string | null | undefined;
|
|
9995
9403
|
priority?: number | null | undefined;
|
|
9996
9404
|
items?: string[] | null | undefined;
|
|
9405
|
+
adjustmentRule?: {
|
|
9406
|
+
type: "CAPPED_AT";
|
|
9407
|
+
} | null | undefined;
|
|
9997
9408
|
customer?: {
|
|
9998
9409
|
name?: string | null | undefined;
|
|
9999
9410
|
id: string;
|
|
@@ -10015,8 +9426,18 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10015
9426
|
amount: number;
|
|
10016
9427
|
precision: number;
|
|
10017
9428
|
} | null | undefined;
|
|
9429
|
+
minPurchaseItems?: {
|
|
9430
|
+
productId: string;
|
|
9431
|
+
}[] | null | undefined;
|
|
10018
9432
|
target: "BILL";
|
|
10019
9433
|
} | {
|
|
9434
|
+
minPurchase?: {
|
|
9435
|
+
amount: number;
|
|
9436
|
+
precision: number;
|
|
9437
|
+
} | null | undefined;
|
|
9438
|
+
minPurchaseItems?: {
|
|
9439
|
+
productId: string;
|
|
9440
|
+
}[] | null | undefined;
|
|
10020
9441
|
maxQuantity?: number | null | undefined;
|
|
10021
9442
|
excludeAddonPrice?: boolean | null | undefined;
|
|
10022
9443
|
target: "ITEM";
|
|
@@ -10052,6 +9473,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10052
9473
|
amount: number;
|
|
10053
9474
|
precision: number;
|
|
10054
9475
|
} | null | undefined;
|
|
9476
|
+
minPurchaseItems?: {
|
|
9477
|
+
productId: string;
|
|
9478
|
+
}[] | null | undefined;
|
|
10055
9479
|
target: "PAYMENT";
|
|
10056
9480
|
};
|
|
10057
9481
|
success: boolean;
|
|
@@ -10080,9 +9504,10 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10080
9504
|
expiredAt?: string | null | undefined;
|
|
10081
9505
|
agentId?: string | null | undefined;
|
|
10082
9506
|
attributeSettings?: {
|
|
9507
|
+
options?: any[] | null | undefined;
|
|
10083
9508
|
type: "string" | "number" | "boolean" | "date";
|
|
10084
9509
|
key: string;
|
|
10085
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
9510
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
10086
9511
|
}[] | null | undefined;
|
|
10087
9512
|
pf_agent?: {
|
|
10088
9513
|
clickupId?: string | null | undefined;
|
|
@@ -10328,6 +9753,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10328
9753
|
adjustments: Record<string, {
|
|
10329
9754
|
reason?: string | null | undefined;
|
|
10330
9755
|
referenceId?: string | null | undefined;
|
|
9756
|
+
adjustmentRule?: {
|
|
9757
|
+
type: "CAPPED_AT";
|
|
9758
|
+
} | null | undefined;
|
|
10331
9759
|
remark?: string | null | undefined;
|
|
10332
9760
|
excludeIds?: string[] | null | undefined;
|
|
10333
9761
|
total: {
|
|
@@ -10369,6 +9797,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10369
9797
|
adjustment?: Record<string, {
|
|
10370
9798
|
reason?: string | null | undefined;
|
|
10371
9799
|
referenceId?: string | null | undefined;
|
|
9800
|
+
adjustmentRule?: {
|
|
9801
|
+
type: "CAPPED_AT";
|
|
9802
|
+
} | null | undefined;
|
|
10372
9803
|
remark?: string | null | undefined;
|
|
10373
9804
|
excludeAddonPrice?: boolean | null | undefined;
|
|
10374
9805
|
total: {
|
|
@@ -10461,7 +9892,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10461
9892
|
} | null | undefined;
|
|
10462
9893
|
paymentGateway?: {
|
|
10463
9894
|
response?: Record<string, any> | null | undefined;
|
|
10464
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
9895
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
10465
9896
|
transactionId: string;
|
|
10466
9897
|
} | null | undefined;
|
|
10467
9898
|
reference?: string | null | undefined;
|
|
@@ -10503,6 +9934,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10503
9934
|
billId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10504
9935
|
}, "strip", z.ZodTypeAny, {
|
|
10505
9936
|
billId?: string | null | undefined;
|
|
9937
|
+
eventType?: "DRIVER_INFO_CHANGED" | "REFUND" | null | undefined;
|
|
10506
9938
|
order: {
|
|
10507
9939
|
remark?: string | null | undefined;
|
|
10508
9940
|
user?: {
|
|
@@ -10528,6 +9960,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10528
9960
|
reason?: string | null | undefined;
|
|
10529
9961
|
priority?: number | null | undefined;
|
|
10530
9962
|
items?: string[] | null | undefined;
|
|
9963
|
+
adjustmentRule?: {
|
|
9964
|
+
type: "CAPPED_AT";
|
|
9965
|
+
} | null | undefined;
|
|
10531
9966
|
customer?: {
|
|
10532
9967
|
name?: string | null | undefined;
|
|
10533
9968
|
id: string;
|
|
@@ -10549,8 +9984,18 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10549
9984
|
amount: number;
|
|
10550
9985
|
precision: number;
|
|
10551
9986
|
} | null | undefined;
|
|
9987
|
+
minPurchaseItems?: {
|
|
9988
|
+
productId: string;
|
|
9989
|
+
}[] | null | undefined;
|
|
10552
9990
|
target: "BILL";
|
|
10553
9991
|
} | {
|
|
9992
|
+
minPurchase?: {
|
|
9993
|
+
amount: number;
|
|
9994
|
+
precision: number;
|
|
9995
|
+
} | null | undefined;
|
|
9996
|
+
minPurchaseItems?: {
|
|
9997
|
+
productId: string;
|
|
9998
|
+
}[] | null | undefined;
|
|
10554
9999
|
maxQuantity?: number | null | undefined;
|
|
10555
10000
|
excludeAddonPrice?: boolean | null | undefined;
|
|
10556
10001
|
target: "ITEM";
|
|
@@ -10586,6 +10031,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10586
10031
|
amount: number;
|
|
10587
10032
|
precision: number;
|
|
10588
10033
|
} | null | undefined;
|
|
10034
|
+
minPurchaseItems?: {
|
|
10035
|
+
productId: string;
|
|
10036
|
+
}[] | null | undefined;
|
|
10589
10037
|
target: "PAYMENT";
|
|
10590
10038
|
};
|
|
10591
10039
|
success: boolean;
|
|
@@ -10614,9 +10062,10 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10614
10062
|
expiredAt?: string | null | undefined;
|
|
10615
10063
|
agentId?: string | null | undefined;
|
|
10616
10064
|
attributeSettings?: {
|
|
10065
|
+
options?: any[] | null | undefined;
|
|
10617
10066
|
type: "string" | "number" | "boolean" | "date";
|
|
10618
10067
|
key: string;
|
|
10619
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
10068
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
10620
10069
|
}[] | null | undefined;
|
|
10621
10070
|
pf_agent?: {
|
|
10622
10071
|
clickupId?: string | null | undefined;
|
|
@@ -10862,6 +10311,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10862
10311
|
adjustments: Record<string, {
|
|
10863
10312
|
reason?: string | null | undefined;
|
|
10864
10313
|
referenceId?: string | null | undefined;
|
|
10314
|
+
adjustmentRule?: {
|
|
10315
|
+
type: "CAPPED_AT";
|
|
10316
|
+
} | null | undefined;
|
|
10865
10317
|
remark?: string | null | undefined;
|
|
10866
10318
|
excludeIds?: string[] | null | undefined;
|
|
10867
10319
|
total: {
|
|
@@ -10903,6 +10355,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10903
10355
|
adjustment?: Record<string, {
|
|
10904
10356
|
reason?: string | null | undefined;
|
|
10905
10357
|
referenceId?: string | null | undefined;
|
|
10358
|
+
adjustmentRule?: {
|
|
10359
|
+
type: "CAPPED_AT";
|
|
10360
|
+
} | null | undefined;
|
|
10906
10361
|
remark?: string | null | undefined;
|
|
10907
10362
|
excludeAddonPrice?: boolean | null | undefined;
|
|
10908
10363
|
total: {
|
|
@@ -10995,7 +10450,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10995
10450
|
} | null | undefined;
|
|
10996
10451
|
paymentGateway?: {
|
|
10997
10452
|
response?: Record<string, any> | null | undefined;
|
|
10998
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
10453
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
10999
10454
|
transactionId: string;
|
|
11000
10455
|
} | null | undefined;
|
|
11001
10456
|
reference?: string | null | undefined;
|
|
@@ -11035,8 +10490,20 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
11035
10490
|
}>;
|
|
11036
10491
|
};
|
|
11037
10492
|
orderId: string;
|
|
10493
|
+
config: {
|
|
10494
|
+
taxes?: {
|
|
10495
|
+
inclusive: boolean;
|
|
10496
|
+
ignoreDiscount: boolean;
|
|
10497
|
+
} | null | undefined;
|
|
10498
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
10499
|
+
voidReturnStock?: boolean | null | undefined;
|
|
10500
|
+
autoAccept: boolean;
|
|
10501
|
+
autoSend: boolean;
|
|
10502
|
+
autoCloseBill: boolean;
|
|
10503
|
+
};
|
|
11038
10504
|
}, {
|
|
11039
10505
|
billId?: string | null | undefined;
|
|
10506
|
+
eventType?: "DRIVER_INFO_CHANGED" | "REFUND" | null | undefined;
|
|
11040
10507
|
order: {
|
|
11041
10508
|
remark?: string | null | undefined;
|
|
11042
10509
|
user?: {
|
|
@@ -11062,6 +10529,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
11062
10529
|
reason?: string | null | undefined;
|
|
11063
10530
|
priority?: number | null | undefined;
|
|
11064
10531
|
items?: string[] | null | undefined;
|
|
10532
|
+
adjustmentRule?: {
|
|
10533
|
+
type: "CAPPED_AT";
|
|
10534
|
+
} | null | undefined;
|
|
11065
10535
|
customer?: {
|
|
11066
10536
|
name?: string | null | undefined;
|
|
11067
10537
|
id: string;
|
|
@@ -11083,8 +10553,18 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
11083
10553
|
amount: number;
|
|
11084
10554
|
precision: number;
|
|
11085
10555
|
} | null | undefined;
|
|
10556
|
+
minPurchaseItems?: {
|
|
10557
|
+
productId: string;
|
|
10558
|
+
}[] | null | undefined;
|
|
11086
10559
|
target: "BILL";
|
|
11087
10560
|
} | {
|
|
10561
|
+
minPurchase?: {
|
|
10562
|
+
amount: number;
|
|
10563
|
+
precision: number;
|
|
10564
|
+
} | null | undefined;
|
|
10565
|
+
minPurchaseItems?: {
|
|
10566
|
+
productId: string;
|
|
10567
|
+
}[] | null | undefined;
|
|
11088
10568
|
maxQuantity?: number | null | undefined;
|
|
11089
10569
|
excludeAddonPrice?: boolean | null | undefined;
|
|
11090
10570
|
target: "ITEM";
|
|
@@ -11120,6 +10600,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
11120
10600
|
amount: number;
|
|
11121
10601
|
precision: number;
|
|
11122
10602
|
} | null | undefined;
|
|
10603
|
+
minPurchaseItems?: {
|
|
10604
|
+
productId: string;
|
|
10605
|
+
}[] | null | undefined;
|
|
11123
10606
|
target: "PAYMENT";
|
|
11124
10607
|
};
|
|
11125
10608
|
success: boolean;
|
|
@@ -11148,9 +10631,10 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
11148
10631
|
expiredAt?: string | null | undefined;
|
|
11149
10632
|
agentId?: string | null | undefined;
|
|
11150
10633
|
attributeSettings?: {
|
|
10634
|
+
options?: any[] | null | undefined;
|
|
11151
10635
|
type: "string" | "number" | "boolean" | "date";
|
|
11152
10636
|
key: string;
|
|
11153
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
10637
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
11154
10638
|
}[] | null | undefined;
|
|
11155
10639
|
pf_agent?: {
|
|
11156
10640
|
clickupId?: string | null | undefined;
|
|
@@ -11396,6 +10880,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
11396
10880
|
adjustments: Record<string, {
|
|
11397
10881
|
reason?: string | null | undefined;
|
|
11398
10882
|
referenceId?: string | null | undefined;
|
|
10883
|
+
adjustmentRule?: {
|
|
10884
|
+
type: "CAPPED_AT";
|
|
10885
|
+
} | null | undefined;
|
|
11399
10886
|
remark?: string | null | undefined;
|
|
11400
10887
|
excludeIds?: string[] | null | undefined;
|
|
11401
10888
|
total: {
|
|
@@ -11437,6 +10924,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
11437
10924
|
adjustment?: Record<string, {
|
|
11438
10925
|
reason?: string | null | undefined;
|
|
11439
10926
|
referenceId?: string | null | undefined;
|
|
10927
|
+
adjustmentRule?: {
|
|
10928
|
+
type: "CAPPED_AT";
|
|
10929
|
+
} | null | undefined;
|
|
11440
10930
|
remark?: string | null | undefined;
|
|
11441
10931
|
excludeAddonPrice?: boolean | null | undefined;
|
|
11442
10932
|
total: {
|
|
@@ -11529,7 +11019,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
11529
11019
|
} | null | undefined;
|
|
11530
11020
|
paymentGateway?: {
|
|
11531
11021
|
response?: Record<string, any> | null | undefined;
|
|
11532
|
-
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS";
|
|
11022
|
+
key: "FEEDME" | "MACAU_PASS" | "FEEDME_TERMINAL" | "REVENUE_MONSTER" | "E_GHL" | "RAZER_MERCHANT_SERVICE" | "FEEDME_MEMBER_CREDIT" | "NETS" | "FEEDME_CARD";
|
|
11533
11023
|
transactionId: string;
|
|
11534
11024
|
} | null | undefined;
|
|
11535
11025
|
reference?: string | null | undefined;
|
|
@@ -11569,6 +11059,17 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
11569
11059
|
}>;
|
|
11570
11060
|
};
|
|
11571
11061
|
orderId: string;
|
|
11062
|
+
config: {
|
|
11063
|
+
taxes?: {
|
|
11064
|
+
inclusive: boolean;
|
|
11065
|
+
ignoreDiscount: boolean;
|
|
11066
|
+
} | null | undefined;
|
|
11067
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
11068
|
+
voidReturnStock?: boolean | null | undefined;
|
|
11069
|
+
autoAccept: boolean;
|
|
11070
|
+
autoSend: boolean;
|
|
11071
|
+
autoCloseBill: boolean;
|
|
11072
|
+
};
|
|
11572
11073
|
}>;
|
|
11573
11074
|
export declare const FdtoRejectIncomingOrder: z.ZodObject<{
|
|
11574
11075
|
orderId: z.ZodString;
|
|
@@ -11617,18 +11118,18 @@ export declare const FdtoRefundIncomingOrder: z.ZodObject<{
|
|
|
11617
11118
|
};
|
|
11618
11119
|
}>;
|
|
11619
11120
|
export declare const FdtoUpdatePlatformOrder: z.ZodObject<{
|
|
11620
|
-
status: z.ZodEnum<["REJECT", "DONE_PREPARED", "ACCEPT"]>;
|
|
11121
|
+
status: z.ZodEnum<["REJECT", "DONE_PREPARED", "ACCEPT", "COLLECTED"]>;
|
|
11621
11122
|
orderId: z.ZodString;
|
|
11622
11123
|
billId: z.ZodString;
|
|
11623
11124
|
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11624
11125
|
}, "strip", z.ZodTypeAny, {
|
|
11625
11126
|
reason?: string | null | undefined;
|
|
11626
|
-
status: "ACCEPT" | "REJECT" | "DONE_PREPARED";
|
|
11127
|
+
status: "ACCEPT" | "REJECT" | "DONE_PREPARED" | "COLLECTED";
|
|
11627
11128
|
orderId: string;
|
|
11628
11129
|
billId: string;
|
|
11629
11130
|
}, {
|
|
11630
11131
|
reason?: string | null | undefined;
|
|
11631
|
-
status: "ACCEPT" | "REJECT" | "DONE_PREPARED";
|
|
11132
|
+
status: "ACCEPT" | "REJECT" | "DONE_PREPARED" | "COLLECTED";
|
|
11632
11133
|
orderId: string;
|
|
11633
11134
|
billId: string;
|
|
11634
11135
|
}>;
|