import { ApiProperty } from '@nestjs/swagger'; import { IsString, IsNotEmpty } from 'class-validator'; export class Disable2FAMethodDto { @ApiProperty({ example: 'EMAIL', description: '2FA method to disable', enum: ['EMAIL', 'AUTHENTICATOR', 'PASSKEY', 'PUSH_APPROVAL'], }) @IsString() @IsNotEmpty() method: string; }