forked from Yara724/api
add 4 new fields for expert approval
This commit is contained in:
@@ -187,13 +187,15 @@ export class ClaimDetailV2ResponseDto {
|
||||
fileMakerRejectionCount?: number;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
description: "V5 only. Reason text from the most recent FileMaker rejection.",
|
||||
description:
|
||||
"V5 only. Reason text from the most recent FileMaker rejection.",
|
||||
example: "قیمت نامعقول",
|
||||
})
|
||||
fileMakerRejectionReason?: string;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
description: "V5 only. ObjectId of the FileMaker who must approve (or has approved) this claim.",
|
||||
description:
|
||||
"V5 only. ObjectId of the FileMaker who must approve (or has approved) this claim.",
|
||||
example: "6a43a2689faee3d20bf24030",
|
||||
})
|
||||
fileMakerApprovalActorId?: string;
|
||||
@@ -222,6 +224,29 @@ export class ClaimDetailV2ResponseDto {
|
||||
insuranceCorpId?: number;
|
||||
};
|
||||
|
||||
@ApiPropertyOptional({
|
||||
description:
|
||||
"Expert-approved vehicle classification used for Fanavaran submissions.",
|
||||
})
|
||||
fanavaranVehicleReview?: {
|
||||
vehicleGroup: { id: number; caption: string; name?: string };
|
||||
vehicleUseType: { id: number; caption: string; vehicleGroupId?: number };
|
||||
vehicleSystem: { id: number; caption: string; vehicleGroupId?: number };
|
||||
vehicleKind: {
|
||||
id: number;
|
||||
caption: string;
|
||||
vehicleGroupId?: number;
|
||||
vehicleSystemId?: number;
|
||||
vehicleSystemCaption?: string;
|
||||
};
|
||||
approved: boolean;
|
||||
approvedAt: Date | string;
|
||||
approvedByActorId: string;
|
||||
approvedByActorName?: string;
|
||||
approvedByRole: string;
|
||||
version: number;
|
||||
};
|
||||
|
||||
@ApiPropertyOptional({
|
||||
description:
|
||||
"Slice of `claim.evaluation` exposed to the damage expert. " +
|
||||
|
||||
Reference in New Issue
Block a user