import { BatchDetails, BatchResponse, BatchStopResponse, BatchSummary, GetBatchCallSummaryRequestData, GetBatchDetailsRequestData, StartBatchRequestData, StopBatchProcessingRequestData } from '../../../models/v2'; import { VoiceV2DomainApi } from '../voice-v2-domain-api'; import { LazyVoiceV2ApiClient } from '../voice-v2-service'; export declare class BatchesApi extends VoiceV2DomainApi { /** @internal */ constructor(lazyClient: LazyVoiceV2ApiClient); /** * Create and initiate a batch of outbound call sessions * Create a batch of outbound call sessions associated to the project's default service or to the * service specified in the `serviceId` query parameter. The request body contains a single set of SVAML commands * describing the call flow, together with one `parameters` entry per call session to queue. Placeholders in the * commands (prefixed with `@`) are substituted with the values of the matching `parameters` entry. * Queued sessions are initiated asynchronously, paced according to `batchOptions`. * @param { StartBatchRequestData } data - The data to provide to the API call. */ start(data: StartBatchRequestData): Promise; /** * Get a batch summary * Retrieve a summary of a batch call operation, including counts of queued, in-progress, * completed, and expired call sessions. * @param { GetBatchCallSummaryRequestData } data - The data to provide to the API call. */ get(data: GetBatchCallSummaryRequestData): Promise; /** * Get batch details * Retrieve per-session details for a batch, including the current state of each call session in the batch. Use this endpoint when individual session-level visibility is needed (for example, to inspect which sessions are `QUEUED`, `IN_PROGRESS` or `COMPLETED`). `EXPIRED` sessions are never returned because they were never initiated. * @param { GetBatchDetailsRequestData } data - The data to provide to the API call. */ getDetails(data: GetBatchDetailsRequestData): Promise; /** * Stop processing a batch of call sessions * Stop processing a batch of call sessions. This will prevent any queued calls in the batch from being initiated. Calls that are already in progress will not be affected and will continue until completion. * Returns HTTP 202 with `{ result: 'STOP_REQUESTED' }` when the cancellation request is accepted; it does not delete the batch or hang up in-progress calls. * @param { StopBatchProcessingRequestData } data - The data to provide to the API call. */ stop(data: StopBatchProcessingRequestData): Promise; }