forked from Yara724/api
YARA-1135
This commit is contained in:
@@ -265,6 +265,21 @@ export class ClaimCase {
|
||||
@Prop({ type: Types.ObjectId, index: true })
|
||||
fileMakerApprovalActorId?: Types.ObjectId;
|
||||
|
||||
/**
|
||||
* V5 split flow: number of times the FileMaker has rejected this claim.
|
||||
* Capped at 2; on the 3rd attempt the reject endpoint returns 422 and
|
||||
* the FileMaker must approve instead.
|
||||
*/
|
||||
@Prop({ type: Number, default: 0 })
|
||||
fileMakerRejectionCount?: number;
|
||||
|
||||
/**
|
||||
* V5 split flow: reason text from the most recent FileMaker rejection.
|
||||
* Overwritten on each rejection.
|
||||
*/
|
||||
@Prop({ type: String })
|
||||
fileMakerRejectionReason?: string;
|
||||
|
||||
/**
|
||||
* Legacy fields kept optional to simplify progressive migration.
|
||||
* If you choose to migrate later, we can remove these.
|
||||
|
||||
Reference in New Issue
Block a user