/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { EmailVerificationCreateResponse } from './EmailVerificationCreateResponse'; import { NextViewEnum } from './NextViewEnum'; import { SdkUser } from './SdkUser'; import { SmsVerificationCreateResponse } from './SmsVerificationCreateResponse'; /** * * @export * @interface UpdateSelfResponse */ export interface UpdateSelfResponse { /** * Token used to continue multi-factor authentication flow * @type {string} * @memberof UpdateSelfResponse */ mfaToken?: string; /** * Encoded JWT token. This will only be returned when cookie-based authentication is disabled in favor of standard Auth header based authentication. * @type {string} * @memberof UpdateSelfResponse */ jwt?: string; /** * * @type {SdkUser} * @memberof UpdateSelfResponse */ user: SdkUser; /** * Encoded JWT token. This will only be returned when cookie-based authentication is disabled in favor of standard Auth header based authentication. * @type {string} * @memberof UpdateSelfResponse */ minifiedJwt?: string; /** * Format is a unix-based timestamp. When set, this will be the expiration timestamp on the JWT sent using either the `jwt` field or a response httpOnly cookie set by the server. * @type {number} * @memberof UpdateSelfResponse */ expiresAt: number; /** * * @type {string} * @memberof UpdateSelfResponse */ elevatedAccessToken?: string | null; /** * * @type {NextViewEnum} * @memberof UpdateSelfResponse */ nextView: NextViewEnum; /** * * @type {EmailVerificationCreateResponse} * @memberof UpdateSelfResponse */ emailVerification?: EmailVerificationCreateResponse; /** * * @type {SmsVerificationCreateResponse} * @memberof UpdateSelfResponse */ smsVerification?: SmsVerificationCreateResponse; } export declare function UpdateSelfResponseFromJSON(json: any): UpdateSelfResponse; export declare function UpdateSelfResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSelfResponse; export declare function UpdateSelfResponseToJSON(value?: UpdateSelfResponse | null): any;