@triveria/wallet 0.0.167 → 0.0.169
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 +27 -3
- package/api.js +6 -1
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -688,6 +688,24 @@ export interface EbsiSpecificWalletData {
|
|
|
688
688
|
* @memberof EbsiSpecificWalletData
|
|
689
689
|
*/
|
|
690
690
|
'proxyUrl'?: string;
|
|
691
|
+
/**
|
|
692
|
+
* Defines if the specific wallet is eligible to request a credential from EBSI to get Accredited as RTAO
|
|
693
|
+
* @type {boolean}
|
|
694
|
+
* @memberof EbsiSpecificWalletData
|
|
695
|
+
*/
|
|
696
|
+
'rTaoEligible'?: boolean;
|
|
697
|
+
/**
|
|
698
|
+
* EBSI specific role in the trust chain
|
|
699
|
+
* @type {string}
|
|
700
|
+
* @memberof EbsiSpecificWalletData
|
|
701
|
+
*/
|
|
702
|
+
'trustChainRole'?: EbsiSpecificWalletDataTrustChainRoleEnum;
|
|
703
|
+
/**
|
|
704
|
+
* List of credential DIDs that authorize this specific wallet to accredit other wallets.
|
|
705
|
+
* @type {Array<string>}
|
|
706
|
+
* @memberof EbsiSpecificWalletData
|
|
707
|
+
*/
|
|
708
|
+
'authorizationCredentials'?: Array<string>;
|
|
691
709
|
/**
|
|
692
710
|
*
|
|
693
711
|
* @type {EbsiConfiguration}
|
|
@@ -695,6 +713,12 @@ export interface EbsiSpecificWalletData {
|
|
|
695
713
|
*/
|
|
696
714
|
'configuration': EbsiConfiguration;
|
|
697
715
|
}
|
|
716
|
+
export declare const EbsiSpecificWalletDataTrustChainRoleEnum: {
|
|
717
|
+
readonly Rtao: "rtao";
|
|
718
|
+
readonly Tao: "tao";
|
|
719
|
+
readonly Ti: "ti";
|
|
720
|
+
};
|
|
721
|
+
export type EbsiSpecificWalletDataTrustChainRoleEnum = typeof EbsiSpecificWalletDataTrustChainRoleEnum[keyof typeof EbsiSpecificWalletDataTrustChainRoleEnum];
|
|
698
722
|
/**
|
|
699
723
|
* A scheme providing enough information for a verifier to determine whether the evidence gathered by the issuer meets its confidence requirements for relying on the credential
|
|
700
724
|
* @export
|
|
@@ -2283,7 +2307,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2283
2307
|
* @param {*} [options] Override http request option.
|
|
2284
2308
|
* @throws {RequiredError}
|
|
2285
2309
|
*/
|
|
2286
|
-
oidcCredentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2310
|
+
oidcCredentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InteractionAuthorizationRequirements>>;
|
|
2287
2311
|
/**
|
|
2288
2312
|
* Initiates issuing of the credential using the authorized deferred flow, in which the holder will receive credential asynchronously.
|
|
2289
2313
|
* @param {string} walletId
|
|
@@ -2609,7 +2633,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2609
2633
|
* @param {*} [options] Override http request option.
|
|
2610
2634
|
* @throws {RequiredError}
|
|
2611
2635
|
*/
|
|
2612
|
-
oidcCredentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?: any): AxiosPromise<
|
|
2636
|
+
oidcCredentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?: any): AxiosPromise<InteractionAuthorizationRequirements>;
|
|
2613
2637
|
/**
|
|
2614
2638
|
* Initiates issuing of the credential using the authorized deferred flow, in which the holder will receive credential asynchronously.
|
|
2615
2639
|
* @param {string} walletId
|
|
@@ -2955,7 +2979,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2955
2979
|
* @throws {RequiredError}
|
|
2956
2980
|
* @memberof DefaultApi
|
|
2957
2981
|
*/
|
|
2958
|
-
oidcCredentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InteractionAuthorizationRequirements
|
|
2982
|
+
oidcCredentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InteractionAuthorizationRequirements, any>>;
|
|
2959
2983
|
/**
|
|
2960
2984
|
* Initiates issuing of the credential using the authorized deferred flow, in which the holder will receive credential asynchronously.
|
|
2961
2985
|
* @param {string} walletId
|
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.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = 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.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.EbsiSpecificWalletDataTrustChainRoleEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = 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
|
|
@@ -60,6 +60,11 @@ exports.DeferredStatusEnum = {
|
|
|
60
60
|
Completed: 'completed',
|
|
61
61
|
Error: 'error'
|
|
62
62
|
};
|
|
63
|
+
exports.EbsiSpecificWalletDataTrustChainRoleEnum = {
|
|
64
|
+
Rtao: 'rtao',
|
|
65
|
+
Tao: 'tao',
|
|
66
|
+
Ti: 'ti'
|
|
67
|
+
};
|
|
63
68
|
exports.HealthStatusStatusEnum = {
|
|
64
69
|
Ok: 'ok',
|
|
65
70
|
Limited: 'limited',
|