/** * Kafka Management API * Kafka Management API is a REST API to manage Kafka instances * * The version of the OpenAPI document: 1.16.0 * Contact: rhosak-support@redhat.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, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { ServiceAccount } from '../model'; import { ServiceAccountList } from '../model'; import { ServiceAccountRequest } from '../model'; import { SsoProvider } from '../model'; /** * SecurityApi - axios parameter creator * @export */ export declare const SecurityApiAxiosParamCreator: (configuration?: Configuration) => { /** * Creates a service account * @param {ServiceAccountRequest} serviceAccountRequest Service account request * @param {*} [options] Override http request option. * @throws {RequiredError} */ createServiceAccount: (serviceAccountRequest: ServiceAccountRequest, options?: AxiosRequestConfig) => Promise; /** * Deletes a service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteServiceAccountById: (id: string, options?: AxiosRequestConfig) => Promise; /** * Returned service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} */ getServiceAccountById: (id: string, options?: AxiosRequestConfig) => Promise; /** * Returns a list of service accounts * @param {string} [clientId] client_id of the service account to be retrieved * @param {*} [options] Override http request option. * @throws {RequiredError} */ getServiceAccounts: (clientId?: string, options?: AxiosRequestConfig) => Promise; /** * Return sso provider info * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSsoProviders: (options?: AxiosRequestConfig) => Promise; /** * Resets the credentials for a service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} */ resetServiceAccountCreds: (id: string, options?: AxiosRequestConfig) => Promise; }; /** * SecurityApi - functional programming interface * @export */ export declare const SecurityApiFp: (configuration?: Configuration) => { /** * Creates a service account * @param {ServiceAccountRequest} serviceAccountRequest Service account request * @param {*} [options] Override http request option. * @throws {RequiredError} */ createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deletes a service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteServiceAccountById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returned service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} */ getServiceAccountById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of service accounts * @param {string} [clientId] client_id of the service account to be retrieved * @param {*} [options] Override http request option. * @throws {RequiredError} */ getServiceAccounts(clientId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Return sso provider info * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSsoProviders(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Resets the credentials for a service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} */ resetServiceAccountCreds(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SecurityApi - factory interface * @export */ export declare const SecurityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Creates a service account * @param {ServiceAccountRequest} serviceAccountRequest Service account request * @param {*} [options] Override http request option. * @throws {RequiredError} */ createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: any): AxiosPromise; /** * Deletes a service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteServiceAccountById(id: string, options?: any): AxiosPromise; /** * Returned service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} */ getServiceAccountById(id: string, options?: any): AxiosPromise; /** * Returns a list of service accounts * @param {string} [clientId] client_id of the service account to be retrieved * @param {*} [options] Override http request option. * @throws {RequiredError} */ getServiceAccounts(clientId?: string, options?: any): AxiosPromise; /** * Return sso provider info * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSsoProviders(options?: any): AxiosPromise; /** * Resets the credentials for a service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} */ resetServiceAccountCreds(id: string, options?: any): AxiosPromise; }; /** * SecurityApi - interface * @export * @interface SecurityApi */ export interface SecurityApiInterface { /** * Creates a service account * @param {ServiceAccountRequest} serviceAccountRequest Service account request * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecurityApiInterface */ createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: AxiosRequestConfig): AxiosPromise; /** * Deletes a service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecurityApiInterface */ deleteServiceAccountById(id: string, options?: AxiosRequestConfig): AxiosPromise; /** * Returned service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecurityApiInterface */ getServiceAccountById(id: string, options?: AxiosRequestConfig): AxiosPromise; /** * Returns a list of service accounts * @param {string} [clientId] client_id of the service account to be retrieved * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecurityApiInterface */ getServiceAccounts(clientId?: string, options?: AxiosRequestConfig): AxiosPromise; /** * Return sso provider info * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecurityApiInterface */ getSsoProviders(options?: AxiosRequestConfig): AxiosPromise; /** * Resets the credentials for a service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecurityApiInterface */ resetServiceAccountCreds(id: string, options?: AxiosRequestConfig): AxiosPromise; } /** * SecurityApi - object-oriented interface * @export * @class SecurityApi * @extends {BaseAPI} */ export declare class SecurityApi extends BaseAPI implements SecurityApiInterface { /** * Creates a service account * @param {ServiceAccountRequest} serviceAccountRequest Service account request * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecurityApi */ createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: AxiosRequestConfig): Promise>; /** * Deletes a service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecurityApi */ deleteServiceAccountById(id: string, options?: AxiosRequestConfig): Promise>; /** * Returned service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecurityApi */ getServiceAccountById(id: string, options?: AxiosRequestConfig): Promise>; /** * Returns a list of service accounts * @param {string} [clientId] client_id of the service account to be retrieved * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecurityApi */ getServiceAccounts(clientId?: string, options?: AxiosRequestConfig): Promise>; /** * Return sso provider info * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecurityApi */ getSsoProviders(options?: AxiosRequestConfig): Promise>; /** * Resets the credentials for a service account by ID * @param {string} id The ID of record * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecurityApi */ resetServiceAccountCreds(id: string, options?: AxiosRequestConfig): Promise>; }