/** * Webitel API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 24.04.0 * Contact: support@webitel.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 { AxiosPromise, AxiosInstance } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { StorageCognitiveProfile } from '../api'; import { StorageCreateCognitiveProfileRequest } from '../api'; import { StorageListCognitiveProfile } from '../api'; import { StorageListCognitiveProfileVoices } from '../api'; import { StoragePatchCognitiveProfileRequest } from '../api'; import { StorageUpdateCognitiveProfileRequest } from '../api'; /** * CognitiveProfileServiceApi - axios parameter creator * @export */ export declare const CognitiveProfileServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {StorageCreateCognitiveProfileRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCognitiveProfile: (body: StorageCreateCognitiveProfileRequest, options?: any) => Promise; /** * * @summary Remove BackendProfile * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCognitiveProfile: (id: string, options?: any) => Promise; /** * * @param {string} id * @param {StoragePatchCognitiveProfileRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCognitiveProfile: (id: string, body: StoragePatchCognitiveProfileRequest, options?: any) => Promise; /** * * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readCognitiveProfile: (id: string, options?: any) => Promise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array<'DefaultService' | 'STT' | 'TTS'>} [service] * @param {boolean} [enabled] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchCognitiveProfile: (page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, service?: Array<"DefaultService" | "STT" | "TTS">, enabled?: boolean, options?: any) => Promise; /** * * @summary Search Voices * @param {string} id * @param {string} [q] * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchCognitiveProfileVoices: (id: string, q?: string, key?: string, options?: any) => Promise; /** * * @param {string} id * @param {StorageUpdateCognitiveProfileRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateCognitiveProfile: (id: string, body: StorageUpdateCognitiveProfileRequest, options?: any) => Promise; }; /** * CognitiveProfileServiceApi - functional programming interface * @export */ export declare const CognitiveProfileServiceApiFp: (configuration?: Configuration) => { /** * * @param {StorageCreateCognitiveProfileRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCognitiveProfile(body: StorageCreateCognitiveProfileRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Remove BackendProfile * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCognitiveProfile(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {StoragePatchCognitiveProfileRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCognitiveProfile(id: string, body: StoragePatchCognitiveProfileRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readCognitiveProfile(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array<'DefaultService' | 'STT' | 'TTS'>} [service] * @param {boolean} [enabled] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchCognitiveProfile(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, service?: Array<"DefaultService" | "STT" | "TTS">, enabled?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Search Voices * @param {string} id * @param {string} [q] * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchCognitiveProfileVoices(id: string, q?: string, key?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {StorageUpdateCognitiveProfileRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateCognitiveProfile(id: string, body: StorageUpdateCognitiveProfileRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * CognitiveProfileServiceApi - factory interface * @export */ export declare const CognitiveProfileServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {StorageCreateCognitiveProfileRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCognitiveProfile(body: StorageCreateCognitiveProfileRequest, options?: any): AxiosPromise; /** * * @summary Remove BackendProfile * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCognitiveProfile(id: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {StoragePatchCognitiveProfileRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCognitiveProfile(id: string, body: StoragePatchCognitiveProfileRequest, options?: any): AxiosPromise; /** * * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readCognitiveProfile(id: string, options?: any): AxiosPromise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array<'DefaultService' | 'STT' | 'TTS'>} [service] * @param {boolean} [enabled] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchCognitiveProfile(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, service?: Array<"DefaultService" | "STT" | "TTS">, enabled?: boolean, options?: any): AxiosPromise; /** * * @summary Search Voices * @param {string} id * @param {string} [q] * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchCognitiveProfileVoices(id: string, q?: string, key?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {StorageUpdateCognitiveProfileRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateCognitiveProfile(id: string, body: StorageUpdateCognitiveProfileRequest, options?: any): AxiosPromise; }; /** * CognitiveProfileServiceApi - object-oriented interface * @export * @class CognitiveProfileServiceApi * @extends {BaseAPI} */ export declare class CognitiveProfileServiceApi extends BaseAPI { /** * * @param {StorageCreateCognitiveProfileRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CognitiveProfileServiceApi */ createCognitiveProfile(body: StorageCreateCognitiveProfileRequest, options?: any): Promise>; /** * * @summary Remove BackendProfile * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CognitiveProfileServiceApi */ deleteCognitiveProfile(id: string, options?: any): Promise>; /** * * @param {string} id * @param {StoragePatchCognitiveProfileRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CognitiveProfileServiceApi */ patchCognitiveProfile(id: string, body: StoragePatchCognitiveProfileRequest, options?: any): Promise>; /** * * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CognitiveProfileServiceApi */ readCognitiveProfile(id: string, options?: any): Promise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array<'DefaultService' | 'STT' | 'TTS'>} [service] * @param {boolean} [enabled] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CognitiveProfileServiceApi */ searchCognitiveProfile(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, service?: Array<'DefaultService' | 'STT' | 'TTS'>, enabled?: boolean, options?: any): Promise>; /** * * @summary Search Voices * @param {string} id * @param {string} [q] * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CognitiveProfileServiceApi */ searchCognitiveProfileVoices(id: string, q?: string, key?: string, options?: any): Promise>; /** * * @param {string} id * @param {StorageUpdateCognitiveProfileRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CognitiveProfileServiceApi */ updateCognitiveProfile(id: string, body: StorageUpdateCognitiveProfileRequest, options?: any): Promise>; } //# sourceMappingURL=cognitive-profile-service-api.d.ts.map