forked from Yara724/api
47 lines
1.1 KiB
TypeScript
47 lines
1.1 KiB
TypeScript
import { ApiProperty } 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;
|
|
}
|
|
|
|
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;
|
|
}
|