/** * 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 { WebitelCasesInputCreateService } from '../api'; import { WebitelCasesInputService } from '../api'; import { WebitelCasesLocateServiceResponse } from '../api'; import { WebitelCasesService } from '../api'; import { WebitelCasesServiceList } from '../api'; /** * ServicesApi - axios parameter creator * @export */ export declare const ServicesApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Create a new service within a catalog * @param {WebitelCasesInputCreateService} input * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createService: (input: WebitelCasesInputCreateService, fields?: Array, options?: any) => Promise; /** * * @summary Delete a service * @param {Array} id ID of the service to be deleted * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteService: (id: Array, options?: any) => Promise; /** * * @summary Retrieve a list of services or search services within a catalog * @param {number} [page] Page number for pagination * @param {number} [size] Number of records per page * @param {string} [sort] Sorting options by fields * @param {Array} [id] List of IDs to filter the services * @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 {string} [rootId] Filter services by catalog ID (required) * @param {boolean} [state] Filter by state (true for active, false for inactive) * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listServices: (page?: number, size?: number, sort?: string, id?: Array, q?: string, rootId?: string, state?: boolean, fields?: Array, options?: any) => Promise; /** * * @summary Locate a service by ID * @param {string} id ID of the service to be located * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ locateService: (id: string, fields?: Array, options?: any) => Promise; /** * * @summary Update an existing service * @param {string} id ID of the service to be updated * @param {WebitelCasesInputService} input Input data for updating the service * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateService: (id: string, input: WebitelCasesInputService, fields?: Array, options?: any) => Promise; /** * * @summary Update an existing service * @param {string} id ID of the service to be updated * @param {WebitelCasesInputService} input Input data for updating the service * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateService2: (id: string, input: WebitelCasesInputService, fields?: Array, options?: any) => Promise; }; /** * ServicesApi - functional programming interface * @export */ export declare const ServicesApiFp: (configuration?: Configuration) => { /** * * @summary Create a new service within a catalog * @param {WebitelCasesInputCreateService} input * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createService(input: WebitelCasesInputCreateService, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Delete a service * @param {Array} id ID of the service to be deleted * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteService(id: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Retrieve a list of services or search services within a catalog * @param {number} [page] Page number for pagination * @param {number} [size] Number of records per page * @param {string} [sort] Sorting options by fields * @param {Array} [id] List of IDs to filter the services * @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 {string} [rootId] Filter services by catalog ID (required) * @param {boolean} [state] Filter by state (true for active, false for inactive) * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listServices(page?: number, size?: number, sort?: string, id?: Array, q?: string, rootId?: string, state?: boolean, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Locate a service by ID * @param {string} id ID of the service to be located * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ locateService(id: string, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Update an existing service * @param {string} id ID of the service to be updated * @param {WebitelCasesInputService} input Input data for updating the service * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateService(id: string, input: WebitelCasesInputService, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Update an existing service * @param {string} id ID of the service to be updated * @param {WebitelCasesInputService} input Input data for updating the service * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateService2(id: string, input: WebitelCasesInputService, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ServicesApi - factory interface * @export */ export declare const ServicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Create a new service within a catalog * @param {WebitelCasesInputCreateService} input * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createService(input: WebitelCasesInputCreateService, fields?: Array, options?: any): AxiosPromise; /** * * @summary Delete a service * @param {Array} id ID of the service to be deleted * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteService(id: Array, options?: any): AxiosPromise; /** * * @summary Retrieve a list of services or search services within a catalog * @param {number} [page] Page number for pagination * @param {number} [size] Number of records per page * @param {string} [sort] Sorting options by fields * @param {Array} [id] List of IDs to filter the services * @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 {string} [rootId] Filter services by catalog ID (required) * @param {boolean} [state] Filter by state (true for active, false for inactive) * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listServices(page?: number, size?: number, sort?: string, id?: Array, q?: string, rootId?: string, state?: boolean, fields?: Array, options?: any): AxiosPromise; /** * * @summary Locate a service by ID * @param {string} id ID of the service to be located * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} */ locateService(id: string, fields?: Array, options?: any): AxiosPromise; /** * * @summary Update an existing service * @param {string} id ID of the service to be updated * @param {WebitelCasesInputService} input Input data for updating the service * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateService(id: string, input: WebitelCasesInputService, fields?: Array, options?: any): AxiosPromise; /** * * @summary Update an existing service * @param {string} id ID of the service to be updated * @param {WebitelCasesInputService} input Input data for updating the service * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateService2(id: string, input: WebitelCasesInputService, fields?: Array, options?: any): AxiosPromise; }; /** * ServicesApi - object-oriented interface * @export * @class ServicesApi * @extends {BaseAPI} */ export declare class ServicesApi extends BaseAPI { /** * * @summary Create a new service within a catalog * @param {WebitelCasesInputCreateService} input * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServicesApi */ createService(input: WebitelCasesInputCreateService, fields?: Array, options?: any): Promise>; /** * * @summary Delete a service * @param {Array} id ID of the service to be deleted * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServicesApi */ deleteService(id: Array, options?: any): Promise>; /** * * @summary Retrieve a list of services or search services within a catalog * @param {number} [page] Page number for pagination * @param {number} [size] Number of records per page * @param {string} [sort] Sorting options by fields * @param {Array} [id] List of IDs to filter the services * @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 {string} [rootId] Filter services by catalog ID (required) * @param {boolean} [state] Filter by state (true for active, false for inactive) * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServicesApi */ listServices(page?: number, size?: number, sort?: string, id?: Array, q?: string, rootId?: string, state?: boolean, fields?: Array, options?: any): Promise>; /** * * @summary Locate a service by ID * @param {string} id ID of the service to be located * @param {Array} [fields] Fields to be retrieved as a result. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServicesApi */ locateService(id: string, fields?: Array, options?: any): Promise>; /** * * @summary Update an existing service * @param {string} id ID of the service to be updated * @param {WebitelCasesInputService} input Input data for updating the service * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServicesApi */ updateService(id: string, input: WebitelCasesInputService, fields?: Array, options?: any): Promise>; /** * * @summary Update an existing service * @param {string} id ID of the service to be updated * @param {WebitelCasesInputService} input Input data for updating the service * @param {Array} [fields] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServicesApi */ updateService2(id: string, input: WebitelCasesInputService, fields?: Array, options?: any): Promise>; } //# sourceMappingURL=services-api.d.ts.map