@twin.org/identity-models 0.0.3-next.3 → 0.0.3-next.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +3 -3
  2. package/dist/es/contextIdHandlers/didContextIdHandler.js +7 -0
  3. package/dist/es/contextIdHandlers/didContextIdHandler.js.map +1 -1
  4. package/dist/es/index.js +6 -0
  5. package/dist/es/index.js.map +1 -1
  6. package/dist/es/models/IIdentityComponent.js.map +1 -1
  7. package/dist/es/models/IIdentityConnector.js.map +1 -1
  8. package/dist/es/models/api/identity/IIdentityAlsoKnownAsCreateRequest.js +4 -0
  9. package/dist/es/models/api/identity/IIdentityAlsoKnownAsCreateRequest.js.map +1 -0
  10. package/dist/es/models/api/identity/IIdentityAlsoKnownAsRemoveRequest.js +4 -0
  11. package/dist/es/models/api/identity/IIdentityAlsoKnownAsRemoveRequest.js.map +1 -0
  12. package/dist/es/models/api/identity/IIdentityVerifiableCredentialCreateRequest.js.map +1 -1
  13. package/dist/es/models/api/identity/IIdentityVerifiableCredentialRevokeRequest.js.map +1 -1
  14. package/dist/es/models/api/identity/IIdentityVerifiableCredentialUnrevokeRequest.js.map +1 -1
  15. package/dist/es/models/api/identity/IIdentityVerifiableCredentialVerifyDocumentRequest.js +2 -0
  16. package/dist/es/models/api/identity/IIdentityVerifiableCredentialVerifyDocumentRequest.js.map +1 -0
  17. package/dist/es/models/api/identity/IIdentityVerifiablePresentationCreateRequest.js.map +1 -1
  18. package/dist/es/models/api/identity/IIdentityVerifiablePresentationVerifyDocumentRequest.js +2 -0
  19. package/dist/es/models/api/identity/IIdentityVerifiablePresentationVerifyDocumentRequest.js.map +1 -0
  20. package/dist/es/models/identityMetricIds.js +49 -0
  21. package/dist/es/models/identityMetricIds.js.map +1 -0
  22. package/dist/es/models/identityMetrics.js +61 -0
  23. package/dist/es/models/identityMetrics.js.map +1 -0
  24. package/dist/types/contextIdHandlers/didContextIdHandler.d.ts +5 -0
  25. package/dist/types/index.d.ts +6 -0
  26. package/dist/types/models/IIdentityComponent.d.ts +47 -6
  27. package/dist/types/models/IIdentityConnector.d.ts +47 -6
  28. package/dist/types/models/api/identity/IIdentityAlsoKnownAsCreateRequest.d.ts +23 -0
  29. package/dist/types/models/api/identity/IIdentityAlsoKnownAsRemoveRequest.d.ts +18 -0
  30. package/dist/types/models/api/identity/IIdentityVerifiableCredentialCreateRequest.d.ts +12 -0
  31. package/dist/types/models/api/identity/IIdentityVerifiableCredentialRevokeRequest.d.ts +1 -1
  32. package/dist/types/models/api/identity/IIdentityVerifiableCredentialUnrevokeRequest.d.ts +1 -1
  33. package/dist/types/models/api/identity/IIdentityVerifiableCredentialVerifyDocumentRequest.d.ts +10 -0
  34. package/dist/types/models/api/identity/IIdentityVerifiablePresentationCreateRequest.d.ts +14 -2
  35. package/dist/types/models/api/identity/IIdentityVerifiablePresentationVerifyDocumentRequest.d.ts +10 -0
  36. package/dist/types/models/identityMetricIds.d.ts +49 -0
  37. package/dist/types/models/identityMetrics.d.ts +5 -0
  38. package/docs/changelog.md +304 -76
  39. package/docs/examples.md +157 -1
  40. package/docs/reference/classes/Did.md +4 -4
  41. package/docs/reference/classes/DidContextIdHandler.md +21 -3
  42. package/docs/reference/classes/DocumentHelper.md +5 -5
  43. package/docs/reference/classes/VerificationHelper.md +3 -3
  44. package/docs/reference/index.md +10 -0
  45. package/docs/reference/interfaces/IIdentityAlsoKnownAsCreateRequest.md +31 -0
  46. package/docs/reference/interfaces/IIdentityAlsoKnownAsRemoveRequest.md +23 -0
  47. package/docs/reference/interfaces/IIdentityComponent.md +150 -36
  48. package/docs/reference/interfaces/IIdentityConnector.md +150 -36
  49. package/docs/reference/interfaces/IIdentityCreateRequest.md +3 -3
  50. package/docs/reference/interfaces/IIdentityCreateResponse.md +1 -1
  51. package/docs/reference/interfaces/IIdentityProfileComponent.md +6 -6
  52. package/docs/reference/interfaces/IIdentityProfileConnector.md +5 -5
  53. package/docs/reference/interfaces/IIdentityProfileCreateRequest.md +3 -3
  54. package/docs/reference/interfaces/IIdentityProfileGetPublicRequest.md +4 -4
  55. package/docs/reference/interfaces/IIdentityProfileGetPublicResponse.md +2 -2
  56. package/docs/reference/interfaces/IIdentityProfileGetRequest.md +4 -4
  57. package/docs/reference/interfaces/IIdentityProfileGetResponse.md +3 -3
  58. package/docs/reference/interfaces/IIdentityProfileListRequest.md +6 -6
  59. package/docs/reference/interfaces/IIdentityProfileListResponse.md +2 -2
  60. package/docs/reference/interfaces/IIdentityProfileUpdateRequest.md +3 -3
  61. package/docs/reference/interfaces/IIdentityProofCreateRequest.md +2 -2
  62. package/docs/reference/interfaces/IIdentityProofCreateResponse.md +1 -1
  63. package/docs/reference/interfaces/IIdentityProofVerifyRequest.md +1 -1
  64. package/docs/reference/interfaces/IIdentityProofVerifyResponse.md +1 -1
  65. package/docs/reference/interfaces/IIdentityRemoveRequest.md +1 -1
  66. package/docs/reference/interfaces/IIdentityResolveRequest.md +1 -1
  67. package/docs/reference/interfaces/IIdentityResolveResponse.md +1 -1
  68. package/docs/reference/interfaces/IIdentityResolverComponent.md +1 -1
  69. package/docs/reference/interfaces/IIdentityResolverConnector.md +1 -1
  70. package/docs/reference/interfaces/IIdentityServiceCreateRequest.md +2 -2
  71. package/docs/reference/interfaces/IIdentityServiceCreateResponse.md +1 -1
  72. package/docs/reference/interfaces/IIdentityServiceRemoveRequest.md +1 -1
  73. package/docs/reference/interfaces/IIdentityVerifiableCredentialCreateRequest.md +25 -5
  74. package/docs/reference/interfaces/IIdentityVerifiableCredentialCreateResponse.md +1 -1
  75. package/docs/reference/interfaces/IIdentityVerifiableCredentialRevokeRequest.md +2 -2
  76. package/docs/reference/interfaces/IIdentityVerifiableCredentialUnrevokeRequest.md +2 -2
  77. package/docs/reference/interfaces/IIdentityVerifiableCredentialVerifyDocumentRequest.md +11 -0
  78. package/docs/reference/interfaces/IIdentityVerifiableCredentialVerifyRequest.md +1 -1
  79. package/docs/reference/interfaces/IIdentityVerifiableCredentialVerifyResponse.md +2 -2
  80. package/docs/reference/interfaces/IIdentityVerifiablePresentationCreateRequest.md +28 -8
  81. package/docs/reference/interfaces/IIdentityVerifiablePresentationCreateResponse.md +1 -1
  82. package/docs/reference/interfaces/IIdentityVerifiablePresentationVerifyDocumentRequest.md +11 -0
  83. package/docs/reference/interfaces/IIdentityVerifiablePresentationVerifyRequest.md +1 -1
  84. package/docs/reference/interfaces/IIdentityVerifiablePresentationVerifyResponse.md +3 -3
  85. package/docs/reference/interfaces/IIdentityVerificationMethodCreateRequest.md +3 -3
  86. package/docs/reference/interfaces/IIdentityVerificationMethodCreateResponse.md +1 -1
  87. package/docs/reference/interfaces/IIdentityVerificationMethodRemoveRequest.md +1 -1
  88. package/docs/reference/type-aliases/IdentityMetricIds.md +5 -0
  89. package/docs/reference/variables/IdentityMetricIds.md +67 -0
  90. package/docs/reference/variables/IdentityMetrics.md +5 -0
  91. package/package.json +5 -4
@@ -4,7 +4,7 @@ Response to creating an identity.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `IDidDocument`
10
10
 
@@ -18,7 +18,7 @@ Interface describing a contract which provides profile operations.
18
18
 
19
19
  ## Methods
20
20
 
21
- ### create()
21
+ ### create() {#create}
22
22
 
23
23
  > **create**(`publicProfile?`, `privateProfile?`, `identity?`): `Promise`\<`void`\>
24
24
 
@@ -52,7 +52,7 @@ Nothing.
52
52
 
53
53
  ***
54
54
 
55
- ### get()
55
+ ### get() {#get}
56
56
 
57
57
  > **get**(`publicPropertyNames?`, `privatePropertyNames?`, `identity?`): `Promise`\<\{ `identity`: `string`; `publicProfile?`: `Partial`\<`T`\>; `privateProfile?`: `Partial`\<`U`\>; \}\>
58
58
 
@@ -86,7 +86,7 @@ The items identity and the properties.
86
86
 
87
87
  ***
88
88
 
89
- ### getPublic()
89
+ ### getPublic() {#getpublic}
90
90
 
91
91
  > **getPublic**(`identity`, `propertyNames?`): `Promise`\<`Partial`\<`T`\>\>
92
92
 
@@ -114,7 +114,7 @@ The items properties.
114
114
 
115
115
  ***
116
116
 
117
- ### update()
117
+ ### update() {#update}
118
118
 
119
119
  > **update**(`publicProfile?`, `privateProfile?`, `identity?`): `Promise`\<`void`\>
120
120
 
@@ -148,7 +148,7 @@ Nothing.
148
148
 
149
149
  ***
150
150
 
151
- ### remove()
151
+ ### remove() {#remove}
152
152
 
153
153
  > **remove**(`identity?`): `Promise`\<`void`\>
154
154
 
@@ -170,7 +170,7 @@ Nothing.
170
170
 
171
171
  ***
172
172
 
173
- ### list()
173
+ ### list() {#list}
174
174
 
175
175
  > **list**(`publicFilters?`, `publicPropertyNames?`, `cursor?`, `limit?`): `Promise`\<\{ `items`: `object`[]; `cursor?`: `string`; \}\>
176
176
 
@@ -18,7 +18,7 @@ Interface describing a contract which provides profile operations.
18
18
 
19
19
  ## Methods
20
20
 
21
- ### create()
21
+ ### create() {#create}
22
22
 
23
23
  > **create**(`identity`, `publicProfile?`, `privateProfile?`): `Promise`\<`void`\>
24
24
 
@@ -52,7 +52,7 @@ Nothing.
52
52
 
53
53
  ***
54
54
 
55
- ### get()
55
+ ### get() {#get}
56
56
 
57
57
  > **get**(`identity`, `publicPropertyNames?`, `privatePropertyNames?`): `Promise`\<\{ `publicProfile`: `Partial`\<`T`\>; `privateProfile`: `Partial`\<`U`\>; \}\>
58
58
 
@@ -86,7 +86,7 @@ The identity profile, will only return private data if you have correct permissi
86
86
 
87
87
  ***
88
88
 
89
- ### update()
89
+ ### update() {#update}
90
90
 
91
91
  > **update**(`identity`, `publicProfile?`, `privateProfile?`): `Promise`\<`void`\>
92
92
 
@@ -120,7 +120,7 @@ Nothing.
120
120
 
121
121
  ***
122
122
 
123
- ### remove()
123
+ ### remove() {#remove}
124
124
 
125
125
  > **remove**(`identity`): `Promise`\<`void`\>
126
126
 
@@ -142,7 +142,7 @@ Nothing.
142
142
 
143
143
  ***
144
144
 
145
- ### list()
145
+ ### list() {#list}
146
146
 
147
147
  > **list**(`publicFilters?`, `privateFilters?`, `publicPropertyNames?`, `privatePropertyNames?`, `cursor?`, `limit?`): `Promise`\<\{ `items`: `object`[]; `cursor?`: `string`; \}\>
148
148
 
@@ -4,7 +4,7 @@ Request to create an identity profile.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `object`
10
10
 
@@ -12,12 +12,12 @@ The data for the request.
12
12
 
13
13
  #### publicProfile?
14
14
 
15
- > `optional` **publicProfile**: `IJsonLdDocument`
15
+ > `optional` **publicProfile?**: `IJsonLdDocument`
16
16
 
17
17
  The public profile data.
18
18
 
19
19
  #### privateProfile?
20
20
 
21
- > `optional` **privateProfile**: `IJsonLdDocument`
21
+ > `optional` **privateProfile?**: `IJsonLdDocument`
22
22
 
23
23
  The private profile data.
@@ -4,7 +4,7 @@ Get the public profile for an identity.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### pathParams
7
+ ### pathParams {#pathparams}
8
8
 
9
9
  > **pathParams**: `object`
10
10
 
@@ -18,14 +18,14 @@ The identity to get the profile for.
18
18
 
19
19
  ***
20
20
 
21
- ### query?
21
+ ### query? {#query}
22
22
 
23
- > `optional` **query**: `object`
23
+ > `optional` **query?**: `object`
24
24
 
25
25
  The query parameters.
26
26
 
27
27
  #### propertyNames?
28
28
 
29
- > `optional` **propertyNames**: `string`
29
+ > `optional` **propertyNames?**: `string`
30
30
 
31
31
  The properties to get for the public profile, defaults to all, should be a comma separated list.
@@ -4,7 +4,7 @@ Response to get an identity public profile.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### headers
7
+ ### headers {#headers}
8
8
 
9
9
  > **headers**: `object`
10
10
 
@@ -16,7 +16,7 @@ The response headers.
16
16
 
17
17
  ***
18
18
 
19
- ### body
19
+ ### body {#body}
20
20
 
21
21
  > **body**: `Partial`\<`IJsonLdDocument`\>
22
22
 
@@ -4,20 +4,20 @@ Get the profile for an identity.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### query?
7
+ ### query? {#query}
8
8
 
9
- > `optional` **query**: `object`
9
+ > `optional` **query?**: `object`
10
10
 
11
11
  The query parameters.
12
12
 
13
13
  #### publicPropertyNames?
14
14
 
15
- > `optional` **publicPropertyNames**: `string`
15
+ > `optional` **publicPropertyNames?**: `string`
16
16
 
17
17
  The public properties to get for the profile, defaults to all, should be a comma separated list.
18
18
 
19
19
  #### privatePropertyNames?
20
20
 
21
- > `optional` **privatePropertyNames**: `string`
21
+ > `optional` **privatePropertyNames?**: `string`
22
22
 
23
23
  The private properties to get for the profile, defaults to all, should be a comma separated list.
@@ -4,7 +4,7 @@ Response to get an identity details.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `object`
10
10
 
@@ -18,12 +18,12 @@ The identity of the profile, this is the authenticated user identity.
18
18
 
19
19
  #### publicProfile?
20
20
 
21
- > `optional` **publicProfile**: `Partial`\<`IJsonLdDocument`\>
21
+ > `optional` **publicProfile?**: `Partial`\<`IJsonLdDocument`\>
22
22
 
23
23
  The public profile data.
24
24
 
25
25
  #### privateProfile?
26
26
 
27
- > `optional` **privateProfile**: `Partial`\<`IJsonLdDocument`\>
27
+ > `optional` **privateProfile?**: `Partial`\<`IJsonLdDocument`\>
28
28
 
29
29
  The private profile data.
@@ -4,32 +4,32 @@ Request to get a list of identities.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### query?
7
+ ### query? {#query}
8
8
 
9
- > `optional` **query**: `object`
9
+ > `optional` **query?**: `object`
10
10
 
11
11
  The query parameters.
12
12
 
13
13
  #### publicFilters?
14
14
 
15
- > `optional` **publicFilters**: `string`
15
+ > `optional` **publicFilters?**: `string`
16
16
 
17
17
  The public filters to apply to the list, comma separated list with color between key and value for each pair e.g. prop1:value1,prop2:value2.
18
18
 
19
19
  #### publicPropertyNames?
20
20
 
21
- > `optional` **publicPropertyNames**: `string`
21
+ > `optional` **publicPropertyNames?**: `string`
22
22
 
23
23
  The public properties to get for the profile, defaults to all, should be a comma separated list.
24
24
 
25
25
  #### cursor?
26
26
 
27
- > `optional` **cursor**: `string`
27
+ > `optional` **cursor?**: `string`
28
28
 
29
29
  The cursor for paged requests.
30
30
 
31
31
  #### limit?
32
32
 
33
- > `optional` **limit**: `string`
33
+ > `optional` **limit?**: `string`
34
34
 
35
35
  Number of items to return.
@@ -4,7 +4,7 @@ Response to get a list of identities.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `object`
10
10
 
@@ -18,6 +18,6 @@ The identities.
18
18
 
19
19
  #### cursor?
20
20
 
21
- > `optional` **cursor**: `string`
21
+ > `optional` **cursor?**: `string`
22
22
 
23
23
  An optional cursor, when defined can be used to call find to get more entities.
@@ -4,7 +4,7 @@ Request to update an identity profile.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `object`
10
10
 
@@ -12,12 +12,12 @@ The data for the request.
12
12
 
13
13
  #### publicProfile?
14
14
 
15
- > `optional` **publicProfile**: `IJsonLdDocument`
15
+ > `optional` **publicProfile?**: `IJsonLdDocument`
16
16
 
17
17
  The public profile data.
18
18
 
19
19
  #### privateProfile?
20
20
 
21
- > `optional` **privateProfile**: `IJsonLdDocument`
21
+ > `optional` **privateProfile?**: `IJsonLdDocument`
22
22
 
23
23
  The private profile data.
@@ -4,7 +4,7 @@ Request to create a proof.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### pathParams
7
+ ### pathParams {#pathparams}
8
8
 
9
9
  > **pathParams**: `object`
10
10
 
@@ -24,7 +24,7 @@ The verification method id to use.
24
24
 
25
25
  ***
26
26
 
27
- ### body
27
+ ### body {#body}
28
28
 
29
29
  > **body**: `object`
30
30
 
@@ -4,7 +4,7 @@ Response to creating a proof.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `IProof`
10
10
 
@@ -4,7 +4,7 @@ Request to verify a proof.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `object`
10
10
 
@@ -4,7 +4,7 @@ Response to verifying a proof.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `object`
10
10
 
@@ -4,7 +4,7 @@ Request to remove an identity.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### pathParams
7
+ ### pathParams {#pathparams}
8
8
 
9
9
  > **pathParams**: `object`
10
10
 
@@ -4,7 +4,7 @@ Resolve an identity.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### pathParams
7
+ ### pathParams {#pathparams}
8
8
 
9
9
  > **pathParams**: `object`
10
10
 
@@ -4,7 +4,7 @@ Response to resolving an identity.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `IDidDocument`
10
10
 
@@ -8,7 +8,7 @@ Interface describing a contract which provides identity operations.
8
8
 
9
9
  ## Methods
10
10
 
11
- ### identityResolve()
11
+ ### identityResolve() {#identityresolve}
12
12
 
13
13
  > **identityResolve**(`identity`): `Promise`\<`IDidDocument`\>
14
14
 
@@ -8,7 +8,7 @@ Interface describing an identity connector.
8
8
 
9
9
  ## Methods
10
10
 
11
- ### resolveDocument()
11
+ ### resolveDocument() {#resolvedocument}
12
12
 
13
13
  > **resolveDocument**(`documentId`): `Promise`\<`IDidDocument`\>
14
14
 
@@ -4,7 +4,7 @@ Request to create a service.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### pathParams
7
+ ### pathParams {#pathparams}
8
8
 
9
9
  > **pathParams**: `object`
10
10
 
@@ -18,7 +18,7 @@ The identity to create the service for.
18
18
 
19
19
  ***
20
20
 
21
- ### body
21
+ ### body {#body}
22
22
 
23
23
  > **body**: `object`
24
24
 
@@ -4,7 +4,7 @@ Response to creating a service.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `IDidService`
10
10
 
@@ -4,7 +4,7 @@ Request to remove a service.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### pathParams
7
+ ### pathParams {#pathparams}
8
8
 
9
9
  > **pathParams**: `object`
10
10
 
@@ -4,7 +4,7 @@ Request to create a verifiable credential.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### pathParams
7
+ ### pathParams {#pathparams}
8
8
 
9
9
  > **pathParams**: `object`
10
10
 
@@ -24,7 +24,7 @@ The verification method id to use.
24
24
 
25
25
  ***
26
26
 
27
- ### body
27
+ ### body {#body}
28
28
 
29
29
  > **body**: `object`
30
30
 
@@ -32,7 +32,7 @@ The data for the request.
32
32
 
33
33
  #### credentialId?
34
34
 
35
- > `optional` **credentialId**: `string`
35
+ > `optional` **credentialId?**: `string`
36
36
 
37
37
  The id of the credential.
38
38
 
@@ -44,12 +44,32 @@ The credential subject to store in the verifiable credential.
44
44
 
45
45
  #### revocationIndex?
46
46
 
47
- > `optional` **revocationIndex**: `number`
47
+ > `optional` **revocationIndex?**: `number`
48
48
 
49
49
  The bitmap revocation index of the credential, if undefined will not have revocation status.
50
50
 
51
51
  #### expirationDate?
52
52
 
53
- > `optional` **expirationDate**: `string`
53
+ > `optional` **expirationDate?**: `string`
54
54
 
55
55
  The date the verifiable credential is valid until.
56
+
57
+ #### jwtHeaderFields?
58
+
59
+ > `optional` **jwtHeaderFields?**: `object`
60
+
61
+ Additional fields to include in the JWT when creating the verifiable credential in jwt format.
62
+
63
+ ##### Index Signature
64
+
65
+ \[`id`: `string`\]: `string`
66
+
67
+ #### jwtPayloadFields?
68
+
69
+ > `optional` **jwtPayloadFields?**: `object`
70
+
71
+ Additional fields to include in the JWT payload when creating the verifiable credential in jwt format.
72
+
73
+ ##### Index Signature
74
+
75
+ \[`id`: `string`\]: `string`
@@ -4,7 +4,7 @@ Response to creating a verifiable credential.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `object`
10
10
 
@@ -4,7 +4,7 @@ Request to revoke a verifiable credential.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### pathParams
7
+ ### pathParams {#pathparams}
8
8
 
9
9
  > **pathParams**: `object`
10
10
 
@@ -18,6 +18,6 @@ The identity to revoke the verification credential for.
18
18
 
19
19
  #### revocationIndex
20
20
 
21
- > **revocationIndex**: `number`
21
+ > **revocationIndex**: `string`
22
22
 
23
23
  The revocation index to revoke.
@@ -4,7 +4,7 @@ Request to unrevoke a verifiable credential.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### pathParams
7
+ ### pathParams {#pathparams}
8
8
 
9
9
  > **pathParams**: `object`
10
10
 
@@ -18,6 +18,6 @@ The identity to unrevoke the verification credential for.
18
18
 
19
19
  #### revocationIndex
20
20
 
21
- > **revocationIndex**: `number`
21
+ > **revocationIndex**: `string`
22
22
 
23
23
  The revocation index to unrevoke.
@@ -0,0 +1,11 @@
1
+ # Interface: IIdentityVerifiableCredentialVerifyDocumentRequest
2
+
3
+ Request to verify a verifiable credential.
4
+
5
+ ## Properties
6
+
7
+ ### body {#body}
8
+
9
+ > **body**: `IDidVerifiableCredential`
10
+
11
+ The body parameters.
@@ -4,7 +4,7 @@ Request to verify a verifiable credential.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### query
7
+ ### query {#query}
8
8
 
9
9
  > **query**: `object`
10
10
 
@@ -4,7 +4,7 @@ Response to verifying a verifiable credential.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `object`
10
10
 
@@ -18,6 +18,6 @@ Has the credential been revoked.
18
18
 
19
19
  #### verifiableCredential?
20
20
 
21
- > `optional` **verifiableCredential**: `IDidVerifiableCredential`
21
+ > `optional` **verifiableCredential?**: `IDidVerifiableCredential`
22
22
 
23
23
  The verifiable credential that was verified.
@@ -4,7 +4,7 @@ Request to create a verifiable presentation.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### pathParams
7
+ ### pathParams {#pathparams}
8
8
 
9
9
  > **pathParams**: `object`
10
10
 
@@ -24,7 +24,7 @@ The verification method id to use.
24
24
 
25
25
  ***
26
26
 
27
- ### body
27
+ ### body {#body}
28
28
 
29
29
  > **body**: `object`
30
30
 
@@ -32,19 +32,19 @@ The data for the request.
32
32
 
33
33
  #### presentationId?
34
34
 
35
- > `optional` **presentationId**: `string`
35
+ > `optional` **presentationId?**: `string`
36
36
 
37
37
  The id of the presentation.
38
38
 
39
39
  #### contexts?
40
40
 
41
- > `optional` **contexts**: `IJsonLdContextDefinitionRoot`
41
+ > `optional` **contexts?**: `IJsonLdContextDefinitionRoot`
42
42
 
43
43
  The context to use for the presentation.
44
44
 
45
45
  #### types?
46
46
 
47
- > `optional` **types**: `string` \| `string`[]
47
+ > `optional` **types?**: `string` \| `string`[]
48
48
 
49
49
  The types of the presentation.
50
50
 
@@ -54,8 +54,28 @@ The types of the presentation.
54
54
 
55
55
  The verifiable credentials to include in the presentation.
56
56
 
57
- #### expiresInMinutes?
57
+ #### expirationDate?
58
58
 
59
- > `optional` **expiresInMinutes**: `number`
59
+ > `optional` **expirationDate?**: `string`
60
60
 
61
- The expiration time for the presentation.
61
+ The expiration date/time for the presentation.
62
+
63
+ #### jwtHeaderFields?
64
+
65
+ > `optional` **jwtHeaderFields?**: `object`
66
+
67
+ Additional fields to include in the JWT header when creating the verifiable presentation in jwt format.
68
+
69
+ ##### Index Signature
70
+
71
+ \[`id`: `string`\]: `string`
72
+
73
+ #### jwtPayloadFields?
74
+
75
+ > `optional` **jwtPayloadFields?**: `object`
76
+
77
+ Additional fields to include in the JWT payload when creating the verifiable presentation in jwt format.
78
+
79
+ ##### Index Signature
80
+
81
+ \[`id`: `string`\]: `string`
@@ -4,7 +4,7 @@ Response to creating a verifiable presentation.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body
7
+ ### body {#body}
8
8
 
9
9
  > **body**: `object`
10
10