export interface AuditLogUser { id: string; email: string; first_name: string; last_name: string; } export interface AuditLogTenant { id: string; name: string; } export interface AuditLog { id: string; tenant_id: string | null; user_id: string | null; action: string; resource_type: string; resource_id: string | null; request_method: string | null; request_path: string | null; request_body: Record | null; response_status: number | null; response_body: Record | null; ip_address: string | null; user_agent: string | null; correlation_id: string | null; changes: Record | null; metadata: Record | null; created_at: string; updated_at: string; user: AuditLogUser | null; tenant: AuditLogTenant | null; } export interface Pagination { page: number; limit: number; total: number; totalPages: number; hasMore: boolean; } export interface AuditLogsResponse { success: boolean; data: AuditLog[]; pagination: Pagination; } export interface GetAuditLogResponse { success: boolean; data: AuditLog; }