/*
 * File: aiAnalysisAPI.ts
 * Description: API service for fetching AI analysis using apisauce
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */

import { create } from 'apisauce';

const api = create({
  baseURL: 'https://api.example.com', // TODO: Replace with actual endpoint
  timeout: 10000,
});

/**
 * getAnalysis - fetches AI analysis for a case
 */
export const aiAnalysisAPI = {
  getAnalysis: (caseId: string) => api.get(`/cases/${caseId}/ai-analysis`),
  // Add more endpoints as needed
};

/*
 * End of File: aiAnalysisAPI.ts
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */ 