import type * as ElevenLabs from "../index"; /** * A file or web page the receptionists learn from. */ export interface ReceptionKnowledgeSource { /** Whether the source is an uploaded file or a web page or site. */ sourceType?: ElevenLabs.KnowledgeSourceType; /** The page or site URL for 'url' sources. */ sourceUrl?: string; /** When the URL was last read, as a Unix timestamp in seconds. */ lastScrapedAtUnix?: number; /** The uploaded file's name for 'file' sources; empty for URLs. */ originalFilename?: string; /** The uploaded file's MIME type; empty for URLs. */ contentType?: string; /** The uploaded file's size in bytes; 0 for URLs. */ fileSizeBytes?: number; /** Where processing stands: 'processing', 'ready' or 'error'. */ status?: ElevenLabs.KnowledgeSourceStatus; /** Why processing failed, when status is 'error'. */ errorMessage?: string; /** Machine-readable cause of the failure, when status is 'error'. */ failureReason?: ElevenLabs.IngestFailure; /** Whether the whole site was crawled rather than the single page at source_url. */ crawlEntireSite?: boolean; /** How many pages were read for 'url' sources. */ scrapedPagesCount?: number; /** A short plain-text preview of the content. */ contentPreview?: string; /** When processing started, as a Unix timestamp in seconds. */ processingStartedAtUnix?: number; /** The knowledge source's ID. */ id: string; /** When this was created, as a Unix timestamp in seconds. */ createdAtUnix?: ElevenLabs.UnixTimestamp; /** When this was last updated, as a Unix timestamp in seconds. */ updatedAtUnix?: ElevenLabs.UnixTimestamp; }