import request from '@/utils/request.js'

// ─── Report Dashboards ───────────────────────────────────────────────────────
export const reportApi = {
  overview: (params) => request.get('/report/overview', { params }),
  revenue: (params) => request.get('/report/revenue', { params }),
  occupancy: (params) => request.get('/report/occupancy', { params }),
  crmConversion: (params) => request.get('/report/crm-conversion', { params })
}

// ─── Report Exports ──────────────────────────────────────────────────────────
export const reportExportApi = {
  getList: (params) => request.get('/report/exports', { params }),
  create: (data) => request.post('/report/exports', data)
}
