/** * 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. */ /** * Used to request a two fa reset token to be sent by email, can be requested with a twoFaToken returned by an authentication attempt. * @export * @interface TwoFactorAuthResetRequest */ export interface TwoFactorAuthResetRequest { /** * The id of the user that attempted to authenticate. * @type {number} * @memberof TwoFactorAuthResetRequest */ userId?: number; /** * The portal endpoint used as reset link prefix, must be a domain owned by sage. * @type {string} * @memberof TwoFactorAuthResetRequest */ twoFaResetEndpoint?: string; /** * The token that was included in the error response when authenticating. * @type {string} * @memberof TwoFactorAuthResetRequest */ twoFaToken?: string; /** * The current user password that can be used in place of the twoFaToken (e.g. when authenticating with user/password or during a change password workflow). * @type {string} * @memberof TwoFactorAuthResetRequest */ password?: string; } /** * Check if a given object implements the TwoFactorAuthResetRequest interface. */ export declare function instanceOfTwoFactorAuthResetRequest(value: object): value is TwoFactorAuthResetRequest; export declare function TwoFactorAuthResetRequestFromJSON(json: any): TwoFactorAuthResetRequest; export declare function TwoFactorAuthResetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TwoFactorAuthResetRequest; export declare function TwoFactorAuthResetRequestToJSON(json: any): TwoFactorAuthResetRequest; export declare function TwoFactorAuthResetRequestToJSONTyped(value?: TwoFactorAuthResetRequest | null, ignoreDiscriminator?: boolean): any;