forked from Yara724/api
Added expert field mirror flow
This commit is contained in:
@@ -108,6 +108,14 @@ export class ClaimCase {
|
||||
@Prop({ type: String, index: true })
|
||||
blameRequestNo?: string;
|
||||
|
||||
/**
|
||||
* Set when this claim was created by a field expert on behalf of the damaged
|
||||
* party (expert-initiated IN_PERSON flow). Used to scope the expert's panel
|
||||
* access to only their own initiated files.
|
||||
*/
|
||||
@Prop({ type: Types.ObjectId, index: true })
|
||||
initiatedByFieldExpertId?: Types.ObjectId;
|
||||
|
||||
@Prop({ type: ClaimWorkflowSchema, default: () => ({}) })
|
||||
workflow?: ClaimWorkflow;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user