File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed
api-gateway/src/verification Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ export class WebhookPresentationProofDto {
41
41
@IsOptional ( )
42
42
threadId : string ;
43
43
44
+ @ApiPropertyOptional ( )
45
+ @IsOptional ( )
46
+ parentThreadId ?: string ;
47
+
44
48
@ApiPropertyOptional ( )
45
49
@IsOptional ( )
46
50
presentationId : string ;
Original file line number Diff line number Diff line change @@ -239,7 +239,6 @@ export class VerificationController {
239
239
@Body ( ) requestProof : RequestProofDtoV2 ,
240
240
@Query ( 'requestType' ) requestTypeV1 :ProofRequestType = ProofRequestType . INDY
241
241
) : Promise < Response > {
242
-
243
242
if ( requestTypeV1 === ProofRequestType . INDY && ! requestProof . proofFormats ) {
244
243
throw new BadRequestException ( `type: ${ requestTypeV1 } requires proofFormats` ) ;
245
244
}
Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ export interface IPresentationExchangeProofFormats {
136
136
export interface ISendPresentationExchangeProofRequestPayload {
137
137
protocolVersion : string ;
138
138
comment : string ;
139
+ parentThreadId ?: string ;
139
140
proofFormats : IPresentationExchangeProofFormats ;
140
141
autoAcceptProof : string ;
141
142
label ?: string ;
@@ -207,6 +208,7 @@ export interface IWebhookProofPresentation {
207
208
connectionId : string ;
208
209
presentationId : string ;
209
210
threadId : string ;
211
+ parentThreadId ?: string ;
210
212
autoAcceptProof : string ;
211
213
updatedAt : string ;
212
214
isVerified : boolean ;
Original file line number Diff line number Diff line change @@ -481,6 +481,7 @@ export class VerificationService {
481
481
url,
482
482
proofRequestPayload : {
483
483
goalCode : outOfBandRequestProof . goalCode ,
484
+ parentThreadId : outOfBandRequestProof ?. parentThreadId ,
484
485
protocolVersion :outOfBandRequestProof . protocolVersion || 'v2' ,
485
486
comment :outOfBandRequestProof . comment ,
486
487
label,
You can’t perform that action at this time.
0 commit comments