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

/**
 * Contains details about SLA applied by modern Operator workflows for conversation part type <code>conversation_sla_applied_by_rule</code>.
 */
export interface ConversationSlaAppliedByRule {
    /** Name of the SLA that was applied */
    sla_name?: string;
    /** Target times configured for the SLA (in seconds) */
    sla_definition?: ConversationSlaAppliedByRule.SlaDefinition;
}

export namespace ConversationSlaAppliedByRule {
    /**
     * Target times configured for the SLA (in seconds)
     */
    export interface SlaDefinition {
        /** First response time target in seconds */
        first_reply_time?: number;
        /** Next reply time target in seconds */
        next_reply_time?: number;
        /** Resolution time target in seconds */
        resolution_time?: number;
        /** Time to close target in seconds */
        time_to_close?: number;
    }
}
