import { orderBookingClient } from '../../api/clients';
import { ORDER_BOOKING } from '../../api/config';
import { DetailView } from './DetailView';
import type { WiredDetailViewProps } from './OrderDetail';

export function CallDetail({ instanceId, columns = 2 }: WiredDetailViewProps) {
  return (
    <DetailView
      client={orderBookingClient}
      dvUid={ORDER_BOOKING.detailViews.CALLS}
      instanceId={instanceId}
      title="Call Details"
      columns={columns}
    />
  );
}
