/** * 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 { ApiDeleteOAuthServiceRequest } from '../api'; import { ApiOAuth2FederationDeleteOAuthServiceBody } from '../api'; import { ApiOAuth2FederationUpdateOAuthServiceBody } from '../api'; import { ApiOAuthService } from '../api'; import { ApiSearchOAuthServiceResponse } from '../api'; /** * OAuth2FederationApi - axios parameter creator * @export */ export declare const OAuth2FederationApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {ApiOAuthService} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createOAuthService: (body: ApiOAuthService, options?: any) => Promise; /** * * @param {ApiDeleteOAuthServiceRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteOAuthService: (body: ApiDeleteOAuthServiceRequest, options?: any) => Promise; /** * * @param {Array} id * @param {ApiOAuth2FederationDeleteOAuthServiceBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteOAuthService2: (id: Array, body: ApiOAuth2FederationDeleteOAuthServiceBody, options?: any) => Promise; /** * * @param {Array} id ----- Search Basic Filters --------------------------- selection: by unique identifier * @param {number} [page] ----- Select Options ------------------------- default: 1 * @param {number} [size] default: 16 * @param {Array} [fields] attributes list * @param {Array} [sort] e.g.: \"updated_at\" - ASC; \"!updated_at\" - DESC; * @param {string} [q] term-of-search: lookup[name] * @param {string} [name] case-ignore substring match: ILIKE \'*\' - any; \'?\' - one * @param {string} [access] [M]andatory[A]ccess[C]ontrol: with access mode (action) granted! * @param {boolean} [enabled] ----- OAuthService-Specific Filters ---------------- * @param {*} [options] Override http request option. * @throws {RequiredError} */ locateOAuthService: (id: Array, page?: number, size?: number, fields?: Array, sort?: Array, q?: string, name?: string, access?: string, enabled?: boolean, options?: any) => Promise; /** * * @param {number} [page] ----- Select Options ------------------------- default: 1 * @param {number} [size] default: 16 * @param {Array} [fields] attributes list * @param {Array} [sort] e.g.: \"updated_at\" - ASC; \"!updated_at\" - DESC; * @param {Array} [id] ----- Search Basic Filters --------------------------- selection: by unique identifier * @param {string} [q] term-of-search: lookup[name] * @param {string} [name] case-ignore substring match: ILIKE \'*\' - any; \'?\' - one * @param {string} [access] [M]andatory[A]ccess[C]ontrol: with access mode (action) granted! * @param {boolean} [enabled] ----- OAuthService-Specific Filters ---------------- * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchOAuthService: (page?: number, size?: number, fields?: Array, sort?: Array, id?: Array, q?: string, name?: string, access?: string, enabled?: boolean, options?: any) => Promise; /** * * @param {string} changesId * @param {ApiOAuth2FederationUpdateOAuthServiceBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateOAuthService: (changesId: string, body: ApiOAuth2FederationUpdateOAuthServiceBody, options?: any) => Promise; /** * * @param {string} changesId * @param {ApiOAuth2FederationUpdateOAuthServiceBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateOAuthService2: (changesId: string, body: ApiOAuth2FederationUpdateOAuthServiceBody, options?: any) => Promise; }; /** * OAuth2FederationApi - functional programming interface * @export */ export declare const OAuth2FederationApiFp: (configuration?: Configuration) => { /** * * @param {ApiOAuthService} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createOAuthService(body: ApiOAuthService, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {ApiDeleteOAuthServiceRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteOAuthService(body: ApiDeleteOAuthServiceRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {Array} id * @param {ApiOAuth2FederationDeleteOAuthServiceBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteOAuthService2(id: Array, body: ApiOAuth2FederationDeleteOAuthServiceBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {Array} id ----- Search Basic Filters --------------------------- selection: by unique identifier * @param {number} [page] ----- Select Options ------------------------- default: 1 * @param {number} [size] default: 16 * @param {Array} [fields] attributes list * @param {Array} [sort] e.g.: \"updated_at\" - ASC; \"!updated_at\" - DESC; * @param {string} [q] term-of-search: lookup[name] * @param {string} [name] case-ignore substring match: ILIKE \'*\' - any; \'?\' - one * @param {string} [access] [M]andatory[A]ccess[C]ontrol: with access mode (action) granted! * @param {boolean} [enabled] ----- OAuthService-Specific Filters ---------------- * @param {*} [options] Override http request option. * @throws {RequiredError} */ locateOAuthService(id: Array, page?: number, size?: number, fields?: Array, sort?: Array, q?: string, name?: string, access?: string, enabled?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} [page] ----- Select Options ------------------------- default: 1 * @param {number} [size] default: 16 * @param {Array} [fields] attributes list * @param {Array} [sort] e.g.: \"updated_at\" - ASC; \"!updated_at\" - DESC; * @param {Array} [id] ----- Search Basic Filters --------------------------- selection: by unique identifier * @param {string} [q] term-of-search: lookup[name] * @param {string} [name] case-ignore substring match: ILIKE \'*\' - any; \'?\' - one * @param {string} [access] [M]andatory[A]ccess[C]ontrol: with access mode (action) granted! * @param {boolean} [enabled] ----- OAuthService-Specific Filters ---------------- * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchOAuthService(page?: number, size?: number, fields?: Array, sort?: Array, id?: Array, q?: string, name?: string, access?: string, enabled?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} changesId * @param {ApiOAuth2FederationUpdateOAuthServiceBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateOAuthService(changesId: string, body: ApiOAuth2FederationUpdateOAuthServiceBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} changesId * @param {ApiOAuth2FederationUpdateOAuthServiceBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateOAuthService2(changesId: string, body: ApiOAuth2FederationUpdateOAuthServiceBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * OAuth2FederationApi - factory interface * @export */ export declare const OAuth2FederationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {ApiOAuthService} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createOAuthService(body: ApiOAuthService, options?: any): AxiosPromise; /** * * @param {ApiDeleteOAuthServiceRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteOAuthService(body: ApiDeleteOAuthServiceRequest, options?: any): AxiosPromise; /** * * @param {Array} id * @param {ApiOAuth2FederationDeleteOAuthServiceBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteOAuthService2(id: Array, body: ApiOAuth2FederationDeleteOAuthServiceBody, options?: any): AxiosPromise; /** * * @param {Array} id ----- Search Basic Filters --------------------------- selection: by unique identifier * @param {number} [page] ----- Select Options ------------------------- default: 1 * @param {number} [size] default: 16 * @param {Array} [fields] attributes list * @param {Array} [sort] e.g.: \"updated_at\" - ASC; \"!updated_at\" - DESC; * @param {string} [q] term-of-search: lookup[name] * @param {string} [name] case-ignore substring match: ILIKE \'*\' - any; \'?\' - one * @param {string} [access] [M]andatory[A]ccess[C]ontrol: with access mode (action) granted! * @param {boolean} [enabled] ----- OAuthService-Specific Filters ---------------- * @param {*} [options] Override http request option. * @throws {RequiredError} */ locateOAuthService(id: Array, page?: number, size?: number, fields?: Array, sort?: Array, q?: string, name?: string, access?: string, enabled?: boolean, options?: any): AxiosPromise; /** * * @param {number} [page] ----- Select Options ------------------------- default: 1 * @param {number} [size] default: 16 * @param {Array} [fields] attributes list * @param {Array} [sort] e.g.: \"updated_at\" - ASC; \"!updated_at\" - DESC; * @param {Array} [id] ----- Search Basic Filters --------------------------- selection: by unique identifier * @param {string} [q] term-of-search: lookup[name] * @param {string} [name] case-ignore substring match: ILIKE \'*\' - any; \'?\' - one * @param {string} [access] [M]andatory[A]ccess[C]ontrol: with access mode (action) granted! * @param {boolean} [enabled] ----- OAuthService-Specific Filters ---------------- * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchOAuthService(page?: number, size?: number, fields?: Array, sort?: Array, id?: Array, q?: string, name?: string, access?: string, enabled?: boolean, options?: any): AxiosPromise; /** * * @param {string} changesId * @param {ApiOAuth2FederationUpdateOAuthServiceBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateOAuthService(changesId: string, body: ApiOAuth2FederationUpdateOAuthServiceBody, options?: any): AxiosPromise; /** * * @param {string} changesId * @param {ApiOAuth2FederationUpdateOAuthServiceBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateOAuthService2(changesId: string, body: ApiOAuth2FederationUpdateOAuthServiceBody, options?: any): AxiosPromise; }; /** * OAuth2FederationApi - object-oriented interface * @export * @class OAuth2FederationApi * @extends {BaseAPI} */ export declare class OAuth2FederationApi extends BaseAPI { /** * * @param {ApiOAuthService} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OAuth2FederationApi */ createOAuthService(body: ApiOAuthService, options?: any): Promise>; /** * * @param {ApiDeleteOAuthServiceRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OAuth2FederationApi */ deleteOAuthService(body: ApiDeleteOAuthServiceRequest, options?: any): Promise>; /** * * @param {Array} id * @param {ApiOAuth2FederationDeleteOAuthServiceBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OAuth2FederationApi */ deleteOAuthService2(id: Array, body: ApiOAuth2FederationDeleteOAuthServiceBody, options?: any): Promise>; /** * * @param {Array} id ----- Search Basic Filters --------------------------- selection: by unique identifier * @param {number} [page] ----- Select Options ------------------------- default: 1 * @param {number} [size] default: 16 * @param {Array} [fields] attributes list * @param {Array} [sort] e.g.: \"updated_at\" - ASC; \"!updated_at\" - DESC; * @param {string} [q] term-of-search: lookup[name] * @param {string} [name] case-ignore substring match: ILIKE \'*\' - any; \'?\' - one * @param {string} [access] [M]andatory[A]ccess[C]ontrol: with access mode (action) granted! * @param {boolean} [enabled] ----- OAuthService-Specific Filters ---------------- * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OAuth2FederationApi */ locateOAuthService(id: Array, page?: number, size?: number, fields?: Array, sort?: Array, q?: string, name?: string, access?: string, enabled?: boolean, options?: any): Promise>; /** * * @param {number} [page] ----- Select Options ------------------------- default: 1 * @param {number} [size] default: 16 * @param {Array} [fields] attributes list * @param {Array} [sort] e.g.: \"updated_at\" - ASC; \"!updated_at\" - DESC; * @param {Array} [id] ----- Search Basic Filters --------------------------- selection: by unique identifier * @param {string} [q] term-of-search: lookup[name] * @param {string} [name] case-ignore substring match: ILIKE \'*\' - any; \'?\' - one * @param {string} [access] [M]andatory[A]ccess[C]ontrol: with access mode (action) granted! * @param {boolean} [enabled] ----- OAuthService-Specific Filters ---------------- * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OAuth2FederationApi */ searchOAuthService(page?: number, size?: number, fields?: Array, sort?: Array, id?: Array, q?: string, name?: string, access?: string, enabled?: boolean, options?: any): Promise>; /** * * @param {string} changesId * @param {ApiOAuth2FederationUpdateOAuthServiceBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OAuth2FederationApi */ updateOAuthService(changesId: string, body: ApiOAuth2FederationUpdateOAuthServiceBody, options?: any): Promise>; /** * * @param {string} changesId * @param {ApiOAuth2FederationUpdateOAuthServiceBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OAuth2FederationApi */ updateOAuthService2(changesId: string, body: ApiOAuth2FederationUpdateOAuthServiceBody, options?: any): Promise>; } //# sourceMappingURL=oauth2-federation-api.d.ts.map