UNPKG

@upv/ushi-shared

Version:

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

32 lines (31 loc) 882 B
import { PersonProfile } from '../../../types/personProfile'; import { IPersonDto } from '../../../types/person'; interface PersonProfileDtoInput { person: IPersonDto; lmsProfile?: any; trialProfile?: any; walletProfile?: any; socialProfile?: any; demographicsProfile?: any; identityProfile?: any; } /** * PersonProfileDto * * Aggregated DTO class that builds a full PersonProfile from raw nested inputs. */ declare class PersonProfileDto { private personDto; private lmsProfileDto?; private trialProfileDto?; private walletProfileDto?; private socialProfileDto?; private demographicsProfileDto?; private identityProfileDto?; constructor(input: PersonProfileDtoInput); /** * Serializes the full person profile using sub-DTOs */ serialize(): Promise<PersonProfile>; } export default PersonProfileDto;