/** * Bandwidth * Bandwidth\'s Communication APIs * * The version of the OpenAPI document: 1.0.0 * Contact: letstalk@bandwidth.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { CallTranscriptionMetadata } from '../models'; import type { CallTranscriptionResponse } from '../models'; /** * TranscriptionsApi - axios parameter creator */ export declare const TranscriptionsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours. * @summary Delete Real-time Transcription * @param {string} accountId Your Bandwidth Account ID. * @param {string} callId Programmable Voice API Call ID. * @param {string} transcriptionId Programmable Voice API Transcription ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteRealTimeTranscription: (accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig) => Promise; /** * Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). * @summary Get Real-time Transcription * @param {string} accountId Your Bandwidth Account ID. * @param {string} callId Programmable Voice API Call ID. * @param {string} transcriptionId Programmable Voice API Transcription ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRealTimeTranscription: (accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig) => Promise; /** * List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). * @summary List Real-time Transcriptions * @param {string} accountId Your Bandwidth Account ID. * @param {string} callId Programmable Voice API Call ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRealTimeTranscriptions: (accountId: string, callId: string, options?: RawAxiosRequestConfig) => Promise; }; /** * TranscriptionsApi - functional programming interface */ export declare const TranscriptionsApiFp: (configuration?: Configuration) => { /** * Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours. * @summary Delete Real-time Transcription * @param {string} accountId Your Bandwidth Account ID. * @param {string} callId Programmable Voice API Call ID. * @param {string} transcriptionId Programmable Voice API Transcription ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). * @summary Get Real-time Transcription * @param {string} accountId Your Bandwidth Account ID. * @param {string} callId Programmable Voice API Call ID. * @param {string} transcriptionId Programmable Voice API Transcription ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). * @summary List Real-time Transcriptions * @param {string} accountId Your Bandwidth Account ID. * @param {string} callId Programmable Voice API Call ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRealTimeTranscriptions(accountId: string, callId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; }; /** * TranscriptionsApi - factory interface */ export declare const TranscriptionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours. * @summary Delete Real-time Transcription * @param {string} accountId Your Bandwidth Account ID. * @param {string} callId Programmable Voice API Call ID. * @param {string} transcriptionId Programmable Voice API Transcription ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). * @summary Get Real-time Transcription * @param {string} accountId Your Bandwidth Account ID. * @param {string} callId Programmable Voice API Call ID. * @param {string} transcriptionId Programmable Voice API Transcription ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). * @summary List Real-time Transcriptions * @param {string} accountId Your Bandwidth Account ID. * @param {string} callId Programmable Voice API Call ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRealTimeTranscriptions(accountId: string, callId: string, options?: RawAxiosRequestConfig): AxiosPromise>; }; /** * TranscriptionsApi - object-oriented interface */ export declare class TranscriptionsApi extends BaseAPI { /** * Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours. * @summary Delete Real-time Transcription * @param {string} accountId Your Bandwidth Account ID. * @param {string} callId Programmable Voice API Call ID. * @param {string} transcriptionId Programmable Voice API Transcription ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise>; /** * Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). * @summary Get Real-time Transcription * @param {string} accountId Your Bandwidth Account ID. * @param {string} callId Programmable Voice API Call ID. * @param {string} transcriptionId Programmable Voice API Transcription ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise>; /** * List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). * @summary List Real-time Transcriptions * @param {string} accountId Your Bandwidth Account ID. * @param {string} callId Programmable Voice API Call ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRealTimeTranscriptions(accountId: string, callId: string, options?: RawAxiosRequestConfig): Promise>; }