import { Basemodel } from "../base/basemodel"; import { IBuilding, ModelBuilding } from "../building/building"; import { IPriceUSD, ModelPriceUsd } from "../currency/price-usd.model"; import { IComplexDim, ModelComplexDim } from "../dim-complex/dim-complex.model"; import { IDiscount } from "../discount/discount-model"; import { INewsListItem, ModelNewsListItem } from "../news/news-listitem.model"; import { ISimpleItem } from "../simple-items/simple-item.model"; import { IFlatTypeSearchItem, ModelFlatTypeSearchItem } from "./flat-type-search-item.model"; export interface IFlatPart { readonly name: string; readonly area: number; } export interface IFlatProperty { readonly name: string; readonly items: string[]; readonly id: number; readonly children: ISimpleItem[]; } export interface IFlatDetailsSection { readonly id: number; readonly sectionNumber: number; readonly building: { readonly id: number; readonly buildingNumber: number; }; } interface IFlatDetailsFloorItem { readonly id: number; readonly floorNumber: number; } export interface IFlatTypeDetails { readonly buildingRanges: string[]; readonly buildings: IBuilding[] | ModelBuilding[]; readonly complex: ModelComplexDim | IComplexDim; readonly buildDate?: string | Date; readonly discountTypeId: number; readonly discounts: IDiscount[]; readonly floorImageUrl: string; readonly floorPdfUrl: string; readonly floorRanges: string[]; readonly floors: IFlatDetailsFloorItem[]; readonly id: number; readonly installmentExist: boolean; readonly image3DUrl: string; readonly imageNoWallsUrl: string; readonly imageWithWallsUrl: string; readonly imageGeneralPlanUrl: string; readonly isBestChoice: boolean; readonly levelCount: number; readonly livingArea: number; readonly minPriceM2: number; readonly minPriceTotal: number; readonly name: string; readonly pdfUrl: string; readonly percentDiscount: number; readonly planType: string; readonly priceM2: number; readonly priceM2Discount: number; readonly priceTotal: number; readonly priceTotalDiscount: number; readonly properties: IFlatProperty[]; readonly relatedFlatType: IFlatTypeSearchItem[] | ModelFlatTypeSearchItem[]; readonly roomCount: number; readonly rooms: IFlatPart[]; readonly sectionBuildDate: string | Date; readonly sectionRanges: string[]; readonly sections: IFlatDetailsSection[]; readonly sitePages: INewsListItem[] | ModelNewsListItem[]; readonly totalArea: number; readonly twoLevelFlats: boolean; readonly windRoseDegree: number; readonly unitId?: number; readonly unitTypeId: number; readonly isReserved: boolean; readonly isAvailable: boolean; readonly flatCount: number; readonly maxTotalArea: number; readonly maxPriceM2: number; readonly maxPriceTotal: number; readonly maxDiscount: IDiscount; readonly priceUSD: IPriceUSD; } export declare class ModelFlatTypeDetails extends Basemodel implements IFlatTypeDetails { readonly buildingRanges: string[]; readonly buildings: ModelBuilding[]; readonly complex: ModelComplexDim; readonly discountTypeId: number; readonly discounts: IDiscount[]; readonly buildDate?: string | Date; readonly floorImageUrl: string; readonly floorPdfUrl: string; readonly floorRanges: string[]; readonly floors: IFlatDetailsFloorItem[]; readonly id: number; readonly installmentExist: boolean; readonly image3DUrl: string; readonly imageNoWallsUrl: string; readonly imageWithWallsUrl: string; readonly imageGeneralPlanUrl: string; readonly isBestChoice: boolean; readonly levelCount: number; readonly livingArea: number; readonly minPriceM2: number; readonly minPriceTotal: number; readonly maxDiscount: IDiscount; readonly name: string; readonly pdfUrl: string; readonly percentDiscount: number; readonly planType: string; readonly priceM2: number; readonly priceM2Discount: number; readonly priceTotal: number; readonly priceTotalDiscount: number; readonly properties: IFlatProperty[]; readonly relatedFlatType: ModelFlatTypeSearchItem[]; readonly roomCount: number; readonly rooms: IFlatPart[]; readonly sectionBuildDate: string | Date; readonly sectionRanges: string[]; readonly sections: IFlatDetailsSection[]; readonly sitePages: ModelNewsListItem[]; readonly totalArea: number; readonly twoLevelFlats: boolean; readonly windRoseDegree: number; readonly unitId?: number; readonly unitTypeId: number; readonly isReserved: boolean; readonly isAvailable: boolean; readonly flatCount: number; readonly maxTotalArea: number; readonly maxPriceM2: number; readonly maxPriceTotal: number; readonly priceUSD: ModelPriceUsd | IPriceUSD; constructor({ buildingRanges, buildings, complex, discountTypeId, discounts, buildDate, floorImageUrl, floorPdfUrl, floorRanges, floors, id, installmentExist, image3DUrl, imageNoWallsUrl, imageWithWallsUrl, imageGeneralPlanUrl, isBestChoice, levelCount, livingArea, minPriceM2, minPriceTotal, maxDiscount, name, pdfUrl, percentDiscount, planType, priceM2, priceM2Discount, priceTotal, priceTotalDiscount, properties, relatedFlatType, roomCount, rooms, sectionBuildDate, sectionRanges, sections, sitePages, totalArea, twoLevelFlats, windRoseDegree, unitId, unitTypeId, isReserved, isAvailable, flatCount, maxTotalArea, maxPriceM2, maxPriceTotal, priceUSD }?: Partial); private _initModelFlatDesc; private _initModelNewsListItem; clone(): ModelFlatTypeDetails; serialize(): IFlatTypeDetails; } export {};