@triveria/wallet 0.0.171 → 0.0.172
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.
- package/api.d.ts +37 -0
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -243,6 +243,12 @@ export interface CredentialIssuerDefinition {
|
|
|
243
243
|
* @memberof CredentialIssuerDefinition
|
|
244
244
|
*/
|
|
245
245
|
'credentialIssuer': CredentialIssuerDefinitionCredentialIssuerEnum;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @type {CredentialRequirements}
|
|
249
|
+
* @memberof CredentialIssuerDefinition
|
|
250
|
+
*/
|
|
251
|
+
'credentialRequirements'?: CredentialRequirements;
|
|
246
252
|
/**
|
|
247
253
|
* Format of the issued credential
|
|
248
254
|
* @type {string}
|
|
@@ -400,6 +406,37 @@ export interface CredentialRequest {
|
|
|
400
406
|
*/
|
|
401
407
|
'legalEntity': boolean;
|
|
402
408
|
}
|
|
409
|
+
/**
|
|
410
|
+
*
|
|
411
|
+
* @export
|
|
412
|
+
* @interface CredentialRequirements
|
|
413
|
+
*/
|
|
414
|
+
export interface CredentialRequirements {
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @type {string}
|
|
418
|
+
* @memberof CredentialRequirements
|
|
419
|
+
*/
|
|
420
|
+
'credentialVerifier': string;
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
* @type {string}
|
|
424
|
+
* @memberof CredentialRequirements
|
|
425
|
+
*/
|
|
426
|
+
'schema': string;
|
|
427
|
+
/**
|
|
428
|
+
* Expiration interval in seconds
|
|
429
|
+
* @type {number}
|
|
430
|
+
* @memberof CredentialRequirements
|
|
431
|
+
*/
|
|
432
|
+
'expirationDuration': number;
|
|
433
|
+
/**
|
|
434
|
+
* Mapping of the input values set as JSONPath elements to the output credential claims.
|
|
435
|
+
* @type {object}
|
|
436
|
+
* @memberof CredentialRequirements
|
|
437
|
+
*/
|
|
438
|
+
'mapping': object;
|
|
439
|
+
}
|
|
403
440
|
/**
|
|
404
441
|
* @type CredentialSchema
|
|
405
442
|
* One or more data schemas that provide verifiers with enough information to determine if the provided data conforms to the provided schema(s) https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialSchema
|