feat: add waiting number and handle resent otp

This commit is contained in:
Abdalhamid Alhamad
2025-03-16 11:34:08 +03:00
parent 9b5f863577
commit ec38b82a7b
7 changed files with 68 additions and 5 deletions

View File

@ -55,6 +55,9 @@ export class CustomerResponseDto {
@ApiProperty()
isGuardian!: boolean;
@ApiProperty()
waitingNumber!: number;
@ApiPropertyOptional({ type: DocumentMetaResponseDto })
profilePicture!: DocumentMetaResponseDto | null;
@ -76,6 +79,7 @@ export class CustomerResponseDto {
this.gender = customer.gender;
this.isJunior = customer.isJunior;
this.isGuardian = customer.isGuardian;
this.waitingNumber = customer.waitingNumber;
this.profilePicture = customer.profilePicture ? new DocumentMetaResponseDto(customer.profilePicture) : null;
}

View File

@ -1,3 +1,3 @@
export * from './customer-response.dto';
export * from './customer.response.dto';
export * from './internal.customer-details.response.dto';
export * from './internal.customer-list.response.dto';