@triveria/wallet 0.0.185 → 0.0.187
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 +79 -42
- package/api.js +6 -1
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -574,7 +574,13 @@ export interface CredentialType {
|
|
|
574
574
|
* @type {Array<string>}
|
|
575
575
|
* @memberof CredentialType
|
|
576
576
|
*/
|
|
577
|
-
'type'
|
|
577
|
+
'type'?: Array<string>;
|
|
578
|
+
/**
|
|
579
|
+
*
|
|
580
|
+
* @type {string}
|
|
581
|
+
* @memberof CredentialType
|
|
582
|
+
*/
|
|
583
|
+
'doctype'?: string;
|
|
578
584
|
}
|
|
579
585
|
/**
|
|
580
586
|
*
|
|
@@ -1219,6 +1225,25 @@ export interface OfferReceivedNotification {
|
|
|
1219
1225
|
*/
|
|
1220
1226
|
'credentialId'?: string;
|
|
1221
1227
|
}
|
|
1228
|
+
/**
|
|
1229
|
+
* OIDC specifications are differs drastically from version to version. EBSI needs Draft 11 revision, EUDI uses Release 1.0 revision, so this field should set the revision wallet uses. If omited Draft11 for OIDC4VCI, and Draft16 for OIDC4VP are used for the EBSI compatibility
|
|
1230
|
+
* @export
|
|
1231
|
+
* @interface OidcRevision
|
|
1232
|
+
*/
|
|
1233
|
+
export interface OidcRevision {
|
|
1234
|
+
/**
|
|
1235
|
+
*
|
|
1236
|
+
* @type {string}
|
|
1237
|
+
* @memberof OidcRevision
|
|
1238
|
+
*/
|
|
1239
|
+
'oidc4vci'?: OidcRevisionOidc4vciEnum;
|
|
1240
|
+
}
|
|
1241
|
+
export declare const OidcRevisionOidc4vciEnum: {
|
|
1242
|
+
readonly Draft11: "Draft11";
|
|
1243
|
+
readonly Draft13: "Draft13";
|
|
1244
|
+
readonly Release10: "Release10";
|
|
1245
|
+
};
|
|
1246
|
+
export type OidcRevisionOidc4vciEnum = typeof OidcRevisionOidc4vciEnum[keyof typeof OidcRevisionOidc4vciEnum];
|
|
1222
1247
|
/**
|
|
1223
1248
|
* On successful EBSI-onboarding result contains \"did:ebsi\" decentralized identifier
|
|
1224
1249
|
* @export
|
|
@@ -1348,6 +1373,12 @@ export interface PresentationDefinitionFormat {
|
|
|
1348
1373
|
* @memberof PresentationDefinitionFormat
|
|
1349
1374
|
*/
|
|
1350
1375
|
'jwt_vp'?: PresentationDefinitionFormatAlg;
|
|
1376
|
+
/**
|
|
1377
|
+
*
|
|
1378
|
+
* @type {PresentationDefinitionFormatAlg}
|
|
1379
|
+
* @memberof PresentationDefinitionFormat
|
|
1380
|
+
*/
|
|
1381
|
+
'mso_mdoc'?: PresentationDefinitionFormatAlg;
|
|
1351
1382
|
}
|
|
1352
1383
|
/**
|
|
1353
1384
|
*
|
|
@@ -1791,6 +1822,12 @@ export interface WalletConfig {
|
|
|
1791
1822
|
* @memberof WalletConfig
|
|
1792
1823
|
*/
|
|
1793
1824
|
'credentialVerifiers'?: Array<CredentialVerifierDefinition>;
|
|
1825
|
+
/**
|
|
1826
|
+
*
|
|
1827
|
+
* @type {OidcRevision}
|
|
1828
|
+
* @memberof WalletConfig
|
|
1829
|
+
*/
|
|
1830
|
+
'oidcRevision'?: OidcRevision;
|
|
1794
1831
|
/**
|
|
1795
1832
|
* What trust framework should we use with this wallet. This property COULD NOT change later. Supported frameworks: EBSI - the European Blockchain Services Infrastructure, TTS - Triveria Trust Service, Noop - did:key based no-op trust framework (mainly for the personal use)
|
|
1796
1833
|
* @type {string}
|
|
@@ -2595,7 +2632,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2595
2632
|
* @param {*} [options] Override http request option.
|
|
2596
2633
|
* @throws {RequiredError}
|
|
2597
2634
|
*/
|
|
2598
|
-
credentialAddToIssuanceQueue(credentialId: string, walletId: string, issuanceQueueCredentialAdd?: IssuanceQueueCredentialAdd, options?:
|
|
2635
|
+
credentialAddToIssuanceQueue(credentialId: string, walletId: string, issuanceQueueCredentialAdd?: IssuanceQueueCredentialAdd, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2599
2636
|
/**
|
|
2600
2637
|
* Creates a new draft credential.
|
|
2601
2638
|
* @param {string} walletId
|
|
@@ -2603,7 +2640,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2603
2640
|
* @param {*} [options] Override http request option.
|
|
2604
2641
|
* @throws {RequiredError}
|
|
2605
2642
|
*/
|
|
2606
|
-
credentialCreate(walletId: string, credentialPayload?: CredentialPayload, options?:
|
|
2643
|
+
credentialCreate(walletId: string, credentialPayload?: CredentialPayload, options?: RawAxiosRequestConfig): AxiosPromise<CredentialIdObject>;
|
|
2607
2644
|
/**
|
|
2608
2645
|
* Retrieves a specific verifiable credential based on the provided identifier. Upon retrieval the status of the credential is checked on the fly and therefore guaranteed.
|
|
2609
2646
|
* @param {string} credentialId Verifiable Credential Identifier
|
|
@@ -2611,7 +2648,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2611
2648
|
* @param {*} [options] Override http request option.
|
|
2612
2649
|
* @throws {RequiredError}
|
|
2613
2650
|
*/
|
|
2614
|
-
credentialGet(credentialId: string, walletId: string, options?:
|
|
2651
|
+
credentialGet(credentialId: string, walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<CredentialWrapper>;
|
|
2615
2652
|
/**
|
|
2616
2653
|
* Import pre-signed credential into wallet
|
|
2617
2654
|
* @param {string} walletId
|
|
@@ -2619,7 +2656,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2619
2656
|
* @param {*} [options] Override http request option.
|
|
2620
2657
|
* @throws {RequiredError}
|
|
2621
2658
|
*/
|
|
2622
|
-
credentialImport(walletId: string, credentialImport?: CredentialImport, options?:
|
|
2659
|
+
credentialImport(walletId: string, credentialImport?: CredentialImport, options?: RawAxiosRequestConfig): AxiosPromise<Credential>;
|
|
2623
2660
|
/**
|
|
2624
2661
|
* Retrieves a list of credentials.
|
|
2625
2662
|
* @param {string} walletId
|
|
@@ -2633,7 +2670,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2633
2670
|
* @param {*} [options] Override http request option.
|
|
2634
2671
|
* @throws {RequiredError}
|
|
2635
2672
|
*/
|
|
2636
|
-
credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?:
|
|
2673
|
+
credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: RawAxiosRequestConfig): AxiosPromise<CredentialList>;
|
|
2637
2674
|
/**
|
|
2638
2675
|
* Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.
|
|
2639
2676
|
* @param {string} credentialId Verifiable Credential Identifier
|
|
@@ -2642,7 +2679,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2642
2679
|
* @param {*} [options] Override http request option.
|
|
2643
2680
|
* @throws {RequiredError}
|
|
2644
2681
|
*/
|
|
2645
|
-
credentialMetadataPatch(credentialId: string, walletId: string, credentialMetadata?: CredentialMetadata, options?:
|
|
2682
|
+
credentialMetadataPatch(credentialId: string, walletId: string, credentialMetadata?: CredentialMetadata, options?: RawAxiosRequestConfig): AxiosPromise<CredentialIdObject>;
|
|
2646
2683
|
/**
|
|
2647
2684
|
* Endpoint used to update an existing Credential in draft state. Can be used for additional updates before the Credential is issued. After credential is issued it may not be changed in any way.
|
|
2648
2685
|
* @param {string} credentialId Verifiable Credential Identifier
|
|
@@ -2651,7 +2688,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2651
2688
|
* @param {*} [options] Override http request option.
|
|
2652
2689
|
* @throws {RequiredError}
|
|
2653
2690
|
*/
|
|
2654
|
-
credentialPatch(credentialId: string, walletId: string, credentialPayload?: CredentialPayload, options?:
|
|
2691
|
+
credentialPatch(credentialId: string, walletId: string, credentialPayload?: CredentialPayload, options?: RawAxiosRequestConfig): AxiosPromise<CredentialIdObject>;
|
|
2655
2692
|
/**
|
|
2656
2693
|
* Requests a credential issuance from the issuer and retrieves requirements for holder authorization.
|
|
2657
2694
|
* @param {string} walletId
|
|
@@ -2659,7 +2696,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2659
2696
|
* @param {*} [options] Override http request option.
|
|
2660
2697
|
* @throws {RequiredError}
|
|
2661
2698
|
*/
|
|
2662
|
-
credentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?:
|
|
2699
|
+
credentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
2663
2700
|
/**
|
|
2664
2701
|
* Revoke a specific Verifiable Credential
|
|
2665
2702
|
* @param {string} credentialId Verifiable Credential Identifier
|
|
@@ -2667,7 +2704,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2667
2704
|
* @param {*} [options] Override http request option.
|
|
2668
2705
|
* @throws {RequiredError}
|
|
2669
2706
|
*/
|
|
2670
|
-
credentialRevoke(credentialId: string, walletId: string, options?:
|
|
2707
|
+
credentialRevoke(credentialId: string, walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2671
2708
|
/**
|
|
2672
2709
|
*
|
|
2673
2710
|
* @param {string} deferredId Deferred token
|
|
@@ -2675,20 +2712,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2675
2712
|
* @param {*} [options] Override http request option.
|
|
2676
2713
|
* @throws {RequiredError}
|
|
2677
2714
|
*/
|
|
2678
|
-
deferredStatus(deferredId: string, walletId: string, options?:
|
|
2715
|
+
deferredStatus(deferredId: string, walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<Deferred>;
|
|
2679
2716
|
/**
|
|
2680
2717
|
*
|
|
2681
2718
|
* @param {string} walletId
|
|
2682
2719
|
* @param {*} [options] Override http request option.
|
|
2683
2720
|
* @throws {RequiredError}
|
|
2684
2721
|
*/
|
|
2685
|
-
didGet(walletId: string, options?:
|
|
2722
|
+
didGet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<Did>;
|
|
2686
2723
|
/**
|
|
2687
2724
|
*
|
|
2688
2725
|
* @param {*} [options] Override http request option.
|
|
2689
2726
|
* @throws {RequiredError}
|
|
2690
2727
|
*/
|
|
2691
|
-
healthCheck(options?:
|
|
2728
|
+
healthCheck(options?: RawAxiosRequestConfig): AxiosPromise<HealthStatus>;
|
|
2692
2729
|
/**
|
|
2693
2730
|
* Creates an authorized credential offer (deferred or instant) for holder-initiated credential request using provided parameters. The offer is an URL that the creator should provide to the client via a redirect, link, or QR code.
|
|
2694
2731
|
* @param {string} walletId
|
|
@@ -2696,7 +2733,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2696
2733
|
* @param {*} [options] Override http request option.
|
|
2697
2734
|
* @throws {RequiredError}
|
|
2698
2735
|
*/
|
|
2699
|
-
holderCreateAuthOffer(walletId: string, holderAuthOfferCreationRequest?: HolderAuthOfferCreationRequest, options?:
|
|
2736
|
+
holderCreateAuthOffer(walletId: string, holderAuthOfferCreationRequest?: HolderAuthOfferCreationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2700
2737
|
/**
|
|
2701
2738
|
* Presenting Verifiable Credentials after holder\'s consent.
|
|
2702
2739
|
* @param {string} walletId
|
|
@@ -2705,7 +2742,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2705
2742
|
* @param {*} [options] Override http request option.
|
|
2706
2743
|
* @throws {RequiredError}
|
|
2707
2744
|
*/
|
|
2708
|
-
holderCredentialsPresentAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?:
|
|
2745
|
+
holderCredentialsPresentAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2709
2746
|
/**
|
|
2710
2747
|
* Responds to an ID token request
|
|
2711
2748
|
* @param {string} walletId
|
|
@@ -2713,7 +2750,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2713
2750
|
* @param {*} [options] Override http request option.
|
|
2714
2751
|
* @throws {RequiredError}
|
|
2715
2752
|
*/
|
|
2716
|
-
holderIdTokenSend(walletId: string, idTokenSendRequest?: IdTokenSendRequest, options?:
|
|
2753
|
+
holderIdTokenSend(walletId: string, idTokenSendRequest?: IdTokenSendRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2717
2754
|
/**
|
|
2718
2755
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
2719
2756
|
* @param {string} walletId
|
|
@@ -2721,7 +2758,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2721
2758
|
* @param {*} [options] Override http request option.
|
|
2722
2759
|
* @throws {RequiredError}
|
|
2723
2760
|
*/
|
|
2724
|
-
holderOfferPassAuthInfo(walletId: string, vcOffer?: VcOffer, options?:
|
|
2761
|
+
holderOfferPassAuthInfo(walletId: string, vcOffer?: VcOffer, options?: RawAxiosRequestConfig): AxiosPromise<InteractionAuthorizationRequirements>;
|
|
2725
2762
|
/**
|
|
2726
2763
|
* Gives consent to process credential offer specified by `interaction_id`
|
|
2727
2764
|
* @param {string} walletId
|
|
@@ -2730,7 +2767,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2730
2767
|
* @param {*} [options] Override http request option.
|
|
2731
2768
|
* @throws {RequiredError}
|
|
2732
2769
|
*/
|
|
2733
|
-
holderOfferProcessAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?:
|
|
2770
|
+
holderOfferProcessAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
2734
2771
|
/**
|
|
2735
2772
|
* Initiates a presentation of credentials to a verifier.
|
|
2736
2773
|
* @param {string} walletId
|
|
@@ -2738,21 +2775,21 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2738
2775
|
* @param {*} [options] Override http request option.
|
|
2739
2776
|
* @throws {RequiredError}
|
|
2740
2777
|
*/
|
|
2741
|
-
holderPresentPassAuthInfo(walletId: string, presentationRequest?: PresentationRequest, options?:
|
|
2778
|
+
holderPresentPassAuthInfo(walletId: string, presentationRequest?: PresentationRequest, options?: RawAxiosRequestConfig): AxiosPromise<InteractionAuthorizationRequirements>;
|
|
2742
2779
|
/**
|
|
2743
2780
|
* Creates an ID token request.
|
|
2744
2781
|
* @param {string} walletId
|
|
2745
2782
|
* @param {*} [options] Override http request option.
|
|
2746
2783
|
* @throws {RequiredError}
|
|
2747
2784
|
*/
|
|
2748
|
-
idTokenRequestCreate(walletId: string, options?:
|
|
2785
|
+
idTokenRequestCreate(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<IdTokenRequest>;
|
|
2749
2786
|
/**
|
|
2750
2787
|
* Returns verifiable credential format and types that are supported by the issuer. - format: the verifiable credential format (for example \"jwt_vc\") - type: a list of strings that define supported verifiable credential type(s)
|
|
2751
2788
|
* @param {string} url
|
|
2752
2789
|
* @param {*} [options] Override http request option.
|
|
2753
2790
|
* @throws {RequiredError}
|
|
2754
2791
|
*/
|
|
2755
|
-
issuerCredentialTypesList(url: string, options?:
|
|
2792
|
+
issuerCredentialTypesList(url: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<CredentialType>>;
|
|
2756
2793
|
/**
|
|
2757
2794
|
* Initiates issuing of Verifiable Credentials using the authorized deferred flow, in which the holder will receive credential asynchronously.
|
|
2758
2795
|
* @param {string} walletId
|
|
@@ -2760,7 +2797,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2760
2797
|
* @param {*} [options] Override http request option.
|
|
2761
2798
|
* @throws {RequiredError}
|
|
2762
2799
|
*/
|
|
2763
|
-
issuerInitiateDeferred(walletId: string, initAuthOffer?: InitAuthOffer, options?:
|
|
2800
|
+
issuerInitiateDeferred(walletId: string, initAuthOffer?: InitAuthOffer, options?: RawAxiosRequestConfig): AxiosPromise<AuthOffer>;
|
|
2764
2801
|
/**
|
|
2765
2802
|
* Initiates issuing of Verifiable Credentials using authorized flow.
|
|
2766
2803
|
* @param {string} walletId
|
|
@@ -2768,7 +2805,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2768
2805
|
* @param {*} [options] Override http request option.
|
|
2769
2806
|
* @throws {RequiredError}
|
|
2770
2807
|
*/
|
|
2771
|
-
issuerInitiateIntime(walletId: string, initAuthOffer?: InitAuthOffer, options?:
|
|
2808
|
+
issuerInitiateIntime(walletId: string, initAuthOffer?: InitAuthOffer, options?: RawAxiosRequestConfig): AxiosPromise<AuthOffer>;
|
|
2772
2809
|
/**
|
|
2773
2810
|
* Initiates issuing of Verifiable Credentials using pre-authorized flow.
|
|
2774
2811
|
* @param {string} walletId
|
|
@@ -2776,7 +2813,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2776
2813
|
* @param {*} [options] Override http request option.
|
|
2777
2814
|
* @throws {RequiredError}
|
|
2778
2815
|
*/
|
|
2779
|
-
issuerInitiatePreauth(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?:
|
|
2816
|
+
issuerInitiatePreauth(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): AxiosPromise<PreAuthOffer>;
|
|
2780
2817
|
/**
|
|
2781
2818
|
* Accredits a legal entity as RTAO or TAO.
|
|
2782
2819
|
* @param {string} walletId
|
|
@@ -2784,28 +2821,28 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2784
2821
|
* @param {*} [options] Override http request option.
|
|
2785
2822
|
* @throws {RequiredError}
|
|
2786
2823
|
*/
|
|
2787
|
-
tfAccreditAs(walletId: string, accreditationRequest?: AccreditationRequest, options?:
|
|
2824
|
+
tfAccreditAs(walletId: string, accreditationRequest?: AccreditationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2788
2825
|
/**
|
|
2789
2826
|
* Accredits the wallet as a trusted issuer.
|
|
2790
2827
|
* @param {string} walletId
|
|
2791
2828
|
* @param {*} [options] Override http request option.
|
|
2792
2829
|
* @throws {RequiredError}
|
|
2793
2830
|
*/
|
|
2794
|
-
tfAccreditAsTrustedIssuer(walletId: string, options?:
|
|
2831
|
+
tfAccreditAsTrustedIssuer(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2795
2832
|
/**
|
|
2796
2833
|
* Registers an issuer proxy used by EBSI for the credential status retrieval through EBSI network.
|
|
2797
2834
|
* @param {string} walletId
|
|
2798
2835
|
* @param {*} [options] Override http request option.
|
|
2799
2836
|
* @throws {RequiredError}
|
|
2800
2837
|
*/
|
|
2801
|
-
tfInsertIssuerProxy(walletId: string, options?:
|
|
2838
|
+
tfInsertIssuerProxy(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2802
2839
|
/**
|
|
2803
2840
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
2804
2841
|
* @param {string} walletId
|
|
2805
2842
|
* @param {*} [options] Override http request option.
|
|
2806
2843
|
* @throws {RequiredError}
|
|
2807
2844
|
*/
|
|
2808
|
-
tfOnboardLegalEntity(walletId: string, options?:
|
|
2845
|
+
tfOnboardLegalEntity(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<OnboardResult>;
|
|
2809
2846
|
/**
|
|
2810
2847
|
* Prepares another legal entity\'s wallet DID for accreditation.
|
|
2811
2848
|
* @param {string} walletId
|
|
@@ -2813,14 +2850,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2813
2850
|
* @param {*} [options] Override http request option.
|
|
2814
2851
|
* @throws {RequiredError}
|
|
2815
2852
|
*/
|
|
2816
|
-
tfPrepareToAccredit(walletId: string, prepareToAccreditRequest?: PrepareToAccreditRequest, options?:
|
|
2853
|
+
tfPrepareToAccredit(walletId: string, prepareToAccreditRequest?: PrepareToAccreditRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2817
2854
|
/**
|
|
2818
2855
|
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2819
2856
|
* @param {string} walletId
|
|
2820
2857
|
* @param {*} [options] Override http request option.
|
|
2821
2858
|
* @throws {RequiredError}
|
|
2822
2859
|
*/
|
|
2823
|
-
tfPrepareToOnboard(walletId: string, options?:
|
|
2860
|
+
tfPrepareToOnboard(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2824
2861
|
/**
|
|
2825
2862
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2826
2863
|
* @param {string} walletId
|
|
@@ -2828,7 +2865,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2828
2865
|
* @param {*} [options] Override http request option.
|
|
2829
2866
|
* @throws {RequiredError}
|
|
2830
2867
|
*/
|
|
2831
|
-
tfRevokeAccreditation(walletId: string, revokeAccreditationRequest?: RevokeAccreditationRequest, options?:
|
|
2868
|
+
tfRevokeAccreditation(walletId: string, revokeAccreditationRequest?: RevokeAccreditationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2832
2869
|
/**
|
|
2833
2870
|
* Returns an url where verifier accepts presentations from a holder.
|
|
2834
2871
|
* @param {string} walletId
|
|
@@ -2836,34 +2873,34 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2836
2873
|
* @param {*} [options] Override http request option.
|
|
2837
2874
|
* @throws {RequiredError}
|
|
2838
2875
|
*/
|
|
2839
|
-
verifierInitUrlCreate(walletId: string, verifyInitRequest?: VerifyInitRequest, options?:
|
|
2876
|
+
verifierInitUrlCreate(walletId: string, verifyInitRequest?: VerifyInitRequest, options?: RawAxiosRequestConfig): AxiosPromise<VerifyInitResponse>;
|
|
2840
2877
|
/**
|
|
2841
2878
|
* Creates a new wallet for the authenticated client.
|
|
2842
2879
|
* @param {Wallet} [wallet]
|
|
2843
2880
|
* @param {*} [options] Override http request option.
|
|
2844
2881
|
* @throws {RequiredError}
|
|
2845
2882
|
*/
|
|
2846
|
-
walletCreate(wallet?: Wallet, options?:
|
|
2883
|
+
walletCreate(wallet?: Wallet, options?: RawAxiosRequestConfig): AxiosPromise<WalletIdObject>;
|
|
2847
2884
|
/**
|
|
2848
2885
|
* Permanently deletes the wallet with all credentials and keys. Make sure you know what you are doing before hitting this endpoint.
|
|
2849
2886
|
* @param {string} walletId
|
|
2850
2887
|
* @param {*} [options] Override http request option.
|
|
2851
2888
|
* @throws {RequiredError}
|
|
2852
2889
|
*/
|
|
2853
|
-
walletDelete(walletId: string, options?:
|
|
2890
|
+
walletDelete(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2854
2891
|
/**
|
|
2855
2892
|
* Provides wallet details
|
|
2856
2893
|
* @param {string} walletId
|
|
2857
2894
|
* @param {*} [options] Override http request option.
|
|
2858
2895
|
* @throws {RequiredError}
|
|
2859
2896
|
*/
|
|
2860
|
-
walletGet(walletId: string, options?:
|
|
2897
|
+
walletGet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<Wallet>;
|
|
2861
2898
|
/**
|
|
2862
2899
|
* Provides list of wallets owned by the authenticated client.
|
|
2863
2900
|
* @param {*} [options] Override http request option.
|
|
2864
2901
|
* @throws {RequiredError}
|
|
2865
2902
|
*/
|
|
2866
|
-
walletList(options?:
|
|
2903
|
+
walletList(options?: RawAxiosRequestConfig): AxiosPromise<Array<WalletListItem>>;
|
|
2867
2904
|
/**
|
|
2868
2905
|
* Gets a specific notification by state
|
|
2869
2906
|
* @param {string} walletId Wallet ID
|
|
@@ -2871,7 +2908,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2871
2908
|
* @param {*} [options] Override http request option.
|
|
2872
2909
|
* @throws {RequiredError}
|
|
2873
2910
|
*/
|
|
2874
|
-
walletNotificationGetByState(walletId: string, state: string, options?:
|
|
2911
|
+
walletNotificationGetByState(walletId: string, state: string, options?: RawAxiosRequestConfig): AxiosPromise<WalletNotification>;
|
|
2875
2912
|
/**
|
|
2876
2913
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
2877
2914
|
* @param {string} walletId Wallet ID
|
|
@@ -2882,14 +2919,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2882
2919
|
* @param {*} [options] Override http request option.
|
|
2883
2920
|
* @throws {RequiredError}
|
|
2884
2921
|
*/
|
|
2885
|
-
walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?:
|
|
2922
|
+
walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig): AxiosPromise<WalletNotificationHistory>;
|
|
2886
2923
|
/**
|
|
2887
2924
|
* Provides first-in-first-out queue of notifications for a specific wallet.
|
|
2888
2925
|
* @param {string} walletId Wallet ID
|
|
2889
2926
|
* @param {*} [options] Override http request option.
|
|
2890
2927
|
* @throws {RequiredError}
|
|
2891
2928
|
*/
|
|
2892
|
-
walletNotifications(walletId: string, options?:
|
|
2929
|
+
walletNotifications(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<WalletNotification>>;
|
|
2893
2930
|
/**
|
|
2894
2931
|
* Update wallet metadata and configuration.
|
|
2895
2932
|
* @param {string} walletId
|
|
@@ -2897,7 +2934,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2897
2934
|
* @param {*} [options] Override http request option.
|
|
2898
2935
|
* @throws {RequiredError}
|
|
2899
2936
|
*/
|
|
2900
|
-
walletPatch(walletId: string, wallet?: Wallet, options?:
|
|
2937
|
+
walletPatch(walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig): AxiosPromise<WalletIdObject>;
|
|
2901
2938
|
/**
|
|
2902
2939
|
* Gets a specific verified credentials by state
|
|
2903
2940
|
* @param {string} walletId Wallet ID
|
|
@@ -2905,7 +2942,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2905
2942
|
* @param {*} [options] Override http request option.
|
|
2906
2943
|
* @throws {RequiredError}
|
|
2907
2944
|
*/
|
|
2908
|
-
walletVerifiedCredentialsByState(walletId: string, state: string, options?:
|
|
2945
|
+
walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Credential>>;
|
|
2909
2946
|
/**
|
|
2910
2947
|
* Deletes a specific verified credentials by state
|
|
2911
2948
|
* @param {string} walletId Wallet ID
|
|
@@ -2913,7 +2950,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2913
2950
|
* @param {*} [options] Override http request option.
|
|
2914
2951
|
* @throws {RequiredError}
|
|
2915
2952
|
*/
|
|
2916
|
-
walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?:
|
|
2953
|
+
walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2917
2954
|
};
|
|
2918
2955
|
/**
|
|
2919
2956
|
* DefaultApi - object-oriented interface
|
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.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.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
|
|
@@ -79,6 +79,11 @@ exports.ListSort = {
|
|
|
79
79
|
Asc: 'asc',
|
|
80
80
|
Desc: 'desc'
|
|
81
81
|
};
|
|
82
|
+
exports.OidcRevisionOidc4vciEnum = {
|
|
83
|
+
Draft11: 'Draft11',
|
|
84
|
+
Draft13: 'Draft13',
|
|
85
|
+
Release10: 'Release10'
|
|
86
|
+
};
|
|
82
87
|
exports.PrepareToAccreditRequestTypeEnum = {
|
|
83
88
|
TrustedIssuer: 'TrustedIssuer',
|
|
84
89
|
TrustedAccreditationOrganisation: 'TrustedAccreditationOrganisation'
|