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

/**
 * The author that wrote or triggered the part. Can be a bot, admin, team or user.
 */
export interface TicketPartAuthor {
    /** The type of the author */
    type?: TicketPartAuthor.Type;
    /** The id of the author */
    id?: string;
    /** The name of the author */
    name?: string;
    /** The email of the author */
    email?: string;
}

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