import { UserProfile, Identities, JsonObject, MfaVerifications, GeneratedSchema } from './../foundations/index.js'; import { UsersPasswordEncryptionMethod } from './custom-types.js'; /** * * @remarks This is a type for database creation. * @see {@link User} for the original type. */ export type CreateUser = { tenantId?: string; id: string; username?: string | null; primaryEmail?: string | null; primaryPhone?: string | null; passwordEncrypted?: string | null; passwordEncryptionMethod?: UsersPasswordEncryptionMethod | null; name?: string | null; /** The URL that points to the user's profile picture. Mapped to OpenID Connect's `picture` claim. */ avatar?: string | null; /** Additional OpenID Connect standard claims that are not included in user's properties. */ profile?: UserProfile; applicationId?: string | null; identities?: Identities; customData?: JsonObject; logtoConfig?: JsonObject; mfaVerifications?: MfaVerifications; isSuspended?: boolean; lastSignInAt?: number | null; createdAt?: number; updatedAt?: number; }; export type User = { tenantId: string; id: string; username: string | null; primaryEmail: string | null; primaryPhone: string | null; passwordEncrypted: string | null; passwordEncryptionMethod: UsersPasswordEncryptionMethod | null; name: string | null; /** The URL that points to the user's profile picture. Mapped to OpenID Connect's `picture` claim. */ avatar: string | null; /** Additional OpenID Connect standard claims that are not included in user's properties. */ profile: UserProfile; applicationId: string | null; identities: Identities; customData: JsonObject; logtoConfig: JsonObject; mfaVerifications: MfaVerifications; isSuspended: boolean; lastSignInAt: number | null; createdAt: number; updatedAt: number; }; export type UserKeys = 'tenantId' | 'id' | 'username' | 'primaryEmail' | 'primaryPhone' | 'passwordEncrypted' | 'passwordEncryptionMethod' | 'name' | 'avatar' | 'profile' | 'applicationId' | 'identities' | 'customData' | 'logtoConfig' | 'mfaVerifications' | 'isSuspended' | 'lastSignInAt' | 'createdAt' | 'updatedAt'; export declare const Users: GeneratedSchema;