import { ApiProperty } from '@nestjs/swagger'; import { IsString, IsNotEmpty, IsBoolean } from 'class-validator'; export class RequestAvatarGenerationInput { @ApiProperty() @IsString() @IsNotEmpty() userId: string; @ApiProperty() @IsString() @IsNotEmpty() facePhotoData: string; @ApiProperty() @IsString() @IsNotEmpty() suitColor: string; } export class RequestAvatarGenerationOutput { @ApiProperty({ type: Boolean }) @IsBoolean() success: boolean; @ApiProperty({ required: false }) @IsString() requestId?: string; @ApiProperty({ type: [String], required: false }) avatarUrls?: string[]; @ApiProperty({ required: false }) @IsString() errorMessage?: string; } // Assuming FacePhotoData and SuitColor are simple string types for DTO purposes export type FacePhotoData = string; export type SuitColor = string;