This commit is contained in:
pradeepkumar
2026-01-24 23:52:09 +05:30
parent ec8116b886
commit aca4cda831
2 changed files with 30 additions and 57 deletions

View File

@@ -108,6 +108,11 @@ class AgentsService {
);
return response.data.data;
}
async getAgentTypes(): Promise<AgentType[]> {
const response = await api.get<ApiResponse<AgentType[]>>('/agent-types');
return response.data.data;
}
}
export const agentsService = new AgentsService();