import type { File } from '../files/types'; import type { KnowledgeBase } from '../knowledgeBase/types'; export type KnowledgeBaseItem = { id: string; name: string; type: string; sourceId: string | null; url: string | null; accountId: string; knowledgeBaseId: string; fileId: string | null; createdAt: string; updatedAt: string; deletedAt: string | null; knowledgeBase?: KnowledgeBase; file?: File | null; }; export type KnowledgeBaseItemRelationships = 'knowledgeBase' | 'file'; export type CreateKnowledgeBaseItemPayload = { name: string; type: string; knowledgeBaseId: string; sourceId?: string; url?: string; fileId?: string; }; export type UpdateKnowledgeBaseItemPayload = { name?: string; type?: string; sourceId?: string | null; url?: string | null; fileId?: string | null; }; //# sourceMappingURL=types.d.ts.map