/** * 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 { JwtVerifiedCredential } from './JwtVerifiedCredential'; /** * Payload of the `user.session.created` webhook event. Extends `Session` * with the user's verified credentials at session-create time so consumers * can attribute the login without a follow-up API call. * @export * @interface UserSessionAndCredentials */ export interface UserSessionAndCredentials { /** * * @type {string} * @memberof UserSessionAndCredentials */ id?: string; /** * ISO 8601 timestamp of when the session was created * @type {Date} * @memberof UserSessionAndCredentials */ createdAt?: Date; /** * IP address of the client that initiated the session * @type {string} * @memberof UserSessionAndCredentials */ ipAddress?: string | null; /** * User-Agent string of the client that initiated the session * @type {string} * @memberof UserSessionAndCredentials */ userAgent?: string | null; /** * ISO 8601 timestamp of when the session was revoked, or null if still active * @type {Date} * @memberof UserSessionAndCredentials */ revokedAt?: Date | null; /** * All verified credentials (wallets, emails, phone numbers, social * accounts) linked to the user at the time the session was created. * @type {Array} * @memberof UserSessionAndCredentials */ verifiedCredentials: Array; } export declare function UserSessionAndCredentialsFromJSON(json: any): UserSessionAndCredentials; export declare function UserSessionAndCredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSessionAndCredentials; export declare function UserSessionAndCredentialsToJSON(value?: UserSessionAndCredentials | null): any;