@triveria/wallet 0.0.197 → 0.0.199
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 +259 -8
- package/api.js +417 -0
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -1135,6 +1135,50 @@ export interface IssuerLogoImage {
|
|
|
1135
1135
|
*/
|
|
1136
1136
|
'alt_text'?: string;
|
|
1137
1137
|
}
|
|
1138
|
+
/**
|
|
1139
|
+
*
|
|
1140
|
+
* @export
|
|
1141
|
+
* @interface LinkedVpCreateRequest
|
|
1142
|
+
*/
|
|
1143
|
+
export interface LinkedVpCreateRequest {
|
|
1144
|
+
/**
|
|
1145
|
+
*
|
|
1146
|
+
* @type {PresentationDefinition}
|
|
1147
|
+
* @memberof LinkedVpCreateRequest
|
|
1148
|
+
*/
|
|
1149
|
+
'presentationDefinition': PresentationDefinition;
|
|
1150
|
+
/**
|
|
1151
|
+
*
|
|
1152
|
+
* @type {Array<InputDescriptorSuitableCredentials>}
|
|
1153
|
+
* @memberof LinkedVpCreateRequest
|
|
1154
|
+
*/
|
|
1155
|
+
'credentialsToPresent': Array<InputDescriptorSuitableCredentials>;
|
|
1156
|
+
/**
|
|
1157
|
+
*
|
|
1158
|
+
* @type {string}
|
|
1159
|
+
* @memberof LinkedVpCreateRequest
|
|
1160
|
+
*/
|
|
1161
|
+
'expirationDate'?: string;
|
|
1162
|
+
}
|
|
1163
|
+
/**
|
|
1164
|
+
*
|
|
1165
|
+
* @export
|
|
1166
|
+
* @interface LinkedVpMetadata
|
|
1167
|
+
*/
|
|
1168
|
+
export interface LinkedVpMetadata {
|
|
1169
|
+
/**
|
|
1170
|
+
*
|
|
1171
|
+
* @type {string}
|
|
1172
|
+
* @memberof LinkedVpMetadata
|
|
1173
|
+
*/
|
|
1174
|
+
'linkedVpId': string;
|
|
1175
|
+
/**
|
|
1176
|
+
*
|
|
1177
|
+
* @type {string}
|
|
1178
|
+
* @memberof LinkedVpMetadata
|
|
1179
|
+
*/
|
|
1180
|
+
'linkedVpUrl': string;
|
|
1181
|
+
}
|
|
1138
1182
|
/**
|
|
1139
1183
|
* Sort flag controls the sort direction by the time created
|
|
1140
1184
|
* @export
|
|
@@ -1775,6 +1819,25 @@ export interface VcOffer {
|
|
|
1775
1819
|
*/
|
|
1776
1820
|
'Url': string;
|
|
1777
1821
|
}
|
|
1822
|
+
/**
|
|
1823
|
+
*
|
|
1824
|
+
* @export
|
|
1825
|
+
* @interface VerifiedLinkedVp
|
|
1826
|
+
*/
|
|
1827
|
+
export interface VerifiedLinkedVp {
|
|
1828
|
+
/**
|
|
1829
|
+
*
|
|
1830
|
+
* @type {string}
|
|
1831
|
+
* @memberof VerifiedLinkedVp
|
|
1832
|
+
*/
|
|
1833
|
+
'linkedVpId': string;
|
|
1834
|
+
/**
|
|
1835
|
+
*
|
|
1836
|
+
* @type {Array<Credential>}
|
|
1837
|
+
* @memberof VerifiedLinkedVp
|
|
1838
|
+
*/
|
|
1839
|
+
'credentials': Array<Credential>;
|
|
1840
|
+
}
|
|
1778
1841
|
/**
|
|
1779
1842
|
* Request for the creation of URL used by holder to present credentials to a verifier. Either clientId or idTokenRequestId MUST be present.
|
|
1780
1843
|
* @export
|
|
@@ -1856,14 +1919,6 @@ export interface Wallet {
|
|
|
1856
1919
|
* @memberof Wallet
|
|
1857
1920
|
*/
|
|
1858
1921
|
'capabilities'?: Array<WalletCapability>;
|
|
1859
|
-
/**
|
|
1860
|
-
* Wallet metadata is a key value container for any custom data a client may want
|
|
1861
|
-
* @type {{ [key: string]: any; }}
|
|
1862
|
-
* @memberof Wallet
|
|
1863
|
-
*/
|
|
1864
|
-
'metadata'?: {
|
|
1865
|
-
[key: string]: any;
|
|
1866
|
-
};
|
|
1867
1922
|
/**
|
|
1868
1923
|
*
|
|
1869
1924
|
* @type {WalletConfig}
|
|
@@ -2171,6 +2226,37 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2171
2226
|
* @throws {RequiredError}
|
|
2172
2227
|
*/
|
|
2173
2228
|
holderIdTokenSend: (walletId: string, idTokenSendRequest?: IdTokenSendRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2229
|
+
/**
|
|
2230
|
+
* Creates a new public Linked VP of specified credentials and adds it to the wallet\'s DID document
|
|
2231
|
+
* @param {string} walletId
|
|
2232
|
+
* @param {LinkedVpCreateRequest} [linkedVpCreateRequest]
|
|
2233
|
+
* @param {*} [options] Override http request option.
|
|
2234
|
+
* @throws {RequiredError}
|
|
2235
|
+
*/
|
|
2236
|
+
holderLinkedVpCreate: (walletId: string, linkedVpCreateRequest?: LinkedVpCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2237
|
+
/**
|
|
2238
|
+
* Deletes a linked VP
|
|
2239
|
+
* @param {string} walletId
|
|
2240
|
+
* @param {string} linkedVpId
|
|
2241
|
+
* @param {*} [options] Override http request option.
|
|
2242
|
+
* @throws {RequiredError}
|
|
2243
|
+
*/
|
|
2244
|
+
holderLinkedVpDelete: (walletId: string, linkedVpId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2245
|
+
/**
|
|
2246
|
+
*
|
|
2247
|
+
* @param {string} walletId
|
|
2248
|
+
* @param {string} linkedVpId
|
|
2249
|
+
* @param {*} [options] Override http request option.
|
|
2250
|
+
* @throws {RequiredError}
|
|
2251
|
+
*/
|
|
2252
|
+
holderLinkedVpGetDetails: (walletId: string, linkedVpId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2253
|
+
/**
|
|
2254
|
+
*
|
|
2255
|
+
* @param {string} walletId
|
|
2256
|
+
* @param {*} [options] Override http request option.
|
|
2257
|
+
* @throws {RequiredError}
|
|
2258
|
+
*/
|
|
2259
|
+
holderLinkedVpList: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2174
2260
|
/**
|
|
2175
2261
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
2176
2262
|
* @param {string} walletId
|
|
@@ -2287,6 +2373,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2287
2373
|
* @throws {RequiredError}
|
|
2288
2374
|
*/
|
|
2289
2375
|
verifierInitUrlCreate: (walletId: string, verifyInitRequest?: VerifyInitRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2376
|
+
/**
|
|
2377
|
+
* Fetches linked presentations from DID document and verifies them.
|
|
2378
|
+
* @param {string} walletId
|
|
2379
|
+
* @param {string} did
|
|
2380
|
+
* @param {*} [options] Override http request option.
|
|
2381
|
+
* @throws {RequiredError}
|
|
2382
|
+
*/
|
|
2383
|
+
verifierLinkedVpVerify: (walletId: string, did: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2290
2384
|
/**
|
|
2291
2385
|
* Creates a new wallet for the authenticated client.
|
|
2292
2386
|
* @param {Wallet} [wallet]
|
|
@@ -2308,6 +2402,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2308
2402
|
* @throws {RequiredError}
|
|
2309
2403
|
*/
|
|
2310
2404
|
walletGet: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2405
|
+
/**
|
|
2406
|
+
* Provides wallet keys used for signing.
|
|
2407
|
+
* @param {string} walletId Wallet ID
|
|
2408
|
+
* @param {*} [options] Override http request option.
|
|
2409
|
+
* @throws {RequiredError}
|
|
2410
|
+
*/
|
|
2411
|
+
walletKeys: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2311
2412
|
/**
|
|
2312
2413
|
* Provides list of wallets owned by the authenticated client.
|
|
2313
2414
|
* @param {*} [options] Override http request option.
|
|
@@ -2505,6 +2606,37 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2505
2606
|
* @throws {RequiredError}
|
|
2506
2607
|
*/
|
|
2507
2608
|
holderIdTokenSend(walletId: string, idTokenSendRequest?: IdTokenSendRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2609
|
+
/**
|
|
2610
|
+
* Creates a new public Linked VP of specified credentials and adds it to the wallet\'s DID document
|
|
2611
|
+
* @param {string} walletId
|
|
2612
|
+
* @param {LinkedVpCreateRequest} [linkedVpCreateRequest]
|
|
2613
|
+
* @param {*} [options] Override http request option.
|
|
2614
|
+
* @throws {RequiredError}
|
|
2615
|
+
*/
|
|
2616
|
+
holderLinkedVpCreate(walletId: string, linkedVpCreateRequest?: LinkedVpCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkedVpMetadata>>;
|
|
2617
|
+
/**
|
|
2618
|
+
* Deletes a linked VP
|
|
2619
|
+
* @param {string} walletId
|
|
2620
|
+
* @param {string} linkedVpId
|
|
2621
|
+
* @param {*} [options] Override http request option.
|
|
2622
|
+
* @throws {RequiredError}
|
|
2623
|
+
*/
|
|
2624
|
+
holderLinkedVpDelete(walletId: string, linkedVpId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2625
|
+
/**
|
|
2626
|
+
*
|
|
2627
|
+
* @param {string} walletId
|
|
2628
|
+
* @param {string} linkedVpId
|
|
2629
|
+
* @param {*} [options] Override http request option.
|
|
2630
|
+
* @throws {RequiredError}
|
|
2631
|
+
*/
|
|
2632
|
+
holderLinkedVpGetDetails(walletId: string, linkedVpId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkedVpMetadata>>;
|
|
2633
|
+
/**
|
|
2634
|
+
*
|
|
2635
|
+
* @param {string} walletId
|
|
2636
|
+
* @param {*} [options] Override http request option.
|
|
2637
|
+
* @throws {RequiredError}
|
|
2638
|
+
*/
|
|
2639
|
+
holderLinkedVpList(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LinkedVpMetadata>>>;
|
|
2508
2640
|
/**
|
|
2509
2641
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
2510
2642
|
* @param {string} walletId
|
|
@@ -2621,6 +2753,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2621
2753
|
* @throws {RequiredError}
|
|
2622
2754
|
*/
|
|
2623
2755
|
verifierInitUrlCreate(walletId: string, verifyInitRequest?: VerifyInitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyInitResponse>>;
|
|
2756
|
+
/**
|
|
2757
|
+
* Fetches linked presentations from DID document and verifies them.
|
|
2758
|
+
* @param {string} walletId
|
|
2759
|
+
* @param {string} did
|
|
2760
|
+
* @param {*} [options] Override http request option.
|
|
2761
|
+
* @throws {RequiredError}
|
|
2762
|
+
*/
|
|
2763
|
+
verifierLinkedVpVerify(walletId: string, did: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VerifiedLinkedVp>>>;
|
|
2624
2764
|
/**
|
|
2625
2765
|
* Creates a new wallet for the authenticated client.
|
|
2626
2766
|
* @param {Wallet} [wallet]
|
|
@@ -2642,6 +2782,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2642
2782
|
* @throws {RequiredError}
|
|
2643
2783
|
*/
|
|
2644
2784
|
walletGet(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Wallet>>;
|
|
2785
|
+
/**
|
|
2786
|
+
* Provides wallet keys used for signing.
|
|
2787
|
+
* @param {string} walletId Wallet ID
|
|
2788
|
+
* @param {*} [options] Override http request option.
|
|
2789
|
+
* @throws {RequiredError}
|
|
2790
|
+
*/
|
|
2791
|
+
walletKeys(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
2792
|
+
[key: string]: any;
|
|
2793
|
+
}>>;
|
|
2645
2794
|
/**
|
|
2646
2795
|
* Provides list of wallets owned by the authenticated client.
|
|
2647
2796
|
* @param {*} [options] Override http request option.
|
|
@@ -2839,6 +2988,37 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2839
2988
|
* @throws {RequiredError}
|
|
2840
2989
|
*/
|
|
2841
2990
|
holderIdTokenSend(walletId: string, idTokenSendRequest?: IdTokenSendRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2991
|
+
/**
|
|
2992
|
+
* Creates a new public Linked VP of specified credentials and adds it to the wallet\'s DID document
|
|
2993
|
+
* @param {string} walletId
|
|
2994
|
+
* @param {LinkedVpCreateRequest} [linkedVpCreateRequest]
|
|
2995
|
+
* @param {*} [options] Override http request option.
|
|
2996
|
+
* @throws {RequiredError}
|
|
2997
|
+
*/
|
|
2998
|
+
holderLinkedVpCreate(walletId: string, linkedVpCreateRequest?: LinkedVpCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<LinkedVpMetadata>;
|
|
2999
|
+
/**
|
|
3000
|
+
* Deletes a linked VP
|
|
3001
|
+
* @param {string} walletId
|
|
3002
|
+
* @param {string} linkedVpId
|
|
3003
|
+
* @param {*} [options] Override http request option.
|
|
3004
|
+
* @throws {RequiredError}
|
|
3005
|
+
*/
|
|
3006
|
+
holderLinkedVpDelete(walletId: string, linkedVpId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3007
|
+
/**
|
|
3008
|
+
*
|
|
3009
|
+
* @param {string} walletId
|
|
3010
|
+
* @param {string} linkedVpId
|
|
3011
|
+
* @param {*} [options] Override http request option.
|
|
3012
|
+
* @throws {RequiredError}
|
|
3013
|
+
*/
|
|
3014
|
+
holderLinkedVpGetDetails(walletId: string, linkedVpId: string, options?: RawAxiosRequestConfig): AxiosPromise<LinkedVpMetadata>;
|
|
3015
|
+
/**
|
|
3016
|
+
*
|
|
3017
|
+
* @param {string} walletId
|
|
3018
|
+
* @param {*} [options] Override http request option.
|
|
3019
|
+
* @throws {RequiredError}
|
|
3020
|
+
*/
|
|
3021
|
+
holderLinkedVpList(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<LinkedVpMetadata>>;
|
|
2842
3022
|
/**
|
|
2843
3023
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
2844
3024
|
* @param {string} walletId
|
|
@@ -2955,6 +3135,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2955
3135
|
* @throws {RequiredError}
|
|
2956
3136
|
*/
|
|
2957
3137
|
verifierInitUrlCreate(walletId: string, verifyInitRequest?: VerifyInitRequest, options?: RawAxiosRequestConfig): AxiosPromise<VerifyInitResponse>;
|
|
3138
|
+
/**
|
|
3139
|
+
* Fetches linked presentations from DID document and verifies them.
|
|
3140
|
+
* @param {string} walletId
|
|
3141
|
+
* @param {string} did
|
|
3142
|
+
* @param {*} [options] Override http request option.
|
|
3143
|
+
* @throws {RequiredError}
|
|
3144
|
+
*/
|
|
3145
|
+
verifierLinkedVpVerify(walletId: string, did: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<VerifiedLinkedVp>>;
|
|
2958
3146
|
/**
|
|
2959
3147
|
* Creates a new wallet for the authenticated client.
|
|
2960
3148
|
* @param {Wallet} [wallet]
|
|
@@ -2976,6 +3164,15 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2976
3164
|
* @throws {RequiredError}
|
|
2977
3165
|
*/
|
|
2978
3166
|
walletGet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<Wallet>;
|
|
3167
|
+
/**
|
|
3168
|
+
* Provides wallet keys used for signing.
|
|
3169
|
+
* @param {string} walletId Wallet ID
|
|
3170
|
+
* @param {*} [options] Override http request option.
|
|
3171
|
+
* @throws {RequiredError}
|
|
3172
|
+
*/
|
|
3173
|
+
walletKeys(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
3174
|
+
[key: string]: any;
|
|
3175
|
+
}>;
|
|
2979
3176
|
/**
|
|
2980
3177
|
* Provides list of wallets owned by the authenticated client.
|
|
2981
3178
|
* @param {*} [options] Override http request option.
|
|
@@ -3191,6 +3388,41 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3191
3388
|
* @memberof DefaultApi
|
|
3192
3389
|
*/
|
|
3193
3390
|
holderIdTokenSend(walletId: string, idTokenSendRequest?: IdTokenSendRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3391
|
+
/**
|
|
3392
|
+
* Creates a new public Linked VP of specified credentials and adds it to the wallet\'s DID document
|
|
3393
|
+
* @param {string} walletId
|
|
3394
|
+
* @param {LinkedVpCreateRequest} [linkedVpCreateRequest]
|
|
3395
|
+
* @param {*} [options] Override http request option.
|
|
3396
|
+
* @throws {RequiredError}
|
|
3397
|
+
* @memberof DefaultApi
|
|
3398
|
+
*/
|
|
3399
|
+
holderLinkedVpCreate(walletId: string, linkedVpCreateRequest?: LinkedVpCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkedVpMetadata, any>>;
|
|
3400
|
+
/**
|
|
3401
|
+
* Deletes a linked VP
|
|
3402
|
+
* @param {string} walletId
|
|
3403
|
+
* @param {string} linkedVpId
|
|
3404
|
+
* @param {*} [options] Override http request option.
|
|
3405
|
+
* @throws {RequiredError}
|
|
3406
|
+
* @memberof DefaultApi
|
|
3407
|
+
*/
|
|
3408
|
+
holderLinkedVpDelete(walletId: string, linkedVpId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3409
|
+
/**
|
|
3410
|
+
*
|
|
3411
|
+
* @param {string} walletId
|
|
3412
|
+
* @param {string} linkedVpId
|
|
3413
|
+
* @param {*} [options] Override http request option.
|
|
3414
|
+
* @throws {RequiredError}
|
|
3415
|
+
* @memberof DefaultApi
|
|
3416
|
+
*/
|
|
3417
|
+
holderLinkedVpGetDetails(walletId: string, linkedVpId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkedVpMetadata, any>>;
|
|
3418
|
+
/**
|
|
3419
|
+
*
|
|
3420
|
+
* @param {string} walletId
|
|
3421
|
+
* @param {*} [options] Override http request option.
|
|
3422
|
+
* @throws {RequiredError}
|
|
3423
|
+
* @memberof DefaultApi
|
|
3424
|
+
*/
|
|
3425
|
+
holderLinkedVpList(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkedVpMetadata[], any>>;
|
|
3194
3426
|
/**
|
|
3195
3427
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
3196
3428
|
* @param {string} walletId
|
|
@@ -3322,6 +3554,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3322
3554
|
* @memberof DefaultApi
|
|
3323
3555
|
*/
|
|
3324
3556
|
verifierInitUrlCreate(walletId: string, verifyInitRequest?: VerifyInitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyInitResponse, any>>;
|
|
3557
|
+
/**
|
|
3558
|
+
* Fetches linked presentations from DID document and verifies them.
|
|
3559
|
+
* @param {string} walletId
|
|
3560
|
+
* @param {string} did
|
|
3561
|
+
* @param {*} [options] Override http request option.
|
|
3562
|
+
* @throws {RequiredError}
|
|
3563
|
+
* @memberof DefaultApi
|
|
3564
|
+
*/
|
|
3565
|
+
verifierLinkedVpVerify(walletId: string, did: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifiedLinkedVp[], any>>;
|
|
3325
3566
|
/**
|
|
3326
3567
|
* Creates a new wallet for the authenticated client.
|
|
3327
3568
|
* @param {Wallet} [wallet]
|
|
@@ -3346,6 +3587,16 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3346
3587
|
* @memberof DefaultApi
|
|
3347
3588
|
*/
|
|
3348
3589
|
walletGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Wallet, any>>;
|
|
3590
|
+
/**
|
|
3591
|
+
* Provides wallet keys used for signing.
|
|
3592
|
+
* @param {string} walletId Wallet ID
|
|
3593
|
+
* @param {*} [options] Override http request option.
|
|
3594
|
+
* @throws {RequiredError}
|
|
3595
|
+
* @memberof DefaultApi
|
|
3596
|
+
*/
|
|
3597
|
+
walletKeys(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
3598
|
+
[key: string]: any;
|
|
3599
|
+
}, any>>;
|
|
3349
3600
|
/**
|
|
3350
3601
|
* Provides list of wallets owned by the authenticated client.
|
|
3351
3602
|
* @param {*} [options] Override http request option.
|
package/api.js
CHANGED
|
@@ -729,6 +729,137 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
729
729
|
options: localVarRequestOptions,
|
|
730
730
|
};
|
|
731
731
|
}),
|
|
732
|
+
/**
|
|
733
|
+
* Creates a new public Linked VP of specified credentials and adds it to the wallet\'s DID document
|
|
734
|
+
* @param {string} walletId
|
|
735
|
+
* @param {LinkedVpCreateRequest} [linkedVpCreateRequest]
|
|
736
|
+
* @param {*} [options] Override http request option.
|
|
737
|
+
* @throws {RequiredError}
|
|
738
|
+
*/
|
|
739
|
+
holderLinkedVpCreate: (walletId, linkedVpCreateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
740
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
741
|
+
(0, common_1.assertParamExists)('holderLinkedVpCreate', 'walletId', walletId);
|
|
742
|
+
const localVarPath = `/holder/linked-vp`;
|
|
743
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
744
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
745
|
+
let baseOptions;
|
|
746
|
+
if (configuration) {
|
|
747
|
+
baseOptions = configuration.baseOptions;
|
|
748
|
+
}
|
|
749
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
750
|
+
const localVarHeaderParameter = {};
|
|
751
|
+
const localVarQueryParameter = {};
|
|
752
|
+
if (walletId != null) {
|
|
753
|
+
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
754
|
+
}
|
|
755
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
756
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
757
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
758
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
759
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(linkedVpCreateRequest, localVarRequestOptions, configuration);
|
|
760
|
+
return {
|
|
761
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
762
|
+
options: localVarRequestOptions,
|
|
763
|
+
};
|
|
764
|
+
}),
|
|
765
|
+
/**
|
|
766
|
+
* Deletes a linked VP
|
|
767
|
+
* @param {string} walletId
|
|
768
|
+
* @param {string} linkedVpId
|
|
769
|
+
* @param {*} [options] Override http request option.
|
|
770
|
+
* @throws {RequiredError}
|
|
771
|
+
*/
|
|
772
|
+
holderLinkedVpDelete: (walletId, linkedVpId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
773
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
774
|
+
(0, common_1.assertParamExists)('holderLinkedVpDelete', 'walletId', walletId);
|
|
775
|
+
// verify required parameter 'linkedVpId' is not null or undefined
|
|
776
|
+
(0, common_1.assertParamExists)('holderLinkedVpDelete', 'linkedVpId', linkedVpId);
|
|
777
|
+
const localVarPath = `/holder/linked-vp/{linked_vp_id}`
|
|
778
|
+
.replace(`{${"linked_vp_id"}}`, encodeURIComponent(String(linkedVpId)));
|
|
779
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
780
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
781
|
+
let baseOptions;
|
|
782
|
+
if (configuration) {
|
|
783
|
+
baseOptions = configuration.baseOptions;
|
|
784
|
+
}
|
|
785
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
786
|
+
const localVarHeaderParameter = {};
|
|
787
|
+
const localVarQueryParameter = {};
|
|
788
|
+
if (walletId != null) {
|
|
789
|
+
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
790
|
+
}
|
|
791
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
792
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
793
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
794
|
+
return {
|
|
795
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
796
|
+
options: localVarRequestOptions,
|
|
797
|
+
};
|
|
798
|
+
}),
|
|
799
|
+
/**
|
|
800
|
+
*
|
|
801
|
+
* @param {string} walletId
|
|
802
|
+
* @param {string} linkedVpId
|
|
803
|
+
* @param {*} [options] Override http request option.
|
|
804
|
+
* @throws {RequiredError}
|
|
805
|
+
*/
|
|
806
|
+
holderLinkedVpGetDetails: (walletId, linkedVpId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
807
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
808
|
+
(0, common_1.assertParamExists)('holderLinkedVpGetDetails', 'walletId', walletId);
|
|
809
|
+
// verify required parameter 'linkedVpId' is not null or undefined
|
|
810
|
+
(0, common_1.assertParamExists)('holderLinkedVpGetDetails', 'linkedVpId', linkedVpId);
|
|
811
|
+
const localVarPath = `/holder/linked-vp/{linked_vp_id}`
|
|
812
|
+
.replace(`{${"linked_vp_id"}}`, encodeURIComponent(String(linkedVpId)));
|
|
813
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
814
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
815
|
+
let baseOptions;
|
|
816
|
+
if (configuration) {
|
|
817
|
+
baseOptions = configuration.baseOptions;
|
|
818
|
+
}
|
|
819
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
820
|
+
const localVarHeaderParameter = {};
|
|
821
|
+
const localVarQueryParameter = {};
|
|
822
|
+
if (walletId != null) {
|
|
823
|
+
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
824
|
+
}
|
|
825
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
826
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
827
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
828
|
+
return {
|
|
829
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
830
|
+
options: localVarRequestOptions,
|
|
831
|
+
};
|
|
832
|
+
}),
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @param {string} walletId
|
|
836
|
+
* @param {*} [options] Override http request option.
|
|
837
|
+
* @throws {RequiredError}
|
|
838
|
+
*/
|
|
839
|
+
holderLinkedVpList: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
840
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
841
|
+
(0, common_1.assertParamExists)('holderLinkedVpList', 'walletId', walletId);
|
|
842
|
+
const localVarPath = `/holder/linked-vp`;
|
|
843
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
844
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
845
|
+
let baseOptions;
|
|
846
|
+
if (configuration) {
|
|
847
|
+
baseOptions = configuration.baseOptions;
|
|
848
|
+
}
|
|
849
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
850
|
+
const localVarHeaderParameter = {};
|
|
851
|
+
const localVarQueryParameter = {};
|
|
852
|
+
if (walletId != null) {
|
|
853
|
+
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
854
|
+
}
|
|
855
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
856
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
857
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
858
|
+
return {
|
|
859
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
860
|
+
options: localVarRequestOptions,
|
|
861
|
+
};
|
|
862
|
+
}),
|
|
732
863
|
/**
|
|
733
864
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
734
865
|
* @param {string} walletId
|
|
@@ -1238,6 +1369,45 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1238
1369
|
options: localVarRequestOptions,
|
|
1239
1370
|
};
|
|
1240
1371
|
}),
|
|
1372
|
+
/**
|
|
1373
|
+
* Fetches linked presentations from DID document and verifies them.
|
|
1374
|
+
* @param {string} walletId
|
|
1375
|
+
* @param {string} did
|
|
1376
|
+
* @param {*} [options] Override http request option.
|
|
1377
|
+
* @throws {RequiredError}
|
|
1378
|
+
*/
|
|
1379
|
+
verifierLinkedVpVerify: (walletId, did, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1380
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
1381
|
+
(0, common_1.assertParamExists)('verifierLinkedVpVerify', 'walletId', walletId);
|
|
1382
|
+
// verify required parameter 'did' is not null or undefined
|
|
1383
|
+
(0, common_1.assertParamExists)('verifierLinkedVpVerify', 'did', did);
|
|
1384
|
+
const localVarPath = `/verifier/linked-vp`;
|
|
1385
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1386
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1387
|
+
let baseOptions;
|
|
1388
|
+
if (configuration) {
|
|
1389
|
+
baseOptions = configuration.baseOptions;
|
|
1390
|
+
}
|
|
1391
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1392
|
+
const localVarHeaderParameter = {};
|
|
1393
|
+
const localVarQueryParameter = {};
|
|
1394
|
+
// authentication accessToken required
|
|
1395
|
+
// http bearer authentication required
|
|
1396
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1397
|
+
if (did !== undefined) {
|
|
1398
|
+
localVarQueryParameter['did'] = did;
|
|
1399
|
+
}
|
|
1400
|
+
if (walletId != null) {
|
|
1401
|
+
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1402
|
+
}
|
|
1403
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1404
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1405
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1406
|
+
return {
|
|
1407
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1408
|
+
options: localVarRequestOptions,
|
|
1409
|
+
};
|
|
1410
|
+
}),
|
|
1241
1411
|
/**
|
|
1242
1412
|
* Creates a new wallet for the authenticated client.
|
|
1243
1413
|
* @param {Wallet} [wallet]
|
|
@@ -1330,6 +1500,37 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1330
1500
|
options: localVarRequestOptions,
|
|
1331
1501
|
};
|
|
1332
1502
|
}),
|
|
1503
|
+
/**
|
|
1504
|
+
* Provides wallet keys used for signing.
|
|
1505
|
+
* @param {string} walletId Wallet ID
|
|
1506
|
+
* @param {*} [options] Override http request option.
|
|
1507
|
+
* @throws {RequiredError}
|
|
1508
|
+
*/
|
|
1509
|
+
walletKeys: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1510
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
1511
|
+
(0, common_1.assertParamExists)('walletKeys', 'walletId', walletId);
|
|
1512
|
+
const localVarPath = `/wallets/{wallet_id}/keys`
|
|
1513
|
+
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)));
|
|
1514
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1515
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1516
|
+
let baseOptions;
|
|
1517
|
+
if (configuration) {
|
|
1518
|
+
baseOptions = configuration.baseOptions;
|
|
1519
|
+
}
|
|
1520
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1521
|
+
const localVarHeaderParameter = {};
|
|
1522
|
+
const localVarQueryParameter = {};
|
|
1523
|
+
// authentication accessToken required
|
|
1524
|
+
// http bearer authentication required
|
|
1525
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1526
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1527
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1528
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1529
|
+
return {
|
|
1530
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1531
|
+
options: localVarRequestOptions,
|
|
1532
|
+
};
|
|
1533
|
+
}),
|
|
1333
1534
|
/**
|
|
1334
1535
|
* Provides list of wallets owned by the authenticated client.
|
|
1335
1536
|
* @param {*} [options] Override http request option.
|
|
@@ -1847,6 +2048,69 @@ const DefaultApiFp = function (configuration) {
|
|
|
1847
2048
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1848
2049
|
});
|
|
1849
2050
|
},
|
|
2051
|
+
/**
|
|
2052
|
+
* Creates a new public Linked VP of specified credentials and adds it to the wallet\'s DID document
|
|
2053
|
+
* @param {string} walletId
|
|
2054
|
+
* @param {LinkedVpCreateRequest} [linkedVpCreateRequest]
|
|
2055
|
+
* @param {*} [options] Override http request option.
|
|
2056
|
+
* @throws {RequiredError}
|
|
2057
|
+
*/
|
|
2058
|
+
holderLinkedVpCreate(walletId, linkedVpCreateRequest, options) {
|
|
2059
|
+
var _a, _b, _c;
|
|
2060
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2061
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.holderLinkedVpCreate(walletId, linkedVpCreateRequest, options);
|
|
2062
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2063
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.holderLinkedVpCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2064
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2065
|
+
});
|
|
2066
|
+
},
|
|
2067
|
+
/**
|
|
2068
|
+
* Deletes a linked VP
|
|
2069
|
+
* @param {string} walletId
|
|
2070
|
+
* @param {string} linkedVpId
|
|
2071
|
+
* @param {*} [options] Override http request option.
|
|
2072
|
+
* @throws {RequiredError}
|
|
2073
|
+
*/
|
|
2074
|
+
holderLinkedVpDelete(walletId, linkedVpId, options) {
|
|
2075
|
+
var _a, _b, _c;
|
|
2076
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2077
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.holderLinkedVpDelete(walletId, linkedVpId, options);
|
|
2078
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2079
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.holderLinkedVpDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2080
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2081
|
+
});
|
|
2082
|
+
},
|
|
2083
|
+
/**
|
|
2084
|
+
*
|
|
2085
|
+
* @param {string} walletId
|
|
2086
|
+
* @param {string} linkedVpId
|
|
2087
|
+
* @param {*} [options] Override http request option.
|
|
2088
|
+
* @throws {RequiredError}
|
|
2089
|
+
*/
|
|
2090
|
+
holderLinkedVpGetDetails(walletId, linkedVpId, options) {
|
|
2091
|
+
var _a, _b, _c;
|
|
2092
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2093
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.holderLinkedVpGetDetails(walletId, linkedVpId, options);
|
|
2094
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2095
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.holderLinkedVpGetDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2096
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2097
|
+
});
|
|
2098
|
+
},
|
|
2099
|
+
/**
|
|
2100
|
+
*
|
|
2101
|
+
* @param {string} walletId
|
|
2102
|
+
* @param {*} [options] Override http request option.
|
|
2103
|
+
* @throws {RequiredError}
|
|
2104
|
+
*/
|
|
2105
|
+
holderLinkedVpList(walletId, options) {
|
|
2106
|
+
var _a, _b, _c;
|
|
2107
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2108
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.holderLinkedVpList(walletId, options);
|
|
2109
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2110
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.holderLinkedVpList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2111
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2112
|
+
});
|
|
2113
|
+
},
|
|
1850
2114
|
/**
|
|
1851
2115
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
1852
2116
|
* @param {string} walletId
|
|
@@ -2083,6 +2347,22 @@ const DefaultApiFp = function (configuration) {
|
|
|
2083
2347
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2084
2348
|
});
|
|
2085
2349
|
},
|
|
2350
|
+
/**
|
|
2351
|
+
* Fetches linked presentations from DID document and verifies them.
|
|
2352
|
+
* @param {string} walletId
|
|
2353
|
+
* @param {string} did
|
|
2354
|
+
* @param {*} [options] Override http request option.
|
|
2355
|
+
* @throws {RequiredError}
|
|
2356
|
+
*/
|
|
2357
|
+
verifierLinkedVpVerify(walletId, did, options) {
|
|
2358
|
+
var _a, _b, _c;
|
|
2359
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2360
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.verifierLinkedVpVerify(walletId, did, options);
|
|
2361
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2362
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.verifierLinkedVpVerify']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2363
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2364
|
+
});
|
|
2365
|
+
},
|
|
2086
2366
|
/**
|
|
2087
2367
|
* Creates a new wallet for the authenticated client.
|
|
2088
2368
|
* @param {Wallet} [wallet]
|
|
@@ -2128,6 +2408,21 @@ const DefaultApiFp = function (configuration) {
|
|
|
2128
2408
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2129
2409
|
});
|
|
2130
2410
|
},
|
|
2411
|
+
/**
|
|
2412
|
+
* Provides wallet keys used for signing.
|
|
2413
|
+
* @param {string} walletId Wallet ID
|
|
2414
|
+
* @param {*} [options] Override http request option.
|
|
2415
|
+
* @throws {RequiredError}
|
|
2416
|
+
*/
|
|
2417
|
+
walletKeys(walletId, options) {
|
|
2418
|
+
var _a, _b, _c;
|
|
2419
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2420
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletKeys(walletId, options);
|
|
2421
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2422
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2423
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2424
|
+
});
|
|
2425
|
+
},
|
|
2131
2426
|
/**
|
|
2132
2427
|
* Provides list of wallets owned by the authenticated client.
|
|
2133
2428
|
* @param {*} [options] Override http request option.
|
|
@@ -2417,6 +2712,45 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2417
2712
|
holderIdTokenSend(walletId, idTokenSendRequest, options) {
|
|
2418
2713
|
return localVarFp.holderIdTokenSend(walletId, idTokenSendRequest, options).then((request) => request(axios, basePath));
|
|
2419
2714
|
},
|
|
2715
|
+
/**
|
|
2716
|
+
* Creates a new public Linked VP of specified credentials and adds it to the wallet\'s DID document
|
|
2717
|
+
* @param {string} walletId
|
|
2718
|
+
* @param {LinkedVpCreateRequest} [linkedVpCreateRequest]
|
|
2719
|
+
* @param {*} [options] Override http request option.
|
|
2720
|
+
* @throws {RequiredError}
|
|
2721
|
+
*/
|
|
2722
|
+
holderLinkedVpCreate(walletId, linkedVpCreateRequest, options) {
|
|
2723
|
+
return localVarFp.holderLinkedVpCreate(walletId, linkedVpCreateRequest, options).then((request) => request(axios, basePath));
|
|
2724
|
+
},
|
|
2725
|
+
/**
|
|
2726
|
+
* Deletes a linked VP
|
|
2727
|
+
* @param {string} walletId
|
|
2728
|
+
* @param {string} linkedVpId
|
|
2729
|
+
* @param {*} [options] Override http request option.
|
|
2730
|
+
* @throws {RequiredError}
|
|
2731
|
+
*/
|
|
2732
|
+
holderLinkedVpDelete(walletId, linkedVpId, options) {
|
|
2733
|
+
return localVarFp.holderLinkedVpDelete(walletId, linkedVpId, options).then((request) => request(axios, basePath));
|
|
2734
|
+
},
|
|
2735
|
+
/**
|
|
2736
|
+
*
|
|
2737
|
+
* @param {string} walletId
|
|
2738
|
+
* @param {string} linkedVpId
|
|
2739
|
+
* @param {*} [options] Override http request option.
|
|
2740
|
+
* @throws {RequiredError}
|
|
2741
|
+
*/
|
|
2742
|
+
holderLinkedVpGetDetails(walletId, linkedVpId, options) {
|
|
2743
|
+
return localVarFp.holderLinkedVpGetDetails(walletId, linkedVpId, options).then((request) => request(axios, basePath));
|
|
2744
|
+
},
|
|
2745
|
+
/**
|
|
2746
|
+
*
|
|
2747
|
+
* @param {string} walletId
|
|
2748
|
+
* @param {*} [options] Override http request option.
|
|
2749
|
+
* @throws {RequiredError}
|
|
2750
|
+
*/
|
|
2751
|
+
holderLinkedVpList(walletId, options) {
|
|
2752
|
+
return localVarFp.holderLinkedVpList(walletId, options).then((request) => request(axios, basePath));
|
|
2753
|
+
},
|
|
2420
2754
|
/**
|
|
2421
2755
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
2422
2756
|
* @param {string} walletId
|
|
@@ -2563,6 +2897,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2563
2897
|
verifierInitUrlCreate(walletId, verifyInitRequest, options) {
|
|
2564
2898
|
return localVarFp.verifierInitUrlCreate(walletId, verifyInitRequest, options).then((request) => request(axios, basePath));
|
|
2565
2899
|
},
|
|
2900
|
+
/**
|
|
2901
|
+
* Fetches linked presentations from DID document and verifies them.
|
|
2902
|
+
* @param {string} walletId
|
|
2903
|
+
* @param {string} did
|
|
2904
|
+
* @param {*} [options] Override http request option.
|
|
2905
|
+
* @throws {RequiredError}
|
|
2906
|
+
*/
|
|
2907
|
+
verifierLinkedVpVerify(walletId, did, options) {
|
|
2908
|
+
return localVarFp.verifierLinkedVpVerify(walletId, did, options).then((request) => request(axios, basePath));
|
|
2909
|
+
},
|
|
2566
2910
|
/**
|
|
2567
2911
|
* Creates a new wallet for the authenticated client.
|
|
2568
2912
|
* @param {Wallet} [wallet]
|
|
@@ -2590,6 +2934,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2590
2934
|
walletGet(walletId, options) {
|
|
2591
2935
|
return localVarFp.walletGet(walletId, options).then((request) => request(axios, basePath));
|
|
2592
2936
|
},
|
|
2937
|
+
/**
|
|
2938
|
+
* Provides wallet keys used for signing.
|
|
2939
|
+
* @param {string} walletId Wallet ID
|
|
2940
|
+
* @param {*} [options] Override http request option.
|
|
2941
|
+
* @throws {RequiredError}
|
|
2942
|
+
*/
|
|
2943
|
+
walletKeys(walletId, options) {
|
|
2944
|
+
return localVarFp.walletKeys(walletId, options).then((request) => request(axios, basePath));
|
|
2945
|
+
},
|
|
2593
2946
|
/**
|
|
2594
2947
|
* Provides list of wallets owned by the authenticated client.
|
|
2595
2948
|
* @param {*} [options] Override http request option.
|
|
@@ -2853,6 +3206,49 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2853
3206
|
holderIdTokenSend(walletId, idTokenSendRequest, options) {
|
|
2854
3207
|
return (0, exports.DefaultApiFp)(this.configuration).holderIdTokenSend(walletId, idTokenSendRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2855
3208
|
}
|
|
3209
|
+
/**
|
|
3210
|
+
* Creates a new public Linked VP of specified credentials and adds it to the wallet\'s DID document
|
|
3211
|
+
* @param {string} walletId
|
|
3212
|
+
* @param {LinkedVpCreateRequest} [linkedVpCreateRequest]
|
|
3213
|
+
* @param {*} [options] Override http request option.
|
|
3214
|
+
* @throws {RequiredError}
|
|
3215
|
+
* @memberof DefaultApi
|
|
3216
|
+
*/
|
|
3217
|
+
holderLinkedVpCreate(walletId, linkedVpCreateRequest, options) {
|
|
3218
|
+
return (0, exports.DefaultApiFp)(this.configuration).holderLinkedVpCreate(walletId, linkedVpCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3219
|
+
}
|
|
3220
|
+
/**
|
|
3221
|
+
* Deletes a linked VP
|
|
3222
|
+
* @param {string} walletId
|
|
3223
|
+
* @param {string} linkedVpId
|
|
3224
|
+
* @param {*} [options] Override http request option.
|
|
3225
|
+
* @throws {RequiredError}
|
|
3226
|
+
* @memberof DefaultApi
|
|
3227
|
+
*/
|
|
3228
|
+
holderLinkedVpDelete(walletId, linkedVpId, options) {
|
|
3229
|
+
return (0, exports.DefaultApiFp)(this.configuration).holderLinkedVpDelete(walletId, linkedVpId, options).then((request) => request(this.axios, this.basePath));
|
|
3230
|
+
}
|
|
3231
|
+
/**
|
|
3232
|
+
*
|
|
3233
|
+
* @param {string} walletId
|
|
3234
|
+
* @param {string} linkedVpId
|
|
3235
|
+
* @param {*} [options] Override http request option.
|
|
3236
|
+
* @throws {RequiredError}
|
|
3237
|
+
* @memberof DefaultApi
|
|
3238
|
+
*/
|
|
3239
|
+
holderLinkedVpGetDetails(walletId, linkedVpId, options) {
|
|
3240
|
+
return (0, exports.DefaultApiFp)(this.configuration).holderLinkedVpGetDetails(walletId, linkedVpId, options).then((request) => request(this.axios, this.basePath));
|
|
3241
|
+
}
|
|
3242
|
+
/**
|
|
3243
|
+
*
|
|
3244
|
+
* @param {string} walletId
|
|
3245
|
+
* @param {*} [options] Override http request option.
|
|
3246
|
+
* @throws {RequiredError}
|
|
3247
|
+
* @memberof DefaultApi
|
|
3248
|
+
*/
|
|
3249
|
+
holderLinkedVpList(walletId, options) {
|
|
3250
|
+
return (0, exports.DefaultApiFp)(this.configuration).holderLinkedVpList(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
3251
|
+
}
|
|
2856
3252
|
/**
|
|
2857
3253
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
2858
3254
|
* @param {string} walletId
|
|
@@ -3014,6 +3410,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3014
3410
|
verifierInitUrlCreate(walletId, verifyInitRequest, options) {
|
|
3015
3411
|
return (0, exports.DefaultApiFp)(this.configuration).verifierInitUrlCreate(walletId, verifyInitRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3016
3412
|
}
|
|
3413
|
+
/**
|
|
3414
|
+
* Fetches linked presentations from DID document and verifies them.
|
|
3415
|
+
* @param {string} walletId
|
|
3416
|
+
* @param {string} did
|
|
3417
|
+
* @param {*} [options] Override http request option.
|
|
3418
|
+
* @throws {RequiredError}
|
|
3419
|
+
* @memberof DefaultApi
|
|
3420
|
+
*/
|
|
3421
|
+
verifierLinkedVpVerify(walletId, did, options) {
|
|
3422
|
+
return (0, exports.DefaultApiFp)(this.configuration).verifierLinkedVpVerify(walletId, did, options).then((request) => request(this.axios, this.basePath));
|
|
3423
|
+
}
|
|
3017
3424
|
/**
|
|
3018
3425
|
* Creates a new wallet for the authenticated client.
|
|
3019
3426
|
* @param {Wallet} [wallet]
|
|
@@ -3044,6 +3451,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3044
3451
|
walletGet(walletId, options) {
|
|
3045
3452
|
return (0, exports.DefaultApiFp)(this.configuration).walletGet(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
3046
3453
|
}
|
|
3454
|
+
/**
|
|
3455
|
+
* Provides wallet keys used for signing.
|
|
3456
|
+
* @param {string} walletId Wallet ID
|
|
3457
|
+
* @param {*} [options] Override http request option.
|
|
3458
|
+
* @throws {RequiredError}
|
|
3459
|
+
* @memberof DefaultApi
|
|
3460
|
+
*/
|
|
3461
|
+
walletKeys(walletId, options) {
|
|
3462
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletKeys(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
3463
|
+
}
|
|
3047
3464
|
/**
|
|
3048
3465
|
* Provides list of wallets owned by the authenticated client.
|
|
3049
3466
|
* @param {*} [options] Override http request option.
|