@triveria/wallet 0.0.199 → 0.0.200
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 +39 -2
- package/api.js +7 -1
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -321,12 +321,30 @@ export interface CredentialMetadata {
|
|
|
321
321
|
* @memberof CredentialMetadata
|
|
322
322
|
*/
|
|
323
323
|
'id': string;
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* @type {string}
|
|
327
|
+
* @memberof CredentialMetadata
|
|
328
|
+
*/
|
|
329
|
+
'walletId': string;
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @type {string}
|
|
333
|
+
* @memberof CredentialMetadata
|
|
334
|
+
*/
|
|
335
|
+
'ownerId': string;
|
|
324
336
|
/**
|
|
325
337
|
*
|
|
326
338
|
* @type {string}
|
|
327
339
|
* @memberof CredentialMetadata
|
|
328
340
|
*/
|
|
329
341
|
'name': string;
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @type {string}
|
|
345
|
+
* @memberof CredentialMetadata
|
|
346
|
+
*/
|
|
347
|
+
'interaction': CredentialMetadataInteractionEnum;
|
|
330
348
|
/**
|
|
331
349
|
*
|
|
332
350
|
* @type {string}
|
|
@@ -344,13 +362,25 @@ export interface CredentialMetadata {
|
|
|
344
362
|
* @type {string}
|
|
345
363
|
* @memberof CredentialMetadata
|
|
346
364
|
*/
|
|
347
|
-
'
|
|
365
|
+
'customId'?: string;
|
|
366
|
+
/**
|
|
367
|
+
* In case of issued credential this is the DID of the holder wallet
|
|
368
|
+
* @type {string}
|
|
369
|
+
* @memberof CredentialMetadata
|
|
370
|
+
*/
|
|
371
|
+
'offeredToClientId'?: string;
|
|
348
372
|
/**
|
|
349
373
|
*
|
|
350
374
|
* @type {string}
|
|
351
375
|
* @memberof CredentialMetadata
|
|
352
376
|
*/
|
|
353
|
-
'
|
|
377
|
+
'created': string;
|
|
378
|
+
/**
|
|
379
|
+
*
|
|
380
|
+
* @type {string}
|
|
381
|
+
* @memberof CredentialMetadata
|
|
382
|
+
*/
|
|
383
|
+
'updated': string;
|
|
354
384
|
/**
|
|
355
385
|
*
|
|
356
386
|
* @type {string}
|
|
@@ -370,6 +400,13 @@ export interface CredentialMetadata {
|
|
|
370
400
|
*/
|
|
371
401
|
'issuerDisplay'?: Array<IssuerDisplayItem>;
|
|
372
402
|
}
|
|
403
|
+
export declare const CredentialMetadataInteractionEnum: {
|
|
404
|
+
readonly Issuance: "issuance";
|
|
405
|
+
readonly Receive: "receive";
|
|
406
|
+
readonly StatusList: "statusList";
|
|
407
|
+
readonly TaoCredentials: "taoCredentials";
|
|
408
|
+
};
|
|
409
|
+
export type CredentialMetadataInteractionEnum = typeof CredentialMetadataInteractionEnum[keyof typeof CredentialMetadataInteractionEnum];
|
|
373
410
|
export declare const CredentialMetadataStatusEnum: {
|
|
374
411
|
readonly Draft: "draft";
|
|
375
412
|
readonly Valid: "valid";
|
package/api.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.WalletConfigTrustFrameworkEnum = exports.WalletCapability = exports.SystemImpactStatusEnum = exports.RevokeAccreditationRequestTypeEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.OidcRevisionOidc4vciEnum = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialFormat = exports.AccreditationRequestTypeEnum = void 0;
|
|
28
|
+
exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.WalletConfigTrustFrameworkEnum = exports.WalletCapability = exports.SystemImpactStatusEnum = exports.RevokeAccreditationRequestTypeEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.OidcRevisionOidc4vciEnum = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialMetadataInteractionEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialFormat = exports.AccreditationRequestTypeEnum = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -51,6 +51,12 @@ exports.CredentialIssuerDefinitionCredentialIssuerEnum = {
|
|
|
51
51
|
IssuanceQueue: 'IssuanceQueue',
|
|
52
52
|
VpDriven: 'VPDriven'
|
|
53
53
|
};
|
|
54
|
+
exports.CredentialMetadataInteractionEnum = {
|
|
55
|
+
Issuance: 'issuance',
|
|
56
|
+
Receive: 'receive',
|
|
57
|
+
StatusList: 'statusList',
|
|
58
|
+
TaoCredentials: 'taoCredentials'
|
|
59
|
+
};
|
|
54
60
|
exports.CredentialMetadataStatusEnum = {
|
|
55
61
|
Draft: 'draft',
|
|
56
62
|
Valid: 'valid',
|