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

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

export interface IRealBox {
    boxName: string;
    id: number;
    packetsCount: 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;
    packetDtos: number[];
}

export interface UpdateRealBoxBodyType {
    boxId: string;
    partyName: string;
    packetDtos: number[];
}

export interface FormValues {
    partyName: string;
    paketIds: Array<{ id: string | number }>;
    id?: number;
    boxId?: string;
    partyId?: number;
}