UNPKG

@upv/ushi-shared

Version:

Shared DTOs, types, and utilities for the USHI platform (LMS, Trials, Social, Wallet).

32 lines (31 loc) 1.15 kB
import BaseDto from '../base/BaseDto'; import { IIdentityProfileDto, IIdentityProfile } from '../../../types/identityProfile'; /** * IdentityProfileDto * * DTO for structured legal identity associated with a user. * Useful for secure trials, identity verification, or eConsent. */ declare class IdentityProfileDto extends BaseDto<IIdentityProfileDto> { protected _userId: string; protected _firstName: string; protected _middleName?: string; protected _lastName: string; protected _suffix?: string; protected _preferredName?: string; protected _motherMaidenName?: string; protected _documentId?: string; protected _identityProvider?: string; constructor(data: IIdentityProfileDto); serialize(): Promise<IIdentityProfile>; get userId(): string; get firstName(): string; get middleName(): string | undefined; get lastName(): string; get suffix(): string | undefined; get preferredName(): string | undefined; get motherMaidenName(): string | undefined; get documentId(): string | undefined; get identityProvider(): string | undefined; } export default IdentityProfileDto;