Added case type for all GET APIs

This commit is contained in:
SepehrYahyaee
2026-08-19 12:30:53 +03:30
parent 26c80512ba
commit 3bd6bc6e9d
10 changed files with 95 additions and 14 deletions

View File

@@ -116,6 +116,8 @@ export class AllRequestDtoV2 {
lockFile: boolean;
lockTime: string | null;
type: string;
/** IN_PERSON or LINK — how the blame file was created */
creationMethod?: string;
blameStatus: string;
/** Calculated blame + linked claim lifecycle status */
unifiedFileStatus?: string;

View File

@@ -762,6 +762,7 @@ export class ExpertBlameService {
? new Date(workflow.lockedAt as string).toISOString()
: null,
type: String(doc.type ?? "THIRD_PARTY"),
creationMethod: doc.creationMethod ? String(doc.creationMethod) : undefined,
blameStatus: String(doc.blameStatus ?? ""),
partiesInitialForms: {
firstParty: statementToFormKey(firstParty?.statement) ?? "",