Update types.ts

This commit is contained in:
fcarraUniSa
2026-02-17 11:26:05 +01:00
committed by GitHub
parent 2bd75c4491
commit 170c3fa76a

View File

@@ -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 {