UNPKG

@arkasuryawan/m2-interfaces

Version:

Squaremetre Data Interfaces

102 lines (101 loc) 4.33 kB
import mongoose from "mongoose"; import { AuditInterface, MetaDataFileInterface, ProjectInterface } from "."; import { TALocation } from "./tripadvisor"; import { ProjectMainInformation, ProjectMainInformationServer } from "./project/project-main-information"; import { ProjectDesignInterface } from "./project/project-design-interface"; export { ProjectSummaryInterface } from "./project/project-sumary-interface"; export declare type ProjectStatus = "DRAFT" | "AVAILABLE" | "NOTAVAILABLE" | "DELETED" | "LEASED" | "BOOKED" | "SOLD" | "HOLD" | "CONTRACT" | "PARTIAL"; export declare const ProjectStatusOptions: string[]; export declare type ProjectType = "Apartment" | "House & Land" | "Land" | "Office" | "Semi/Duplex" | "Block Of Units" | "Townhouse" | "Unit" | "Villa" | "Warehouse" | "Hotel/Leisure" | "Other" | "Motel" | "Resort" | "Retreat" | "Rural"; export declare type CurrencyId = "EUR" | "SGD" | "GBP" | "AUD" | "USD" | "IDR" | "THB"; export declare const CurrencyIdOptions: string[]; export declare type ProjectStatusType = "Off The Plan" | "Completed" | "Under Construction"; export declare const ProjectStatusTypeOptions: string[]; export interface AdditionalInformation { icon: string; headline: string; content: string; } export interface AdditionalOption { icon: string; headline: string; content: string; priceType: string; price: number; } export interface RentalRevenueEstimateInterface { headline: string; price: number; occupancy: number; rate: number; percentageCost: number; investmentTime: number; } export { GdriveMetaData, ProjectDriveIntegration, } from "./project/project-gdrive"; export { ProjectMainInformation, ProjectMainInformationServer, } from "./project/project-main-information"; export interface ProjectImageFileAndOtherInfo extends ProjectMainInformation { videoUrl: string[]; onlineTourUrl: string[]; images: string[]; interior: string[]; exterior: string[]; floorPlans: string[] | MetaDataFileInterface[]; brochure: string[] | MetaDataFileInterface[]; collateral: string[] | MetaDataFileInterface[]; specifications: string[] | MetaDataFileInterface[]; constractionUpdate: MetaDataFileInterface[]; areaGuide: string; presentation: string; news: string[]; podcast: string[]; webinar: string; threesixty: string; threesixtys: { headline: string; link: string; imageUrl: string; }[]; } export interface ProjectImageFileAndOtherInfoServer extends ProjectMainInformationServer { videoUrl: string[]; onlineTourUrl: string[]; images: string[]; interior: string[]; exterior: string[]; floorPlans: string[] | MetaDataFileInterface[]; brochure: string[] | MetaDataFileInterface[]; collateral: string[] | MetaDataFileInterface[]; specifications: string[] | MetaDataFileInterface[]; constractionUpdate: MetaDataFileInterface[]; areaGuide: string; presentation: string; news: string[]; podcast: string[]; webinar: string; threesixty: string; threesixtys: { headline: string; link: string; imageUrl: string; }[]; } export { ProjectLotMainInformation, ProjectLotMainInformationServer, } from "./project/project-lot-main-information"; export { ProjectDesignInterface, ProjectDesignInterfaceServer, } from "./project/project-design-interface"; export interface ProjectFacadeInterface extends ProjectDesignInterface { } export { ProjectInterface, ProjectInterfaceServer, } from "./project/project-interface"; export { LotVariancesInterface, LotVariancesInterfaceServer, } from "./project/lot-variance-interface"; export { ProjectLotInterface, ProjectLotInterfaceServer, } from "./project/project-lot-interface"; export { ProjectLotVarianceInterface, ProjectLotVarianceInterfaceServer, } from "./project/projecr-lot-variance-interface"; export { ProjectRequestInterface, ProjectRequestInterfaceServer, } from "./project/project-request-interface"; /** * @deprecated The method should not be used */ export interface ProjectTripadvisorInterface extends AuditInterface { projectId: string; project: ProjectInterface | mongoose.Types.ObjectId; tripadvisorId: string; tripadvisor: TALocation; distance?: string; bearing?: string; }