import { z } from 'zod'; import { type EntitySchemaWithAdditionalKeys, type AdditionalPropertiesKey } from '../../../entity-definitions/entity.js'; export declare const orderItemPriceSchema: z.ZodObject<{ appliedReductions: z.ZodOptional; category: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; amount: { absoluteWithTax: number; relative: number; }; category: string; }, { type: string; amount: { absoluteWithTax: number; relative: number; }; category: string; }>, "many">>; reference: z.ZodOptional; unit: z.ZodOptional; withTax: z.ZodOptional; }, "strip", z.ZodTypeAny, { size?: string | undefined; unit?: string | undefined; withTax?: number | undefined; }, { size?: string | undefined; unit?: string | undefined; withTax?: number | undefined; }>>; tax: z.ZodObject<{ vat: z.ZodOptional>; }, "strip", z.ZodTypeAny, { vat?: { amount: number; rate: number; } | undefined; }, { vat?: { amount: number; rate: number; } | undefined; }>; withTax: z.ZodOptional; withoutTax: z.ZodOptional; overrideWithoutTax: z.ZodOptional; overrideWithTax: z.ZodOptional; undiscountedWithOutTax: z.ZodOptional; undiscountedWithTax: z.ZodOptional; }, "strip", z.ZodTypeAny, { tax: { vat?: { amount: number; rate: number; } | undefined; }; withTax?: number | undefined; withoutTax?: number | undefined; appliedReductions?: { type: string; amount: { absoluteWithTax: number; relative: number; }; category: string; }[] | undefined; reference?: { size?: string | undefined; unit?: string | undefined; withTax?: number | undefined; } | undefined; overrideWithoutTax?: number | undefined; overrideWithTax?: number | undefined; undiscountedWithOutTax?: number | undefined; undiscountedWithTax?: number | undefined; }, { tax: { vat?: { amount: number; rate: number; } | undefined; }; withTax?: number | undefined; withoutTax?: number | undefined; appliedReductions?: { type: string; amount: { absoluteWithTax: number; relative: number; }; category: string; }[] | undefined; reference?: { size?: string | undefined; unit?: string | undefined; withTax?: number | undefined; } | undefined; overrideWithoutTax?: number | undefined; overrideWithTax?: number | undefined; undiscountedWithOutTax?: number | undefined; undiscountedWithTax?: number | undefined; }>; export type OrderItemPrice = z.infer; export declare const orderItemVariantSchema: z.ZodObject<{ id: z.ZodNumber; referenceKey: z.ZodOptional; stock: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: number; referenceKey?: string | undefined; stock?: { supplierId: number; } | undefined; }, { id: number; referenceKey?: string | undefined; stock?: { supplierId: number; } | undefined; }>; export type OrderItemVariant = z.infer; export declare const orderItemItemGroupSchema: z.ZodObject<{ id: z.ZodString; isMainItem: z.ZodBoolean; isRequired: z.ZodBoolean; }, "strip", z.ZodTypeAny, { id: string; isMainItem: boolean; isRequired: boolean; }, { id: string; isMainItem: boolean; isRequired: boolean; }>; export type OrderItemItemGroup = z.infer; export declare const orderItemSchema: z.ZodObject<{ id: z.ZodNumber; availableQuantity: z.ZodOptional; deliveryForecast: z.ZodOptional; }, "strip", z.ZodTypeAny, { key?: string | undefined; }, { key?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { subsequentDelivery?: { key?: string | undefined; } | undefined; }, { subsequentDelivery?: { key?: string | undefined; } | undefined; }>>; packageId: z.ZodNumber; price: z.ZodObject<{ appliedReductions: z.ZodOptional; category: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; amount: { absoluteWithTax: number; relative: number; }; category: string; }, { type: string; amount: { absoluteWithTax: number; relative: number; }; category: string; }>, "many">>; reference: z.ZodOptional; unit: z.ZodOptional; withTax: z.ZodOptional; }, "strip", z.ZodTypeAny, { size?: string | undefined; unit?: string | undefined; withTax?: number | undefined; }, { size?: string | undefined; unit?: string | undefined; withTax?: number | undefined; }>>; tax: z.ZodObject<{ vat: z.ZodOptional>; }, "strip", z.ZodTypeAny, { vat?: { amount: number; rate: number; } | undefined; }, { vat?: { amount: number; rate: number; } | undefined; }>; withTax: z.ZodOptional; withoutTax: z.ZodOptional; overrideWithoutTax: z.ZodOptional; overrideWithTax: z.ZodOptional; undiscountedWithOutTax: z.ZodOptional; undiscountedWithTax: z.ZodOptional; }, "strip", z.ZodTypeAny, { tax: { vat?: { amount: number; rate: number; } | undefined; }; withTax?: number | undefined; withoutTax?: number | undefined; appliedReductions?: { type: string; amount: { absoluteWithTax: number; relative: number; }; category: string; }[] | undefined; reference?: { size?: string | undefined; unit?: string | undefined; withTax?: number | undefined; } | undefined; overrideWithoutTax?: number | undefined; overrideWithTax?: number | undefined; undiscountedWithOutTax?: number | undefined; undiscountedWithTax?: number | undefined; }, { tax: { vat?: { amount: number; rate: number; } | undefined; }; withTax?: number | undefined; withoutTax?: number | undefined; appliedReductions?: { type: string; amount: { absoluteWithTax: number; relative: number; }; category: string; }[] | undefined; reference?: { size?: string | undefined; unit?: string | undefined; withTax?: number | undefined; } | undefined; overrideWithoutTax?: number | undefined; overrideWithTax?: number | undefined; undiscountedWithOutTax?: number | undefined; undiscountedWithTax?: number | undefined; }>; lowestPriorPrice: z.ZodOptional>>; product: z.ZodObject<{ id: z.ZodNumber; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; name?: string | undefined; }, { id: number; name?: string | undefined; }>; promotion: z.ZodOptional>; key: z.ZodOptional; reservationKey: z.ZodOptional; status: z.ZodString; variant: z.ZodObject<{ id: z.ZodNumber; referenceKey: z.ZodOptional; stock: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: number; referenceKey?: string | undefined; stock?: { supplierId: number; } | undefined; }, { id: number; referenceKey?: string | undefined; stock?: { supplierId: number; } | undefined; }>; warehouseId: z.ZodOptional; itemGroup: z.ZodNullable>>; campaignKey: z.ZodOptional; merchant: z.ZodOptional>; currency: z.ZodOptional, 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<"FOK">, 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<"KID">, z.ZodLiteral<"KMF">, 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">]>>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; variant: { id: number; referenceKey?: string | undefined; stock?: { supplierId: number; } | undefined; }; id: number; price: { tax: { vat?: { amount: number; rate: number; } | undefined; }; withTax?: number | undefined; withoutTax?: number | undefined; appliedReductions?: { type: string; amount: { absoluteWithTax: number; relative: number; }; category: string; }[] | undefined; reference?: { size?: string | undefined; unit?: string | undefined; withTax?: number | undefined; } | undefined; overrideWithoutTax?: number | undefined; overrideWithTax?: number | undefined; undiscountedWithOutTax?: number | undefined; undiscountedWithTax?: number | undefined; }; packageId: number; product: { id: number; name?: string | undefined; }; key?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; availableQuantity?: number | undefined; deliveryForecast?: { subsequentDelivery?: { key?: string | undefined; } | undefined; } | undefined; lowestPriorPrice?: { withTax: number; relativeDifferenceToPrice: number; } | null | undefined; promotion?: { id: string; name: string; version: string; } | undefined; reservationKey?: string | undefined; warehouseId?: number | undefined; itemGroup?: { id: string; isMainItem: boolean; isRequired: boolean; } | null | undefined; campaignKey?: string | undefined; merchant?: { referenceKey: string; } | undefined; currency?: "BTN" | "MKD" | "CHE" | "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "FOK" | "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" | "KID" | "KMF" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "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" | undefined; }, { status: string; variant: { id: number; referenceKey?: string | undefined; stock?: { supplierId: number; } | undefined; }; id: number; price: { tax: { vat?: { amount: number; rate: number; } | undefined; }; withTax?: number | undefined; withoutTax?: number | undefined; appliedReductions?: { type: string; amount: { absoluteWithTax: number; relative: number; }; category: string; }[] | undefined; reference?: { size?: string | undefined; unit?: string | undefined; withTax?: number | undefined; } | undefined; overrideWithoutTax?: number | undefined; overrideWithTax?: number | undefined; undiscountedWithOutTax?: number | undefined; undiscountedWithTax?: number | undefined; }; packageId: number; product: { id: number; name?: string | undefined; }; key?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; availableQuantity?: number | undefined; deliveryForecast?: { subsequentDelivery?: { key?: string | undefined; } | undefined; } | undefined; lowestPriorPrice?: { withTax: number; relativeDifferenceToPrice: number; } | null | undefined; promotion?: { id: string; name: string; version: string; } | undefined; reservationKey?: string | undefined; warehouseId?: number | undefined; itemGroup?: { id: string; isMainItem: boolean; isRequired: boolean; } | null | undefined; campaignKey?: string | undefined; merchant?: { referenceKey: string; } | undefined; currency?: "BTN" | "MKD" | "CHE" | "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "FOK" | "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" | "KID" | "KMF" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "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" | undefined; }>; declare const orderItemAdditionalProperties: { readonly legacyCustomData: z.ZodNullable>; }; export type AdditionalOrderItemKey = AdditionalPropertiesKey>; type OrderItemSchemaWithAdditionalKeys = EntitySchemaWithAdditionalKeys, AdditionalKeys>; export type OrderItem = z.infer>; export declare function buildOrderItemSchemaForKeys(additionalKeys: AdditionalKeys): OrderItemSchemaWithAdditionalKeys; export {}; //# sourceMappingURL=order-item-schema.d.ts.map