/** * 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 { JwtBlockchainAccount } from './JwtBlockchainAccount'; import { JwtPayloadDeprecatedInfo } from './JwtPayloadDeprecatedInfo'; import { JwtVerifiedCredential } from './JwtVerifiedCredential'; import { JwtVerifiedCredentialHashes } from './JwtVerifiedCredentialHashes'; import { ProjectSettingsKyc } from './ProjectSettingsKyc'; /** * * @export * @interface DynamicJwt */ export interface DynamicJwt { /** * Key ID used to identify which public key to verify this JWT * @type {string} * @memberof DynamicJwt */ kid: string; /** * JWT audience claim identifying the client origin * @type {string} * @memberof DynamicJwt */ aud: string; /** * JWT issuer claim identifying the Dynamic backend * @type {string} * @memberof DynamicJwt */ iss: string; /** * JWT subject claim containing the Dynamic user ID * @type {string} * @memberof DynamicJwt */ sub: string; /** * JWT expiration timestamp in seconds since Unix epoch * @type {number} * @memberof DynamicJwt */ exp?: number; /** * JWT issued-at timestamp in seconds since Unix epoch * @type {number} * @memberof DynamicJwt */ iat?: number; /** * Dynamic session ID * @type {string} * @memberof DynamicJwt */ sid: string; /** * Client session public key for session binding * @type {string} * @memberof DynamicJwt */ sessionPublicKey?: string; /** * User-defined alias or display name * @type {string} * @memberof DynamicJwt */ alias?: string; /** * List of blockchain accounts linked to the user * @type {Array} * @memberof DynamicJwt */ blockchainAccounts?: Array; /** * ISO country code of the user * @type {string} * @memberof DynamicJwt */ country?: string; /** * Email address of the user * @type {string} * @memberof DynamicJwt */ email?: string; /** * * @type {string} * @memberof DynamicJwt */ environmentId: string; /** * Last name of the user * @type {string} * @memberof DynamicJwt */ familyName?: string; /** * First name of the user * @type {string} * @memberof DynamicJwt */ givenName?: string; /** * Job title of the user * @type {string} * @memberof DynamicJwt */ jobTitle?: string; /** * * @type {string} * @memberof DynamicJwt */ lastAuthenticatedAccountId?: string; /** * Access lists the user belongs to * @type {Array} * @memberof DynamicJwt */ lists?: Array; /** * Phone number of the user * @type {string} * @memberof DynamicJwt */ phoneNumber?: string; /** * List of required user fields not yet provided * @type {Array} * @memberof DynamicJwt */ missingFields: Array; /** * A whitespace-separate list of permissions associated with the JWT token issued. This conforms to the JWT standard for scope claims: https://datatracker.ietf.org/doc/html/rfc8693#section-4.2 * @type {string} * @memberof DynamicJwt */ scope?: string; /** * T-shirt size preference of the user * @type {string} * @memberof DynamicJwt */ tShirtSize?: string; /** * Team the user belongs to * @type {string} * @memberof DynamicJwt */ team?: string; /** * Username of the user * @type {string} * @memberof DynamicJwt */ username?: string; /** * Whether the user accepted terms of service and privacy policy * @type {boolean} * @memberof DynamicJwt */ policiesConsent?: boolean; /** * * @type {JwtBlockchainAccount} * @memberof DynamicJwt */ verifiedAccount?: JwtBlockchainAccount; /** * List of verified credentials linked to the user * @type {Array} * @memberof DynamicJwt */ verifiedCredentials: Array; /** * * @type {string} * @memberof DynamicJwt */ lastVerifiedCredentialId: string; /** * * @type {string} * @memberof DynamicJwt */ signinCredentialId?: string; /** * ISO 8601 timestamp of the user's first visit * @type {Date} * @memberof DynamicJwt */ firstVisit?: Date; /** * ISO 8601 timestamp of the user's last visit * @type {Date} * @memberof DynamicJwt */ lastVisit?: Date; /** * Whether this is a newly created user * @type {boolean} * @memberof DynamicJwt */ newUser?: boolean; /** * Bitcoin wallet address of the user * @type {string} * @memberof DynamicJwt */ btcWallet?: string; /** * Kadena wallet address of the user * @type {string} * @memberof DynamicJwt */ kdaWallet?: string; /** * Litecoin wallet address of the user * @type {string} * @memberof DynamicJwt */ ltcWallet?: string; /** * Nervos CKB wallet address of the user * @type {string} * @memberof DynamicJwt */ ckbWallet?: string; /** * Kaspa wallet address of the user * @type {string} * @memberof DynamicJwt */ kasWallet?: string; /** * Dogecoin wallet address of the user * @type {string} * @memberof DynamicJwt */ dogeWallet?: string; /** * Whether the user opted in to email notifications * @type {boolean} * @memberof DynamicJwt */ emailNotification?: boolean; /** * Whether the user opted in to Discord notifications * @type {boolean} * @memberof DynamicJwt */ discordNotification?: boolean; /** * Whether the user opted in to newsletter notifications * @type {boolean} * @memberof DynamicJwt */ newsletterNotification?: boolean; /** * Arbitrary key-value metadata associated with the user * @type {object} * @memberof DynamicJwt */ metadata?: object; /** * * @type {JwtVerifiedCredentialHashes} * @memberof DynamicJwt */ verifiedCredentialsHashes?: JwtVerifiedCredentialHashes; /** * * @type {JwtPayloadDeprecatedInfo} * @memberof DynamicJwt */ info?: JwtPayloadDeprecatedInfo; /** * Whether this JWT was issued via server-side authentication * @type {boolean} * @memberof DynamicJwt */ serverAuth?: boolean; /** * Hashed IP address * @type {string} * @memberof DynamicJwt */ hashedIp?: string; /** * Original session ID * @type {string} * @memberof DynamicJwt */ originalSid?: string; /** * Refresh expiration timestamp * @type {number} * @memberof DynamicJwt */ refreshExp?: number; /** * SDK version used to create this JWT (e.g., WalletKit/1.2.3) * @type {string} * @memberof DynamicJwt */ sdkVersion?: string; } export declare function DynamicJwtFromJSON(json: any): DynamicJwt; export declare function DynamicJwtFromJSONTyped(json: any, ignoreDiscriminator: boolean): DynamicJwt; export declare function DynamicJwtToJSON(value?: DynamicJwt | null): any;