import { AreaModel } from "@/contracts/client.schemas";

import { ObjectStatusEnum } from "../enums/ObjectStatusEnum";

import { DeviceModel } from "./DeviceModel";
import { ObjectStateModel } from "./ObjectStateModel";

export interface ObjectDetailsModel {
	addressShort?: string;
	appNumber?: string;
	areas?: AreaModel[];
	building?: string;
	city?: string;
	contractDate?: string;
	contractNumber?: string;
	country?: string;
	coutry?: string;
	deviceControlOuts?: string;
	devices?: DeviceModel[];
	extId?: number;
	gateCode?: string;
	house?: string;
	id: number;
	imei?: string;
	intercomCode?: string;
	isFromIDP?: boolean;
	isGsmOnline?: boolean;
	lastGSMConnectionTime?: number;
	latitude?: number;
	longitude?: number;
	name?: string;
	objStatus?: ObjectStatusEnum;
	objType?: string;
	objectState: ObjectStateModel;
	owner?: string;
	ownerPassword?: string;
	ownersPhone1?: string;
	ownersPhone2?: string;
	region?: string;
	responsive?: string;
	rev?: string;
	street?: string;
	state?: string;
}
