forked from Yara724/api
fix: harden claim review and inquiry workflows
Preserve damage history and current vehicle price, restore depreciation mapping, normalize inquiry/report output, and support resumable expert review with paginated case retrieval.
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
Patch,
|
||||
Post,
|
||||
Put,
|
||||
Query,
|
||||
UploadedFile,
|
||||
UseGuards,
|
||||
UseInterceptors,
|
||||
@@ -48,6 +49,7 @@ import {
|
||||
CapturePartV2ResponseDto,
|
||||
} from "src/claim-request-management/dto/capture-part-v2.dto";
|
||||
import { GetCaptureRequirementsV2ResponseDto } from "src/claim-request-management/dto/capture-requirements-v2.dto";
|
||||
import { ListQueryV2Dto } from "src/common/dto/list-query-v2.dto";
|
||||
|
||||
/**
|
||||
* V5 FileReviewer flow — same as V4 except after the damage expert completes
|
||||
@@ -86,10 +88,16 @@ export class FileReviewerBlameV5Controller {
|
||||
@ApiOperation({
|
||||
summary: "List available and assigned FileMaker blame files",
|
||||
description:
|
||||
"Returns V5 FileMaker blame files in this reviewer's insurer: sealed files that are still available to claim, plus files already assigned to the authenticated FileReviewer.",
|
||||
"Returns V5 FileMaker blame files in this reviewer's insurer using the shared search, sort, filter, and pagination query contract: sealed files that are still available to claim, plus files already assigned to the authenticated FileReviewer.",
|
||||
})
|
||||
async getMyFiles(@CurrentUser() fileReviewer: any) {
|
||||
return this.requestManagementService.getMyFileReviewerFiles(fileReviewer);
|
||||
async getMyFiles(
|
||||
@CurrentUser() fileReviewer: any,
|
||||
@Query() query: ListQueryV2Dto,
|
||||
) {
|
||||
return this.requestManagementService.getMyFileReviewerFiles(
|
||||
fileReviewer,
|
||||
query,
|
||||
);
|
||||
}
|
||||
|
||||
@Get("my-files/:requestId")
|
||||
|
||||
Reference in New Issue
Block a user