import { AxiosInstance, AxiosRequestConfig } from 'axios'; import * as Models from './models/voice-ai'; /** * VoiceAi Service * Documentation for Voice AI API */ export declare class VoiceAi { private client; constructor(httpClient: AxiosInstance); /** * Create Agent * Create a new voice AI agent configuration and settings */ createAgent(requestBody: Models.AgentCreationRequestDTO, options?: AxiosRequestConfig): Promise; /** * List Agents * Retrieve a paginated list of agents for given location. */ getAgents(params: { page?: number; pageSize?: number; locationId: string; query?: string; }, options?: AxiosRequestConfig): Promise; /** * Patch Agent * Partially update an existing voice AI agent */ patchAgent(params: { agentId: string; locationId: string; }, requestBody: Models.PatchAgentDTO, options?: AxiosRequestConfig): Promise; /** * Get Agent * Retrieve detailed configuration and settings for a specific voice AI agent */ getAgent(params: { agentId: string; locationId: string; }, options?: AxiosRequestConfig): Promise; /** * Delete Agent * Delete a voice AI agent and all its configurations */ deleteAgent(params: { agentId: string; locationId: string; }, options?: AxiosRequestConfig): Promise; /** * List Call Logs * Returns call logs for Voice AI agents scoped to a location. Supports filtering by agent, contact, call type, action types, and date range (interpreted in the provided IANA timezone). Also supports sorting and 1-based pagination. */ getCallLogs(params: { locationId: string; agentId?: string; contactId?: string; callType?: string; startDate?: number; endDate?: number; actionType?: string; sortBy?: string; sort?: string; page?: number; pageSize?: number; }, options?: AxiosRequestConfig): Promise; /** * Get Call Log * Returns a call log by callId. */ getCallLog(params: { callId: string; locationId: string; }, options?: AxiosRequestConfig): Promise; /** * Create Agent Action * Create a new action for a voice AI agent. Actions define specific behaviors and capabilities for the agent during calls. */ createAction(requestBody: Models.CreateSingleActionDTO, options?: AxiosRequestConfig): Promise; /** * Update Agent Action * Update an existing action for a voice AI agent. Modifies the behavior and configuration of an agent action. */ updateAction(params: { actionId: string; }, requestBody: Models.UpdateSingleActionDTO, options?: AxiosRequestConfig): Promise; /** * Get Agent Action * Retrieve details of a specific action by its ID. Returns the action configuration including actionParameters. */ getAction(params: { actionId: string; locationId: string; }, options?: AxiosRequestConfig): Promise; /** * Delete Agent Action * Delete an existing action from a voice AI agent. This permanently removes the action and its configuration. */ deleteAction(params: { actionId: string; locationId: string; agentId: string; }, options?: AxiosRequestConfig): Promise; } export default VoiceAi; //# sourceMappingURL=voice-ai.d.ts.map