/** * 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 { EngineListTeamHook } from '../api'; import { EngineTeamHook } from '../api'; import { EngineTeamHookServiceCreateTeamHookBody } from '../api'; import { EngineTeamHookServicePatchTeamHookBody } from '../api'; import { EngineTeamHookServiceUpdateTeamHookBody } from '../api'; /** * TeamHookServiceApi - axios parameter creator * @export */ export declare const TeamHookServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {string} teamId * @param {EngineTeamHookServiceCreateTeamHookBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createTeamHook: (teamId: string, body: EngineTeamHookServiceCreateTeamHookBody, options?: any) => Promise; /** * * @param {string} teamId * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteTeamHook: (teamId: string, id: number, options?: any) => Promise; /** * * @param {string} teamId * @param {number} id * @param {EngineTeamHookServicePatchTeamHookBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchTeamHook: (teamId: string, id: number, body: EngineTeamHookServicePatchTeamHookBody, options?: any) => Promise; /** * * @param {string} teamId * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readTeamHook: (teamId: string, id: number, options?: any) => Promise; /** * * @param {string} teamId * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array} [schemaId] * @param {Array<'teamHookEventUndefined' | 'agent_status'>} [event] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchTeamHook: (teamId: string, page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, schemaId?: Array, event?: Array<"teamHookEventUndefined" | "agent_status">, options?: any) => Promise; /** * * @param {string} teamId * @param {number} id * @param {EngineTeamHookServiceUpdateTeamHookBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateTeamHook: (teamId: string, id: number, body: EngineTeamHookServiceUpdateTeamHookBody, options?: any) => Promise; }; /** * TeamHookServiceApi - functional programming interface * @export */ export declare const TeamHookServiceApiFp: (configuration?: Configuration) => { /** * * @param {string} teamId * @param {EngineTeamHookServiceCreateTeamHookBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createTeamHook(teamId: string, body: EngineTeamHookServiceCreateTeamHookBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} teamId * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteTeamHook(teamId: string, id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} teamId * @param {number} id * @param {EngineTeamHookServicePatchTeamHookBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchTeamHook(teamId: string, id: number, body: EngineTeamHookServicePatchTeamHookBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} teamId * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readTeamHook(teamId: string, id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} teamId * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array} [schemaId] * @param {Array<'teamHookEventUndefined' | 'agent_status'>} [event] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchTeamHook(teamId: string, page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, schemaId?: Array, event?: Array<"teamHookEventUndefined" | "agent_status">, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} teamId * @param {number} id * @param {EngineTeamHookServiceUpdateTeamHookBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateTeamHook(teamId: string, id: number, body: EngineTeamHookServiceUpdateTeamHookBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TeamHookServiceApi - factory interface * @export */ export declare const TeamHookServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {string} teamId * @param {EngineTeamHookServiceCreateTeamHookBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createTeamHook(teamId: string, body: EngineTeamHookServiceCreateTeamHookBody, options?: any): AxiosPromise; /** * * @param {string} teamId * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteTeamHook(teamId: string, id: number, options?: any): AxiosPromise; /** * * @param {string} teamId * @param {number} id * @param {EngineTeamHookServicePatchTeamHookBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchTeamHook(teamId: string, id: number, body: EngineTeamHookServicePatchTeamHookBody, options?: any): AxiosPromise; /** * * @param {string} teamId * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readTeamHook(teamId: string, id: number, options?: any): AxiosPromise; /** * * @param {string} teamId * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array} [schemaId] * @param {Array<'teamHookEventUndefined' | 'agent_status'>} [event] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchTeamHook(teamId: string, page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, schemaId?: Array, event?: Array<"teamHookEventUndefined" | "agent_status">, options?: any): AxiosPromise; /** * * @param {string} teamId * @param {number} id * @param {EngineTeamHookServiceUpdateTeamHookBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateTeamHook(teamId: string, id: number, body: EngineTeamHookServiceUpdateTeamHookBody, options?: any): AxiosPromise; }; /** * TeamHookServiceApi - object-oriented interface * @export * @class TeamHookServiceApi * @extends {BaseAPI} */ export declare class TeamHookServiceApi extends BaseAPI { /** * * @param {string} teamId * @param {EngineTeamHookServiceCreateTeamHookBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TeamHookServiceApi */ createTeamHook(teamId: string, body: EngineTeamHookServiceCreateTeamHookBody, options?: any): Promise>; /** * * @param {string} teamId * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TeamHookServiceApi */ deleteTeamHook(teamId: string, id: number, options?: any): Promise>; /** * * @param {string} teamId * @param {number} id * @param {EngineTeamHookServicePatchTeamHookBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TeamHookServiceApi */ patchTeamHook(teamId: string, id: number, body: EngineTeamHookServicePatchTeamHookBody, options?: any): Promise>; /** * * @param {string} teamId * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TeamHookServiceApi */ readTeamHook(teamId: string, id: number, options?: any): Promise>; /** * * @param {string} teamId * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array} [schemaId] * @param {Array<'teamHookEventUndefined' | 'agent_status'>} [event] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TeamHookServiceApi */ searchTeamHook(teamId: string, page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, schemaId?: Array, event?: Array<'teamHookEventUndefined' | 'agent_status'>, options?: any): Promise>; /** * * @param {string} teamId * @param {number} id * @param {EngineTeamHookServiceUpdateTeamHookBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TeamHookServiceApi */ updateTeamHook(teamId: string, id: number, body: EngineTeamHookServiceUpdateTeamHookBody, options?: any): Promise>; } //# sourceMappingURL=team-hook-service-api.d.ts.map