/** * 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 { EngineAgentSkill } from '../api'; import { EngineAgentSkillServiceCreateAgentSkillBody } from '../api'; import { EngineAgentSkillServiceCreateAgentSkillsBody } from '../api'; import { EngineAgentSkillServicePatchAgentSkillBody } from '../api'; import { EngineAgentSkillServicePatchAgentSkillsBody } from '../api'; import { EngineAgentSkillServiceUpdateAgentSkillBody } from '../api'; import { EngineCreateAgentSkillsResponse } from '../api'; import { EngineListAgentSkill } from '../api'; import { EngineListSkill } from '../api'; /** * AgentSkillServiceApi - axios parameter creator * @export */ export declare const AgentSkillServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Create AgentSkill * @param {string} agentId * @param {EngineAgentSkillServiceCreateAgentSkillBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAgentSkill: (agentId: string, body: EngineAgentSkillServiceCreateAgentSkillBody, options?: any) => Promise; /** * * @param {string} agentId * @param {EngineAgentSkillServiceCreateAgentSkillsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAgentSkills: (agentId: string, body: EngineAgentSkillServiceCreateAgentSkillsBody, options?: any) => Promise; /** * * @summary Remove AgentSkill * @param {string} agentId * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAgentSkill: (agentId: string, id: string, domainId?: string, options?: any) => Promise; /** * * @param {string} agentId * @param {Array} [id] * @param {Array} [skillId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAgentSkills: (agentId: string, id?: Array, skillId?: Array, options?: any) => Promise; /** * * @param {string} agentId * @param {string} id * @param {EngineAgentSkillServicePatchAgentSkillBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchAgentSkill: (agentId: string, id: string, body: EngineAgentSkillServicePatchAgentSkillBody, options?: any) => Promise; /** * * @param {string} agentId * @param {EngineAgentSkillServicePatchAgentSkillsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchAgentSkills: (agentId: string, body: EngineAgentSkillServicePatchAgentSkillsBody, options?: any) => Promise; /** * * @summary AgentSkill item * @param {string} agentId * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readAgentSkill: (agentId: string, id: string, domainId?: string, options?: any) => Promise; /** * * @summary List of AgentSkill * @param {string} agentId * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array} [skillId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchAgentSkill: (agentId: string, page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, skillId?: Array, options?: any) => Promise; /** * * @summary SearchLookupAgentNotExistsSkill * @param {string} agentId * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchLookupAgentNotExistsSkill: (agentId: string, page?: number, size?: number, q?: string, domainId?: string, options?: any) => Promise; /** * * @summary Update AgentSkill * @param {string} agentId * @param {string} id * @param {EngineAgentSkillServiceUpdateAgentSkillBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAgentSkill: (agentId: string, id: string, body: EngineAgentSkillServiceUpdateAgentSkillBody, options?: any) => Promise; }; /** * AgentSkillServiceApi - functional programming interface * @export */ export declare const AgentSkillServiceApiFp: (configuration?: Configuration) => { /** * * @summary Create AgentSkill * @param {string} agentId * @param {EngineAgentSkillServiceCreateAgentSkillBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAgentSkill(agentId: string, body: EngineAgentSkillServiceCreateAgentSkillBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} agentId * @param {EngineAgentSkillServiceCreateAgentSkillsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAgentSkills(agentId: string, body: EngineAgentSkillServiceCreateAgentSkillsBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Remove AgentSkill * @param {string} agentId * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAgentSkill(agentId: string, id: string, domainId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} agentId * @param {Array} [id] * @param {Array} [skillId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAgentSkills(agentId: string, id?: Array, skillId?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} agentId * @param {string} id * @param {EngineAgentSkillServicePatchAgentSkillBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchAgentSkill(agentId: string, id: string, body: EngineAgentSkillServicePatchAgentSkillBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} agentId * @param {EngineAgentSkillServicePatchAgentSkillsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchAgentSkills(agentId: string, body: EngineAgentSkillServicePatchAgentSkillsBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary AgentSkill item * @param {string} agentId * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readAgentSkill(agentId: string, id: string, domainId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary List of AgentSkill * @param {string} agentId * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array} [skillId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchAgentSkill(agentId: string, page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, skillId?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary SearchLookupAgentNotExistsSkill * @param {string} agentId * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchLookupAgentNotExistsSkill(agentId: string, page?: number, size?: number, q?: string, domainId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Update AgentSkill * @param {string} agentId * @param {string} id * @param {EngineAgentSkillServiceUpdateAgentSkillBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAgentSkill(agentId: string, id: string, body: EngineAgentSkillServiceUpdateAgentSkillBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AgentSkillServiceApi - factory interface * @export */ export declare const AgentSkillServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Create AgentSkill * @param {string} agentId * @param {EngineAgentSkillServiceCreateAgentSkillBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAgentSkill(agentId: string, body: EngineAgentSkillServiceCreateAgentSkillBody, options?: any): AxiosPromise; /** * * @param {string} agentId * @param {EngineAgentSkillServiceCreateAgentSkillsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAgentSkills(agentId: string, body: EngineAgentSkillServiceCreateAgentSkillsBody, options?: any): AxiosPromise; /** * * @summary Remove AgentSkill * @param {string} agentId * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAgentSkill(agentId: string, id: string, domainId?: string, options?: any): AxiosPromise; /** * * @param {string} agentId * @param {Array} [id] * @param {Array} [skillId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAgentSkills(agentId: string, id?: Array, skillId?: Array, options?: any): AxiosPromise; /** * * @param {string} agentId * @param {string} id * @param {EngineAgentSkillServicePatchAgentSkillBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchAgentSkill(agentId: string, id: string, body: EngineAgentSkillServicePatchAgentSkillBody, options?: any): AxiosPromise; /** * * @param {string} agentId * @param {EngineAgentSkillServicePatchAgentSkillsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchAgentSkills(agentId: string, body: EngineAgentSkillServicePatchAgentSkillsBody, options?: any): AxiosPromise; /** * * @summary AgentSkill item * @param {string} agentId * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readAgentSkill(agentId: string, id: string, domainId?: string, options?: any): AxiosPromise; /** * * @summary List of AgentSkill * @param {string} agentId * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array} [skillId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchAgentSkill(agentId: string, page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, skillId?: Array, options?: any): AxiosPromise; /** * * @summary SearchLookupAgentNotExistsSkill * @param {string} agentId * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchLookupAgentNotExistsSkill(agentId: string, page?: number, size?: number, q?: string, domainId?: string, options?: any): AxiosPromise; /** * * @summary Update AgentSkill * @param {string} agentId * @param {string} id * @param {EngineAgentSkillServiceUpdateAgentSkillBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAgentSkill(agentId: string, id: string, body: EngineAgentSkillServiceUpdateAgentSkillBody, options?: any): AxiosPromise; }; /** * AgentSkillServiceApi - object-oriented interface * @export * @class AgentSkillServiceApi * @extends {BaseAPI} */ export declare class AgentSkillServiceApi extends BaseAPI { /** * * @summary Create AgentSkill * @param {string} agentId * @param {EngineAgentSkillServiceCreateAgentSkillBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AgentSkillServiceApi */ createAgentSkill(agentId: string, body: EngineAgentSkillServiceCreateAgentSkillBody, options?: any): Promise>; /** * * @param {string} agentId * @param {EngineAgentSkillServiceCreateAgentSkillsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AgentSkillServiceApi */ createAgentSkills(agentId: string, body: EngineAgentSkillServiceCreateAgentSkillsBody, options?: any): Promise>; /** * * @summary Remove AgentSkill * @param {string} agentId * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AgentSkillServiceApi */ deleteAgentSkill(agentId: string, id: string, domainId?: string, options?: any): Promise>; /** * * @param {string} agentId * @param {Array} [id] * @param {Array} [skillId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AgentSkillServiceApi */ deleteAgentSkills(agentId: string, id?: Array, skillId?: Array, options?: any): Promise>; /** * * @param {string} agentId * @param {string} id * @param {EngineAgentSkillServicePatchAgentSkillBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AgentSkillServiceApi */ patchAgentSkill(agentId: string, id: string, body: EngineAgentSkillServicePatchAgentSkillBody, options?: any): Promise>; /** * * @param {string} agentId * @param {EngineAgentSkillServicePatchAgentSkillsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AgentSkillServiceApi */ patchAgentSkills(agentId: string, body: EngineAgentSkillServicePatchAgentSkillsBody, options?: any): Promise>; /** * * @summary AgentSkill item * @param {string} agentId * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AgentSkillServiceApi */ readAgentSkill(agentId: string, id: string, domainId?: string, options?: any): Promise>; /** * * @summary List of AgentSkill * @param {string} agentId * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array} [skillId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AgentSkillServiceApi */ searchAgentSkill(agentId: string, page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, skillId?: Array, options?: any): Promise>; /** * * @summary SearchLookupAgentNotExistsSkill * @param {string} agentId * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AgentSkillServiceApi */ searchLookupAgentNotExistsSkill(agentId: string, page?: number, size?: number, q?: string, domainId?: string, options?: any): Promise>; /** * * @summary Update AgentSkill * @param {string} agentId * @param {string} id * @param {EngineAgentSkillServiceUpdateAgentSkillBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AgentSkillServiceApi */ updateAgentSkill(agentId: string, id: string, body: EngineAgentSkillServiceUpdateAgentSkillBody, options?: any): Promise>; } //# sourceMappingURL=agent-skill-service-api.d.ts.map