// This file was auto-generated by Fern from our API Definition.

/**
 * External pages that you have added to your Fin Content Library.
 */
export interface ExternalPage {
    /** Always external_page */
    type: "external_page";
    /** The unique identifier for the external page which is given by Intercom. */
    id: string;
    /** The title of the external page. */
    title: string;
    /** The body of the external page in HTML. */
    html: string;
    /** The URL of the external page. This will be used by Fin to link end users to the page it based its answer on. */
    url?: string;
    /** Whether the external page should be used to answer questions by AI Agent. */
    ai_agent_availability: boolean;
    /** Whether the external page should be used to answer questions by AI Copilot. */
    ai_copilot_availability: boolean;
    /** Deprecated. Use ai_agent_availability and ai_copilot_availability instead. */
    fin_availability?: boolean;
    /** Always en */
    locale: "en";
    /** The unique identifier for the source of the external page which was given by Intercom. Every external page must be associated with a Content Import Source which represents the place it comes from and from which it inherits a default audience (configured in the UI). For a new source, make a POST request to the Content Import Source endpoint and an ID for the source will be returned in the response. */
    source_id: number;
    /** The identifier for the external page which was given by the source. Must be unique for the source. */
    external_id: string;
    /** The time when the external page was created. */
    created_at: number;
    /** The time when the external page was last updated. */
    updated_at: number;
    /** The time when the external page was last ingested. */
    last_ingested_at: number;
}
