/** * 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 { ApiGenerateUserTfaKeyResponse } from '../api'; import { ApiGetUserTfaKeyResponse } from '../api'; /** * TwoFactorAuthenticationApi - axios parameter creator * @export */ export declare const TwoFactorAuthenticationApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary GenerateUserTfaKey generates new or regenerates secret for the concrete user * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ generateUserTfaKey: (userId: string, options?: any) => Promise; /** * * @summary GetUserTfaKey locates the secret for user and returns it as a TOTP url * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUserTfaKey: (userId: string, options?: any) => Promise; }; /** * TwoFactorAuthenticationApi - functional programming interface * @export */ export declare const TwoFactorAuthenticationApiFp: (configuration?: Configuration) => { /** * * @summary GenerateUserTfaKey generates new or regenerates secret for the concrete user * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ generateUserTfaKey(userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary GetUserTfaKey locates the secret for user and returns it as a TOTP url * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUserTfaKey(userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TwoFactorAuthenticationApi - factory interface * @export */ export declare const TwoFactorAuthenticationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary GenerateUserTfaKey generates new or regenerates secret for the concrete user * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ generateUserTfaKey(userId: string, options?: any): AxiosPromise; /** * * @summary GetUserTfaKey locates the secret for user and returns it as a TOTP url * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUserTfaKey(userId: string, options?: any): AxiosPromise; }; /** * TwoFactorAuthenticationApi - object-oriented interface * @export * @class TwoFactorAuthenticationApi * @extends {BaseAPI} */ export declare class TwoFactorAuthenticationApi extends BaseAPI { /** * * @summary GenerateUserTfaKey generates new or regenerates secret for the concrete user * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TwoFactorAuthenticationApi */ generateUserTfaKey(userId: string, options?: any): Promise>; /** * * @summary GetUserTfaKey locates the secret for user and returns it as a TOTP url * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TwoFactorAuthenticationApi */ getUserTfaKey(userId: string, options?: any): Promise>; } //# sourceMappingURL=two-factor-authentication-api.d.ts.map