import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { KYCStatus } from '@prisma/client';
import { IsEnum, IsOptional, IsObject } from 'class-validator';

export class VerifyKycDto {
  @ApiProperty({ enum: KYCStatus, description: 'New KYC status' })
  @IsEnum(KYCStatus)
  kycStatus!: KYCStatus;

  @ApiPropertyOptional({ description: 'Additional KYC verification data' })
  @IsOptional()
  @IsObject()
  kycData?: Record<string, unknown>;
}
