fix: support manual accident addresses and expose final Fanavaran completion

Accept and persist address-only locations across user and expert flows, preserve workflow authorization, and include addresses in reports and Fanavaran review. Expose persisted final submission completion so the expert panel can prevent repeat sends.
This commit is contained in:
SepehrYahyaee
2026-11-21 09:45:13 +03:30
parent b63525c863
commit c6022a1646
15 changed files with 244 additions and 25 deletions
+2 -1
View File
@@ -208,7 +208,7 @@ export class ClaimDetailV2ResponseDto {
@ApiPropertyOptional({
description:
"Fanavaran claim reference. Returned only after the local claim reaches COMPLETED. Each of claimId, claimNo, dmgCaseId, and expertiseId is included when Fanavaran has supplied it.",
"Fanavaran claim references are returned after local completion. submissionCompleted is true once final expertise is accepted, independently of local status; earlier stage codes do not imply final submission.",
example: {
claimId: 987654,
claimNo: 123456,
@@ -217,6 +217,7 @@ export class ClaimDetailV2ResponseDto {
},
})
fanavaran?: {
submissionCompleted?: boolean;
claimId?: number;
claimNo?: number;
dmgCaseId?: number;