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

/**
 * An external source for External Pages that you add to your Fin Content Library.
 */
export interface ContentImportSource {
    /** Always external_page */
    type: "content_import_source";
    /** The unique identifier for the content import source which is given by Intercom. */
    id: number;
    /** The time when the content import source was last synced. */
    last_synced_at: number;
    /** If you intend to create or update External Pages via the API, this should be set to `api`. */
    sync_behavior: ContentImportSource.SyncBehavior;
    /** The status of the content import source. */
    status: ContentImportSource.Status;
    /** The URL of the root of the external source. */
    url: string;
    /** The time when the content import source was created. */
    created_at: number;
    /** The time when the content import source was last updated. */
    updated_at: number;
}

export namespace ContentImportSource {
    /** If you intend to create or update External Pages via the API, this should be set to `api`. */
    export const SyncBehavior = {
        Api: "api",
        Automatic: "automatic",
        Manual: "manual",
    } as const;
    export type SyncBehavior = (typeof SyncBehavior)[keyof typeof SyncBehavior];
    /** The status of the content import source. */
    export const Status = {
        Active: "active",
        Deactivated: "deactivated",
    } as const;
    export type Status = (typeof Status)[keyof typeof Status];
}
