feat: audit logging, meeting prep AI, communication style settings
- New audit_logs table for compliance tracking - Audit logging service with helper functions - GET /api/audit-logs endpoint (admin only, with filters) - Communication style JSONB field on userProfiles - GET/PATCH /api/profile/communication-style endpoints - AI meeting prep: GET /api/clients/:id/meeting-prep - AI email generation now incorporates communication style - Password change audit logging - 56 passing tests (21 new)
This commit is contained in:
@@ -59,6 +59,7 @@ export const emailRoutes = new Elysia({ prefix: '/emails' })
|
||||
notes: client.notes || '',
|
||||
purpose: body.purpose,
|
||||
provider: body.provider,
|
||||
communicationStyle: profile?.communicationStyle as any,
|
||||
});
|
||||
console.log(`[${new Date().toISOString()}] Email content generated successfully`);
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user