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

import type * as Intercom from "../../../index.js";

/**
 * A pause or resume event for a conversation
 */
export interface HandlingEvent {
    teammate: Intercom.unstable.TeammateReference;
    /** The type of handling event */
    type: HandlingEvent.Type;
    /** ISO8601 timestamp when the event occurred */
    timestamp: string;
    /** Optional reason for the event (e.g., "Paused", "Away") */
    reason?: string;
}

export namespace HandlingEvent {
    /** The type of handling event */
    export const Type = {
        Paused: "paused",
        Resumed: "resumed",
    } as const;
    export type Type = (typeof Type)[keyof typeof Type];
}
