/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 * JSON schema for an errors related to two factor authentication
 * @export
 * @interface TwoFactorAuthErrorResponse
 */
export interface TwoFactorAuthErrorResponse {
    /**
     *
     * @type {string}
     * @memberof TwoFactorAuthErrorResponse
     */
    concreteType: TwoFactorAuthErrorResponseConcreteTypeEnum;
    /**
     * The id of the user that attempted to authenticate.
     * @type {number}
     * @memberof TwoFactorAuthErrorResponse
     */
    userId?: number;
    /**
     * Token included when two factor authentication is required. If present the client will need to include this token as part of the TwoFactorAuthLoginRequest.
     * @type {string}
     * @memberof TwoFactorAuthErrorResponse
     */
    twoFaToken?: string;
    /**
     * The reason for the error
     * @type {string}
     * @memberof TwoFactorAuthErrorResponse
     */
    reason?: string;
    /**
     * A code to be used by clients to handle the error.
     * @type {string}
     * @memberof TwoFactorAuthErrorResponse
     */
    errorCode?: TwoFactorAuthErrorResponseErrorCodeEnum;
}
/**
 * @export
 */
export declare const TwoFactorAuthErrorResponseConcreteTypeEnum: {
    readonly org_sagebionetworks_repo_model_auth_TwoFactorAuthErrorResponse: "org.sagebionetworks.repo.model.auth.TwoFactorAuthErrorResponse";
};
export type TwoFactorAuthErrorResponseConcreteTypeEnum = typeof TwoFactorAuthErrorResponseConcreteTypeEnum[keyof typeof TwoFactorAuthErrorResponseConcreteTypeEnum];
/**
 * @export
 */
export declare const TwoFactorAuthErrorResponseErrorCodeEnum: {
    readonly PASSWORD_RESET_VIA_EMAIL_REQUIRED: "PASSWORD_RESET_VIA_EMAIL_REQUIRED";
    readonly USER_CERTIFICATION_REQUIRED: "USER_CERTIFICATION_REQUIRED";
    readonly INVALID_TABLE_QUERY_FACET_COLUMN_REQUEST: "INVALID_TABLE_QUERY_FACET_COLUMN_REQUEST";
    readonly OAUTH_CLIENT_NOT_VERIFIED: "OAUTH_CLIENT_NOT_VERIFIED";
    readonly TWO_FA_REQUIRED: "TWO_FA_REQUIRED";
    readonly UNSUPPORTED_WEBHOOK_DOMAIN: "UNSUPPORTED_WEBHOOK_DOMAIN";
    readonly PROJECT_STORAGE_LIMIT_EXCEEDED: "PROJECT_STORAGE_LIMIT_EXCEEDED";
    readonly TWO_FA_ENABLED_REQUIRED: "TWO_FA_ENABLED_REQUIRED";
};
export type TwoFactorAuthErrorResponseErrorCodeEnum = typeof TwoFactorAuthErrorResponseErrorCodeEnum[keyof typeof TwoFactorAuthErrorResponseErrorCodeEnum];
/**
 * Check if a given object implements the TwoFactorAuthErrorResponse interface.
 */
export declare function instanceOfTwoFactorAuthErrorResponse(value: object): value is TwoFactorAuthErrorResponse;
export declare function TwoFactorAuthErrorResponseFromJSON(json: any): TwoFactorAuthErrorResponse;
export declare function TwoFactorAuthErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TwoFactorAuthErrorResponse;
export declare function TwoFactorAuthErrorResponseToJSON(json: any): TwoFactorAuthErrorResponse;
export declare function TwoFactorAuthErrorResponseToJSONTyped(value?: TwoFactorAuthErrorResponse | null, ignoreDiscriminator?: boolean): any;
