/** * 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 { WebitelCasesInputSLA } from '../api'; import { WebitelCasesLocateSLAResponse } from '../api'; import { WebitelCasesSLA } from '../api'; import { WebitelCasesSLAList } from '../api'; /** * SLAsApi - axios parameter creator * @export */ export declare const SLAsApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Create a new SLA * @param {WebitelCasesInputSLA} input * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createSLA: (input: WebitelCasesInputSLA, fields?: Array, options?: any) => Promise; /** * * @summary Delete an SLA * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteSLA: (id: string, options?: any) => Promise; /** * * @summary Retrieve a list of SLAs or search SLA conditions * @param {number} [page] Page number of result dataset records. offset = (page*size) * @param {number} [size] Size count of records on result page. limit = (size++) * @param {Array} [fields] Fields to be retrieved as a result. * @param {string} [sort] Sort the result according to fields. * @param {Array} [id] Filter by unique IDs. * @param {string} [q] Search query string for filtering by name. Supports: - Wildcards (*) for substring matching - Placeholder (?) for single character substitution - Exact match for full names * @param {*} [options] Override http request option. * @throws {RequiredError} */ listSLAs: (page?: number, size?: number, fields?: Array, sort?: string, id?: Array, q?: string, options?: any) => Promise; /** * * @summary Locate an SLA by ID * @param {string} id * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ locateSLA: (id: string, fields?: Array, options?: any) => Promise; /** * * @summary Update an existing SLA * @param {string} id * @param {WebitelCasesInputSLA} input * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSLA: (id: string, input: WebitelCasesInputSLA, fields?: Array, options?: any) => Promise; /** * * @summary Update an existing SLA * @param {string} id * @param {WebitelCasesInputSLA} input * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSLA2: (id: string, input: WebitelCasesInputSLA, fields?: Array, options?: any) => Promise; }; /** * SLAsApi - functional programming interface * @export */ export declare const SLAsApiFp: (configuration?: Configuration) => { /** * * @summary Create a new SLA * @param {WebitelCasesInputSLA} input * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createSLA(input: WebitelCasesInputSLA, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Delete an SLA * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteSLA(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Retrieve a list of SLAs or search SLA conditions * @param {number} [page] Page number of result dataset records. offset = (page*size) * @param {number} [size] Size count of records on result page. limit = (size++) * @param {Array} [fields] Fields to be retrieved as a result. * @param {string} [sort] Sort the result according to fields. * @param {Array} [id] Filter by unique IDs. * @param {string} [q] Search query string for filtering by name. Supports: - Wildcards (*) for substring matching - Placeholder (?) for single character substitution - Exact match for full names * @param {*} [options] Override http request option. * @throws {RequiredError} */ listSLAs(page?: number, size?: number, fields?: Array, sort?: string, id?: Array, q?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Locate an SLA by ID * @param {string} id * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ locateSLA(id: string, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Update an existing SLA * @param {string} id * @param {WebitelCasesInputSLA} input * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSLA(id: string, input: WebitelCasesInputSLA, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Update an existing SLA * @param {string} id * @param {WebitelCasesInputSLA} input * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSLA2(id: string, input: WebitelCasesInputSLA, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SLAsApi - factory interface * @export */ export declare const SLAsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Create a new SLA * @param {WebitelCasesInputSLA} input * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createSLA(input: WebitelCasesInputSLA, fields?: Array, options?: any): AxiosPromise; /** * * @summary Delete an SLA * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteSLA(id: string, options?: any): AxiosPromise; /** * * @summary Retrieve a list of SLAs or search SLA conditions * @param {number} [page] Page number of result dataset records. offset = (page*size) * @param {number} [size] Size count of records on result page. limit = (size++) * @param {Array} [fields] Fields to be retrieved as a result. * @param {string} [sort] Sort the result according to fields. * @param {Array} [id] Filter by unique IDs. * @param {string} [q] Search query string for filtering by name. Supports: - Wildcards (*) for substring matching - Placeholder (?) for single character substitution - Exact match for full names * @param {*} [options] Override http request option. * @throws {RequiredError} */ listSLAs(page?: number, size?: number, fields?: Array, sort?: string, id?: Array, q?: string, options?: any): AxiosPromise; /** * * @summary Locate an SLA by ID * @param {string} id * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ locateSLA(id: string, fields?: Array, options?: any): AxiosPromise; /** * * @summary Update an existing SLA * @param {string} id * @param {WebitelCasesInputSLA} input * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSLA(id: string, input: WebitelCasesInputSLA, fields?: Array, options?: any): AxiosPromise; /** * * @summary Update an existing SLA * @param {string} id * @param {WebitelCasesInputSLA} input * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSLA2(id: string, input: WebitelCasesInputSLA, fields?: Array, options?: any): AxiosPromise; }; /** * SLAsApi - object-oriented interface * @export * @class SLAsApi * @extends {BaseAPI} */ export declare class SLAsApi extends BaseAPI { /** * * @summary Create a new SLA * @param {WebitelCasesInputSLA} input * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SLAsApi */ createSLA(input: WebitelCasesInputSLA, fields?: Array, options?: any): Promise>; /** * * @summary Delete an SLA * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SLAsApi */ deleteSLA(id: string, options?: any): Promise>; /** * * @summary Retrieve a list of SLAs or search SLA conditions * @param {number} [page] Page number of result dataset records. offset = (page*size) * @param {number} [size] Size count of records on result page. limit = (size++) * @param {Array} [fields] Fields to be retrieved as a result. * @param {string} [sort] Sort the result according to fields. * @param {Array} [id] Filter by unique IDs. * @param {string} [q] Search query string for filtering by name. Supports: - Wildcards (*) for substring matching - Placeholder (?) for single character substitution - Exact match for full names * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SLAsApi */ listSLAs(page?: number, size?: number, fields?: Array, sort?: string, id?: Array, q?: string, options?: any): Promise>; /** * * @summary Locate an SLA by ID * @param {string} id * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SLAsApi */ locateSLA(id: string, fields?: Array, options?: any): Promise>; /** * * @summary Update an existing SLA * @param {string} id * @param {WebitelCasesInputSLA} input * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SLAsApi */ updateSLA(id: string, input: WebitelCasesInputSLA, fields?: Array, options?: any): Promise>; /** * * @summary Update an existing SLA * @param {string} id * @param {WebitelCasesInputSLA} input * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SLAsApi */ updateSLA2(id: string, input: WebitelCasesInputSLA, fields?: Array, options?: any): Promise>; } //# sourceMappingURL=slas-api.d.ts.map