From 170c3fa76a7e52fea2f400c96d9d2997e44c29ea Mon Sep 17 00:00:00 2001 From: fcarraUniSa Date: Tue, 17 Feb 2026 11:26:05 +0100 Subject: [PATCH] Update types.ts --- types.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types.ts b/types.ts index b8c7550..b70dd56 100644 --- a/types.ts +++ b/types.ts @@ -67,6 +67,7 @@ export interface Ticket { customerName: string; messages: ChatMessage[]; attachments: Attachment[]; // Added attachments + hasBeenAnalyzed?: boolean; // New flag to prevent duplicate AI analysis } export interface KBArticle { @@ -77,6 +78,7 @@ export interface KBArticle { type: 'article' | 'url'; url?: string; source?: 'manual' | 'ai'; // Track if created by AI for quotas + visibility: 'public' | 'internal'; // New visibility flag lastUpdated: string; } @@ -159,6 +161,10 @@ export interface AiConfig { model: string; baseUrl?: string; // For self-hosted/custom endpoints isActive: boolean; + // Customization fields + agentName?: string; + agentAvatar?: string; + customPrompt?: string; } export interface AppSettings {