forked from Yara724/api
blame and claim refactored
This commit is contained in:
46
src/request-management/dto/user-resend.dto.ts
Normal file
46
src/request-management/dto/user-resend.dto.ts
Normal file
@@ -0,0 +1,46 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user