forked from Yara724/api
Added blame Id for claims
This commit is contained in:
@@ -56,6 +56,12 @@ export class ClaimListItemV2Dto {
|
|||||||
})
|
})
|
||||||
carBodyFirstForm?: { car?: boolean; object?: boolean };
|
carBodyFirstForm?: { car?: boolean; object?: boolean };
|
||||||
|
|
||||||
|
@ApiPropertyOptional({
|
||||||
|
description: 'Linked blame file ID (present when the claim originates from a blame case)',
|
||||||
|
example: '6a3a6f171aadfa0cc313c582',
|
||||||
|
})
|
||||||
|
blameRequestId?: string;
|
||||||
|
|
||||||
@ApiProperty({ description: 'Submission date', example: '2026-02-22T10:00:00.000Z' })
|
@ApiProperty({ description: 'Submission date', example: '2026-02-22T10:00:00.000Z' })
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
|
|
||||||
|
|||||||
@@ -3796,6 +3796,7 @@ export class ExpertClaimService {
|
|||||||
? { carName: v.carName, carModel: v.carModel, carType: v.carType }
|
? { carName: v.carName, carModel: v.carModel, carType: v.carType }
|
||||||
: undefined,
|
: undefined,
|
||||||
...fileCtx,
|
...fileCtx,
|
||||||
|
blameRequestId: c.blameRequestId?.toString(),
|
||||||
createdAt: c.createdAt,
|
createdAt: c.createdAt,
|
||||||
awaitingFactorValidation,
|
awaitingFactorValidation,
|
||||||
};
|
};
|
||||||
@@ -3881,6 +3882,7 @@ export class ExpertClaimService {
|
|||||||
? { carName: v.carName, carModel: v.carModel, carType: v.carType }
|
? { carName: v.carName, carModel: v.carModel, carType: v.carType }
|
||||||
: undefined,
|
: undefined,
|
||||||
...fileCtx,
|
...fileCtx,
|
||||||
|
blameRequestId: c.blameRequestId?.toString(),
|
||||||
createdAt: c.createdAt,
|
createdAt: c.createdAt,
|
||||||
awaitingFactorValidation: claimIsAwaitingExpertFactorValidationV2(c),
|
awaitingFactorValidation: claimIsAwaitingExpertFactorValidationV2(c),
|
||||||
needsFileReviewerCompletion:
|
needsFileReviewerCompletion:
|
||||||
@@ -3971,6 +3973,7 @@ export class ExpertClaimService {
|
|||||||
? { carName: v.carName, carModel: v.carModel, carType: v.carType }
|
? { carName: v.carName, carModel: v.carModel, carType: v.carType }
|
||||||
: undefined,
|
: undefined,
|
||||||
...fileCtx,
|
...fileCtx,
|
||||||
|
blameRequestId: c.blameRequestId?.toString(),
|
||||||
createdAt: c.createdAt,
|
createdAt: c.createdAt,
|
||||||
awaitingFactorValidation: claimIsAwaitingExpertFactorValidationV2(c),
|
awaitingFactorValidation: claimIsAwaitingExpertFactorValidationV2(c),
|
||||||
needsFileReviewerCompletion:
|
needsFileReviewerCompletion:
|
||||||
|
|||||||
Reference in New Issue
Block a user