/** * 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 { ConfigServicePatchConfigBody } from '../api'; import { ConfigServiceUpdateConfigBody } from '../api'; import { LoggerConfig } from '../api'; import { LoggerConfigs } from '../api'; import { LoggerCreateConfigRequest } from '../api'; import { LoggerSystemObjects } from '../api'; /** * ConfigServiceApi - axios parameter creator * @export */ export declare const ConfigServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {LoggerCreateConfigRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createConfig: (body: LoggerCreateConfigRequest, options?: any) => Promise; /** * * @param {number} configId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteConfig: (configId: number, options?: any) => Promise; /** * * @param {number} configId * @param {ConfigServicePatchConfigBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchConfig: (configId: number, body: ConfigServicePatchConfigBody, options?: any) => Promise; /** * * @param {number} configId int32 domainId = 8; * @param {*} [options] Override http request option. * @throws {RequiredError} */ readConfig: (configId: number, options?: any) => Promise; /** * * @param {boolean} [includeExisting] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readSystemObjects: (includeExisting?: boolean, options?: any) => Promise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array<'cc_queue' | 'schema' | 'users' | 'devices' | 'calendars' | 'cc_list' | 'cc_team' | 'cc_agent' | 'cc_resource' | 'cc_resource_group' | 'chat_bots' | 'cases' | 'contacts' | 'cc_list_number' | 'case_comments' | 'record_file'>} [object] NOT USED * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchConfig: (page?: number, size?: number, q?: string, sort?: string, fields?: Array, object?: Array<"cc_queue" | "schema" | "users" | "devices" | "calendars" | "cc_list" | "cc_team" | "cc_agent" | "cc_resource" | "cc_resource_group" | "chat_bots" | "cases" | "contacts" | "cc_list_number" | "case_comments" | "record_file">, options?: any) => Promise; /** * * @param {number} configId * @param {ConfigServiceUpdateConfigBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateConfig: (configId: number, body: ConfigServiceUpdateConfigBody, options?: any) => Promise; }; /** * ConfigServiceApi - functional programming interface * @export */ export declare const ConfigServiceApiFp: (configuration?: Configuration) => { /** * * @param {LoggerCreateConfigRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createConfig(body: LoggerCreateConfigRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} configId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteConfig(configId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} configId * @param {ConfigServicePatchConfigBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchConfig(configId: number, body: ConfigServicePatchConfigBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} configId int32 domainId = 8; * @param {*} [options] Override http request option. * @throws {RequiredError} */ readConfig(configId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {boolean} [includeExisting] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readSystemObjects(includeExisting?: boolean, 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<'cc_queue' | 'schema' | 'users' | 'devices' | 'calendars' | 'cc_list' | 'cc_team' | 'cc_agent' | 'cc_resource' | 'cc_resource_group' | 'chat_bots' | 'cases' | 'contacts' | 'cc_list_number' | 'case_comments' | 'record_file'>} [object] NOT USED * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchConfig(page?: number, size?: number, q?: string, sort?: string, fields?: Array, object?: Array<"cc_queue" | "schema" | "users" | "devices" | "calendars" | "cc_list" | "cc_team" | "cc_agent" | "cc_resource" | "cc_resource_group" | "chat_bots" | "cases" | "contacts" | "cc_list_number" | "case_comments" | "record_file">, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} configId * @param {ConfigServiceUpdateConfigBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateConfig(configId: number, body: ConfigServiceUpdateConfigBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ConfigServiceApi - factory interface * @export */ export declare const ConfigServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {LoggerCreateConfigRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createConfig(body: LoggerCreateConfigRequest, options?: any): AxiosPromise; /** * * @param {number} configId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteConfig(configId: number, options?: any): AxiosPromise; /** * * @param {number} configId * @param {ConfigServicePatchConfigBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchConfig(configId: number, body: ConfigServicePatchConfigBody, options?: any): AxiosPromise; /** * * @param {number} configId int32 domainId = 8; * @param {*} [options] Override http request option. * @throws {RequiredError} */ readConfig(configId: number, options?: any): AxiosPromise; /** * * @param {boolean} [includeExisting] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readSystemObjects(includeExisting?: boolean, options?: any): AxiosPromise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array<'cc_queue' | 'schema' | 'users' | 'devices' | 'calendars' | 'cc_list' | 'cc_team' | 'cc_agent' | 'cc_resource' | 'cc_resource_group' | 'chat_bots' | 'cases' | 'contacts' | 'cc_list_number' | 'case_comments' | 'record_file'>} [object] NOT USED * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchConfig(page?: number, size?: number, q?: string, sort?: string, fields?: Array, object?: Array<"cc_queue" | "schema" | "users" | "devices" | "calendars" | "cc_list" | "cc_team" | "cc_agent" | "cc_resource" | "cc_resource_group" | "chat_bots" | "cases" | "contacts" | "cc_list_number" | "case_comments" | "record_file">, options?: any): AxiosPromise; /** * * @param {number} configId * @param {ConfigServiceUpdateConfigBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateConfig(configId: number, body: ConfigServiceUpdateConfigBody, options?: any): AxiosPromise; }; /** * ConfigServiceApi - object-oriented interface * @export * @class ConfigServiceApi * @extends {BaseAPI} */ export declare class ConfigServiceApi extends BaseAPI { /** * * @param {LoggerCreateConfigRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigServiceApi */ createConfig(body: LoggerCreateConfigRequest, options?: any): Promise>; /** * * @param {number} configId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigServiceApi */ deleteConfig(configId: number, options?: any): Promise>; /** * * @param {number} configId * @param {ConfigServicePatchConfigBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigServiceApi */ patchConfig(configId: number, body: ConfigServicePatchConfigBody, options?: any): Promise>; /** * * @param {number} configId int32 domainId = 8; * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigServiceApi */ readConfig(configId: number, options?: any): Promise>; /** * * @param {boolean} [includeExisting] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigServiceApi */ readSystemObjects(includeExisting?: boolean, options?: any): Promise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array<'cc_queue' | 'schema' | 'users' | 'devices' | 'calendars' | 'cc_list' | 'cc_team' | 'cc_agent' | 'cc_resource' | 'cc_resource_group' | 'chat_bots' | 'cases' | 'contacts' | 'cc_list_number' | 'case_comments' | 'record_file'>} [object] NOT USED * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigServiceApi */ searchConfig(page?: number, size?: number, q?: string, sort?: string, fields?: Array, object?: Array<'cc_queue' | 'schema' | 'users' | 'devices' | 'calendars' | 'cc_list' | 'cc_team' | 'cc_agent' | 'cc_resource' | 'cc_resource_group' | 'chat_bots' | 'cases' | 'contacts' | 'cc_list_number' | 'case_comments' | 'record_file'>, options?: any): Promise>; /** * * @param {number} configId * @param {ConfigServiceUpdateConfigBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigServiceApi */ updateConfig(configId: number, body: ConfigServiceUpdateConfigBody, options?: any): Promise>; } //# sourceMappingURL=config-service-api.d.ts.map