import { apiClient } from '../apiClient'

export default {
  chat: (data) => apiClient('/api/sql-chat', { method: 'POST', data }),
  getStatus: () => apiClient('/api/sql-chat/status'),
  dashboard: (data) => apiClient('/api/sql-dashboard', { method: 'POST', data }),
  v2Chat: (data) => apiClient('/api/text-to-sql/v2/chat', { method: 'POST', data })
}
