import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger"; export class UserResendResponseDto { @ApiProperty({ example: "67fa10c259e15f231a2d1aae", description: "Request ID", }) requestId: string; @ApiProperty({ example: ["drivingLicense", "carCertificate"], description: "List of items the current user needs to upload", }) requestedItems: string[]; @ApiProperty({ example: "Please resend your driving license and car certificate with better quality", description: "Expert's message explaining why resend is needed", }) description: string; @ApiProperty({ example: false, description: "Whether the user has completed uploading all requested items", }) completed: boolean; @ApiPropertyOptional({ description: "Per-item UI hint: document_camera (open camera), voice, video, or text (multiline field).", example: [ { item: "drivingLicense", inputKind: "document_camera" }, { item: "description", inputKind: "text" }, ], }) requestedItemsUi?: { item: string; inputKind: string }[]; @ApiPropertyOptional({ description: "Requested items this party has not yet satisfied (partial resend).", example: ["carCertificate"], }) remainingItems?: string[]; } export class UserResendUploadResponseDto { @ApiProperty({ example: "Documents uploaded successfully", }) message: string; @ApiProperty({ example: ["drivingLicense", "carCertificate"], description: "List of items that were uploaded", }) uploadedItems: string[]; @ApiProperty({ example: true, description: "Whether all requested items have been uploaded", }) allItemsCompleted: boolean; }