diff --git a/apps/api-gateway/src/verification/dto/webhook-proof.dto.ts b/apps/api-gateway/src/verification/dto/webhook-proof.dto.ts index 13a80785c..7c89da54a 100644 --- a/apps/api-gateway/src/verification/dto/webhook-proof.dto.ts +++ b/apps/api-gateway/src/verification/dto/webhook-proof.dto.ts @@ -41,6 +41,10 @@ export class WebhookPresentationProofDto { @IsOptional() threadId: string; + @ApiPropertyOptional() + @IsOptional() + parentThreadId?: string; + @ApiPropertyOptional() @IsOptional() presentationId: string; diff --git a/apps/verification/src/interfaces/verification.interface.ts b/apps/verification/src/interfaces/verification.interface.ts index ced4b84c1..1fd8e4e09 100644 --- a/apps/verification/src/interfaces/verification.interface.ts +++ b/apps/verification/src/interfaces/verification.interface.ts @@ -135,6 +135,7 @@ export interface IPresentationExchangeProofFormats { export interface ISendPresentationExchangeProofRequestPayload { protocolVersion: string; comment: string; + parentThreadId?: string; proofFormats: IPresentationExchangeProofFormats; autoAcceptProof: string; label?: string; @@ -206,6 +207,7 @@ export interface IWebhookProofPresentation { connectionId: string; presentationId: string; threadId: string; + parentThreadId?: string; autoAcceptProof: string; updatedAt: string; isVerified: boolean; diff --git a/apps/verification/src/verification.service.ts b/apps/verification/src/verification.service.ts index 5e89ded5a..9964336c7 100644 --- a/apps/verification/src/verification.service.ts +++ b/apps/verification/src/verification.service.ts @@ -433,6 +433,7 @@ export class VerificationService { url, proofRequestPayload: { goalCode: outOfBandRequestProof.goalCode, + parentThreadId: outOfBandRequestProof.parentThreadId, protocolVersion:outOfBandRequestProof.protocolVersion || 'v2', comment:outOfBandRequestProof.comment, label,