@twin.org/identity-models 0.0.3-next.17 → 0.0.3-next.19

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 (64) hide show
  1. package/README.md +3 -3
  2. package/dist/es/index.js +2 -0
  3. package/dist/es/index.js.map +1 -1
  4. package/dist/es/models/IIdentityComponent.js.map +1 -1
  5. package/dist/es/models/IIdentityConnector.js.map +1 -1
  6. package/dist/es/models/api/identity/IIdentityAlsoKnownAsCreateRequest.js +4 -0
  7. package/dist/es/models/api/identity/IIdentityAlsoKnownAsCreateRequest.js.map +1 -0
  8. package/dist/es/models/api/identity/IIdentityAlsoKnownAsRemoveRequest.js +4 -0
  9. package/dist/es/models/api/identity/IIdentityAlsoKnownAsRemoveRequest.js.map +1 -0
  10. package/dist/types/index.d.ts +2 -0
  11. package/dist/types/models/IIdentityComponent.d.ts +22 -0
  12. package/dist/types/models/IIdentityConnector.d.ts +22 -0
  13. package/dist/types/models/api/identity/IIdentityAlsoKnownAsCreateRequest.d.ts +23 -0
  14. package/dist/types/models/api/identity/IIdentityAlsoKnownAsRemoveRequest.d.ts +18 -0
  15. package/docs/changelog.md +141 -127
  16. package/docs/examples.md +157 -1
  17. package/docs/reference/classes/Did.md +4 -4
  18. package/docs/reference/classes/DidContextIdHandler.md +4 -4
  19. package/docs/reference/classes/DocumentHelper.md +5 -5
  20. package/docs/reference/classes/VerificationHelper.md +3 -3
  21. package/docs/reference/index.md +2 -0
  22. package/docs/reference/interfaces/IIdentityAlsoKnownAsCreateRequest.md +31 -0
  23. package/docs/reference/interfaces/IIdentityAlsoKnownAsRemoveRequest.md +23 -0
  24. package/docs/reference/interfaces/IIdentityComponent.md +114 -28
  25. package/docs/reference/interfaces/IIdentityConnector.md +114 -28
  26. package/docs/reference/interfaces/IIdentityCreateRequest.md +3 -3
  27. package/docs/reference/interfaces/IIdentityCreateResponse.md +1 -1
  28. package/docs/reference/interfaces/IIdentityProfileComponent.md +6 -6
  29. package/docs/reference/interfaces/IIdentityProfileConnector.md +5 -5
  30. package/docs/reference/interfaces/IIdentityProfileCreateRequest.md +3 -3
  31. package/docs/reference/interfaces/IIdentityProfileGetPublicRequest.md +4 -4
  32. package/docs/reference/interfaces/IIdentityProfileGetPublicResponse.md +2 -2
  33. package/docs/reference/interfaces/IIdentityProfileGetRequest.md +4 -4
  34. package/docs/reference/interfaces/IIdentityProfileGetResponse.md +3 -3
  35. package/docs/reference/interfaces/IIdentityProfileListRequest.md +6 -6
  36. package/docs/reference/interfaces/IIdentityProfileListResponse.md +2 -2
  37. package/docs/reference/interfaces/IIdentityProfileUpdateRequest.md +3 -3
  38. package/docs/reference/interfaces/IIdentityProofCreateRequest.md +2 -2
  39. package/docs/reference/interfaces/IIdentityProofCreateResponse.md +1 -1
  40. package/docs/reference/interfaces/IIdentityProofVerifyRequest.md +1 -1
  41. package/docs/reference/interfaces/IIdentityProofVerifyResponse.md +1 -1
  42. package/docs/reference/interfaces/IIdentityRemoveRequest.md +1 -1
  43. package/docs/reference/interfaces/IIdentityResolveRequest.md +1 -1
  44. package/docs/reference/interfaces/IIdentityResolveResponse.md +1 -1
  45. package/docs/reference/interfaces/IIdentityResolverComponent.md +1 -1
  46. package/docs/reference/interfaces/IIdentityResolverConnector.md +1 -1
  47. package/docs/reference/interfaces/IIdentityServiceCreateRequest.md +2 -2
  48. package/docs/reference/interfaces/IIdentityServiceCreateResponse.md +1 -1
  49. package/docs/reference/interfaces/IIdentityServiceRemoveRequest.md +1 -1
  50. package/docs/reference/interfaces/IIdentityVerifiableCredentialCreateRequest.md +5 -5
  51. package/docs/reference/interfaces/IIdentityVerifiableCredentialCreateResponse.md +1 -1
  52. package/docs/reference/interfaces/IIdentityVerifiableCredentialRevokeRequest.md +1 -1
  53. package/docs/reference/interfaces/IIdentityVerifiableCredentialUnrevokeRequest.md +1 -1
  54. package/docs/reference/interfaces/IIdentityVerifiableCredentialVerifyDocumentRequest.md +1 -1
  55. package/docs/reference/interfaces/IIdentityVerifiableCredentialVerifyRequest.md +1 -1
  56. package/docs/reference/interfaces/IIdentityVerifiableCredentialVerifyResponse.md +2 -2
  57. package/docs/reference/interfaces/IIdentityVerifiablePresentationCreateRequest.md +6 -6
  58. package/docs/reference/interfaces/IIdentityVerifiablePresentationCreateResponse.md +1 -1
  59. package/docs/reference/interfaces/IIdentityVerifiablePresentationVerifyRequest.md +1 -1
  60. package/docs/reference/interfaces/IIdentityVerifiablePresentationVerifyResponse.md +3 -3
  61. package/docs/reference/interfaces/IIdentityVerificationMethodCreateRequest.md +3 -3
  62. package/docs/reference/interfaces/IIdentityVerificationMethodCreateResponse.md +1 -1
  63. package/docs/reference/interfaces/IIdentityVerificationMethodRemoveRequest.md +1 -1
  64. package/package.json +2 -2
@@ -8,7 +8,7 @@ Interface describing an identity connector.
8
8
 
9
9
  ## Methods
10
10
 
11
- ### createDocument()
11
+ ### createDocument() {#createdocument}
12
12
 
13
13
  > **createDocument**(`controller`): `Promise`\<`IDidDocument`\>
14
14
 
@@ -30,7 +30,7 @@ The created document.
30
30
 
31
31
  ***
32
32
 
33
- ### removeDocument()
33
+ ### removeDocument() {#removedocument}
34
34
 
35
35
  > **removeDocument**(`controller`, `documentId`): `Promise`\<`void`\>
36
36
 
@@ -58,7 +58,7 @@ Nothing.
58
58
 
59
59
  ***
60
60
 
61
- ### addVerificationMethod()
61
+ ### addVerificationMethod() {#addverificationmethod}
62
62
 
63
63
  > **addVerificationMethod**(`controller`, `documentId`, `verificationMethodType`, `verificationMethodId?`): `Promise`\<`IDidDocumentVerificationMethod`\>
64
64
 
@@ -106,7 +106,7 @@ NotSupportedError if the platform does not support multiple keys.
106
106
 
107
107
  ***
108
108
 
109
- ### removeVerificationMethod()
109
+ ### removeVerificationMethod() {#removeverificationmethod}
110
110
 
111
111
  > **removeVerificationMethod**(`controller`, `verificationMethodId`): `Promise`\<`void`\>
112
112
 
@@ -142,7 +142,7 @@ NotSupportedError if the platform does not support multiple revocable keys.
142
142
 
143
143
  ***
144
144
 
145
- ### addService()
145
+ ### addService() {#addservice}
146
146
 
147
147
  > **addService**(`controller`, `documentId`, `serviceId`, `serviceType`, `serviceEndpoint`): `Promise`\<`IDidService`\>
148
148
 
@@ -170,15 +170,15 @@ The id of the service.
170
170
 
171
171
  ##### serviceType
172
172
 
173
- The type of the service.
173
+ `string` \| `string`[]
174
174
 
175
- `string` | `string`[]
175
+ The type of the service.
176
176
 
177
177
  ##### serviceEndpoint
178
178
 
179
- The endpoint for the service.
179
+ `string` \| `string`[]
180
180
 
181
- `string` | `string`[]
181
+ The endpoint for the service.
182
182
 
183
183
  #### Returns
184
184
 
@@ -192,7 +192,7 @@ NotFoundError if the id can not be resolved.
192
192
 
193
193
  ***
194
194
 
195
- ### removeService()
195
+ ### removeService() {#removeservice}
196
196
 
197
197
  > **removeService**(`controller`, `serviceId`): `Promise`\<`void`\>
198
198
 
@@ -224,7 +224,93 @@ NotFoundError if the id can not be resolved.
224
224
 
225
225
  ***
226
226
 
227
- ### createVerifiableCredential()
227
+ ### addAlsoKnownAs() {#addalsoknownas}
228
+
229
+ > **addAlsoKnownAs**(`controller`, `documentId`, `alias`): `Promise`\<`void`\>
230
+
231
+ Add an alias to the alsoKnownAs property on the document.
232
+ If the alias is already present the operation is a no-op.
233
+
234
+ #### Parameters
235
+
236
+ ##### controller
237
+
238
+ `string`
239
+
240
+ The controller of the identity who can make changes.
241
+
242
+ ##### documentId
243
+
244
+ `string`
245
+
246
+ The id of the document to update.
247
+
248
+ ##### alias
249
+
250
+ `string`
251
+
252
+ The alias to add. Must be a Url or Urn (typically another DID).
253
+
254
+ #### Returns
255
+
256
+ `Promise`\<`void`\>
257
+
258
+ Nothing.
259
+
260
+ #### Throws
261
+
262
+ GeneralError if the alias is not a Url or Urn.
263
+
264
+ #### Throws
265
+
266
+ NotFoundError if the id can not be resolved.
267
+
268
+ ***
269
+
270
+ ### removeAlsoKnownAs() {#removealsoknownas}
271
+
272
+ > **removeAlsoKnownAs**(`controller`, `documentId`, `alias`): `Promise`\<`void`\>
273
+
274
+ Remove an alias from the alsoKnownAs property on the document.
275
+ If the alias is not present the operation is a no-op.
276
+
277
+ #### Parameters
278
+
279
+ ##### controller
280
+
281
+ `string`
282
+
283
+ The controller of the identity who can make changes.
284
+
285
+ ##### documentId
286
+
287
+ `string`
288
+
289
+ The id of the document to update.
290
+
291
+ ##### alias
292
+
293
+ `string`
294
+
295
+ The alias to remove. Must be a Url or Urn.
296
+
297
+ #### Returns
298
+
299
+ `Promise`\<`void`\>
300
+
301
+ Nothing.
302
+
303
+ #### Throws
304
+
305
+ GeneralError if the alias is not a Url or Urn.
306
+
307
+ #### Throws
308
+
309
+ NotFoundError if the id can not be resolved.
310
+
311
+ ***
312
+
313
+ ### createVerifiableCredential() {#createverifiablecredential}
228
314
 
229
315
  > **createVerifiableCredential**(`controller`, `verificationMethodId`, `id`, `subject`, `options?`): `Promise`\<\{ `verifiableCredential`: `IDidVerifiableCredential`; `jwt`: `string`; \}\>
230
316
 
@@ -246,9 +332,9 @@ The verification method id to use.
246
332
 
247
333
  ##### id
248
334
 
249
- The id of the credential.
335
+ `string` \| `undefined`
250
336
 
251
- `string` | `undefined`
337
+ The id of the credential.
252
338
 
253
339
  ##### subject
254
340
 
@@ -284,7 +370,7 @@ NotFoundError if the id can not be resolved.
284
370
 
285
371
  ***
286
372
 
287
- ### checkVerifiableCredential()
373
+ ### checkVerifiableCredential() {#checkverifiablecredential}
288
374
 
289
375
  > **checkVerifiableCredential**(`credential`): `Promise`\<\{ `revoked`: `boolean`; `verifiableCredential?`: `IDidVerifiableCredential`; \}\>
290
376
 
@@ -294,9 +380,9 @@ Check a verifiable credential is valid.
294
380
 
295
381
  ##### credential
296
382
 
297
- The credential to verify.
383
+ `string` \| `IDidVerifiableCredential`
298
384
 
299
- `string` | `IDidVerifiableCredential`
385
+ The credential to verify.
300
386
 
301
387
  #### Returns
302
388
 
@@ -306,7 +392,7 @@ The credential stored in the jwt and the revocation status.
306
392
 
307
393
  ***
308
394
 
309
- ### revokeVerifiableCredentials()
395
+ ### revokeVerifiableCredentials() {#revokeverifiablecredentials}
310
396
 
311
397
  > **revokeVerifiableCredentials**(`controller`, `issuerDocumentId`, `credentialIndices`): `Promise`\<`void`\>
312
398
 
@@ -340,7 +426,7 @@ Nothing.
340
426
 
341
427
  ***
342
428
 
343
- ### unrevokeVerifiableCredentials()
429
+ ### unrevokeVerifiableCredentials() {#unrevokeverifiablecredentials}
344
430
 
345
431
  > **unrevokeVerifiableCredentials**(`controller`, `issuerDocumentId`, `credentialIndices`): `Promise`\<`void`\>
346
432
 
@@ -374,7 +460,7 @@ Nothing.
374
460
 
375
461
  ***
376
462
 
377
- ### createVerifiablePresentation()
463
+ ### createVerifiablePresentation() {#createverifiablepresentation}
378
464
 
379
465
  > **createVerifiablePresentation**(`controller`, `verificationMethodId`, `presentationId`, `contexts`, `types`, `verifiableCredentials`, `options?`): `Promise`\<\{ `verifiablePresentation`: `IDidVerifiablePresentation`; `jwt`: `string`; \}\>
380
466
 
@@ -396,21 +482,21 @@ The method to associate with the presentation.
396
482
 
397
483
  ##### presentationId
398
484
 
399
- The id of the presentation.
485
+ `string` \| `undefined`
400
486
 
401
- `string` | `undefined`
487
+ The id of the presentation.
402
488
 
403
489
  ##### contexts
404
490
 
405
- The contexts for the data stored in the verifiable credential.
491
+ `IJsonLdContextDefinitionRoot` \| `undefined`
406
492
 
407
- `IJsonLdContextDefinitionRoot` | `undefined`
493
+ The contexts for the data stored in the verifiable credential.
408
494
 
409
495
  ##### types
410
496
 
411
- The types for the data stored in the verifiable credential.
497
+ `string` \| `string`[] \| `undefined`
412
498
 
413
- `string` | `string`[] | `undefined`
499
+ The types for the data stored in the verifiable credential.
414
500
 
415
501
  ##### verifiableCredentials
416
502
 
@@ -440,7 +526,7 @@ NotFoundError if the id can not be resolved.
440
526
 
441
527
  ***
442
528
 
443
- ### checkVerifiablePresentation()
529
+ ### checkVerifiablePresentation() {#checkverifiablepresentation}
444
530
 
445
531
  > **checkVerifiablePresentation**(`presentationJwt`): `Promise`\<\{ `revoked`: `boolean`; `verifiablePresentation?`: `IDidVerifiablePresentation`; `issuers?`: `IDidDocument`[]; \}\>
446
532
 
@@ -462,7 +548,7 @@ The presentation stored in the jwt and the revocation status.
462
548
 
463
549
  ***
464
550
 
465
- ### createProof()
551
+ ### createProof() {#createproof}
466
552
 
467
553
  > **createProof**(`controller`, `verificationMethodId`, `proofType`, `unsecureDocument`): `Promise`\<`IProof`\>
468
554
 
@@ -502,7 +588,7 @@ The proof.
502
588
 
503
589
  ***
504
590
 
505
- ### verifyProof()
591
+ ### verifyProof() {#verifyproof}
506
592
 
507
593
  > **verifyProof**(`document`, `proof`): `Promise`\<`boolean`\>
508
594
 
@@ -4,14 +4,14 @@ Request to create an identity.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body?
7
+ ### body? {#body}
8
8
 
9
- > `optional` **body**: `object`
9
+ > `optional` **body?**: `object`
10
10
 
11
11
  The data for the request.
12
12
 
13
13
  #### namespace?
14
14
 
15
- > `optional` **namespace**: `string`
15
+ > `optional` **namespace?**: `string`
16
16
 
17
17
  The optional namespace to create the identity in.
@@ -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