import type { AttributesAdapted, PriceAdapted, ProductImagesAdapted } from '../../helpers/adapters/index.js'; import type { CheckoutOrderItem } from '@farfetch/blackout-client'; import type { CheckoutOrderItemProductEntityDenormalized, MerchantEntity } from '../index.js'; export type CheckoutOrderItemEntity = Omit & { price: PriceAdapted; size: AttributesAdapted; merchant: CheckoutOrderItem['merchantId']; product: CheckoutOrderItem['productId']; productAggregator?: Omit & { images: ProductImagesAdapted; }; }; export type CheckoutOrderItemEntityDenormalized = Omit & { product: CheckoutOrderItemProductEntityDenormalized | undefined; merchant: MerchantEntity | undefined; };