import type * as ElevenLabs from "../index"; export interface CallView { intentId: string; leadId: string; /** `initial` for a lead's first call, else a `retry`, `callback` or `redirect`. */ intentType: ElevenLabs.CampaignConversationType; /** `1` for the first call and `+1` per retry of it; unset for callbacks, redirects and their retries. */ coldAttempt?: number; /** `submitted` calls have been handed off for dialing; `attention` calls are held back by an attention item. */ status: ElevenLabs.CallStatus; phoneNumber: string; /** When the call is due to be placed. */ scheduledTimeUnix: number; conversationId?: string; /** The call's final dialing status, set once it ends. */ outcome?: ElevenLabs.BatchCallRecipientStatus; /** How the call ended. */ callResult?: ElevenLabs.CallResult; /** When the call ended. */ outcomeAtUnix?: number; /** What the campaign did after the call, such as queue a retry or a callback, or finish the lead. */ decisionDisposition?: ElevenLabs.DecisionDisposition; /** Data collection results this call copied into the lead's dynamic variables for later calls, with secrets redacted. */ collectedDynamicVariables?: Record; /** The message's delivery; set on message campaigns. */ delivery?: ElevenLabs.LeadDeliveryView; }