/** * 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 { ChainEnum } from './ChainEnum'; import { ChainalysisCheck } from './ChainalysisCheck'; import { JwtVerifiedCredential } from './JwtVerifiedCredential'; import { MFADevice } from './MFADevice'; import { MfaBackupCodeAcknowledgement } from './MfaBackupCodeAcknowledgement'; import { OAuthAccount } from './OAuthAccount'; import { ProjectSettingsKyc } from './ProjectSettingsKyc'; import { Session } from './Session'; import { Wallet } from './Wallet'; /** * * @export * @interface User */ export interface User { /** * * @type {string} * @memberof User */ id: string; /** * * @type {string} * @memberof User */ projectEnvironmentId: string; /** * List of verified credentials (wallets, emails, social accounts) linked to the user * @type {Array} * @memberof User */ verifiedCredentials?: Array; /** * * @type {string} * @memberof User */ lastVerifiedCredentialId?: string; /** * * @type {string} * @memberof User */ sessionId?: string; /** * * @type {string} * @memberof User */ alias?: string | null; /** * Standard ISO 3166-1 alpha-2 two-letter country code * @type {string} * @memberof User */ country?: string | null; /** * Primary email address of the user * @type {string} * @memberof User */ email?: string | null; /** * * @type {string} * @memberof User */ firstName?: string | null; /** * * @type {string} * @memberof User */ jobTitle?: string | null; /** * * @type {string} * @memberof User */ lastName?: string | null; /** * Phone number of the user * @type {string} * @memberof User */ phoneNumber?: string | null; /** * Whether the user has accepted the terms of service and privacy policy * @type {boolean} * @memberof User */ policiesConsent?: boolean | null; /** * * @type {string} * @memberof User */ tShirtSize?: string | null; /** * * @type {string} * @memberof User */ team?: string | null; /** * * @type {string} * @memberof User */ username?: string | null; /** * ISO 8601 timestamp of when the user first visited * @type {Date} * @memberof User */ firstVisit?: Date; /** * ISO 8601 timestamp of when the user last visited * @type {Date} * @memberof User */ lastVisit?: Date; /** * Whether this is a newly created user * @type {boolean} * @memberof User */ newUser?: boolean; /** * Arbitrary key-value metadata associated with the user * @type {object} * @memberof User */ metadata?: object; /** * * @type {MfaBackupCodeAcknowledgement} * @memberof User */ mfaBackupCodeAcknowledgement?: MfaBackupCodeAcknowledgement | null; /** * Bitcoin wallet address of the user * @type {string} * @memberof User */ btcWallet?: string | null; /** * Kadena wallet address of the user * @type {string} * @memberof User */ kdaWallet?: string | null; /** * Litecoin wallet address of the user * @type {string} * @memberof User */ ltcWallet?: string | null; /** * Nervos CKB wallet address of the user * @type {string} * @memberof User */ ckbWallet?: string | null; /** * Kaspa wallet address of the user * @type {string} * @memberof User */ kasWallet?: string | null; /** * Dogecoin wallet address of the user * @type {string} * @memberof User */ dogeWallet?: string | null; /** * Whether the user has opted in to email notifications * @type {boolean} * @memberof User */ emailNotification?: boolean | null; /** * Whether the user has opted in to Discord notifications * @type {boolean} * @memberof User */ discordNotification?: boolean | null; /** * Whether the user has opted in to newsletter notifications * @type {boolean} * @memberof User */ newsletterNotification?: boolean | null; /** * Access lists evaluated by Dynamic when considering access for the user. * @type {Array} * @memberof User */ lists?: 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 User */ scope?: string; /** * List of required user fields that have not yet been provided * @type {Array} * @memberof User */ missingFields?: Array; /** * * @type {string} * @memberof User */ walletPublicKey?: string; /** * * @type {string} * @memberof User */ wallet?: string; /** * * @type {ChainEnum} * @memberof User */ chain?: ChainEnum; /** * ISO 8601 timestamp of when the user account was created * @type {Date} * @memberof User */ createdAt?: Date; /** * ISO 8601 timestamp of when the user account was last updated * @type {Date} * @memberof User */ updatedAt?: Date; /** * List of authentication sessions for this user * @type {Array} * @memberof User */ sessions?: Array; /** * List of wallets linked to this user * @type {Array} * @memberof User */ wallets?: Array; /** * List of Chainalysis compliance checks performed on this user * @type {Array} * @memberof User */ chainalysisChecks?: Array; /** * List of OAuth social accounts linked to this user * @type {Array} * @memberof User */ oauthAccounts?: Array; /** * List of MFA devices registered by this user * @type {Array} * @memberof User */ mfaDevices?: Array; } export declare function UserFromJSON(json: any): User; export declare function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User; export declare function UserToJSON(value?: User | null): any;