@triveria/wallet 0.0.198 → 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 +224 -8
- package/api.js +352 -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]
|
|
@@ -2512,6 +2606,37 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2512
2606
|
* @throws {RequiredError}
|
|
2513
2607
|
*/
|
|
2514
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>>>;
|
|
2515
2640
|
/**
|
|
2516
2641
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
2517
2642
|
* @param {string} walletId
|
|
@@ -2628,6 +2753,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2628
2753
|
* @throws {RequiredError}
|
|
2629
2754
|
*/
|
|
2630
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>>>;
|
|
2631
2764
|
/**
|
|
2632
2765
|
* Creates a new wallet for the authenticated client.
|
|
2633
2766
|
* @param {Wallet} [wallet]
|
|
@@ -2855,6 +2988,37 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2855
2988
|
* @throws {RequiredError}
|
|
2856
2989
|
*/
|
|
2857
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>>;
|
|
2858
3022
|
/**
|
|
2859
3023
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
2860
3024
|
* @param {string} walletId
|
|
@@ -2971,6 +3135,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2971
3135
|
* @throws {RequiredError}
|
|
2972
3136
|
*/
|
|
2973
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>>;
|
|
2974
3146
|
/**
|
|
2975
3147
|
* Creates a new wallet for the authenticated client.
|
|
2976
3148
|
* @param {Wallet} [wallet]
|
|
@@ -3216,6 +3388,41 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3216
3388
|
* @memberof DefaultApi
|
|
3217
3389
|
*/
|
|
3218
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>>;
|
|
3219
3426
|
/**
|
|
3220
3427
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
3221
3428
|
* @param {string} walletId
|
|
@@ -3347,6 +3554,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3347
3554
|
* @memberof DefaultApi
|
|
3348
3555
|
*/
|
|
3349
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>>;
|
|
3350
3566
|
/**
|
|
3351
3567
|
* Creates a new wallet for the authenticated client.
|
|
3352
3568
|
* @param {Wallet} [wallet]
|
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]
|
|
@@ -1878,6 +2048,69 @@ const DefaultApiFp = function (configuration) {
|
|
|
1878
2048
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1879
2049
|
});
|
|
1880
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
|
+
},
|
|
1881
2114
|
/**
|
|
1882
2115
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
1883
2116
|
* @param {string} walletId
|
|
@@ -2114,6 +2347,22 @@ const DefaultApiFp = function (configuration) {
|
|
|
2114
2347
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2115
2348
|
});
|
|
2116
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
|
+
},
|
|
2117
2366
|
/**
|
|
2118
2367
|
* Creates a new wallet for the authenticated client.
|
|
2119
2368
|
* @param {Wallet} [wallet]
|
|
@@ -2463,6 +2712,45 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2463
2712
|
holderIdTokenSend(walletId, idTokenSendRequest, options) {
|
|
2464
2713
|
return localVarFp.holderIdTokenSend(walletId, idTokenSendRequest, options).then((request) => request(axios, basePath));
|
|
2465
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
|
+
},
|
|
2466
2754
|
/**
|
|
2467
2755
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
2468
2756
|
* @param {string} walletId
|
|
@@ -2609,6 +2897,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2609
2897
|
verifierInitUrlCreate(walletId, verifyInitRequest, options) {
|
|
2610
2898
|
return localVarFp.verifierInitUrlCreate(walletId, verifyInitRequest, options).then((request) => request(axios, basePath));
|
|
2611
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
|
+
},
|
|
2612
2910
|
/**
|
|
2613
2911
|
* Creates a new wallet for the authenticated client.
|
|
2614
2912
|
* @param {Wallet} [wallet]
|
|
@@ -2908,6 +3206,49 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2908
3206
|
holderIdTokenSend(walletId, idTokenSendRequest, options) {
|
|
2909
3207
|
return (0, exports.DefaultApiFp)(this.configuration).holderIdTokenSend(walletId, idTokenSendRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2910
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
|
+
}
|
|
2911
3252
|
/**
|
|
2912
3253
|
* Issue the Verifiable Credential using OIDC4VCI offer acceptance
|
|
2913
3254
|
* @param {string} walletId
|
|
@@ -3069,6 +3410,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3069
3410
|
verifierInitUrlCreate(walletId, verifyInitRequest, options) {
|
|
3070
3411
|
return (0, exports.DefaultApiFp)(this.configuration).verifierInitUrlCreate(walletId, verifyInitRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3071
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
|
+
}
|
|
3072
3424
|
/**
|
|
3073
3425
|
* Creates a new wallet for the authenticated client.
|
|
3074
3426
|
* @param {Wallet} [wallet]
|