feat: integrate hospital management module with advanced UI styling and analytics components

This commit is contained in:
2026-05-11 11:03:52 +05:30
parent 8dc773d205
commit a1930c1bab
36 changed files with 10084 additions and 1844 deletions

View File

@@ -21,6 +21,10 @@ export const authApi = {
return apiClient.post('/v1/auth/mfa/totp/verify', { totp_code: totpCode }, { token });
},
getProfile: async (token: string): Promise<AuthUser> => {
return apiClient.get('/v1/auth/me', { token });
},
getAuditLogs: async (token: string, limit = 20, offset = 0) => {
return apiClient.get(`/v1/auth/audit-logs?limit=${limit}&offset=${offset}`, { token });
},