import type * as ElevenLabs from "../index"; export interface RetryPolicy { /** How long to wait before a short retry. */ retryDelaySeconds?: number; /** Retries a calling window allows after a failed call. Once used up, the next retry waits for the following window, which starts afresh. */ maxShortRetries?: number; /** The most calls a lead gets, counting the first. */ maxTotalCalls?: number; /** The most callbacks to honor for one number. */ maxCallbacks?: number; /** The most times a lead follows a request to call another number. */ maxRedirects?: number; /** Where in a later calling window a pushed-back call lands: at its `start`, at a `random` time, or `rotate`d `rotate_step_seconds` past where the last call in that window failed. */ intervalPlacement?: ElevenLabs.IntervalPlacement; /** How far `rotate` placement moves each call. Only used by `rotate`. */ rotateStepSeconds?: number; /** Calls to one number that may fail in a row before the lead moves on to its next listed number, or ends when there is none. An answered call, or a redirect to a new number, restarts the count. Unset leaves only `max_total_calls`. */ maxConsecutiveFailuresPerNumber?: number; }