interface Build {
    buildType: string;
    collectionToken: string;
    info: BuildInfo;
    site?: string;
    address?: string;
    areas?: string[];
    ibans?: BuildIban[];
    responsibles?: BuildResponsible[];
}

interface BuildInfo {
    govAddressCode: string;
    buildName: string;
    buildNo: string;
    maxFloor: number;
    undergroundFloor: number;
    buildDate: Date;
    decisionPeriodDate: Date;
    taxNo: string;
    liftCount: number;
    heatingSystem: boolean;
    coolingSystem: boolean;
    hotWaterSystem: boolean;
    blockServiceManCount: number;
    securityServiceManCount: number;
    garageCount: number;
    managementRoomId: number;
}

interface BuildIban {
    iban: string;
    startDate: Date;
    stopDate: Date;
    bankCode: string;
    xcomment: string;
}

interface BuildResponsible {
    company: string;
    person: string;
}

export type { Build, BuildInfo, BuildIban, BuildResponsible }
