forked from Yara724/api
Fixed v3 mirror flow
This commit is contained in:
@@ -10598,8 +10598,11 @@ export class ClaimRequestManagementService {
|
||||
actor,
|
||||
);
|
||||
|
||||
// V4/V5 (in-person FileReviewer flow): car-capture is the last step.
|
||||
// Both variants land at WAITING_FOR_DAMAGE_EXPERT here.
|
||||
// V4/V5 only (isMadeByFileMaker): car-capture is the FINAL FileReviewer step.
|
||||
// For the v3 mirror (FIELD_EXPERT IN_PERSON), car-capture is penultimate —
|
||||
// expertUploadBlameVideoV3 finalises the blame with the accident video next.
|
||||
if ((blame as any).isMadeByFileMaker) {
|
||||
// Both V4 and V5 land at WAITING_FOR_DAMAGE_EXPERT here.
|
||||
// For V5 (requiresFileMakerApproval=true), autoSubmitToFanavaranV2OnClaimCompleted
|
||||
// intercepts COMPLETED → WAITING_FOR_FILE_MAKER_APPROVAL after expert review.
|
||||
await this.claimCaseDbService.findByIdAndUpdate(claimRequestId, {
|
||||
@@ -10635,6 +10638,7 @@ export class ClaimRequestManagementService {
|
||||
{ $set: { status: BlameCaseStatus.COMPLETED } },
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user