import type { AssetType } from './enums'
import type { WeightedPreference } from './need'

export interface LatentNeed {
  id: string
  title: string
  tenantCompany?: string
  /** Nachfrager-Organisation — Empfänger eines Angebots (Demo-Default-Routing: org-mobimo). */
  tenantOrgId?: string
  assetType: AssetType
  desiredLocation: string
  sizeRange: { min: number; max: number }
  budgetRange?: { min?: number; max?: number }
  timing: string
  mustHaveCriteria: string[]
  weightedPreferences: WeightedPreference[]
  aiSummary?: string
  publicVisibility: boolean
  status: 'public' | 'paused' | 'expired'
  createdAt: string
}
