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

/**
 * @example
 *     {
 *         source_id: "source_id",
 *         sync_behavior: "api",
 *         url: "https://www.example.com"
 *     }
 */
export interface UpdateContentImportSourceRequest {
    /** The unique identifier for the content import source which is given by Intercom. */
    source_id: string;
    /** If you intend to create or update External Pages via the API, this should be set to `api`. You can not change the value to or from api. */
    sync_behavior: UpdateContentImportSourceRequest.SyncBehavior;
    /** The status of the content import source. */
    status?: UpdateContentImportSourceRequest.Status;
    /** The URL of the content import source. This may only be different from the existing value if the sync behavior is API. */
    url: string;
}

export namespace UpdateContentImportSourceRequest {
    /** If you intend to create or update External Pages via the API, this should be set to `api`. You can not change the value to or from api. */
    export const SyncBehavior = {
        Api: "api",
        Automated: "automated",
        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];
}
