feat: kyc process

This commit is contained in:
Abdalhamid Alhamad
2025-08-07 14:23:33 +03:00
parent 275984954e
commit ee7b365527
73 changed files with 388 additions and 7318 deletions

View File

@ -21,6 +21,9 @@ export class UserResponseDto {
@ApiProperty()
lastName!: string;
@ApiProperty()
dateOfBirth!: Date;
@ApiPropertyOptional({ type: DocumentMetaResponseDto, nullable: true })
profilePicture!: DocumentMetaResponseDto | null;
@ -34,7 +37,7 @@ export class UserResponseDto {
this.id = user.id;
this.countryCode = user.countryCode;
this.phoneNumber = user.phoneNumber;
this.dateOfBirth = user.customer?.dateOfBirth;
this.email = user.email;
this.firstName = user.firstName;
this.lastName = user.lastName;