import { LocationInstallerDto } from '../api'; import IBFile from './file'; export interface ILocationDevice { id?: string; symbol: string; name: string; events: { [key: string]: object; }; actions: { [key: string]: object; }; state?: object; } export interface ILocationDock { id?: string; typeId?: string | null; number?: string | null; snapInCode?: string; positionId?: string; devices?: ILocationDevice[]; } export interface ILocationRoom { id: string; databaseId?: string; name: string | null; typeId: string | null; docks?: Array | null; } export interface ILocationBcb { bcbId?: string | null; disconnected?: boolean; } export interface ILocationDetails { name?: string | null; lotNumber?: string | null; typeId?: string | null; status?: string | null; addressCity?: string | null; addressStreet?: string | null; addressHouseNumber?: string | null; addressPostalCode?: string | null; files?: IBFile[] | null; } export interface IOwnerDetails { firstName?: string | null; lastName?: string | null; phone?: string | null; email?: string | null; } export interface ILocationEdit { id?: string | null; details: ILocationDetails | null; owner: IOwnerDetails | null; insertDate?: string; bcbConnectedStatus: string; installers?: Array | null; assignedBcbs?: Array | null; rooms?: Array | null; docks?: any; deviceTypeConfigurationDefault?: null; connectionConfigurations?: any; }