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

/**
 * A reference to a teammate (admin, team, or bot)
 */
export interface TeammateReference {
    /** The type of teammate */
    type: TeammateReference.Type;
    /** The unique identifier of the teammate */
    id: number;
    /** The display name of the teammate */
    name: string;
    /** The email address of the teammate (optional for teams/bots) */
    email?: string;
}

export namespace TeammateReference {
    /** The type of teammate */
    export const Type = {
        Admin: "admin",
        Team: "team",
        Bot: "bot",
    } as const;
    export type Type = (typeof Type)[keyof typeof Type];
}
