@feedmepos/mf-order-setting 0.0.46 → 0.0.48
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-Dd3xcM5X.js → KioskDevicesView-iZTQ--DO.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-D-epeOIx.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CPDemTBj.js} +19 -19
- package/dist/KioskSettingView-mN7UPNYu.js +552 -0
- package/dist/{KioskView-BGiHHSjd.js → KioskView-NEpc7Ivb.js} +12 -8
- package/dist/OrderSettingsView-B5Nq_u9Z.js +51275 -0
- package/dist/app-B3KtJhiw.js +2914 -0
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-D-vfvSns.js → dayjs.min-GjkM9dM2.js} +49 -49
- package/dist/frontend/mf-order/src/app.d.ts +1769 -0
- package/dist/frontend/mf-order/src/composables/useDeprecationNotice.d.ts +7 -0
- package/dist/frontend/mf-order/src/main.d.ts +1769 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +60 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +18 -12
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +18 -6
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +12 -4
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPaymentTypeSection.vue.d.ts +12 -8
- package/dist/frontend/mf-order/src/views/order-settings/delivery/components/FeedmeExpressDeprecationNotice.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-DAruvcri.js → index-Dwzta1U-.js} +2 -2
- package/dist/menu.dto-DgPhiIVk.js +101330 -0
- package/dist/package/entity/booking/booking.do.d.ts +170 -40
- package/dist/package/entity/delivery/delivery.dto.d.ts +34 -8
- package/dist/package/entity/food-court/order.dto.d.ts +2890 -2890
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +226 -226
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +1027 -790
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +356 -356
- package/dist/package/entity/index.d.ts +1 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +213 -91
- package/dist/package/entity/order/effects/effect.dto.d.ts +10 -10
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +110 -110
- package/dist/package/entity/order/order.do.d.ts +20 -20
- package/dist/package/entity/order/order.dto.d.ts +23748 -40781
- package/dist/package/entity/order/payment/payment.dto.d.ts +784 -10508
- package/dist/package/entity/order-platform/deliveroo/deliveroo-order.do.d.ts +26 -26
- package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +158 -158
- package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +196 -196
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +34 -8
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +34 -8
- package/dist/package/entity/order-platform/menu.dto.d.ts +75 -44
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +34 -8
- package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +57 -42
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +44 -32
- package/dist/package/entity/order-setting/order-setting.do.d.ts +31 -22
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +62 -44
- package/dist/package/entity/payment/payment.dto.d.ts +2 -2
- package/dist/package/entity/payment/transaction.d.ts +1937 -0
- package/dist/package/entity/queue/queue.dto.d.ts +2677 -7335
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +220 -144
- package/dist/package/entity/websocket/websocket.dto.d.ts +68 -48
- package/package.json +3 -3
- package/src/app.ts +2 -0
- package/src/composables/useDeprecationNotice.ts +52 -0
- package/src/locales/en-US.json +6 -0
- package/src/locales/ja-JP.json +1751 -0
- package/src/locales/th-TH.json +6 -0
- package/src/locales/zh-CN.json +6 -0
- package/src/main.ts +2 -0
- package/src/stores/order-setting/mapper.ts +35 -23
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +21 -0
- package/src/views/order-settings/delivery/DeliverySetting.vue +46 -2
- package/src/views/order-settings/delivery/components/FeedmeExpressDeprecationNotice.vue +16 -0
- package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +13 -0
- package/src/views/order-settings/delivery/integrated-delivery/FeedmeDelivery.vue +39 -39
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +25 -2
- package/dist/KioskSettingView-D50Gh7NR.js +0 -528
- package/dist/OrderSettingsView-DNuKMNFe.js +0 -74486
- package/dist/app-DGT9bC4M.js +0 -1145
- package/dist/menu.dto-B82ITnH5.js +0 -124296
|
@@ -2096,6 +2096,7 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2096
2096
|
code: string;
|
|
2097
2097
|
name: string;
|
|
2098
2098
|
inclusive: boolean;
|
|
2099
|
+
level: number;
|
|
2099
2100
|
adjustment: {
|
|
2100
2101
|
inclusive?: boolean | null | undefined;
|
|
2101
2102
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -2104,7 +2105,6 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2104
2105
|
precision: number;
|
|
2105
2106
|
};
|
|
2106
2107
|
};
|
|
2107
|
-
level: number;
|
|
2108
2108
|
applyTo: {
|
|
2109
2109
|
all: boolean;
|
|
2110
2110
|
isDineIn: boolean;
|
|
@@ -2114,6 +2114,7 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2114
2114
|
code: string;
|
|
2115
2115
|
name: string;
|
|
2116
2116
|
inclusive: boolean;
|
|
2117
|
+
level: number;
|
|
2117
2118
|
adjustment: {
|
|
2118
2119
|
inclusive?: boolean | null | undefined;
|
|
2119
2120
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -2122,7 +2123,6 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2122
2123
|
precision: number;
|
|
2123
2124
|
};
|
|
2124
2125
|
};
|
|
2125
|
-
level: number;
|
|
2126
2126
|
applyTo: {
|
|
2127
2127
|
all: boolean;
|
|
2128
2128
|
isDineIn: boolean;
|
|
@@ -2310,6 +2310,7 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2310
2310
|
code: string;
|
|
2311
2311
|
name: string;
|
|
2312
2312
|
inclusive: boolean;
|
|
2313
|
+
level: number;
|
|
2313
2314
|
adjustment: {
|
|
2314
2315
|
inclusive?: boolean | null | undefined;
|
|
2315
2316
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -2318,7 +2319,6 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2318
2319
|
precision: number;
|
|
2319
2320
|
};
|
|
2320
2321
|
};
|
|
2321
|
-
level: number;
|
|
2322
2322
|
applyTo: {
|
|
2323
2323
|
all: boolean;
|
|
2324
2324
|
isDineIn: boolean;
|
|
@@ -2354,6 +2354,7 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2354
2354
|
code: string;
|
|
2355
2355
|
name: string;
|
|
2356
2356
|
inclusive: boolean;
|
|
2357
|
+
level: number;
|
|
2357
2358
|
adjustment: {
|
|
2358
2359
|
inclusive?: boolean | null | undefined;
|
|
2359
2360
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -2362,7 +2363,6 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2362
2363
|
precision: number;
|
|
2363
2364
|
};
|
|
2364
2365
|
};
|
|
2365
|
-
level: number;
|
|
2366
2366
|
applyTo: {
|
|
2367
2367
|
all: boolean;
|
|
2368
2368
|
isDineIn: boolean;
|
|
@@ -2418,6 +2418,7 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2418
2418
|
code: string;
|
|
2419
2419
|
name: string;
|
|
2420
2420
|
inclusive: boolean;
|
|
2421
|
+
level: number;
|
|
2421
2422
|
adjustment: {
|
|
2422
2423
|
inclusive?: boolean | null | undefined;
|
|
2423
2424
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -2426,7 +2427,6 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2426
2427
|
precision: number;
|
|
2427
2428
|
};
|
|
2428
2429
|
};
|
|
2429
|
-
level: number;
|
|
2430
2430
|
applyTo: {
|
|
2431
2431
|
all: boolean;
|
|
2432
2432
|
isDineIn: boolean;
|
|
@@ -2470,6 +2470,7 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2470
2470
|
code: string;
|
|
2471
2471
|
name: string;
|
|
2472
2472
|
inclusive: boolean;
|
|
2473
|
+
level: number;
|
|
2473
2474
|
adjustment: {
|
|
2474
2475
|
inclusive?: boolean | null | undefined;
|
|
2475
2476
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -2478,7 +2479,6 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2478
2479
|
precision: number;
|
|
2479
2480
|
};
|
|
2480
2481
|
};
|
|
2481
|
-
level: number;
|
|
2482
2482
|
applyTo: {
|
|
2483
2483
|
all: boolean;
|
|
2484
2484
|
isDineIn: boolean;
|
|
@@ -2827,19 +2827,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
2827
2827
|
remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2828
2828
|
}, "strip", z.ZodTypeAny, {
|
|
2829
2829
|
reason?: string | null | undefined;
|
|
2830
|
+
remark?: string | null | undefined;
|
|
2831
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
2830
2832
|
referenceId?: string | null | undefined;
|
|
2831
2833
|
adjustmentRule?: {
|
|
2832
2834
|
type: "CAPPED_AT";
|
|
2833
2835
|
} | null | undefined;
|
|
2834
|
-
remark?: string | null | undefined;
|
|
2835
2836
|
ignoreMinPrice?: boolean | null | undefined;
|
|
2836
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
2837
2837
|
total: {
|
|
2838
2838
|
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";
|
|
2839
2839
|
amount: number;
|
|
2840
2840
|
precision: number;
|
|
2841
2841
|
};
|
|
2842
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
2843
2842
|
adjustment: {
|
|
2844
2843
|
inclusive?: boolean | null | undefined;
|
|
2845
2844
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -2848,6 +2847,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
2848
2847
|
precision: number;
|
|
2849
2848
|
};
|
|
2850
2849
|
};
|
|
2850
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
2851
2851
|
createdBy: {
|
|
2852
2852
|
name: string;
|
|
2853
2853
|
id: string;
|
|
@@ -2859,19 +2859,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
2859
2859
|
afterTaxLevel: number;
|
|
2860
2860
|
}, {
|
|
2861
2861
|
reason?: string | null | undefined;
|
|
2862
|
+
remark?: string | null | undefined;
|
|
2863
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
2862
2864
|
referenceId?: string | null | undefined;
|
|
2863
2865
|
adjustmentRule?: {
|
|
2864
2866
|
type: "CAPPED_AT";
|
|
2865
2867
|
} | null | undefined;
|
|
2866
|
-
remark?: string | null | undefined;
|
|
2867
2868
|
ignoreMinPrice?: boolean | null | undefined;
|
|
2868
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
2869
2869
|
total: {
|
|
2870
2870
|
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";
|
|
2871
2871
|
amount: number;
|
|
2872
2872
|
precision: number;
|
|
2873
2873
|
};
|
|
2874
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
2875
2874
|
adjustment: {
|
|
2876
2875
|
inclusive?: boolean | null | undefined;
|
|
2877
2876
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -2880,6 +2879,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
2880
2879
|
precision: number;
|
|
2881
2880
|
};
|
|
2882
2881
|
};
|
|
2882
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
2883
2883
|
createdBy: {
|
|
2884
2884
|
name: string;
|
|
2885
2885
|
id: string;
|
|
@@ -2949,6 +2949,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
2949
2949
|
amount: number;
|
|
2950
2950
|
precision: number;
|
|
2951
2951
|
};
|
|
2952
|
+
level: number;
|
|
2952
2953
|
adjustment: {
|
|
2953
2954
|
inclusive?: boolean | null | undefined;
|
|
2954
2955
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -2957,7 +2958,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
2957
2958
|
precision: number;
|
|
2958
2959
|
};
|
|
2959
2960
|
};
|
|
2960
|
-
level: number;
|
|
2961
2961
|
}, {
|
|
2962
2962
|
inclusive?: boolean | null | undefined;
|
|
2963
2963
|
taxCode?: string | null | undefined;
|
|
@@ -2969,6 +2969,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
2969
2969
|
amount: number;
|
|
2970
2970
|
precision: number;
|
|
2971
2971
|
};
|
|
2972
|
+
level: number;
|
|
2972
2973
|
adjustment: {
|
|
2973
2974
|
inclusive?: boolean | null | undefined;
|
|
2974
2975
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -2977,7 +2978,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
2977
2978
|
precision: number;
|
|
2978
2979
|
};
|
|
2979
2980
|
};
|
|
2980
|
-
level: number;
|
|
2981
2981
|
}>>>;
|
|
2982
2982
|
nettTotal: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2983
2983
|
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">]>>;
|
|
@@ -3026,6 +3026,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3026
3026
|
amount: number;
|
|
3027
3027
|
precision: number;
|
|
3028
3028
|
};
|
|
3029
|
+
level: number;
|
|
3029
3030
|
adjustment: {
|
|
3030
3031
|
inclusive?: boolean | null | undefined;
|
|
3031
3032
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3034,7 +3035,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3034
3035
|
precision: number;
|
|
3035
3036
|
};
|
|
3036
3037
|
};
|
|
3037
|
-
level: number;
|
|
3038
3038
|
}>;
|
|
3039
3039
|
product: {
|
|
3040
3040
|
code?: string | null | undefined;
|
|
@@ -3093,19 +3093,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3093
3093
|
subItems: import("../order.do").FdoOrderSubItem[];
|
|
3094
3094
|
adjustments: Record<string, {
|
|
3095
3095
|
reason?: string | null | undefined;
|
|
3096
|
+
remark?: string | null | undefined;
|
|
3097
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
3096
3098
|
referenceId?: string | null | undefined;
|
|
3097
3099
|
adjustmentRule?: {
|
|
3098
3100
|
type: "CAPPED_AT";
|
|
3099
3101
|
} | null | undefined;
|
|
3100
|
-
remark?: string | null | undefined;
|
|
3101
3102
|
ignoreMinPrice?: boolean | null | undefined;
|
|
3102
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
3103
3103
|
total: {
|
|
3104
3104
|
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";
|
|
3105
3105
|
amount: number;
|
|
3106
3106
|
precision: number;
|
|
3107
3107
|
};
|
|
3108
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
3109
3108
|
adjustment: {
|
|
3110
3109
|
inclusive?: boolean | null | undefined;
|
|
3111
3110
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3114,6 +3113,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3114
3113
|
precision: number;
|
|
3115
3114
|
};
|
|
3116
3115
|
};
|
|
3116
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
3117
3117
|
createdBy: {
|
|
3118
3118
|
name: string;
|
|
3119
3119
|
id: string;
|
|
@@ -3158,6 +3158,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3158
3158
|
amount: number;
|
|
3159
3159
|
precision: number;
|
|
3160
3160
|
};
|
|
3161
|
+
level: number;
|
|
3161
3162
|
adjustment: {
|
|
3162
3163
|
inclusive?: boolean | null | undefined;
|
|
3163
3164
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3166,7 +3167,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3166
3167
|
precision: number;
|
|
3167
3168
|
};
|
|
3168
3169
|
};
|
|
3169
|
-
level: number;
|
|
3170
3170
|
}>;
|
|
3171
3171
|
product: {
|
|
3172
3172
|
code?: string | null | undefined;
|
|
@@ -3225,19 +3225,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3225
3225
|
subItems: import("../order.do").FdoOrderSubItem[];
|
|
3226
3226
|
adjustments: Record<string, {
|
|
3227
3227
|
reason?: string | null | undefined;
|
|
3228
|
+
remark?: string | null | undefined;
|
|
3229
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
3228
3230
|
referenceId?: string | null | undefined;
|
|
3229
3231
|
adjustmentRule?: {
|
|
3230
3232
|
type: "CAPPED_AT";
|
|
3231
3233
|
} | null | undefined;
|
|
3232
|
-
remark?: string | null | undefined;
|
|
3233
3234
|
ignoreMinPrice?: boolean | null | undefined;
|
|
3234
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
3235
3235
|
total: {
|
|
3236
3236
|
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";
|
|
3237
3237
|
amount: number;
|
|
3238
3238
|
precision: number;
|
|
3239
3239
|
};
|
|
3240
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
3241
3240
|
adjustment: {
|
|
3242
3241
|
inclusive?: boolean | null | undefined;
|
|
3243
3242
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3246,6 +3245,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3246
3245
|
precision: number;
|
|
3247
3246
|
};
|
|
3248
3247
|
};
|
|
3248
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
3249
3249
|
createdBy: {
|
|
3250
3250
|
name: string;
|
|
3251
3251
|
id: string;
|
|
@@ -3308,6 +3308,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3308
3308
|
code: string;
|
|
3309
3309
|
name: string;
|
|
3310
3310
|
inclusive: boolean;
|
|
3311
|
+
level: number;
|
|
3311
3312
|
adjustment: {
|
|
3312
3313
|
inclusive?: boolean | null | undefined;
|
|
3313
3314
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3316,7 +3317,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3316
3317
|
precision: number;
|
|
3317
3318
|
};
|
|
3318
3319
|
};
|
|
3319
|
-
level: number;
|
|
3320
3320
|
applyTo: {
|
|
3321
3321
|
all: boolean;
|
|
3322
3322
|
isDineIn: boolean;
|
|
@@ -3326,6 +3326,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3326
3326
|
code: string;
|
|
3327
3327
|
name: string;
|
|
3328
3328
|
inclusive: boolean;
|
|
3329
|
+
level: number;
|
|
3329
3330
|
adjustment: {
|
|
3330
3331
|
inclusive?: boolean | null | undefined;
|
|
3331
3332
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3334,7 +3335,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3334
3335
|
precision: number;
|
|
3335
3336
|
};
|
|
3336
3337
|
};
|
|
3337
|
-
level: number;
|
|
3338
3338
|
applyTo: {
|
|
3339
3339
|
all: boolean;
|
|
3340
3340
|
isDineIn: boolean;
|
|
@@ -3522,6 +3522,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3522
3522
|
code: string;
|
|
3523
3523
|
name: string;
|
|
3524
3524
|
inclusive: boolean;
|
|
3525
|
+
level: number;
|
|
3525
3526
|
adjustment: {
|
|
3526
3527
|
inclusive?: boolean | null | undefined;
|
|
3527
3528
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3530,7 +3531,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3530
3531
|
precision: number;
|
|
3531
3532
|
};
|
|
3532
3533
|
};
|
|
3533
|
-
level: number;
|
|
3534
3534
|
applyTo: {
|
|
3535
3535
|
all: boolean;
|
|
3536
3536
|
isDineIn: boolean;
|
|
@@ -3566,6 +3566,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3566
3566
|
code: string;
|
|
3567
3567
|
name: string;
|
|
3568
3568
|
inclusive: boolean;
|
|
3569
|
+
level: number;
|
|
3569
3570
|
adjustment: {
|
|
3570
3571
|
inclusive?: boolean | null | undefined;
|
|
3571
3572
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3574,7 +3575,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3574
3575
|
precision: number;
|
|
3575
3576
|
};
|
|
3576
3577
|
};
|
|
3577
|
-
level: number;
|
|
3578
3578
|
applyTo: {
|
|
3579
3579
|
all: boolean;
|
|
3580
3580
|
isDineIn: boolean;
|
|
@@ -3630,6 +3630,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3630
3630
|
code: string;
|
|
3631
3631
|
name: string;
|
|
3632
3632
|
inclusive: boolean;
|
|
3633
|
+
level: number;
|
|
3633
3634
|
adjustment: {
|
|
3634
3635
|
inclusive?: boolean | null | undefined;
|
|
3635
3636
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3638,7 +3639,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3638
3639
|
precision: number;
|
|
3639
3640
|
};
|
|
3640
3641
|
};
|
|
3641
|
-
level: number;
|
|
3642
3642
|
applyTo: {
|
|
3643
3643
|
all: boolean;
|
|
3644
3644
|
isDineIn: boolean;
|
|
@@ -3682,6 +3682,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3682
3682
|
code: string;
|
|
3683
3683
|
name: string;
|
|
3684
3684
|
inclusive: boolean;
|
|
3685
|
+
level: number;
|
|
3685
3686
|
adjustment: {
|
|
3686
3687
|
inclusive?: boolean | null | undefined;
|
|
3687
3688
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3690,7 +3691,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3690
3691
|
precision: number;
|
|
3691
3692
|
};
|
|
3692
3693
|
};
|
|
3693
|
-
level: number;
|
|
3694
3694
|
applyTo: {
|
|
3695
3695
|
all: boolean;
|
|
3696
3696
|
isDineIn: boolean;
|
|
@@ -4157,19 +4157,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4157
4157
|
remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4158
4158
|
}, "strip", z.ZodTypeAny, {
|
|
4159
4159
|
reason?: string | null | undefined;
|
|
4160
|
+
remark?: string | null | undefined;
|
|
4161
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
4160
4162
|
referenceId?: string | null | undefined;
|
|
4161
4163
|
adjustmentRule?: {
|
|
4162
4164
|
type: "CAPPED_AT";
|
|
4163
4165
|
} | null | undefined;
|
|
4164
|
-
remark?: string | null | undefined;
|
|
4165
4166
|
ignoreMinPrice?: boolean | null | undefined;
|
|
4166
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
4167
4167
|
total: {
|
|
4168
4168
|
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";
|
|
4169
4169
|
amount: number;
|
|
4170
4170
|
precision: number;
|
|
4171
4171
|
};
|
|
4172
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4173
4172
|
adjustment: {
|
|
4174
4173
|
inclusive?: boolean | null | undefined;
|
|
4175
4174
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4178,6 +4177,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4178
4177
|
precision: number;
|
|
4179
4178
|
};
|
|
4180
4179
|
};
|
|
4180
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4181
4181
|
createdBy: {
|
|
4182
4182
|
name: string;
|
|
4183
4183
|
id: string;
|
|
@@ -4189,19 +4189,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4189
4189
|
afterTaxLevel: number;
|
|
4190
4190
|
}, {
|
|
4191
4191
|
reason?: string | null | undefined;
|
|
4192
|
+
remark?: string | null | undefined;
|
|
4193
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
4192
4194
|
referenceId?: string | null | undefined;
|
|
4193
4195
|
adjustmentRule?: {
|
|
4194
4196
|
type: "CAPPED_AT";
|
|
4195
4197
|
} | null | undefined;
|
|
4196
|
-
remark?: string | null | undefined;
|
|
4197
4198
|
ignoreMinPrice?: boolean | null | undefined;
|
|
4198
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
4199
4199
|
total: {
|
|
4200
4200
|
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";
|
|
4201
4201
|
amount: number;
|
|
4202
4202
|
precision: number;
|
|
4203
4203
|
};
|
|
4204
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4205
4204
|
adjustment: {
|
|
4206
4205
|
inclusive?: boolean | null | undefined;
|
|
4207
4206
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4210,6 +4209,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4210
4209
|
precision: number;
|
|
4211
4210
|
};
|
|
4212
4211
|
};
|
|
4212
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4213
4213
|
createdBy: {
|
|
4214
4214
|
name: string;
|
|
4215
4215
|
id: string;
|
|
@@ -4280,6 +4280,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4280
4280
|
amount: number;
|
|
4281
4281
|
precision: number;
|
|
4282
4282
|
};
|
|
4283
|
+
level: number;
|
|
4283
4284
|
adjustment: {
|
|
4284
4285
|
inclusive?: boolean | null | undefined;
|
|
4285
4286
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4288,7 +4289,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4288
4289
|
precision: number;
|
|
4289
4290
|
};
|
|
4290
4291
|
};
|
|
4291
|
-
level: number;
|
|
4292
4292
|
}, {
|
|
4293
4293
|
inclusive?: boolean | null | undefined;
|
|
4294
4294
|
taxCode?: string | null | undefined;
|
|
@@ -4300,6 +4300,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4300
4300
|
amount: number;
|
|
4301
4301
|
precision: number;
|
|
4302
4302
|
};
|
|
4303
|
+
level: number;
|
|
4303
4304
|
adjustment: {
|
|
4304
4305
|
inclusive?: boolean | null | undefined;
|
|
4305
4306
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4308,7 +4309,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4308
4309
|
precision: number;
|
|
4309
4310
|
};
|
|
4310
4311
|
};
|
|
4311
|
-
level: number;
|
|
4312
4312
|
}>>;
|
|
4313
4313
|
nettTotal: z.ZodObject<{
|
|
4314
4314
|
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">]>>;
|
|
@@ -4386,7 +4386,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4386
4386
|
deltaKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4387
4387
|
parentKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4388
4388
|
}, "strip", z.ZodTypeAny, {
|
|
4389
|
-
remark?: string | null | undefined;
|
|
4390
4389
|
measurement?: {
|
|
4391
4390
|
name: string;
|
|
4392
4391
|
id: string;
|
|
@@ -4397,6 +4396,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4397
4396
|
};
|
|
4398
4397
|
} | null | undefined;
|
|
4399
4398
|
doc?: any;
|
|
4399
|
+
remark?: string | null | undefined;
|
|
4400
4400
|
deltaKey?: string | null | undefined;
|
|
4401
4401
|
parentKey?: string | null | undefined;
|
|
4402
4402
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -4406,7 +4406,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4406
4406
|
precision: number;
|
|
4407
4407
|
};
|
|
4408
4408
|
}, {
|
|
4409
|
-
remark?: string | null | undefined;
|
|
4410
4409
|
measurement?: {
|
|
4411
4410
|
name: string;
|
|
4412
4411
|
id: string;
|
|
@@ -4417,6 +4416,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4417
4416
|
};
|
|
4418
4417
|
} | null | undefined;
|
|
4419
4418
|
doc?: any;
|
|
4419
|
+
remark?: string | null | undefined;
|
|
4420
4420
|
deltaKey?: string | null | undefined;
|
|
4421
4421
|
parentKey?: string | null | undefined;
|
|
4422
4422
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -4433,7 +4433,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4433
4433
|
count: number;
|
|
4434
4434
|
}[];
|
|
4435
4435
|
skus: {
|
|
4436
|
-
remark?: string | null | undefined;
|
|
4437
4436
|
measurement?: {
|
|
4438
4437
|
name: string;
|
|
4439
4438
|
id: string;
|
|
@@ -4444,6 +4443,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4444
4443
|
};
|
|
4445
4444
|
} | null | undefined;
|
|
4446
4445
|
doc?: any;
|
|
4446
|
+
remark?: string | null | undefined;
|
|
4447
4447
|
deltaKey?: string | null | undefined;
|
|
4448
4448
|
parentKey?: string | null | undefined;
|
|
4449
4449
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -4460,7 +4460,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4460
4460
|
count: number;
|
|
4461
4461
|
}[];
|
|
4462
4462
|
skus: {
|
|
4463
|
-
remark?: string | null | undefined;
|
|
4464
4463
|
measurement?: {
|
|
4465
4464
|
name: string;
|
|
4466
4465
|
id: string;
|
|
@@ -4471,6 +4470,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4471
4470
|
};
|
|
4472
4471
|
} | null | undefined;
|
|
4473
4472
|
doc?: any;
|
|
4473
|
+
remark?: string | null | undefined;
|
|
4474
4474
|
deltaKey?: string | null | undefined;
|
|
4475
4475
|
parentKey?: string | null | undefined;
|
|
4476
4476
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -4571,35 +4571,31 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4571
4571
|
}>;
|
|
4572
4572
|
}, "strip", z.ZodTypeAny, {
|
|
4573
4573
|
slot: string;
|
|
4574
|
+
billId: string;
|
|
4574
4575
|
by: {
|
|
4575
4576
|
name: string;
|
|
4576
4577
|
id: string;
|
|
4577
4578
|
};
|
|
4578
|
-
billId: string;
|
|
4579
4579
|
}, {
|
|
4580
4580
|
slot: string;
|
|
4581
|
+
billId: string;
|
|
4581
4582
|
by: {
|
|
4582
4583
|
name: string;
|
|
4583
4584
|
id: string;
|
|
4584
4585
|
};
|
|
4585
|
-
billId: string;
|
|
4586
4586
|
}>>>>;
|
|
4587
4587
|
}, {
|
|
4588
|
+
remark?: string | null | undefined;
|
|
4588
4589
|
createdBy?: {
|
|
4589
4590
|
name: string;
|
|
4590
4591
|
id: string;
|
|
4591
4592
|
} | null | undefined;
|
|
4592
|
-
remark?: string | null | undefined;
|
|
4593
|
-
customer?: {
|
|
4594
|
-
name?: string | null | undefined;
|
|
4595
|
-
id: string;
|
|
4596
|
-
} | null | undefined;
|
|
4597
|
-
productId?: string | null | undefined;
|
|
4598
4593
|
kitchenStation?: Record<string, {
|
|
4599
4594
|
startAt?: string | null | undefined;
|
|
4600
4595
|
finishAt?: string | null | undefined;
|
|
4601
4596
|
completedAt?: string | null | undefined;
|
|
4602
4597
|
}> | null | undefined;
|
|
4598
|
+
productId?: string | null | undefined;
|
|
4603
4599
|
servedAt?: string | null | undefined;
|
|
4604
4600
|
collectedAt?: string | null | undefined;
|
|
4605
4601
|
variantSelected?: {
|
|
@@ -4646,6 +4642,10 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4646
4642
|
};
|
|
4647
4643
|
}[] | null | undefined;
|
|
4648
4644
|
printReceiptAt?: string | null | undefined;
|
|
4645
|
+
customer?: {
|
|
4646
|
+
name?: string | null | undefined;
|
|
4647
|
+
id: string;
|
|
4648
|
+
} | null | undefined;
|
|
4649
4649
|
deletedAt?: string | null | undefined;
|
|
4650
4650
|
stockChange?: {
|
|
4651
4651
|
countdowns: {
|
|
@@ -4654,7 +4654,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4654
4654
|
count: number;
|
|
4655
4655
|
}[];
|
|
4656
4656
|
skus: {
|
|
4657
|
-
remark?: string | null | undefined;
|
|
4658
4657
|
measurement?: {
|
|
4659
4658
|
name: string;
|
|
4660
4659
|
id: string;
|
|
@@ -4665,6 +4664,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4665
4664
|
};
|
|
4666
4665
|
} | null | undefined;
|
|
4667
4666
|
doc?: any;
|
|
4667
|
+
remark?: string | null | undefined;
|
|
4668
4668
|
deltaKey?: string | null | undefined;
|
|
4669
4669
|
parentKey?: string | null | undefined;
|
|
4670
4670
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -4702,11 +4702,11 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4702
4702
|
}> | null | undefined;
|
|
4703
4703
|
moveFrom?: Record<string, {
|
|
4704
4704
|
slot: string;
|
|
4705
|
+
billId: string;
|
|
4705
4706
|
by: {
|
|
4706
4707
|
name: string;
|
|
4707
4708
|
id: string;
|
|
4708
4709
|
};
|
|
4709
|
-
billId: string;
|
|
4710
4710
|
}> | null | undefined;
|
|
4711
4711
|
product: {
|
|
4712
4712
|
unit?: string | null | undefined;
|
|
@@ -4763,7 +4763,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4763
4763
|
};
|
|
4764
4764
|
};
|
|
4765
4765
|
status: "DRAFT" | "REFUNDED" | "VOIDED" | "SENT";
|
|
4766
|
-
quantity: number;
|
|
4767
4766
|
taxes: Record<string, {
|
|
4768
4767
|
inclusive?: boolean | null | undefined;
|
|
4769
4768
|
taxCode?: string | null | undefined;
|
|
@@ -4775,6 +4774,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4775
4774
|
amount: number;
|
|
4776
4775
|
precision: number;
|
|
4777
4776
|
};
|
|
4777
|
+
level: number;
|
|
4778
4778
|
adjustment: {
|
|
4779
4779
|
inclusive?: boolean | null | undefined;
|
|
4780
4780
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4783,8 +4783,8 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4783
4783
|
precision: number;
|
|
4784
4784
|
};
|
|
4785
4785
|
};
|
|
4786
|
-
level: number;
|
|
4787
4786
|
}>;
|
|
4787
|
+
quantity: number;
|
|
4788
4788
|
subItems: import("@feedmepos/core/entity").FdoBillSubItemRef[];
|
|
4789
4789
|
is: {
|
|
4790
4790
|
delivery?: boolean | null | undefined;
|
|
@@ -4792,19 +4792,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4792
4792
|
};
|
|
4793
4793
|
adjustments: Record<string, {
|
|
4794
4794
|
reason?: string | null | undefined;
|
|
4795
|
+
remark?: string | null | undefined;
|
|
4796
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
4795
4797
|
referenceId?: string | null | undefined;
|
|
4796
4798
|
adjustmentRule?: {
|
|
4797
4799
|
type: "CAPPED_AT";
|
|
4798
4800
|
} | null | undefined;
|
|
4799
|
-
remark?: string | null | undefined;
|
|
4800
4801
|
ignoreMinPrice?: boolean | null | undefined;
|
|
4801
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
4802
4802
|
total: {
|
|
4803
4803
|
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";
|
|
4804
4804
|
amount: number;
|
|
4805
4805
|
precision: number;
|
|
4806
4806
|
};
|
|
4807
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4808
4807
|
adjustment: {
|
|
4809
4808
|
inclusive?: boolean | null | undefined;
|
|
4810
4809
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4813,6 +4812,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4813
4812
|
precision: number;
|
|
4814
4813
|
};
|
|
4815
4814
|
};
|
|
4815
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4816
4816
|
createdBy: {
|
|
4817
4817
|
name: string;
|
|
4818
4818
|
id: string;
|
|
@@ -4830,21 +4830,17 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4830
4830
|
};
|
|
4831
4831
|
} & {
|
|
4832
4832
|
parent?: ({
|
|
4833
|
+
remark?: string | null | undefined;
|
|
4833
4834
|
createdBy?: {
|
|
4834
4835
|
name: string;
|
|
4835
4836
|
id: string;
|
|
4836
4837
|
} | null | undefined;
|
|
4837
|
-
remark?: string | null | undefined;
|
|
4838
|
-
customer?: {
|
|
4839
|
-
name?: string | null | undefined;
|
|
4840
|
-
id: string;
|
|
4841
|
-
} | null | undefined;
|
|
4842
|
-
productId?: string | null | undefined;
|
|
4843
4838
|
kitchenStation?: Record<string, {
|
|
4844
4839
|
startAt?: string | null | undefined;
|
|
4845
4840
|
finishAt?: string | null | undefined;
|
|
4846
4841
|
completedAt?: string | null | undefined;
|
|
4847
4842
|
}> | null | undefined;
|
|
4843
|
+
productId?: string | null | undefined;
|
|
4848
4844
|
servedAt?: string | null | undefined;
|
|
4849
4845
|
collectedAt?: string | null | undefined;
|
|
4850
4846
|
variantSelected?: {
|
|
@@ -4891,6 +4887,10 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4891
4887
|
};
|
|
4892
4888
|
}[] | null | undefined;
|
|
4893
4889
|
printReceiptAt?: string | null | undefined;
|
|
4890
|
+
customer?: {
|
|
4891
|
+
name?: string | null | undefined;
|
|
4892
|
+
id: string;
|
|
4893
|
+
} | null | undefined;
|
|
4894
4894
|
deletedAt?: string | null | undefined;
|
|
4895
4895
|
stockChange?: {
|
|
4896
4896
|
countdowns: {
|
|
@@ -4899,7 +4899,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4899
4899
|
count: number;
|
|
4900
4900
|
}[];
|
|
4901
4901
|
skus: {
|
|
4902
|
-
remark?: string | null | undefined;
|
|
4903
4902
|
measurement?: {
|
|
4904
4903
|
name: string;
|
|
4905
4904
|
id: string;
|
|
@@ -4910,6 +4909,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4910
4909
|
};
|
|
4911
4910
|
} | null | undefined;
|
|
4912
4911
|
doc?: any;
|
|
4912
|
+
remark?: string | null | undefined;
|
|
4913
4913
|
deltaKey?: string | null | undefined;
|
|
4914
4914
|
parentKey?: string | null | undefined;
|
|
4915
4915
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -4947,11 +4947,11 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4947
4947
|
}> | null | undefined;
|
|
4948
4948
|
moveFrom?: Record<string, {
|
|
4949
4949
|
slot: string;
|
|
4950
|
+
billId: string;
|
|
4950
4951
|
by: {
|
|
4951
4952
|
name: string;
|
|
4952
4953
|
id: string;
|
|
4953
4954
|
};
|
|
4954
|
-
billId: string;
|
|
4955
4955
|
}> | null | undefined;
|
|
4956
4956
|
product: {
|
|
4957
4957
|
unit?: string | null | undefined;
|
|
@@ -5008,7 +5008,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5008
5008
|
};
|
|
5009
5009
|
};
|
|
5010
5010
|
status: "DRAFT" | "REFUNDED" | "VOIDED" | "SENT";
|
|
5011
|
-
quantity: number;
|
|
5012
5011
|
taxes: Record<string, {
|
|
5013
5012
|
inclusive?: boolean | null | undefined;
|
|
5014
5013
|
taxCode?: string | null | undefined;
|
|
@@ -5020,6 +5019,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5020
5019
|
amount: number;
|
|
5021
5020
|
precision: number;
|
|
5022
5021
|
};
|
|
5022
|
+
level: number;
|
|
5023
5023
|
adjustment: {
|
|
5024
5024
|
inclusive?: boolean | null | undefined;
|
|
5025
5025
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5028,8 +5028,8 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5028
5028
|
precision: number;
|
|
5029
5029
|
};
|
|
5030
5030
|
};
|
|
5031
|
-
level: number;
|
|
5032
5031
|
}>;
|
|
5032
|
+
quantity: number;
|
|
5033
5033
|
subItems: import("@feedmepos/core/entity").FdoBillSubItemRef[];
|
|
5034
5034
|
is: {
|
|
5035
5035
|
delivery?: boolean | null | undefined;
|
|
@@ -5037,19 +5037,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5037
5037
|
};
|
|
5038
5038
|
adjustments: Record<string, {
|
|
5039
5039
|
reason?: string | null | undefined;
|
|
5040
|
+
remark?: string | null | undefined;
|
|
5041
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
5040
5042
|
referenceId?: string | null | undefined;
|
|
5041
5043
|
adjustmentRule?: {
|
|
5042
5044
|
type: "CAPPED_AT";
|
|
5043
5045
|
} | null | undefined;
|
|
5044
|
-
remark?: string | null | undefined;
|
|
5045
5046
|
ignoreMinPrice?: boolean | null | undefined;
|
|
5046
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
5047
5047
|
total: {
|
|
5048
5048
|
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";
|
|
5049
5049
|
amount: number;
|
|
5050
5050
|
precision: number;
|
|
5051
5051
|
};
|
|
5052
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5053
5052
|
adjustment: {
|
|
5054
5053
|
inclusive?: boolean | null | undefined;
|
|
5055
5054
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5058,6 +5057,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5058
5057
|
precision: number;
|
|
5059
5058
|
};
|
|
5060
5059
|
};
|
|
5060
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5061
5061
|
createdBy: {
|
|
5062
5062
|
name: string;
|
|
5063
5063
|
id: string;
|
|
@@ -5113,6 +5113,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5113
5113
|
amount: number;
|
|
5114
5114
|
precision: number;
|
|
5115
5115
|
};
|
|
5116
|
+
level: number;
|
|
5116
5117
|
adjustment: {
|
|
5117
5118
|
inclusive?: boolean | null | undefined;
|
|
5118
5119
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5121,7 +5122,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5121
5122
|
precision: number;
|
|
5122
5123
|
};
|
|
5123
5124
|
};
|
|
5124
|
-
level: number;
|
|
5125
5125
|
}>;
|
|
5126
5126
|
product: {
|
|
5127
5127
|
code?: string | null | undefined;
|
|
@@ -5180,19 +5180,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5180
5180
|
subItems: import("../order.do").FdoOrderSubItem[];
|
|
5181
5181
|
adjustments: Record<string, {
|
|
5182
5182
|
reason?: string | null | undefined;
|
|
5183
|
+
remark?: string | null | undefined;
|
|
5184
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
5183
5185
|
referenceId?: string | null | undefined;
|
|
5184
5186
|
adjustmentRule?: {
|
|
5185
5187
|
type: "CAPPED_AT";
|
|
5186
5188
|
} | null | undefined;
|
|
5187
|
-
remark?: string | null | undefined;
|
|
5188
5189
|
ignoreMinPrice?: boolean | null | undefined;
|
|
5189
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
5190
5190
|
total: {
|
|
5191
5191
|
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";
|
|
5192
5192
|
amount: number;
|
|
5193
5193
|
precision: number;
|
|
5194
5194
|
};
|
|
5195
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5196
5195
|
adjustment: {
|
|
5197
5196
|
inclusive?: boolean | null | undefined;
|
|
5198
5197
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5201,6 +5200,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5201
5200
|
precision: number;
|
|
5202
5201
|
};
|
|
5203
5202
|
};
|
|
5203
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5204
5204
|
createdBy: {
|
|
5205
5205
|
name: string;
|
|
5206
5206
|
id: string;
|
|
@@ -5249,6 +5249,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5249
5249
|
code: string;
|
|
5250
5250
|
name: string;
|
|
5251
5251
|
inclusive: boolean;
|
|
5252
|
+
level: number;
|
|
5252
5253
|
adjustment: {
|
|
5253
5254
|
inclusive?: boolean | null | undefined;
|
|
5254
5255
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5257,7 +5258,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5257
5258
|
precision: number;
|
|
5258
5259
|
};
|
|
5259
5260
|
};
|
|
5260
|
-
level: number;
|
|
5261
5261
|
applyTo: {
|
|
5262
5262
|
all: boolean;
|
|
5263
5263
|
isDineIn: boolean;
|
|
@@ -5335,7 +5335,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5335
5335
|
count: number;
|
|
5336
5336
|
}[];
|
|
5337
5337
|
skus: {
|
|
5338
|
-
remark?: string | null | undefined;
|
|
5339
5338
|
measurement?: {
|
|
5340
5339
|
name: string;
|
|
5341
5340
|
id: string;
|
|
@@ -5346,6 +5345,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5346
5345
|
};
|
|
5347
5346
|
} | null | undefined;
|
|
5348
5347
|
doc?: any;
|
|
5348
|
+
remark?: string | null | undefined;
|
|
5349
5349
|
deltaKey?: string | null | undefined;
|
|
5350
5350
|
parentKey?: string | null | undefined;
|
|
5351
5351
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -5383,11 +5383,11 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5383
5383
|
}> | null | undefined;
|
|
5384
5384
|
moveFrom?: Record<string, {
|
|
5385
5385
|
slot: string;
|
|
5386
|
+
billId: string;
|
|
5386
5387
|
by: {
|
|
5387
5388
|
name: string;
|
|
5388
5389
|
id: string;
|
|
5389
5390
|
};
|
|
5390
|
-
billId: string;
|
|
5391
5391
|
}> | null | undefined;
|
|
5392
5392
|
status: "DRAFT" | "REFUNDED" | "VOIDED" | "SENT";
|
|
5393
5393
|
quantity: number;
|
|
@@ -5402,6 +5402,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5402
5402
|
amount: number;
|
|
5403
5403
|
precision: number;
|
|
5404
5404
|
};
|
|
5405
|
+
level: number;
|
|
5405
5406
|
adjustment: {
|
|
5406
5407
|
inclusive?: boolean | null | undefined;
|
|
5407
5408
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5410,7 +5411,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5410
5411
|
precision: number;
|
|
5411
5412
|
};
|
|
5412
5413
|
};
|
|
5413
|
-
level: number;
|
|
5414
5414
|
}>;
|
|
5415
5415
|
product: {
|
|
5416
5416
|
unit?: string | null | undefined;
|
|
@@ -5473,19 +5473,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5473
5473
|
};
|
|
5474
5474
|
adjustments: Record<string, {
|
|
5475
5475
|
reason?: string | null | undefined;
|
|
5476
|
+
remark?: string | null | undefined;
|
|
5477
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
5476
5478
|
referenceId?: string | null | undefined;
|
|
5477
5479
|
adjustmentRule?: {
|
|
5478
5480
|
type: "CAPPED_AT";
|
|
5479
5481
|
} | null | undefined;
|
|
5480
|
-
remark?: string | null | undefined;
|
|
5481
5482
|
ignoreMinPrice?: boolean | null | undefined;
|
|
5482
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
5483
5483
|
total: {
|
|
5484
5484
|
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";
|
|
5485
5485
|
amount: number;
|
|
5486
5486
|
precision: number;
|
|
5487
5487
|
};
|
|
5488
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5489
5488
|
adjustment: {
|
|
5490
5489
|
inclusive?: boolean | null | undefined;
|
|
5491
5490
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5494,6 +5493,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5494
5493
|
precision: number;
|
|
5495
5494
|
};
|
|
5496
5495
|
};
|
|
5496
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5497
5497
|
createdBy: {
|
|
5498
5498
|
name: string;
|
|
5499
5499
|
id: string;
|
|
@@ -5548,6 +5548,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5548
5548
|
amount: number;
|
|
5549
5549
|
precision: number;
|
|
5550
5550
|
};
|
|
5551
|
+
level: number;
|
|
5551
5552
|
adjustment: {
|
|
5552
5553
|
inclusive?: boolean | null | undefined;
|
|
5553
5554
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5556,7 +5557,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5556
5557
|
precision: number;
|
|
5557
5558
|
};
|
|
5558
5559
|
};
|
|
5559
|
-
level: number;
|
|
5560
5560
|
}>;
|
|
5561
5561
|
product: {
|
|
5562
5562
|
code?: string | null | undefined;
|
|
@@ -5615,19 +5615,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5615
5615
|
subItems: import("../order.do").FdoOrderSubItem[];
|
|
5616
5616
|
adjustments: Record<string, {
|
|
5617
5617
|
reason?: string | null | undefined;
|
|
5618
|
+
remark?: string | null | undefined;
|
|
5619
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
5618
5620
|
referenceId?: string | null | undefined;
|
|
5619
5621
|
adjustmentRule?: {
|
|
5620
5622
|
type: "CAPPED_AT";
|
|
5621
5623
|
} | null | undefined;
|
|
5622
|
-
remark?: string | null | undefined;
|
|
5623
5624
|
ignoreMinPrice?: boolean | null | undefined;
|
|
5624
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
5625
5625
|
total: {
|
|
5626
5626
|
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";
|
|
5627
5627
|
amount: number;
|
|
5628
5628
|
precision: number;
|
|
5629
5629
|
};
|
|
5630
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5631
5630
|
adjustment: {
|
|
5632
5631
|
inclusive?: boolean | null | undefined;
|
|
5633
5632
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5636,6 +5635,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5636
5635
|
precision: number;
|
|
5637
5636
|
};
|
|
5638
5637
|
};
|
|
5638
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5639
5639
|
createdBy: {
|
|
5640
5640
|
name: string;
|
|
5641
5641
|
id: string;
|
|
@@ -5684,6 +5684,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5684
5684
|
code: string;
|
|
5685
5685
|
name: string;
|
|
5686
5686
|
inclusive: boolean;
|
|
5687
|
+
level: number;
|
|
5687
5688
|
adjustment: {
|
|
5688
5689
|
inclusive?: boolean | null | undefined;
|
|
5689
5690
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5692,7 +5693,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5692
5693
|
precision: number;
|
|
5693
5694
|
};
|
|
5694
5695
|
};
|
|
5695
|
-
level: number;
|
|
5696
5696
|
applyTo: {
|
|
5697
5697
|
all: boolean;
|
|
5698
5698
|
isDineIn: boolean;
|
|
@@ -5701,21 +5701,17 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5701
5701
|
};
|
|
5702
5702
|
};
|
|
5703
5703
|
notify: (args_0: string, args_1: Record<string, {
|
|
5704
|
+
remark?: string | null | undefined;
|
|
5704
5705
|
createdBy?: {
|
|
5705
5706
|
name: string;
|
|
5706
5707
|
id: string;
|
|
5707
5708
|
} | null | undefined;
|
|
5708
|
-
remark?: string | null | undefined;
|
|
5709
|
-
customer?: {
|
|
5710
|
-
name?: string | null | undefined;
|
|
5711
|
-
id: string;
|
|
5712
|
-
} | null | undefined;
|
|
5713
|
-
productId?: string | null | undefined;
|
|
5714
5709
|
kitchenStation?: Record<string, {
|
|
5715
5710
|
startAt?: string | null | undefined;
|
|
5716
5711
|
finishAt?: string | null | undefined;
|
|
5717
5712
|
completedAt?: string | null | undefined;
|
|
5718
5713
|
}> | null | undefined;
|
|
5714
|
+
productId?: string | null | undefined;
|
|
5719
5715
|
servedAt?: string | null | undefined;
|
|
5720
5716
|
collectedAt?: string | null | undefined;
|
|
5721
5717
|
variantSelected?: {
|
|
@@ -5762,6 +5758,10 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5762
5758
|
};
|
|
5763
5759
|
}[] | null | undefined;
|
|
5764
5760
|
printReceiptAt?: string | null | undefined;
|
|
5761
|
+
customer?: {
|
|
5762
|
+
name?: string | null | undefined;
|
|
5763
|
+
id: string;
|
|
5764
|
+
} | null | undefined;
|
|
5765
5765
|
deletedAt?: string | null | undefined;
|
|
5766
5766
|
stockChange?: {
|
|
5767
5767
|
countdowns: {
|
|
@@ -5770,7 +5770,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5770
5770
|
count: number;
|
|
5771
5771
|
}[];
|
|
5772
5772
|
skus: {
|
|
5773
|
-
remark?: string | null | undefined;
|
|
5774
5773
|
measurement?: {
|
|
5775
5774
|
name: string;
|
|
5776
5775
|
id: string;
|
|
@@ -5781,6 +5780,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5781
5780
|
};
|
|
5782
5781
|
} | null | undefined;
|
|
5783
5782
|
doc?: any;
|
|
5783
|
+
remark?: string | null | undefined;
|
|
5784
5784
|
deltaKey?: string | null | undefined;
|
|
5785
5785
|
parentKey?: string | null | undefined;
|
|
5786
5786
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -5818,11 +5818,11 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5818
5818
|
}> | null | undefined;
|
|
5819
5819
|
moveFrom?: Record<string, {
|
|
5820
5820
|
slot: string;
|
|
5821
|
+
billId: string;
|
|
5821
5822
|
by: {
|
|
5822
5823
|
name: string;
|
|
5823
5824
|
id: string;
|
|
5824
5825
|
};
|
|
5825
|
-
billId: string;
|
|
5826
5826
|
}> | null | undefined;
|
|
5827
5827
|
product: {
|
|
5828
5828
|
unit?: string | null | undefined;
|
|
@@ -5879,7 +5879,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5879
5879
|
};
|
|
5880
5880
|
};
|
|
5881
5881
|
status: "DRAFT" | "REFUNDED" | "VOIDED" | "SENT";
|
|
5882
|
-
quantity: number;
|
|
5883
5882
|
taxes: Record<string, {
|
|
5884
5883
|
inclusive?: boolean | null | undefined;
|
|
5885
5884
|
taxCode?: string | null | undefined;
|
|
@@ -5891,6 +5890,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5891
5890
|
amount: number;
|
|
5892
5891
|
precision: number;
|
|
5893
5892
|
};
|
|
5893
|
+
level: number;
|
|
5894
5894
|
adjustment: {
|
|
5895
5895
|
inclusive?: boolean | null | undefined;
|
|
5896
5896
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5899,8 +5899,8 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5899
5899
|
precision: number;
|
|
5900
5900
|
};
|
|
5901
5901
|
};
|
|
5902
|
-
level: number;
|
|
5903
5902
|
}>;
|
|
5903
|
+
quantity: number;
|
|
5904
5904
|
subItems: import("@feedmepos/core/entity").FdoBillSubItemRef[];
|
|
5905
5905
|
is: {
|
|
5906
5906
|
delivery?: boolean | null | undefined;
|
|
@@ -5908,19 +5908,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5908
5908
|
};
|
|
5909
5909
|
adjustments: Record<string, {
|
|
5910
5910
|
reason?: string | null | undefined;
|
|
5911
|
+
remark?: string | null | undefined;
|
|
5912
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
5911
5913
|
referenceId?: string | null | undefined;
|
|
5912
5914
|
adjustmentRule?: {
|
|
5913
5915
|
type: "CAPPED_AT";
|
|
5914
5916
|
} | null | undefined;
|
|
5915
|
-
remark?: string | null | undefined;
|
|
5916
5917
|
ignoreMinPrice?: boolean | null | undefined;
|
|
5917
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
5918
5918
|
total: {
|
|
5919
5919
|
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";
|
|
5920
5920
|
amount: number;
|
|
5921
5921
|
precision: number;
|
|
5922
5922
|
};
|
|
5923
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5924
5923
|
adjustment: {
|
|
5925
5924
|
inclusive?: boolean | null | undefined;
|
|
5926
5925
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5929,6 +5928,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5929
5928
|
precision: number;
|
|
5930
5929
|
};
|
|
5931
5930
|
};
|
|
5931
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5932
5932
|
createdBy: {
|
|
5933
5933
|
name: string;
|
|
5934
5934
|
id: string;
|
|
@@ -5946,21 +5946,17 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5946
5946
|
};
|
|
5947
5947
|
} & {
|
|
5948
5948
|
parent?: ({
|
|
5949
|
+
remark?: string | null | undefined;
|
|
5949
5950
|
createdBy?: {
|
|
5950
5951
|
name: string;
|
|
5951
5952
|
id: string;
|
|
5952
5953
|
} | null | undefined;
|
|
5953
|
-
remark?: string | null | undefined;
|
|
5954
|
-
customer?: {
|
|
5955
|
-
name?: string | null | undefined;
|
|
5956
|
-
id: string;
|
|
5957
|
-
} | null | undefined;
|
|
5958
|
-
productId?: string | null | undefined;
|
|
5959
5954
|
kitchenStation?: Record<string, {
|
|
5960
5955
|
startAt?: string | null | undefined;
|
|
5961
5956
|
finishAt?: string | null | undefined;
|
|
5962
5957
|
completedAt?: string | null | undefined;
|
|
5963
5958
|
}> | null | undefined;
|
|
5959
|
+
productId?: string | null | undefined;
|
|
5964
5960
|
servedAt?: string | null | undefined;
|
|
5965
5961
|
collectedAt?: string | null | undefined;
|
|
5966
5962
|
variantSelected?: {
|
|
@@ -6007,6 +6003,10 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6007
6003
|
};
|
|
6008
6004
|
}[] | null | undefined;
|
|
6009
6005
|
printReceiptAt?: string | null | undefined;
|
|
6006
|
+
customer?: {
|
|
6007
|
+
name?: string | null | undefined;
|
|
6008
|
+
id: string;
|
|
6009
|
+
} | null | undefined;
|
|
6010
6010
|
deletedAt?: string | null | undefined;
|
|
6011
6011
|
stockChange?: {
|
|
6012
6012
|
countdowns: {
|
|
@@ -6015,7 +6015,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6015
6015
|
count: number;
|
|
6016
6016
|
}[];
|
|
6017
6017
|
skus: {
|
|
6018
|
-
remark?: string | null | undefined;
|
|
6019
6018
|
measurement?: {
|
|
6020
6019
|
name: string;
|
|
6021
6020
|
id: string;
|
|
@@ -6026,6 +6025,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6026
6025
|
};
|
|
6027
6026
|
} | null | undefined;
|
|
6028
6027
|
doc?: any;
|
|
6028
|
+
remark?: string | null | undefined;
|
|
6029
6029
|
deltaKey?: string | null | undefined;
|
|
6030
6030
|
parentKey?: string | null | undefined;
|
|
6031
6031
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -6063,11 +6063,11 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6063
6063
|
}> | null | undefined;
|
|
6064
6064
|
moveFrom?: Record<string, {
|
|
6065
6065
|
slot: string;
|
|
6066
|
+
billId: string;
|
|
6066
6067
|
by: {
|
|
6067
6068
|
name: string;
|
|
6068
6069
|
id: string;
|
|
6069
6070
|
};
|
|
6070
|
-
billId: string;
|
|
6071
6071
|
}> | null | undefined;
|
|
6072
6072
|
product: {
|
|
6073
6073
|
unit?: string | null | undefined;
|
|
@@ -6124,7 +6124,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6124
6124
|
};
|
|
6125
6125
|
};
|
|
6126
6126
|
status: "DRAFT" | "REFUNDED" | "VOIDED" | "SENT";
|
|
6127
|
-
quantity: number;
|
|
6128
6127
|
taxes: Record<string, {
|
|
6129
6128
|
inclusive?: boolean | null | undefined;
|
|
6130
6129
|
taxCode?: string | null | undefined;
|
|
@@ -6136,6 +6135,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6136
6135
|
amount: number;
|
|
6137
6136
|
precision: number;
|
|
6138
6137
|
};
|
|
6138
|
+
level: number;
|
|
6139
6139
|
adjustment: {
|
|
6140
6140
|
inclusive?: boolean | null | undefined;
|
|
6141
6141
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -6144,8 +6144,8 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6144
6144
|
precision: number;
|
|
6145
6145
|
};
|
|
6146
6146
|
};
|
|
6147
|
-
level: number;
|
|
6148
6147
|
}>;
|
|
6148
|
+
quantity: number;
|
|
6149
6149
|
subItems: import("@feedmepos/core/entity").FdoBillSubItemRef[];
|
|
6150
6150
|
is: {
|
|
6151
6151
|
delivery?: boolean | null | undefined;
|
|
@@ -6153,19 +6153,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6153
6153
|
};
|
|
6154
6154
|
adjustments: Record<string, {
|
|
6155
6155
|
reason?: string | null | undefined;
|
|
6156
|
+
remark?: string | null | undefined;
|
|
6157
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
6156
6158
|
referenceId?: string | null | undefined;
|
|
6157
6159
|
adjustmentRule?: {
|
|
6158
6160
|
type: "CAPPED_AT";
|
|
6159
6161
|
} | null | undefined;
|
|
6160
|
-
remark?: string | null | undefined;
|
|
6161
6162
|
ignoreMinPrice?: boolean | null | undefined;
|
|
6162
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
6163
6163
|
total: {
|
|
6164
6164
|
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";
|
|
6165
6165
|
amount: number;
|
|
6166
6166
|
precision: number;
|
|
6167
6167
|
};
|
|
6168
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
6169
6168
|
adjustment: {
|
|
6170
6169
|
inclusive?: boolean | null | undefined;
|
|
6171
6170
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -6174,6 +6173,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6174
6173
|
precision: number;
|
|
6175
6174
|
};
|
|
6176
6175
|
};
|
|
6176
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
6177
6177
|
createdBy: {
|
|
6178
6178
|
name: string;
|
|
6179
6179
|
id: string;
|