/** * 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 { InlineObject9 } from '../api'; import { WfmCreateShiftTemplateRequest } from '../api'; import { WfmCreateShiftTemplateResponse } from '../api'; import { WfmDeleteShiftTemplateResponse } from '../api'; import { WfmReadShiftTemplateResponse } from '../api'; import { WfmSearchShiftTemplateResponse } from '../api'; import { WfmUpdateShiftTemplateResponse } from '../api'; /** * ShiftTemplateServiceApi - axios parameter creator * @export */ export declare const ShiftTemplateServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {WfmCreateShiftTemplateRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createShiftTemplate: (body: WfmCreateShiftTemplateRequest, options?: any) => Promise; /** * * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteShiftTemplate: (id: string, options?: any) => Promise; /** * * @param {string} id * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readShiftTemplate: (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} */ searchShiftTemplate: (q?: string, page?: number, size?: number, sort?: string, fields?: Array, options?: any) => Promise; /** * * @summary UpdateShiftTemplate updates a shift template with a list times. Update existing time, create that not exists in database and delete that not exists in the list. * @param {string} itemId * @param {InlineObject9} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateShiftTemplate: (itemId: string, body: InlineObject9, options?: any) => Promise; }; /** * ShiftTemplateServiceApi - functional programming interface * @export */ export declare const ShiftTemplateServiceApiFp: (configuration?: Configuration) => { /** * * @param {WfmCreateShiftTemplateRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createShiftTemplate(body: WfmCreateShiftTemplateRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteShiftTemplate(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readShiftTemplate(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} */ searchShiftTemplate(q?: string, page?: number, size?: number, sort?: string, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary UpdateShiftTemplate updates a shift template with a list times. Update existing time, create that not exists in database and delete that not exists in the list. * @param {string} itemId * @param {InlineObject9} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateShiftTemplate(itemId: string, body: InlineObject9, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ShiftTemplateServiceApi - factory interface * @export */ export declare const ShiftTemplateServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {WfmCreateShiftTemplateRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createShiftTemplate(body: WfmCreateShiftTemplateRequest, options?: any): AxiosPromise; /** * * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteShiftTemplate(id: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readShiftTemplate(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} */ searchShiftTemplate(q?: string, page?: number, size?: number, sort?: string, fields?: Array, options?: any): AxiosPromise; /** * * @summary UpdateShiftTemplate updates a shift template with a list times. Update existing time, create that not exists in database and delete that not exists in the list. * @param {string} itemId * @param {InlineObject9} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateShiftTemplate(itemId: string, body: InlineObject9, options?: any): AxiosPromise; }; /** * ShiftTemplateServiceApi - object-oriented interface * @export * @class ShiftTemplateServiceApi * @extends {BaseAPI} */ export declare class ShiftTemplateServiceApi extends BaseAPI { /** * * @param {WfmCreateShiftTemplateRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ShiftTemplateServiceApi */ createShiftTemplate(body: WfmCreateShiftTemplateRequest, options?: any): Promise>; /** * * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ShiftTemplateServiceApi */ deleteShiftTemplate(id: string, options?: any): Promise>; /** * * @param {string} id * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ShiftTemplateServiceApi */ readShiftTemplate(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 ShiftTemplateServiceApi */ searchShiftTemplate(q?: string, page?: number, size?: number, sort?: string, fields?: Array, options?: any): Promise>; /** * * @summary UpdateShiftTemplate updates a shift template with a list times. Update existing time, create that not exists in database and delete that not exists in the list. * @param {string} itemId * @param {InlineObject9} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ShiftTemplateServiceApi */ updateShiftTemplate(itemId: string, body: InlineObject9, options?: any): Promise>; } //# sourceMappingURL=shift-template-service-api.d.ts.map