Update types.ts
This commit is contained in:
6
types.ts
6
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 {
|
||||
|
||||
Reference in New Issue
Block a user