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

/**
 * A ticket state, used to define the state of a ticket.
 */
export interface TicketState {
    /** String representing the object's type. Always has the value `ticket_state`. */
    type?: string;
    /** The id of the ticket state */
    id?: string;
    /** The category of the ticket state */
    category?: TicketState.Category;
    /** The state the ticket is currently in, in a human readable form - visible in Intercom */
    internal_label?: string;
    /** The state the ticket is currently in, in a human readable form - visible to customers, in the messenger, email and tickets portal. */
    external_label?: string;
}

export namespace TicketState {
    /** The category of the ticket state */
    export const Category = {
        Submitted: "submitted",
        InProgress: "in_progress",
        WaitingOnCustomer: "waiting_on_customer",
        Resolved: "resolved",
    } as const;
    export type Category = (typeof Category)[keyof typeof Category];
}
