interface IFarmType { value: string; label: string; } interface ISizes { value: string; label: string; } interface IBlock { farm_block_aliases: string; code: string; name: string; granularity: 'square' | 'lines' | 'cells'; leftBays: number; rightBays: number; bedsPerAisle: number; cellsPerBed: number; numSides: number; centralAisleMeters: number; bedWidthMeters: number; bedLengthMeters: number; bedRoadSize: number; pointA: string; pointB: string; startPoint: string; rows?: number; cols?: number; draft?: boolean; version?: number | null; implemented?: number; maxTotalNaves?: number; maxTotalBeds?: number; } interface IFarmBlockStructure { id: string; blockName: string; draft: boolean; implemented: number; expired: number | null; maxTotalBeds: number; maxTotalNaves: number; sides: number; bedsNave: number; centralRoadSize: number; widthBed: number; lengthBed: number; bedRoadSize: number; created_at: string; updated_at: string; version?: number | null; } interface ICustomerCrop { crop_id: string; farm_crop_name: string; type: string; planting_date: string; farm_crop_aliases: string; expected_harvest_date: string; farm_crop_area: number; irrigation_type_id: string; } interface ICustomerIndicator { indicator_id: string; farm_indicator_name: string; crop_id: string; farm_color: string; farm_aliases?: string; } interface ICustomerVariety { variety_id: string; farm_variety_name: string; farm_variety_color: string; farm_variety_aliases: string; farm_variety_growth_cycle: number; disease_resistance: string; farm_variety_yield_potential: number; } interface ICustomerGeolocation { latitude: string | number; longitude: string | number; altitude?: string | number; } interface ICustomer { _id?: string; name: string; legal_name?: string; nit?: string; ica_registry?: string; municipality?: string; size: string; state_config: string; farm_type: string; localidad?: number; geolocation?: ICustomerGeolocation; mapId: string; total_area: number; productive_area?: number; blocks_count?: number; crews_count?: number; modules?: string[]; users?: string[]; active: boolean; owner_name?: string; group_id?: string | null; crops?: ICustomerCrop[]; varieties?: ICustomerVariety[]; indicators?: ICustomerIndicator[]; blocks: IBlock[]; weekly_start?: number; indicator_measurement?: string; severity_color_map?: string; } export type { ICustomer as I, IFarmBlockStructure as a, ICustomerCrop as b, IFarmType as c, ICustomerIndicator as d, ISizes as e, ICustomerVariety as f, IBlock as g, ICustomerGeolocation as h };