@feedmepos/mf-order-setting 0.0.47 → 0.0.49
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-Ch_mWJz9.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-D-epeOIx.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DV2HYd8u.js} +19 -19
- package/dist/KioskSettingView-CaBhf48e.js +553 -0
- package/dist/{KioskView-BGiHHSjd.js → KioskView-BGm-emCw.js} +12 -8
- package/dist/OrderSettingsView-CRgoLOD2.js +51603 -0
- package/dist/app-CDTAjXj9.js +2930 -0
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-D-vfvSns.js → dayjs.min-dI_j30pv.js} +49 -49
- package/dist/frontend/mf-order/src/api/restaurant-setting/index.d.ts +2 -1
- package/dist/frontend/mf-order/src/app.d.ts +1785 -0
- package/dist/frontend/mf-order/src/composables/useDeprecationNotice.d.ts +7 -0
- package/dist/frontend/mf-order/src/main.d.ts +1785 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +61 -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 +23 -8
- 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/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +8 -0
- package/dist/frontend/mf-order/src/views/order-settings/drive-thru/DriveThruSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-DAruvcri.js → index-B8U5Sawr.js} +2 -2
- package/dist/menu.dto-qVeqpSdz.js +101810 -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 +222 -222
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +1053 -771
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +344 -344
- package/dist/package/entity/index.d.ts +1 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1302 -109
- package/dist/package/entity/order/effects/effect.dto.d.ts +10 -10
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +118 -110
- package/dist/package/entity/order/order.do.d.ts +20 -20
- package/dist/package/entity/order/order.dto.d.ts +23756 -40781
- package/dist/package/entity/order/payment/payment.dto.d.ts +784 -10508
- package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +2 -2
- package/dist/package/entity/order-platform/deliveroo/deliveroo-order.do.d.ts +26 -26
- package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +2 -2
- 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/external/setting/external-setting.do.d.ts +6 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +6 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +34 -8
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +5 -5
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +34 -8
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +6 -6
- 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-platform/shopeefood/shopeefood-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +2 -2
- 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.do.d.ts +12 -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 +4 -4
- package/src/api/restaurant-setting/index.ts +6 -0
- package/src/app.ts +2 -0
- package/src/composables/useDeprecationNotice.ts +52 -0
- package/src/locales/en-US.json +10 -0
- package/src/locales/ja-JP.json +1755 -0
- package/src/locales/th-TH.json +10 -0
- package/src/locales/zh-CN.json +10 -0
- package/src/main.ts +4 -2
- package/src/stores/order-setting/mapper.ts +35 -23
- package/src/stores/restaurant/index.ts +6 -0
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +27 -1
- package/src/views/order-settings/OrderSettingsView.vue +6 -1
- 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 +22 -1
- package/src/views/order-settings/delivery/integrated-delivery/FeedmeDelivery.vue +39 -39
- package/src/views/order-settings/drive-thru/DriveThruSetting.vue +101 -0
- package/dist/KioskSettingView-D50Gh7NR.js +0 -528
- package/dist/OrderSettingsView-DPYYH1zL.js +0 -74512
- package/dist/app-CAt1JfN3.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;
|
|
@@ -3817,6 +3817,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3817
3817
|
unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3818
3818
|
customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3819
3819
|
subCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
3820
|
+
shelfLife: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3820
3821
|
}, "strip", z.ZodTypeAny, {
|
|
3821
3822
|
unit?: string | null | undefined;
|
|
3822
3823
|
categoryName?: string | null | undefined;
|
|
@@ -3863,6 +3864,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3863
3864
|
}[] | null | undefined;
|
|
3864
3865
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3865
3866
|
subCategories?: string[] | null | undefined;
|
|
3867
|
+
shelfLife?: number | null | undefined;
|
|
3866
3868
|
code: string;
|
|
3867
3869
|
name: string;
|
|
3868
3870
|
price: {
|
|
@@ -3916,6 +3918,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3916
3918
|
}[] | null | undefined;
|
|
3917
3919
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3918
3920
|
subCategories?: string[] | null | undefined;
|
|
3921
|
+
shelfLife?: number | null | undefined;
|
|
3919
3922
|
code: string;
|
|
3920
3923
|
name: string;
|
|
3921
3924
|
price: {
|
|
@@ -4157,19 +4160,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4157
4160
|
remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4158
4161
|
}, "strip", z.ZodTypeAny, {
|
|
4159
4162
|
reason?: string | null | undefined;
|
|
4163
|
+
remark?: string | null | undefined;
|
|
4164
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
4160
4165
|
referenceId?: string | null | undefined;
|
|
4161
4166
|
adjustmentRule?: {
|
|
4162
4167
|
type: "CAPPED_AT";
|
|
4163
4168
|
} | null | undefined;
|
|
4164
|
-
remark?: string | null | undefined;
|
|
4165
4169
|
ignoreMinPrice?: boolean | null | undefined;
|
|
4166
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
4167
4170
|
total: {
|
|
4168
4171
|
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
4172
|
amount: number;
|
|
4170
4173
|
precision: number;
|
|
4171
4174
|
};
|
|
4172
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4173
4175
|
adjustment: {
|
|
4174
4176
|
inclusive?: boolean | null | undefined;
|
|
4175
4177
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4178,6 +4180,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4178
4180
|
precision: number;
|
|
4179
4181
|
};
|
|
4180
4182
|
};
|
|
4183
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4181
4184
|
createdBy: {
|
|
4182
4185
|
name: string;
|
|
4183
4186
|
id: string;
|
|
@@ -4189,19 +4192,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4189
4192
|
afterTaxLevel: number;
|
|
4190
4193
|
}, {
|
|
4191
4194
|
reason?: string | null | undefined;
|
|
4195
|
+
remark?: string | null | undefined;
|
|
4196
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
4192
4197
|
referenceId?: string | null | undefined;
|
|
4193
4198
|
adjustmentRule?: {
|
|
4194
4199
|
type: "CAPPED_AT";
|
|
4195
4200
|
} | null | undefined;
|
|
4196
|
-
remark?: string | null | undefined;
|
|
4197
4201
|
ignoreMinPrice?: boolean | null | undefined;
|
|
4198
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
4199
4202
|
total: {
|
|
4200
4203
|
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
4204
|
amount: number;
|
|
4202
4205
|
precision: number;
|
|
4203
4206
|
};
|
|
4204
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4205
4207
|
adjustment: {
|
|
4206
4208
|
inclusive?: boolean | null | undefined;
|
|
4207
4209
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4210,6 +4212,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4210
4212
|
precision: number;
|
|
4211
4213
|
};
|
|
4212
4214
|
};
|
|
4215
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4213
4216
|
createdBy: {
|
|
4214
4217
|
name: string;
|
|
4215
4218
|
id: string;
|
|
@@ -4280,6 +4283,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4280
4283
|
amount: number;
|
|
4281
4284
|
precision: number;
|
|
4282
4285
|
};
|
|
4286
|
+
level: number;
|
|
4283
4287
|
adjustment: {
|
|
4284
4288
|
inclusive?: boolean | null | undefined;
|
|
4285
4289
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4288,7 +4292,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4288
4292
|
precision: number;
|
|
4289
4293
|
};
|
|
4290
4294
|
};
|
|
4291
|
-
level: number;
|
|
4292
4295
|
}, {
|
|
4293
4296
|
inclusive?: boolean | null | undefined;
|
|
4294
4297
|
taxCode?: string | null | undefined;
|
|
@@ -4300,6 +4303,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4300
4303
|
amount: number;
|
|
4301
4304
|
precision: number;
|
|
4302
4305
|
};
|
|
4306
|
+
level: number;
|
|
4303
4307
|
adjustment: {
|
|
4304
4308
|
inclusive?: boolean | null | undefined;
|
|
4305
4309
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4308,7 +4312,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4308
4312
|
precision: number;
|
|
4309
4313
|
};
|
|
4310
4314
|
};
|
|
4311
|
-
level: number;
|
|
4312
4315
|
}>>;
|
|
4313
4316
|
nettTotal: z.ZodObject<{
|
|
4314
4317
|
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 +4389,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4386
4389
|
deltaKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4387
4390
|
parentKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4388
4391
|
}, "strip", z.ZodTypeAny, {
|
|
4389
|
-
remark?: string | null | undefined;
|
|
4390
4392
|
measurement?: {
|
|
4391
4393
|
name: string;
|
|
4392
4394
|
id: string;
|
|
@@ -4397,6 +4399,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4397
4399
|
};
|
|
4398
4400
|
} | null | undefined;
|
|
4399
4401
|
doc?: any;
|
|
4402
|
+
remark?: string | null | undefined;
|
|
4400
4403
|
deltaKey?: string | null | undefined;
|
|
4401
4404
|
parentKey?: string | null | undefined;
|
|
4402
4405
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -4406,7 +4409,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4406
4409
|
precision: number;
|
|
4407
4410
|
};
|
|
4408
4411
|
}, {
|
|
4409
|
-
remark?: string | null | undefined;
|
|
4410
4412
|
measurement?: {
|
|
4411
4413
|
name: string;
|
|
4412
4414
|
id: string;
|
|
@@ -4417,6 +4419,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4417
4419
|
};
|
|
4418
4420
|
} | null | undefined;
|
|
4419
4421
|
doc?: any;
|
|
4422
|
+
remark?: string | null | undefined;
|
|
4420
4423
|
deltaKey?: string | null | undefined;
|
|
4421
4424
|
parentKey?: string | null | undefined;
|
|
4422
4425
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -4433,7 +4436,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4433
4436
|
count: number;
|
|
4434
4437
|
}[];
|
|
4435
4438
|
skus: {
|
|
4436
|
-
remark?: string | null | undefined;
|
|
4437
4439
|
measurement?: {
|
|
4438
4440
|
name: string;
|
|
4439
4441
|
id: string;
|
|
@@ -4444,6 +4446,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4444
4446
|
};
|
|
4445
4447
|
} | null | undefined;
|
|
4446
4448
|
doc?: any;
|
|
4449
|
+
remark?: string | null | undefined;
|
|
4447
4450
|
deltaKey?: string | null | undefined;
|
|
4448
4451
|
parentKey?: string | null | undefined;
|
|
4449
4452
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -4460,7 +4463,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4460
4463
|
count: number;
|
|
4461
4464
|
}[];
|
|
4462
4465
|
skus: {
|
|
4463
|
-
remark?: string | null | undefined;
|
|
4464
4466
|
measurement?: {
|
|
4465
4467
|
name: string;
|
|
4466
4468
|
id: string;
|
|
@@ -4471,6 +4473,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4471
4473
|
};
|
|
4472
4474
|
} | null | undefined;
|
|
4473
4475
|
doc?: any;
|
|
4476
|
+
remark?: string | null | undefined;
|
|
4474
4477
|
deltaKey?: string | null | undefined;
|
|
4475
4478
|
parentKey?: string | null | undefined;
|
|
4476
4479
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -4571,35 +4574,31 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4571
4574
|
}>;
|
|
4572
4575
|
}, "strip", z.ZodTypeAny, {
|
|
4573
4576
|
slot: string;
|
|
4577
|
+
billId: string;
|
|
4574
4578
|
by: {
|
|
4575
4579
|
name: string;
|
|
4576
4580
|
id: string;
|
|
4577
4581
|
};
|
|
4578
|
-
billId: string;
|
|
4579
4582
|
}, {
|
|
4580
4583
|
slot: string;
|
|
4584
|
+
billId: string;
|
|
4581
4585
|
by: {
|
|
4582
4586
|
name: string;
|
|
4583
4587
|
id: string;
|
|
4584
4588
|
};
|
|
4585
|
-
billId: string;
|
|
4586
4589
|
}>>>>;
|
|
4587
4590
|
}, {
|
|
4591
|
+
remark?: string | null | undefined;
|
|
4588
4592
|
createdBy?: {
|
|
4589
4593
|
name: string;
|
|
4590
4594
|
id: string;
|
|
4591
4595
|
} | 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
4596
|
kitchenStation?: Record<string, {
|
|
4599
4597
|
startAt?: string | null | undefined;
|
|
4600
4598
|
finishAt?: string | null | undefined;
|
|
4601
4599
|
completedAt?: string | null | undefined;
|
|
4602
4600
|
}> | null | undefined;
|
|
4601
|
+
productId?: string | null | undefined;
|
|
4603
4602
|
servedAt?: string | null | undefined;
|
|
4604
4603
|
collectedAt?: string | null | undefined;
|
|
4605
4604
|
variantSelected?: {
|
|
@@ -4646,6 +4645,10 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4646
4645
|
};
|
|
4647
4646
|
}[] | null | undefined;
|
|
4648
4647
|
printReceiptAt?: string | null | undefined;
|
|
4648
|
+
customer?: {
|
|
4649
|
+
name?: string | null | undefined;
|
|
4650
|
+
id: string;
|
|
4651
|
+
} | null | undefined;
|
|
4649
4652
|
deletedAt?: string | null | undefined;
|
|
4650
4653
|
stockChange?: {
|
|
4651
4654
|
countdowns: {
|
|
@@ -4654,7 +4657,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4654
4657
|
count: number;
|
|
4655
4658
|
}[];
|
|
4656
4659
|
skus: {
|
|
4657
|
-
remark?: string | null | undefined;
|
|
4658
4660
|
measurement?: {
|
|
4659
4661
|
name: string;
|
|
4660
4662
|
id: string;
|
|
@@ -4665,6 +4667,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4665
4667
|
};
|
|
4666
4668
|
} | null | undefined;
|
|
4667
4669
|
doc?: any;
|
|
4670
|
+
remark?: string | null | undefined;
|
|
4668
4671
|
deltaKey?: string | null | undefined;
|
|
4669
4672
|
parentKey?: string | null | undefined;
|
|
4670
4673
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -4702,11 +4705,11 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4702
4705
|
}> | null | undefined;
|
|
4703
4706
|
moveFrom?: Record<string, {
|
|
4704
4707
|
slot: string;
|
|
4708
|
+
billId: string;
|
|
4705
4709
|
by: {
|
|
4706
4710
|
name: string;
|
|
4707
4711
|
id: string;
|
|
4708
4712
|
};
|
|
4709
|
-
billId: string;
|
|
4710
4713
|
}> | null | undefined;
|
|
4711
4714
|
product: {
|
|
4712
4715
|
unit?: string | null | undefined;
|
|
@@ -4754,6 +4757,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4754
4757
|
}[] | null | undefined;
|
|
4755
4758
|
customAttributes?: Record<string, any> | null | undefined;
|
|
4756
4759
|
subCategories?: string[] | null | undefined;
|
|
4760
|
+
shelfLife?: number | null | undefined;
|
|
4757
4761
|
code: string;
|
|
4758
4762
|
name: string;
|
|
4759
4763
|
price: {
|
|
@@ -4763,7 +4767,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4763
4767
|
};
|
|
4764
4768
|
};
|
|
4765
4769
|
status: "DRAFT" | "REFUNDED" | "VOIDED" | "SENT";
|
|
4766
|
-
quantity: number;
|
|
4767
4770
|
taxes: Record<string, {
|
|
4768
4771
|
inclusive?: boolean | null | undefined;
|
|
4769
4772
|
taxCode?: string | null | undefined;
|
|
@@ -4775,6 +4778,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4775
4778
|
amount: number;
|
|
4776
4779
|
precision: number;
|
|
4777
4780
|
};
|
|
4781
|
+
level: number;
|
|
4778
4782
|
adjustment: {
|
|
4779
4783
|
inclusive?: boolean | null | undefined;
|
|
4780
4784
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4783,8 +4787,8 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4783
4787
|
precision: number;
|
|
4784
4788
|
};
|
|
4785
4789
|
};
|
|
4786
|
-
level: number;
|
|
4787
4790
|
}>;
|
|
4791
|
+
quantity: number;
|
|
4788
4792
|
subItems: import("@feedmepos/core/entity").FdoBillSubItemRef[];
|
|
4789
4793
|
is: {
|
|
4790
4794
|
delivery?: boolean | null | undefined;
|
|
@@ -4792,19 +4796,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4792
4796
|
};
|
|
4793
4797
|
adjustments: Record<string, {
|
|
4794
4798
|
reason?: string | null | undefined;
|
|
4799
|
+
remark?: string | null | undefined;
|
|
4800
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
4795
4801
|
referenceId?: string | null | undefined;
|
|
4796
4802
|
adjustmentRule?: {
|
|
4797
4803
|
type: "CAPPED_AT";
|
|
4798
4804
|
} | null | undefined;
|
|
4799
|
-
remark?: string | null | undefined;
|
|
4800
4805
|
ignoreMinPrice?: boolean | null | undefined;
|
|
4801
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
4802
4806
|
total: {
|
|
4803
4807
|
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
4808
|
amount: number;
|
|
4805
4809
|
precision: number;
|
|
4806
4810
|
};
|
|
4807
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4808
4811
|
adjustment: {
|
|
4809
4812
|
inclusive?: boolean | null | undefined;
|
|
4810
4813
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4813,6 +4816,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4813
4816
|
precision: number;
|
|
4814
4817
|
};
|
|
4815
4818
|
};
|
|
4819
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4816
4820
|
createdBy: {
|
|
4817
4821
|
name: string;
|
|
4818
4822
|
id: string;
|
|
@@ -4830,21 +4834,17 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4830
4834
|
};
|
|
4831
4835
|
} & {
|
|
4832
4836
|
parent?: ({
|
|
4837
|
+
remark?: string | null | undefined;
|
|
4833
4838
|
createdBy?: {
|
|
4834
4839
|
name: string;
|
|
4835
4840
|
id: string;
|
|
4836
4841
|
} | 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
4842
|
kitchenStation?: Record<string, {
|
|
4844
4843
|
startAt?: string | null | undefined;
|
|
4845
4844
|
finishAt?: string | null | undefined;
|
|
4846
4845
|
completedAt?: string | null | undefined;
|
|
4847
4846
|
}> | null | undefined;
|
|
4847
|
+
productId?: string | null | undefined;
|
|
4848
4848
|
servedAt?: string | null | undefined;
|
|
4849
4849
|
collectedAt?: string | null | undefined;
|
|
4850
4850
|
variantSelected?: {
|
|
@@ -4891,6 +4891,10 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4891
4891
|
};
|
|
4892
4892
|
}[] | null | undefined;
|
|
4893
4893
|
printReceiptAt?: string | null | undefined;
|
|
4894
|
+
customer?: {
|
|
4895
|
+
name?: string | null | undefined;
|
|
4896
|
+
id: string;
|
|
4897
|
+
} | null | undefined;
|
|
4894
4898
|
deletedAt?: string | null | undefined;
|
|
4895
4899
|
stockChange?: {
|
|
4896
4900
|
countdowns: {
|
|
@@ -4899,7 +4903,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4899
4903
|
count: number;
|
|
4900
4904
|
}[];
|
|
4901
4905
|
skus: {
|
|
4902
|
-
remark?: string | null | undefined;
|
|
4903
4906
|
measurement?: {
|
|
4904
4907
|
name: string;
|
|
4905
4908
|
id: string;
|
|
@@ -4910,6 +4913,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4910
4913
|
};
|
|
4911
4914
|
} | null | undefined;
|
|
4912
4915
|
doc?: any;
|
|
4916
|
+
remark?: string | null | undefined;
|
|
4913
4917
|
deltaKey?: string | null | undefined;
|
|
4914
4918
|
parentKey?: string | null | undefined;
|
|
4915
4919
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -4947,11 +4951,11 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4947
4951
|
}> | null | undefined;
|
|
4948
4952
|
moveFrom?: Record<string, {
|
|
4949
4953
|
slot: string;
|
|
4954
|
+
billId: string;
|
|
4950
4955
|
by: {
|
|
4951
4956
|
name: string;
|
|
4952
4957
|
id: string;
|
|
4953
4958
|
};
|
|
4954
|
-
billId: string;
|
|
4955
4959
|
}> | null | undefined;
|
|
4956
4960
|
product: {
|
|
4957
4961
|
unit?: string | null | undefined;
|
|
@@ -4999,6 +5003,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4999
5003
|
}[] | null | undefined;
|
|
5000
5004
|
customAttributes?: Record<string, any> | null | undefined;
|
|
5001
5005
|
subCategories?: string[] | null | undefined;
|
|
5006
|
+
shelfLife?: number | null | undefined;
|
|
5002
5007
|
code: string;
|
|
5003
5008
|
name: string;
|
|
5004
5009
|
price: {
|
|
@@ -5008,7 +5013,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5008
5013
|
};
|
|
5009
5014
|
};
|
|
5010
5015
|
status: "DRAFT" | "REFUNDED" | "VOIDED" | "SENT";
|
|
5011
|
-
quantity: number;
|
|
5012
5016
|
taxes: Record<string, {
|
|
5013
5017
|
inclusive?: boolean | null | undefined;
|
|
5014
5018
|
taxCode?: string | null | undefined;
|
|
@@ -5020,6 +5024,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5020
5024
|
amount: number;
|
|
5021
5025
|
precision: number;
|
|
5022
5026
|
};
|
|
5027
|
+
level: number;
|
|
5023
5028
|
adjustment: {
|
|
5024
5029
|
inclusive?: boolean | null | undefined;
|
|
5025
5030
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5028,8 +5033,8 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5028
5033
|
precision: number;
|
|
5029
5034
|
};
|
|
5030
5035
|
};
|
|
5031
|
-
level: number;
|
|
5032
5036
|
}>;
|
|
5037
|
+
quantity: number;
|
|
5033
5038
|
subItems: import("@feedmepos/core/entity").FdoBillSubItemRef[];
|
|
5034
5039
|
is: {
|
|
5035
5040
|
delivery?: boolean | null | undefined;
|
|
@@ -5037,19 +5042,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5037
5042
|
};
|
|
5038
5043
|
adjustments: Record<string, {
|
|
5039
5044
|
reason?: string | null | undefined;
|
|
5045
|
+
remark?: string | null | undefined;
|
|
5046
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
5040
5047
|
referenceId?: string | null | undefined;
|
|
5041
5048
|
adjustmentRule?: {
|
|
5042
5049
|
type: "CAPPED_AT";
|
|
5043
5050
|
} | null | undefined;
|
|
5044
|
-
remark?: string | null | undefined;
|
|
5045
5051
|
ignoreMinPrice?: boolean | null | undefined;
|
|
5046
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
5047
5052
|
total: {
|
|
5048
5053
|
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
5054
|
amount: number;
|
|
5050
5055
|
precision: number;
|
|
5051
5056
|
};
|
|
5052
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5053
5057
|
adjustment: {
|
|
5054
5058
|
inclusive?: boolean | null | undefined;
|
|
5055
5059
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5058,6 +5062,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5058
5062
|
precision: number;
|
|
5059
5063
|
};
|
|
5060
5064
|
};
|
|
5065
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5061
5066
|
createdBy: {
|
|
5062
5067
|
name: string;
|
|
5063
5068
|
id: string;
|
|
@@ -5113,6 +5118,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5113
5118
|
amount: number;
|
|
5114
5119
|
precision: number;
|
|
5115
5120
|
};
|
|
5121
|
+
level: number;
|
|
5116
5122
|
adjustment: {
|
|
5117
5123
|
inclusive?: boolean | null | undefined;
|
|
5118
5124
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5121,7 +5127,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5121
5127
|
precision: number;
|
|
5122
5128
|
};
|
|
5123
5129
|
};
|
|
5124
|
-
level: number;
|
|
5125
5130
|
}>;
|
|
5126
5131
|
product: {
|
|
5127
5132
|
code?: string | null | undefined;
|
|
@@ -5180,19 +5185,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5180
5185
|
subItems: import("../order.do").FdoOrderSubItem[];
|
|
5181
5186
|
adjustments: Record<string, {
|
|
5182
5187
|
reason?: string | null | undefined;
|
|
5188
|
+
remark?: string | null | undefined;
|
|
5189
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
5183
5190
|
referenceId?: string | null | undefined;
|
|
5184
5191
|
adjustmentRule?: {
|
|
5185
5192
|
type: "CAPPED_AT";
|
|
5186
5193
|
} | null | undefined;
|
|
5187
|
-
remark?: string | null | undefined;
|
|
5188
5194
|
ignoreMinPrice?: boolean | null | undefined;
|
|
5189
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
5190
5195
|
total: {
|
|
5191
5196
|
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
5197
|
amount: number;
|
|
5193
5198
|
precision: number;
|
|
5194
5199
|
};
|
|
5195
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5196
5200
|
adjustment: {
|
|
5197
5201
|
inclusive?: boolean | null | undefined;
|
|
5198
5202
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5201,6 +5205,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5201
5205
|
precision: number;
|
|
5202
5206
|
};
|
|
5203
5207
|
};
|
|
5208
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5204
5209
|
createdBy: {
|
|
5205
5210
|
name: string;
|
|
5206
5211
|
id: string;
|
|
@@ -5249,6 +5254,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5249
5254
|
code: string;
|
|
5250
5255
|
name: string;
|
|
5251
5256
|
inclusive: boolean;
|
|
5257
|
+
level: number;
|
|
5252
5258
|
adjustment: {
|
|
5253
5259
|
inclusive?: boolean | null | undefined;
|
|
5254
5260
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5257,7 +5263,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5257
5263
|
precision: number;
|
|
5258
5264
|
};
|
|
5259
5265
|
};
|
|
5260
|
-
level: number;
|
|
5261
5266
|
applyTo: {
|
|
5262
5267
|
all: boolean;
|
|
5263
5268
|
isDineIn: boolean;
|
|
@@ -5335,7 +5340,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5335
5340
|
count: number;
|
|
5336
5341
|
}[];
|
|
5337
5342
|
skus: {
|
|
5338
|
-
remark?: string | null | undefined;
|
|
5339
5343
|
measurement?: {
|
|
5340
5344
|
name: string;
|
|
5341
5345
|
id: string;
|
|
@@ -5346,6 +5350,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5346
5350
|
};
|
|
5347
5351
|
} | null | undefined;
|
|
5348
5352
|
doc?: any;
|
|
5353
|
+
remark?: string | null | undefined;
|
|
5349
5354
|
deltaKey?: string | null | undefined;
|
|
5350
5355
|
parentKey?: string | null | undefined;
|
|
5351
5356
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -5383,11 +5388,11 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5383
5388
|
}> | null | undefined;
|
|
5384
5389
|
moveFrom?: Record<string, {
|
|
5385
5390
|
slot: string;
|
|
5391
|
+
billId: string;
|
|
5386
5392
|
by: {
|
|
5387
5393
|
name: string;
|
|
5388
5394
|
id: string;
|
|
5389
5395
|
};
|
|
5390
|
-
billId: string;
|
|
5391
5396
|
}> | null | undefined;
|
|
5392
5397
|
status: "DRAFT" | "REFUNDED" | "VOIDED" | "SENT";
|
|
5393
5398
|
quantity: number;
|
|
@@ -5402,6 +5407,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5402
5407
|
amount: number;
|
|
5403
5408
|
precision: number;
|
|
5404
5409
|
};
|
|
5410
|
+
level: number;
|
|
5405
5411
|
adjustment: {
|
|
5406
5412
|
inclusive?: boolean | null | undefined;
|
|
5407
5413
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5410,7 +5416,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5410
5416
|
precision: number;
|
|
5411
5417
|
};
|
|
5412
5418
|
};
|
|
5413
|
-
level: number;
|
|
5414
5419
|
}>;
|
|
5415
5420
|
product: {
|
|
5416
5421
|
unit?: string | null | undefined;
|
|
@@ -5458,6 +5463,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5458
5463
|
}[] | null | undefined;
|
|
5459
5464
|
customAttributes?: Record<string, any> | null | undefined;
|
|
5460
5465
|
subCategories?: string[] | null | undefined;
|
|
5466
|
+
shelfLife?: number | null | undefined;
|
|
5461
5467
|
code: string;
|
|
5462
5468
|
name: string;
|
|
5463
5469
|
price: {
|
|
@@ -5473,19 +5479,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5473
5479
|
};
|
|
5474
5480
|
adjustments: Record<string, {
|
|
5475
5481
|
reason?: string | null | undefined;
|
|
5482
|
+
remark?: string | null | undefined;
|
|
5483
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
5476
5484
|
referenceId?: string | null | undefined;
|
|
5477
5485
|
adjustmentRule?: {
|
|
5478
5486
|
type: "CAPPED_AT";
|
|
5479
5487
|
} | null | undefined;
|
|
5480
|
-
remark?: string | null | undefined;
|
|
5481
5488
|
ignoreMinPrice?: boolean | null | undefined;
|
|
5482
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
5483
5489
|
total: {
|
|
5484
5490
|
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
5491
|
amount: number;
|
|
5486
5492
|
precision: number;
|
|
5487
5493
|
};
|
|
5488
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5489
5494
|
adjustment: {
|
|
5490
5495
|
inclusive?: boolean | null | undefined;
|
|
5491
5496
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5494,6 +5499,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5494
5499
|
precision: number;
|
|
5495
5500
|
};
|
|
5496
5501
|
};
|
|
5502
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5497
5503
|
createdBy: {
|
|
5498
5504
|
name: string;
|
|
5499
5505
|
id: string;
|
|
@@ -5548,6 +5554,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5548
5554
|
amount: number;
|
|
5549
5555
|
precision: number;
|
|
5550
5556
|
};
|
|
5557
|
+
level: number;
|
|
5551
5558
|
adjustment: {
|
|
5552
5559
|
inclusive?: boolean | null | undefined;
|
|
5553
5560
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5556,7 +5563,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5556
5563
|
precision: number;
|
|
5557
5564
|
};
|
|
5558
5565
|
};
|
|
5559
|
-
level: number;
|
|
5560
5566
|
}>;
|
|
5561
5567
|
product: {
|
|
5562
5568
|
code?: string | null | undefined;
|
|
@@ -5615,19 +5621,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5615
5621
|
subItems: import("../order.do").FdoOrderSubItem[];
|
|
5616
5622
|
adjustments: Record<string, {
|
|
5617
5623
|
reason?: string | null | undefined;
|
|
5624
|
+
remark?: string | null | undefined;
|
|
5625
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
5618
5626
|
referenceId?: string | null | undefined;
|
|
5619
5627
|
adjustmentRule?: {
|
|
5620
5628
|
type: "CAPPED_AT";
|
|
5621
5629
|
} | null | undefined;
|
|
5622
|
-
remark?: string | null | undefined;
|
|
5623
5630
|
ignoreMinPrice?: boolean | null | undefined;
|
|
5624
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
5625
5631
|
total: {
|
|
5626
5632
|
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
5633
|
amount: number;
|
|
5628
5634
|
precision: number;
|
|
5629
5635
|
};
|
|
5630
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5631
5636
|
adjustment: {
|
|
5632
5637
|
inclusive?: boolean | null | undefined;
|
|
5633
5638
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5636,6 +5641,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5636
5641
|
precision: number;
|
|
5637
5642
|
};
|
|
5638
5643
|
};
|
|
5644
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5639
5645
|
createdBy: {
|
|
5640
5646
|
name: string;
|
|
5641
5647
|
id: string;
|
|
@@ -5684,6 +5690,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5684
5690
|
code: string;
|
|
5685
5691
|
name: string;
|
|
5686
5692
|
inclusive: boolean;
|
|
5693
|
+
level: number;
|
|
5687
5694
|
adjustment: {
|
|
5688
5695
|
inclusive?: boolean | null | undefined;
|
|
5689
5696
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5692,7 +5699,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5692
5699
|
precision: number;
|
|
5693
5700
|
};
|
|
5694
5701
|
};
|
|
5695
|
-
level: number;
|
|
5696
5702
|
applyTo: {
|
|
5697
5703
|
all: boolean;
|
|
5698
5704
|
isDineIn: boolean;
|
|
@@ -5701,21 +5707,17 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5701
5707
|
};
|
|
5702
5708
|
};
|
|
5703
5709
|
notify: (args_0: string, args_1: Record<string, {
|
|
5710
|
+
remark?: string | null | undefined;
|
|
5704
5711
|
createdBy?: {
|
|
5705
5712
|
name: string;
|
|
5706
5713
|
id: string;
|
|
5707
5714
|
} | 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
5715
|
kitchenStation?: Record<string, {
|
|
5715
5716
|
startAt?: string | null | undefined;
|
|
5716
5717
|
finishAt?: string | null | undefined;
|
|
5717
5718
|
completedAt?: string | null | undefined;
|
|
5718
5719
|
}> | null | undefined;
|
|
5720
|
+
productId?: string | null | undefined;
|
|
5719
5721
|
servedAt?: string | null | undefined;
|
|
5720
5722
|
collectedAt?: string | null | undefined;
|
|
5721
5723
|
variantSelected?: {
|
|
@@ -5762,6 +5764,10 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5762
5764
|
};
|
|
5763
5765
|
}[] | null | undefined;
|
|
5764
5766
|
printReceiptAt?: string | null | undefined;
|
|
5767
|
+
customer?: {
|
|
5768
|
+
name?: string | null | undefined;
|
|
5769
|
+
id: string;
|
|
5770
|
+
} | null | undefined;
|
|
5765
5771
|
deletedAt?: string | null | undefined;
|
|
5766
5772
|
stockChange?: {
|
|
5767
5773
|
countdowns: {
|
|
@@ -5770,7 +5776,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5770
5776
|
count: number;
|
|
5771
5777
|
}[];
|
|
5772
5778
|
skus: {
|
|
5773
|
-
remark?: string | null | undefined;
|
|
5774
5779
|
measurement?: {
|
|
5775
5780
|
name: string;
|
|
5776
5781
|
id: string;
|
|
@@ -5781,6 +5786,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5781
5786
|
};
|
|
5782
5787
|
} | null | undefined;
|
|
5783
5788
|
doc?: any;
|
|
5789
|
+
remark?: string | null | undefined;
|
|
5784
5790
|
deltaKey?: string | null | undefined;
|
|
5785
5791
|
parentKey?: string | null | undefined;
|
|
5786
5792
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -5818,11 +5824,11 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5818
5824
|
}> | null | undefined;
|
|
5819
5825
|
moveFrom?: Record<string, {
|
|
5820
5826
|
slot: string;
|
|
5827
|
+
billId: string;
|
|
5821
5828
|
by: {
|
|
5822
5829
|
name: string;
|
|
5823
5830
|
id: string;
|
|
5824
5831
|
};
|
|
5825
|
-
billId: string;
|
|
5826
5832
|
}> | null | undefined;
|
|
5827
5833
|
product: {
|
|
5828
5834
|
unit?: string | null | undefined;
|
|
@@ -5870,6 +5876,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5870
5876
|
}[] | null | undefined;
|
|
5871
5877
|
customAttributes?: Record<string, any> | null | undefined;
|
|
5872
5878
|
subCategories?: string[] | null | undefined;
|
|
5879
|
+
shelfLife?: number | null | undefined;
|
|
5873
5880
|
code: string;
|
|
5874
5881
|
name: string;
|
|
5875
5882
|
price: {
|
|
@@ -5879,7 +5886,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5879
5886
|
};
|
|
5880
5887
|
};
|
|
5881
5888
|
status: "DRAFT" | "REFUNDED" | "VOIDED" | "SENT";
|
|
5882
|
-
quantity: number;
|
|
5883
5889
|
taxes: Record<string, {
|
|
5884
5890
|
inclusive?: boolean | null | undefined;
|
|
5885
5891
|
taxCode?: string | null | undefined;
|
|
@@ -5891,6 +5897,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5891
5897
|
amount: number;
|
|
5892
5898
|
precision: number;
|
|
5893
5899
|
};
|
|
5900
|
+
level: number;
|
|
5894
5901
|
adjustment: {
|
|
5895
5902
|
inclusive?: boolean | null | undefined;
|
|
5896
5903
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5899,8 +5906,8 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5899
5906
|
precision: number;
|
|
5900
5907
|
};
|
|
5901
5908
|
};
|
|
5902
|
-
level: number;
|
|
5903
5909
|
}>;
|
|
5910
|
+
quantity: number;
|
|
5904
5911
|
subItems: import("@feedmepos/core/entity").FdoBillSubItemRef[];
|
|
5905
5912
|
is: {
|
|
5906
5913
|
delivery?: boolean | null | undefined;
|
|
@@ -5908,19 +5915,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5908
5915
|
};
|
|
5909
5916
|
adjustments: Record<string, {
|
|
5910
5917
|
reason?: string | null | undefined;
|
|
5918
|
+
remark?: string | null | undefined;
|
|
5919
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
5911
5920
|
referenceId?: string | null | undefined;
|
|
5912
5921
|
adjustmentRule?: {
|
|
5913
5922
|
type: "CAPPED_AT";
|
|
5914
5923
|
} | null | undefined;
|
|
5915
|
-
remark?: string | null | undefined;
|
|
5916
5924
|
ignoreMinPrice?: boolean | null | undefined;
|
|
5917
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
5918
5925
|
total: {
|
|
5919
5926
|
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
5927
|
amount: number;
|
|
5921
5928
|
precision: number;
|
|
5922
5929
|
};
|
|
5923
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5924
5930
|
adjustment: {
|
|
5925
5931
|
inclusive?: boolean | null | undefined;
|
|
5926
5932
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5929,6 +5935,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5929
5935
|
precision: number;
|
|
5930
5936
|
};
|
|
5931
5937
|
};
|
|
5938
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5932
5939
|
createdBy: {
|
|
5933
5940
|
name: string;
|
|
5934
5941
|
id: string;
|
|
@@ -5946,21 +5953,17 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5946
5953
|
};
|
|
5947
5954
|
} & {
|
|
5948
5955
|
parent?: ({
|
|
5956
|
+
remark?: string | null | undefined;
|
|
5949
5957
|
createdBy?: {
|
|
5950
5958
|
name: string;
|
|
5951
5959
|
id: string;
|
|
5952
5960
|
} | 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
5961
|
kitchenStation?: Record<string, {
|
|
5960
5962
|
startAt?: string | null | undefined;
|
|
5961
5963
|
finishAt?: string | null | undefined;
|
|
5962
5964
|
completedAt?: string | null | undefined;
|
|
5963
5965
|
}> | null | undefined;
|
|
5966
|
+
productId?: string | null | undefined;
|
|
5964
5967
|
servedAt?: string | null | undefined;
|
|
5965
5968
|
collectedAt?: string | null | undefined;
|
|
5966
5969
|
variantSelected?: {
|
|
@@ -6007,6 +6010,10 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6007
6010
|
};
|
|
6008
6011
|
}[] | null | undefined;
|
|
6009
6012
|
printReceiptAt?: string | null | undefined;
|
|
6013
|
+
customer?: {
|
|
6014
|
+
name?: string | null | undefined;
|
|
6015
|
+
id: string;
|
|
6016
|
+
} | null | undefined;
|
|
6010
6017
|
deletedAt?: string | null | undefined;
|
|
6011
6018
|
stockChange?: {
|
|
6012
6019
|
countdowns: {
|
|
@@ -6015,7 +6022,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6015
6022
|
count: number;
|
|
6016
6023
|
}[];
|
|
6017
6024
|
skus: {
|
|
6018
|
-
remark?: string | null | undefined;
|
|
6019
6025
|
measurement?: {
|
|
6020
6026
|
name: string;
|
|
6021
6027
|
id: string;
|
|
@@ -6026,6 +6032,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6026
6032
|
};
|
|
6027
6033
|
} | null | undefined;
|
|
6028
6034
|
doc?: any;
|
|
6035
|
+
remark?: string | null | undefined;
|
|
6029
6036
|
deltaKey?: string | null | undefined;
|
|
6030
6037
|
parentKey?: string | null | undefined;
|
|
6031
6038
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
@@ -6063,11 +6070,11 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6063
6070
|
}> | null | undefined;
|
|
6064
6071
|
moveFrom?: Record<string, {
|
|
6065
6072
|
slot: string;
|
|
6073
|
+
billId: string;
|
|
6066
6074
|
by: {
|
|
6067
6075
|
name: string;
|
|
6068
6076
|
id: string;
|
|
6069
6077
|
};
|
|
6070
|
-
billId: string;
|
|
6071
6078
|
}> | null | undefined;
|
|
6072
6079
|
product: {
|
|
6073
6080
|
unit?: string | null | undefined;
|
|
@@ -6115,6 +6122,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6115
6122
|
}[] | null | undefined;
|
|
6116
6123
|
customAttributes?: Record<string, any> | null | undefined;
|
|
6117
6124
|
subCategories?: string[] | null | undefined;
|
|
6125
|
+
shelfLife?: number | null | undefined;
|
|
6118
6126
|
code: string;
|
|
6119
6127
|
name: string;
|
|
6120
6128
|
price: {
|
|
@@ -6124,7 +6132,6 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6124
6132
|
};
|
|
6125
6133
|
};
|
|
6126
6134
|
status: "DRAFT" | "REFUNDED" | "VOIDED" | "SENT";
|
|
6127
|
-
quantity: number;
|
|
6128
6135
|
taxes: Record<string, {
|
|
6129
6136
|
inclusive?: boolean | null | undefined;
|
|
6130
6137
|
taxCode?: string | null | undefined;
|
|
@@ -6136,6 +6143,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6136
6143
|
amount: number;
|
|
6137
6144
|
precision: number;
|
|
6138
6145
|
};
|
|
6146
|
+
level: number;
|
|
6139
6147
|
adjustment: {
|
|
6140
6148
|
inclusive?: boolean | null | undefined;
|
|
6141
6149
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -6144,8 +6152,8 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6144
6152
|
precision: number;
|
|
6145
6153
|
};
|
|
6146
6154
|
};
|
|
6147
|
-
level: number;
|
|
6148
6155
|
}>;
|
|
6156
|
+
quantity: number;
|
|
6149
6157
|
subItems: import("@feedmepos/core/entity").FdoBillSubItemRef[];
|
|
6150
6158
|
is: {
|
|
6151
6159
|
delivery?: boolean | null | undefined;
|
|
@@ -6153,19 +6161,18 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6153
6161
|
};
|
|
6154
6162
|
adjustments: Record<string, {
|
|
6155
6163
|
reason?: string | null | undefined;
|
|
6164
|
+
remark?: string | null | undefined;
|
|
6165
|
+
excludeAddonPrice?: boolean | null | undefined;
|
|
6156
6166
|
referenceId?: string | null | undefined;
|
|
6157
6167
|
adjustmentRule?: {
|
|
6158
6168
|
type: "CAPPED_AT";
|
|
6159
6169
|
} | null | undefined;
|
|
6160
|
-
remark?: string | null | undefined;
|
|
6161
6170
|
ignoreMinPrice?: boolean | null | undefined;
|
|
6162
|
-
excludeAddonPrice?: boolean | null | undefined;
|
|
6163
6171
|
total: {
|
|
6164
6172
|
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
6173
|
amount: number;
|
|
6166
6174
|
precision: number;
|
|
6167
6175
|
};
|
|
6168
|
-
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
6169
6176
|
adjustment: {
|
|
6170
6177
|
inclusive?: boolean | null | undefined;
|
|
6171
6178
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -6174,6 +6181,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
6174
6181
|
precision: number;
|
|
6175
6182
|
};
|
|
6176
6183
|
};
|
|
6184
|
+
cause: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
6177
6185
|
createdBy: {
|
|
6178
6186
|
name: string;
|
|
6179
6187
|
id: string;
|