/** * 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 { EngineCreateSchemaVariableRequest } from '../api'; import { EngineListSchemaVariable } from '../api'; import { EngineSchemaVariable } from '../api'; import { EngineSchemaVariablesServicePatchSchemaVariableBody } from '../api'; import { EngineSchemaVariablesServiceUpdateSchemaVariableBody } from '../api'; /** * SchemaVariablesServiceApi - axios parameter creator * @export */ export declare const SchemaVariablesServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {EngineCreateSchemaVariableRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createSchemaVariable: (body: EngineCreateSchemaVariableRequest, options?: any) => Promise; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteSchemaVariable: (id: number, options?: any) => Promise; /** * * @param {number} id * @param {EngineSchemaVariablesServicePatchSchemaVariableBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchSchemaVariable: (id: number, body: EngineSchemaVariablesServicePatchSchemaVariableBody, options?: any) => Promise; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readSchemaVariable: (id: number, options?: any) => Promise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchSchemaVariable: (page?: number, size?: number, q?: string, sort?: string, fields?: Array, options?: any) => Promise; /** * * @param {number} id * @param {EngineSchemaVariablesServiceUpdateSchemaVariableBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSchemaVariable: (id: number, body: EngineSchemaVariablesServiceUpdateSchemaVariableBody, options?: any) => Promise; }; /** * SchemaVariablesServiceApi - functional programming interface * @export */ export declare const SchemaVariablesServiceApiFp: (configuration?: Configuration) => { /** * * @param {EngineCreateSchemaVariableRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createSchemaVariable(body: EngineCreateSchemaVariableRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteSchemaVariable(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} id * @param {EngineSchemaVariablesServicePatchSchemaVariableBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchSchemaVariable(id: number, body: EngineSchemaVariablesServicePatchSchemaVariableBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readSchemaVariable(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchSchemaVariable(page?: number, size?: number, q?: string, sort?: string, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} id * @param {EngineSchemaVariablesServiceUpdateSchemaVariableBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSchemaVariable(id: number, body: EngineSchemaVariablesServiceUpdateSchemaVariableBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SchemaVariablesServiceApi - factory interface * @export */ export declare const SchemaVariablesServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {EngineCreateSchemaVariableRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createSchemaVariable(body: EngineCreateSchemaVariableRequest, options?: any): AxiosPromise; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteSchemaVariable(id: number, options?: any): AxiosPromise; /** * * @param {number} id * @param {EngineSchemaVariablesServicePatchSchemaVariableBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchSchemaVariable(id: number, body: EngineSchemaVariablesServicePatchSchemaVariableBody, options?: any): AxiosPromise; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readSchemaVariable(id: number, options?: any): AxiosPromise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchSchemaVariable(page?: number, size?: number, q?: string, sort?: string, fields?: Array, options?: any): AxiosPromise; /** * * @param {number} id * @param {EngineSchemaVariablesServiceUpdateSchemaVariableBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSchemaVariable(id: number, body: EngineSchemaVariablesServiceUpdateSchemaVariableBody, options?: any): AxiosPromise; }; /** * SchemaVariablesServiceApi - object-oriented interface * @export * @class SchemaVariablesServiceApi * @extends {BaseAPI} */ export declare class SchemaVariablesServiceApi extends BaseAPI { /** * * @param {EngineCreateSchemaVariableRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SchemaVariablesServiceApi */ createSchemaVariable(body: EngineCreateSchemaVariableRequest, options?: any): Promise>; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SchemaVariablesServiceApi */ deleteSchemaVariable(id: number, options?: any): Promise>; /** * * @param {number} id * @param {EngineSchemaVariablesServicePatchSchemaVariableBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SchemaVariablesServiceApi */ patchSchemaVariable(id: number, body: EngineSchemaVariablesServicePatchSchemaVariableBody, options?: any): Promise>; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SchemaVariablesServiceApi */ readSchemaVariable(id: number, options?: any): Promise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SchemaVariablesServiceApi */ searchSchemaVariable(page?: number, size?: number, q?: string, sort?: string, fields?: Array, options?: any): Promise>; /** * * @param {number} id * @param {EngineSchemaVariablesServiceUpdateSchemaVariableBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SchemaVariablesServiceApi */ updateSchemaVariable(id: number, body: EngineSchemaVariablesServiceUpdateSchemaVariableBody, options?: any): Promise>; } //# sourceMappingURL=schema-variables-service-api.d.ts.map