Skip to content

Commit

Permalink
Remove unwanted attributes, Added support for more restrictions (#538)
Browse files Browse the repository at this point in the history
* fix: removed the unnecessary logger from the agent-service module (#419)

Signed-off-by: KulkarniShashank <[email protected]>

* WIP:OOB Proof Request

Signed-off-by: ankita_patidar <[email protected]>

* WIP:OOB Proof Request

Signed-off-by: ankita_patidar <[email protected]>

* fix:OOB Credential Offer restore changes

Signed-off-by: ankita_patidar <[email protected]>

* fix:add email as optional

Signed-off-by: ankita_patidar <[email protected]>

* fix:take response from presentation request payload

Signed-off-by: ankita_patidar <[email protected]>

* fix: resolved sonar lint checks

Signed-off-by: bhavanakarwade <[email protected]>

* fix: dco error

Signed-off-by: bhavanakarwade <[email protected]>

* fix: dco error

Signed-off-by: bhavanakarwade <[email protected]>

* expose agent format of proof request to API endpoint, disabled send offer by email

Signed-off-by: ankita_patidar <[email protected]>

* update OOB verification input

Signed-off-by: ankita_patidar <[email protected]>

* added few more allowed restrictions, corrected API description

Signed-off-by: ankita_patidar <[email protected]>

* added few more allowed restrictions

Signed-off-by: ankita_patidar <[email protected]>

* removed unnecessary attribute,updated example

Signed-off-by: ankita_patidar <[email protected]>

---------

Signed-off-by: KulkarniShashank <[email protected]>
Signed-off-by: ankita_patidar <[email protected]>
Signed-off-by: bhavanakarwade <[email protected]>
Signed-off-by: Ankita Patidar <[email protected]>
Co-authored-by: Nishad Shirsat <[email protected]>
Co-authored-by: Nishad <[email protected]>
Co-authored-by: Shashank Kulkarni <[email protected]>
Co-authored-by: bhavanakarwade <[email protected]>
Co-authored-by: bhavanakarwade <[email protected]>
Signed-off-by: bhavanakarwade <[email protected]>
  • Loading branch information
6 people committed Sep 11, 2024
1 parent f085b81 commit d96dcca
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions apps/api-gateway/src/verification/dto/request-proof.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,21 +169,23 @@ export class SendProofRequestPayload {
@IsString({ message: 'comment must be in string' })
comment: string;

@ApiProperty()
@IsString()
@Transform(({ value }) => trim(value))
@Transform(({ value }) => toLowerCase(value))
@IsNotEmpty({ message: 'connectionId is required.' })
connectionId: string;

@ApiProperty({
'example': [
{
indy: {
name: 'Verify national identity',
version: '1.0',
// eslint-disable-next-line camelcase
requested_attributes: {},
requested_attributes: {
verifynameAddress: {
names: ['name', 'address'],
restrictions: [{'schema_id': 'KU583UbI4yAKfaBTSz1rqG:2:National ID:1.0.0'}]
},
verifyBirthPlace: {
name: 'Place',
restrictions: [{'schema_id': 'KU583UbI4yAKfaBTSz1rqG:2:Birth Certificate:1.0.0'}]
}
},
// eslint-disable-next-line camelcase
requested_predicates: {}
}
Expand Down

0 comments on commit d96dcca

Please sign in to comment.