/** * 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 { InlineObject8 } from '../api'; import { WfmCreatePauseTemplateRequest } from '../api'; import { WfmCreatePauseTemplateResponse } from '../api'; import { WfmDeletePauseTemplateResponse } from '../api'; import { WfmReadPauseTemplateResponse } from '../api'; import { WfmSearchPauseTemplateResponse } from '../api'; import { WfmUpdatePauseTemplateResponse } from '../api'; /** * PauseTemplateServiceApi - axios parameter creator * @export */ export declare const PauseTemplateServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {WfmCreatePauseTemplateRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPauseTemplate: (body: WfmCreatePauseTemplateRequest, options?: any) => Promise; /** * * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePauseTemplate: (id: string, options?: any) => Promise; /** * * @param {string} id * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readPauseTemplate: (id: string, fields?: Array, options?: any) => Promise; /** * * @param {string} [q] * @param {number} [page] * @param {number} [size] * @param {string} [sort] * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchPauseTemplate: (q?: string, page?: number, size?: number, sort?: string, fields?: Array, options?: any) => Promise; /** * * @summary UpdatePauseTemplateCauseBulk updates a pause template with a list of causes. Update existing cause, create that not exists in database and delete that not exists in the list. * @param {string} itemId * @param {InlineObject8} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePauseTemplate: (itemId: string, body: InlineObject8, options?: any) => Promise; }; /** * PauseTemplateServiceApi - functional programming interface * @export */ export declare const PauseTemplateServiceApiFp: (configuration?: Configuration) => { /** * * @param {WfmCreatePauseTemplateRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPauseTemplate(body: WfmCreatePauseTemplateRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePauseTemplate(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readPauseTemplate(id: string, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} [q] * @param {number} [page] * @param {number} [size] * @param {string} [sort] * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchPauseTemplate(q?: string, page?: number, size?: number, sort?: string, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary UpdatePauseTemplateCauseBulk updates a pause template with a list of causes. Update existing cause, create that not exists in database and delete that not exists in the list. * @param {string} itemId * @param {InlineObject8} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePauseTemplate(itemId: string, body: InlineObject8, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * PauseTemplateServiceApi - factory interface * @export */ export declare const PauseTemplateServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {WfmCreatePauseTemplateRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPauseTemplate(body: WfmCreatePauseTemplateRequest, options?: any): AxiosPromise; /** * * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePauseTemplate(id: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readPauseTemplate(id: string, fields?: Array, options?: any): AxiosPromise; /** * * @param {string} [q] * @param {number} [page] * @param {number} [size] * @param {string} [sort] * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchPauseTemplate(q?: string, page?: number, size?: number, sort?: string, fields?: Array, options?: any): AxiosPromise; /** * * @summary UpdatePauseTemplateCauseBulk updates a pause template with a list of causes. Update existing cause, create that not exists in database and delete that not exists in the list. * @param {string} itemId * @param {InlineObject8} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePauseTemplate(itemId: string, body: InlineObject8, options?: any): AxiosPromise; }; /** * PauseTemplateServiceApi - object-oriented interface * @export * @class PauseTemplateServiceApi * @extends {BaseAPI} */ export declare class PauseTemplateServiceApi extends BaseAPI { /** * * @param {WfmCreatePauseTemplateRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PauseTemplateServiceApi */ createPauseTemplate(body: WfmCreatePauseTemplateRequest, options?: any): Promise>; /** * * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PauseTemplateServiceApi */ deletePauseTemplate(id: string, options?: any): Promise>; /** * * @param {string} id * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PauseTemplateServiceApi */ readPauseTemplate(id: string, fields?: Array, options?: any): Promise>; /** * * @param {string} [q] * @param {number} [page] * @param {number} [size] * @param {string} [sort] * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PauseTemplateServiceApi */ searchPauseTemplate(q?: string, page?: number, size?: number, sort?: string, fields?: Array, options?: any): Promise>; /** * * @summary UpdatePauseTemplateCauseBulk updates a pause template with a list of causes. Update existing cause, create that not exists in database and delete that not exists in the list. * @param {string} itemId * @param {InlineObject8} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PauseTemplateServiceApi */ updatePauseTemplate(itemId: string, body: InlineObject8, options?: any): Promise>; } //# sourceMappingURL=pause-template-service-api.d.ts.map