import {
  AvailabilityDTO,
  BuyerDTO,
  CheckoutDTO,
  NotificationChannel,
  PayerDTO,
  ShippingAddressDTO,
  ShoppingCartDTO,
} from '@generated/swagger/checkout-api';
import { CustomerDTO } from '@generated/swagger/crm-api';
import { DisplayOrderDTO } from '@generated/swagger/oms-api';

export interface CheckoutEntity {
  processId: number;
  checkout: CheckoutDTO;
  shoppingCart: ShoppingCartDTO;
  customer: CustomerDTO;
  payer: PayerDTO;
  buyer: BuyerDTO;
  shippingAddress: ShippingAddressDTO;
  orders: DisplayOrderDTO[];
  specialComment: string;
  notificationChannels: NotificationChannel;
  olaErrorIds: number[];
  itemAvailabilityTimestamp: Record<string, number | undefined>;
}
