export type BoxStatus = 'READY_TO_INVOICE' | 'READY';

export const BoxStatusList: BoxStatus[] = ['READY_TO_INVOICE', 'READY'];

export interface IRealBox {
    boxName: string;
    id: number;
    itemCount: number;
    partyName: string;
}

export interface IRealBoxDetail {
    message: string;
    data: {
        boxName: string;
        party: {
            id: number;
            name: string;
        };
        packets: Array<{
            id: number;
            packetName: string;
        }>;
    };
}

export interface RealCreateBoxBodyType {
    partyName: string;
    packetItemDtos: { packetId: number; itemDtos: number[] }[];
}

export interface UpdateRealBoxBodyType {
    boxId: string;
    partyName: string;
    packetItemDtos: { packetId: number; itemDtos: number[] }[];
}

export interface FormValues {
    id?: number;
    boxId?: string;
    partyName: string;
    partyId?: number;
    packetItemDtos: Array<{
        packetId: number;
        itemDtos: number[];
    }>;
}
