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

export interface CustomChannelContact {
    /** Type of contact, must be "user" or "lead". */
    type: CustomChannelContact.Type;
    /** External identifier for the contact. Intercom will take care of the mapping of your external_id with our internal ones so you don't have to worry about it. */
    external_id: string;
    /** Name of the contact. Required for user type. */
    name?: string;
    /** Email address of the contact. Required for user type. */
    email?: string;
}

export namespace CustomChannelContact {
    /** Type of contact, must be "user" or "lead". */
    export const Type = {
        User: "user",
        Lead: "lead",
    } as const;
    export type Type = (typeof Type)[keyof typeof Type];
}
