import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger"; /** * Body for field expert to verify one or two party OTPs for expert-initiated IN_PERSON blame. * First party must verify; second party required only when type is THIRD_PARTY. */ export class VerifyPartyOtpsDto { @ApiProperty({ description: "First party phone number (must have requested OTP via /user/send-otp)", example: "09123456789", }) firstPartyPhoneNumber: string; @ApiProperty({ description: "OTP received by first party", example: "258567", }) firstPartyOtp: string; @ApiPropertyOptional({ description: "Second party phone number. Required when blame type is THIRD_PARTY.", example: "09187654321", }) secondPartyPhoneNumber?: string; @ApiPropertyOptional({ description: "OTP received by second party. Required when secondPartyPhoneNumber is provided.", example: "123456", }) secondPartyOtp?: string; }