import { IAction, IActionId, IActionParams, IActionReadParams, IActionFilter } from "./actions"; export { IAction, IActionId, IActionParams, IActionReadParams, IActionFilter }; export type IOFAPIResponse = { status: { code: number; errorcode: number; }; response: { results: IOFActionResult[]; }; }; export type IOFActionResult = { actionid: string; resourceid: string; resourcetype: string; identifier: string; data: { records: TRecord[]; }; status: { code: string; message: string; }; }; export type IRecord = { id: number; type: Name; elements: TRecord[]; } export type IEstateRecord = IRecord<'estate', { [k: string]: unknown; }>; export type IParkingLot = { Count: string; Price: number; MarketingType: string; } export type IFileDescriptor = { estateid: string; type: string; url: string; title: string; text: string; originalname: string; modified: number; estateMainId: string; } export type IEstateFilesRecord = IRecord<'files', IFileDescriptor>;