@triveria/wallet 0.0.230 → 0.0.231
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 +33 -70
- package/api.js +29 -151
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export interface AccreditationRequest {
|
|
|
27
27
|
'type': AccreditationRequestTypeEnum;
|
|
28
28
|
}
|
|
29
29
|
export declare const AccreditationRequestTypeEnum: {
|
|
30
|
+
readonly TrustedIssuer: "TrustedIssuer";
|
|
30
31
|
readonly TrustedAccreditationOrganisation: "TrustedAccreditationOrganisation";
|
|
31
32
|
readonly RootTrustedAccreditationOrganisation: "RootTrustedAccreditationOrganisation";
|
|
32
33
|
};
|
|
@@ -2170,6 +2171,14 @@ export interface Wallet {
|
|
|
2170
2171
|
* @memberof Wallet
|
|
2171
2172
|
*/
|
|
2172
2173
|
'config': WalletConfig;
|
|
2174
|
+
/**
|
|
2175
|
+
* Custom key value pairs associated with the wallet. The key must not exceed 64 characters and the value must not exceed 256 characters.
|
|
2176
|
+
* @type {{ [key: string]: any; }}
|
|
2177
|
+
* @memberof Wallet
|
|
2178
|
+
*/
|
|
2179
|
+
'metadata'?: {
|
|
2180
|
+
[key: string]: any;
|
|
2181
|
+
};
|
|
2173
2182
|
}
|
|
2174
2183
|
/**
|
|
2175
2184
|
* Defines the capabilities which the wallet has. It may be any of \"holder\", \"issuer\" and \"verifier\".
|
|
@@ -2349,6 +2358,14 @@ export interface WalletPatchPayload {
|
|
|
2349
2358
|
* @memberof WalletPatchPayload
|
|
2350
2359
|
*/
|
|
2351
2360
|
'config'?: WalletConfig;
|
|
2361
|
+
/**
|
|
2362
|
+
* Custom key value pairs associated with the wallet. The key must not exceed 64 characters and the value must not exceed 256 characters.
|
|
2363
|
+
* @type {{ [key: string]: any; }}
|
|
2364
|
+
* @memberof WalletPatchPayload
|
|
2365
|
+
*/
|
|
2366
|
+
'metadata'?: {
|
|
2367
|
+
[key: string]: any;
|
|
2368
|
+
};
|
|
2352
2369
|
}
|
|
2353
2370
|
/**
|
|
2354
2371
|
* DefaultApi - axios parameter creator
|
|
@@ -2585,34 +2602,20 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2585
2602
|
*/
|
|
2586
2603
|
issuerInitiatePreauthOffer: (walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2587
2604
|
/**
|
|
2588
|
-
* Accredits a legal entity as RTAO or
|
|
2605
|
+
* Accredits a legal entity as RTAO, TAO or TI.
|
|
2589
2606
|
* @param {string} walletId
|
|
2590
2607
|
* @param {AccreditationRequest} [accreditationRequest]
|
|
2591
2608
|
* @param {*} [options] Override http request option.
|
|
2592
2609
|
* @throws {RequiredError}
|
|
2593
2610
|
*/
|
|
2594
2611
|
tfAccreditAs: (walletId: string, accreditationRequest?: AccreditationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2595
|
-
/**
|
|
2596
|
-
* Accredits the wallet as a trusted issuer.
|
|
2597
|
-
* @param {string} walletId
|
|
2598
|
-
* @param {*} [options] Override http request option.
|
|
2599
|
-
* @throws {RequiredError}
|
|
2600
|
-
*/
|
|
2601
|
-
tfAccreditAsTrustedIssuer: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2602
|
-
/**
|
|
2603
|
-
* Registers an issuer proxy used by EBSI for the credential status retrieval through EBSI network.
|
|
2604
|
-
* @param {string} walletId
|
|
2605
|
-
* @param {*} [options] Override http request option.
|
|
2606
|
-
* @throws {RequiredError}
|
|
2607
|
-
*/
|
|
2608
|
-
tfInsertIssuerProxy: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2609
2612
|
/**
|
|
2610
2613
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
2611
2614
|
* @param {string} walletId
|
|
2612
2615
|
* @param {*} [options] Override http request option.
|
|
2613
2616
|
* @throws {RequiredError}
|
|
2614
2617
|
*/
|
|
2615
|
-
|
|
2618
|
+
tfOnboard: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2616
2619
|
/**
|
|
2617
2620
|
* Prepares another legal entity\'s wallet DID for accreditation.
|
|
2618
2621
|
* @param {string} walletId
|
|
@@ -2684,10 +2687,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2684
2687
|
/**
|
|
2685
2688
|
* Provides list of wallets owned by the authenticated client.
|
|
2686
2689
|
* @param {string} [ownerId]
|
|
2690
|
+
* @param {string} [searchName] Wallet name to search using \"begins-with\" filter
|
|
2687
2691
|
* @param {*} [options] Override http request option.
|
|
2688
2692
|
* @throws {RequiredError}
|
|
2689
2693
|
*/
|
|
2690
|
-
walletList: (ownerId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2694
|
+
walletList: (ownerId?: string, searchName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2691
2695
|
/**
|
|
2692
2696
|
* Gets a specific notification by state
|
|
2693
2697
|
* @param {string} walletId Wallet ID
|
|
@@ -2974,34 +2978,20 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2974
2978
|
*/
|
|
2975
2979
|
issuerInitiatePreauthOffer(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreAuthOffer>>;
|
|
2976
2980
|
/**
|
|
2977
|
-
* Accredits a legal entity as RTAO or
|
|
2981
|
+
* Accredits a legal entity as RTAO, TAO or TI.
|
|
2978
2982
|
* @param {string} walletId
|
|
2979
2983
|
* @param {AccreditationRequest} [accreditationRequest]
|
|
2980
2984
|
* @param {*} [options] Override http request option.
|
|
2981
2985
|
* @throws {RequiredError}
|
|
2982
2986
|
*/
|
|
2983
2987
|
tfAccreditAs(walletId: string, accreditationRequest?: AccreditationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2984
|
-
/**
|
|
2985
|
-
* Accredits the wallet as a trusted issuer.
|
|
2986
|
-
* @param {string} walletId
|
|
2987
|
-
* @param {*} [options] Override http request option.
|
|
2988
|
-
* @throws {RequiredError}
|
|
2989
|
-
*/
|
|
2990
|
-
tfAccreditAsTrustedIssuer(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2991
|
-
/**
|
|
2992
|
-
* Registers an issuer proxy used by EBSI for the credential status retrieval through EBSI network.
|
|
2993
|
-
* @param {string} walletId
|
|
2994
|
-
* @param {*} [options] Override http request option.
|
|
2995
|
-
* @throws {RequiredError}
|
|
2996
|
-
*/
|
|
2997
|
-
tfInsertIssuerProxy(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2998
2988
|
/**
|
|
2999
2989
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
3000
2990
|
* @param {string} walletId
|
|
3001
2991
|
* @param {*} [options] Override http request option.
|
|
3002
2992
|
* @throws {RequiredError}
|
|
3003
2993
|
*/
|
|
3004
|
-
|
|
2994
|
+
tfOnboard(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnboardResult>>;
|
|
3005
2995
|
/**
|
|
3006
2996
|
* Prepares another legal entity\'s wallet DID for accreditation.
|
|
3007
2997
|
* @param {string} walletId
|
|
@@ -3075,10 +3065,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3075
3065
|
/**
|
|
3076
3066
|
* Provides list of wallets owned by the authenticated client.
|
|
3077
3067
|
* @param {string} [ownerId]
|
|
3068
|
+
* @param {string} [searchName] Wallet name to search using \"begins-with\" filter
|
|
3078
3069
|
* @param {*} [options] Override http request option.
|
|
3079
3070
|
* @throws {RequiredError}
|
|
3080
3071
|
*/
|
|
3081
|
-
walletList(ownerId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WalletListItem>>>;
|
|
3072
|
+
walletList(ownerId?: string, searchName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WalletListItem>>>;
|
|
3082
3073
|
/**
|
|
3083
3074
|
* Gets a specific notification by state
|
|
3084
3075
|
* @param {string} walletId Wallet ID
|
|
@@ -3365,34 +3356,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3365
3356
|
*/
|
|
3366
3357
|
issuerInitiatePreauthOffer(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): AxiosPromise<PreAuthOffer>;
|
|
3367
3358
|
/**
|
|
3368
|
-
* Accredits a legal entity as RTAO or
|
|
3359
|
+
* Accredits a legal entity as RTAO, TAO or TI.
|
|
3369
3360
|
* @param {string} walletId
|
|
3370
3361
|
* @param {AccreditationRequest} [accreditationRequest]
|
|
3371
3362
|
* @param {*} [options] Override http request option.
|
|
3372
3363
|
* @throws {RequiredError}
|
|
3373
3364
|
*/
|
|
3374
3365
|
tfAccreditAs(walletId: string, accreditationRequest?: AccreditationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3375
|
-
/**
|
|
3376
|
-
* Accredits the wallet as a trusted issuer.
|
|
3377
|
-
* @param {string} walletId
|
|
3378
|
-
* @param {*} [options] Override http request option.
|
|
3379
|
-
* @throws {RequiredError}
|
|
3380
|
-
*/
|
|
3381
|
-
tfAccreditAsTrustedIssuer(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3382
|
-
/**
|
|
3383
|
-
* Registers an issuer proxy used by EBSI for the credential status retrieval through EBSI network.
|
|
3384
|
-
* @param {string} walletId
|
|
3385
|
-
* @param {*} [options] Override http request option.
|
|
3386
|
-
* @throws {RequiredError}
|
|
3387
|
-
*/
|
|
3388
|
-
tfInsertIssuerProxy(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3389
3366
|
/**
|
|
3390
3367
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
3391
3368
|
* @param {string} walletId
|
|
3392
3369
|
* @param {*} [options] Override http request option.
|
|
3393
3370
|
* @throws {RequiredError}
|
|
3394
3371
|
*/
|
|
3395
|
-
|
|
3372
|
+
tfOnboard(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<OnboardResult>;
|
|
3396
3373
|
/**
|
|
3397
3374
|
* Prepares another legal entity\'s wallet DID for accreditation.
|
|
3398
3375
|
* @param {string} walletId
|
|
@@ -3466,10 +3443,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3466
3443
|
/**
|
|
3467
3444
|
* Provides list of wallets owned by the authenticated client.
|
|
3468
3445
|
* @param {string} [ownerId]
|
|
3446
|
+
* @param {string} [searchName] Wallet name to search using \"begins-with\" filter
|
|
3469
3447
|
* @param {*} [options] Override http request option.
|
|
3470
3448
|
* @throws {RequiredError}
|
|
3471
3449
|
*/
|
|
3472
|
-
walletList(ownerId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<WalletListItem>>;
|
|
3450
|
+
walletList(ownerId?: string, searchName?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<WalletListItem>>;
|
|
3473
3451
|
/**
|
|
3474
3452
|
* Gets a specific notification by state
|
|
3475
3453
|
* @param {string} walletId Wallet ID
|
|
@@ -3786,7 +3764,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3786
3764
|
*/
|
|
3787
3765
|
issuerInitiatePreauthOffer(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreAuthOffer, any>>;
|
|
3788
3766
|
/**
|
|
3789
|
-
* Accredits a legal entity as RTAO or
|
|
3767
|
+
* Accredits a legal entity as RTAO, TAO or TI.
|
|
3790
3768
|
* @param {string} walletId
|
|
3791
3769
|
* @param {AccreditationRequest} [accreditationRequest]
|
|
3792
3770
|
* @param {*} [options] Override http request option.
|
|
@@ -3794,22 +3772,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3794
3772
|
* @memberof DefaultApi
|
|
3795
3773
|
*/
|
|
3796
3774
|
tfAccreditAs(walletId: string, accreditationRequest?: AccreditationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3797
|
-
/**
|
|
3798
|
-
* Accredits the wallet as a trusted issuer.
|
|
3799
|
-
* @param {string} walletId
|
|
3800
|
-
* @param {*} [options] Override http request option.
|
|
3801
|
-
* @throws {RequiredError}
|
|
3802
|
-
* @memberof DefaultApi
|
|
3803
|
-
*/
|
|
3804
|
-
tfAccreditAsTrustedIssuer(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3805
|
-
/**
|
|
3806
|
-
* Registers an issuer proxy used by EBSI for the credential status retrieval through EBSI network.
|
|
3807
|
-
* @param {string} walletId
|
|
3808
|
-
* @param {*} [options] Override http request option.
|
|
3809
|
-
* @throws {RequiredError}
|
|
3810
|
-
* @memberof DefaultApi
|
|
3811
|
-
*/
|
|
3812
|
-
tfInsertIssuerProxy(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3813
3775
|
/**
|
|
3814
3776
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
3815
3777
|
* @param {string} walletId
|
|
@@ -3817,7 +3779,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3817
3779
|
* @throws {RequiredError}
|
|
3818
3780
|
* @memberof DefaultApi
|
|
3819
3781
|
*/
|
|
3820
|
-
|
|
3782
|
+
tfOnboard(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnboardResult, any>>;
|
|
3821
3783
|
/**
|
|
3822
3784
|
* Prepares another legal entity\'s wallet DID for accreditation.
|
|
3823
3785
|
* @param {string} walletId
|
|
@@ -3900,11 +3862,12 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3900
3862
|
/**
|
|
3901
3863
|
* Provides list of wallets owned by the authenticated client.
|
|
3902
3864
|
* @param {string} [ownerId]
|
|
3865
|
+
* @param {string} [searchName] Wallet name to search using \"begins-with\" filter
|
|
3903
3866
|
* @param {*} [options] Override http request option.
|
|
3904
3867
|
* @throws {RequiredError}
|
|
3905
3868
|
* @memberof DefaultApi
|
|
3906
3869
|
*/
|
|
3907
|
-
walletList(ownerId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletListItem[], any>>;
|
|
3870
|
+
walletList(ownerId?: string, searchName?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletListItem[], any>>;
|
|
3908
3871
|
/**
|
|
3909
3872
|
* Gets a specific notification by state
|
|
3910
3873
|
* @param {string} walletId Wallet ID
|
package/api.js
CHANGED
|
@@ -33,6 +33,7 @@ const common_1 = require("./common");
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
const base_1 = require("./base");
|
|
35
35
|
exports.AccreditationRequestTypeEnum = {
|
|
36
|
+
TrustedIssuer: 'TrustedIssuer',
|
|
36
37
|
TrustedAccreditationOrganisation: 'TrustedAccreditationOrganisation',
|
|
37
38
|
RootTrustedAccreditationOrganisation: 'RootTrustedAccreditationOrganisation'
|
|
38
39
|
};
|
|
@@ -1177,7 +1178,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1177
1178
|
};
|
|
1178
1179
|
}),
|
|
1179
1180
|
/**
|
|
1180
|
-
* Accredits a legal entity as RTAO or
|
|
1181
|
+
* Accredits a legal entity as RTAO, TAO or TI.
|
|
1181
1182
|
* @param {string} walletId
|
|
1182
1183
|
* @param {AccreditationRequest} [accreditationRequest]
|
|
1183
1184
|
* @param {*} [options] Override http request option.
|
|
@@ -1210,78 +1211,16 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1210
1211
|
options: localVarRequestOptions,
|
|
1211
1212
|
};
|
|
1212
1213
|
}),
|
|
1213
|
-
/**
|
|
1214
|
-
* Accredits the wallet as a trusted issuer.
|
|
1215
|
-
* @param {string} walletId
|
|
1216
|
-
* @param {*} [options] Override http request option.
|
|
1217
|
-
* @throws {RequiredError}
|
|
1218
|
-
*/
|
|
1219
|
-
tfAccreditAsTrustedIssuer: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1220
|
-
// verify required parameter 'walletId' is not null or undefined
|
|
1221
|
-
(0, common_1.assertParamExists)('tfAccreditAsTrustedIssuer', 'walletId', walletId);
|
|
1222
|
-
const localVarPath = `/tf/{wallet_id}/accredit-as-trusted-issuer`
|
|
1223
|
-
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)));
|
|
1224
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1225
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1226
|
-
let baseOptions;
|
|
1227
|
-
if (configuration) {
|
|
1228
|
-
baseOptions = configuration.baseOptions;
|
|
1229
|
-
}
|
|
1230
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1231
|
-
const localVarHeaderParameter = {};
|
|
1232
|
-
const localVarQueryParameter = {};
|
|
1233
|
-
// authentication accessToken required
|
|
1234
|
-
// http bearer authentication required
|
|
1235
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1236
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1237
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1238
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1239
|
-
return {
|
|
1240
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1241
|
-
options: localVarRequestOptions,
|
|
1242
|
-
};
|
|
1243
|
-
}),
|
|
1244
|
-
/**
|
|
1245
|
-
* Registers an issuer proxy used by EBSI for the credential status retrieval through EBSI network.
|
|
1246
|
-
* @param {string} walletId
|
|
1247
|
-
* @param {*} [options] Override http request option.
|
|
1248
|
-
* @throws {RequiredError}
|
|
1249
|
-
*/
|
|
1250
|
-
tfInsertIssuerProxy: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1251
|
-
// verify required parameter 'walletId' is not null or undefined
|
|
1252
|
-
(0, common_1.assertParamExists)('tfInsertIssuerProxy', 'walletId', walletId);
|
|
1253
|
-
const localVarPath = `/tf/{wallet_id}/insert-issuer-proxy`
|
|
1254
|
-
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)));
|
|
1255
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1256
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1257
|
-
let baseOptions;
|
|
1258
|
-
if (configuration) {
|
|
1259
|
-
baseOptions = configuration.baseOptions;
|
|
1260
|
-
}
|
|
1261
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1262
|
-
const localVarHeaderParameter = {};
|
|
1263
|
-
const localVarQueryParameter = {};
|
|
1264
|
-
// authentication accessToken required
|
|
1265
|
-
// http bearer authentication required
|
|
1266
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1267
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1268
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1269
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1270
|
-
return {
|
|
1271
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1272
|
-
options: localVarRequestOptions,
|
|
1273
|
-
};
|
|
1274
|
-
}),
|
|
1275
1214
|
/**
|
|
1276
1215
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
1277
1216
|
* @param {string} walletId
|
|
1278
1217
|
* @param {*} [options] Override http request option.
|
|
1279
1218
|
* @throws {RequiredError}
|
|
1280
1219
|
*/
|
|
1281
|
-
|
|
1220
|
+
tfOnboard: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1282
1221
|
// verify required parameter 'walletId' is not null or undefined
|
|
1283
|
-
(0, common_1.assertParamExists)('
|
|
1284
|
-
const localVarPath = `/tf/{wallet_id}/onboard
|
|
1222
|
+
(0, common_1.assertParamExists)('tfOnboard', 'walletId', walletId);
|
|
1223
|
+
const localVarPath = `/tf/{wallet_id}/onboard`
|
|
1285
1224
|
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)));
|
|
1286
1225
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1287
1226
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1606,10 +1545,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1606
1545
|
/**
|
|
1607
1546
|
* Provides list of wallets owned by the authenticated client.
|
|
1608
1547
|
* @param {string} [ownerId]
|
|
1548
|
+
* @param {string} [searchName] Wallet name to search using \"begins-with\" filter
|
|
1609
1549
|
* @param {*} [options] Override http request option.
|
|
1610
1550
|
* @throws {RequiredError}
|
|
1611
1551
|
*/
|
|
1612
|
-
walletList: (ownerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1552
|
+
walletList: (ownerId, searchName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1613
1553
|
const localVarPath = `/wallets`;
|
|
1614
1554
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1615
1555
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1626,6 +1566,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1626
1566
|
if (ownerId !== undefined) {
|
|
1627
1567
|
localVarQueryParameter['ownerId'] = ownerId;
|
|
1628
1568
|
}
|
|
1569
|
+
if (searchName !== undefined) {
|
|
1570
|
+
localVarQueryParameter['searchName'] = searchName;
|
|
1571
|
+
}
|
|
1629
1572
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1630
1573
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1631
1574
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2315,7 +2258,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
2315
2258
|
});
|
|
2316
2259
|
},
|
|
2317
2260
|
/**
|
|
2318
|
-
* Accredits a legal entity as RTAO or
|
|
2261
|
+
* Accredits a legal entity as RTAO, TAO or TI.
|
|
2319
2262
|
* @param {string} walletId
|
|
2320
2263
|
* @param {AccreditationRequest} [accreditationRequest]
|
|
2321
2264
|
* @param {*} [options] Override http request option.
|
|
@@ -2330,48 +2273,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
2330
2273
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2331
2274
|
});
|
|
2332
2275
|
},
|
|
2333
|
-
/**
|
|
2334
|
-
* Accredits the wallet as a trusted issuer.
|
|
2335
|
-
* @param {string} walletId
|
|
2336
|
-
* @param {*} [options] Override http request option.
|
|
2337
|
-
* @throws {RequiredError}
|
|
2338
|
-
*/
|
|
2339
|
-
tfAccreditAsTrustedIssuer(walletId, options) {
|
|
2340
|
-
var _a, _b, _c;
|
|
2341
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2342
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.tfAccreditAsTrustedIssuer(walletId, options);
|
|
2343
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2344
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.tfAccreditAsTrustedIssuer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2345
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2346
|
-
});
|
|
2347
|
-
},
|
|
2348
|
-
/**
|
|
2349
|
-
* Registers an issuer proxy used by EBSI for the credential status retrieval through EBSI network.
|
|
2350
|
-
* @param {string} walletId
|
|
2351
|
-
* @param {*} [options] Override http request option.
|
|
2352
|
-
* @throws {RequiredError}
|
|
2353
|
-
*/
|
|
2354
|
-
tfInsertIssuerProxy(walletId, options) {
|
|
2355
|
-
var _a, _b, _c;
|
|
2356
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2357
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.tfInsertIssuerProxy(walletId, options);
|
|
2358
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2359
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.tfInsertIssuerProxy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2360
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2361
|
-
});
|
|
2362
|
-
},
|
|
2363
2276
|
/**
|
|
2364
2277
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
2365
2278
|
* @param {string} walletId
|
|
2366
2279
|
* @param {*} [options] Override http request option.
|
|
2367
2280
|
* @throws {RequiredError}
|
|
2368
2281
|
*/
|
|
2369
|
-
|
|
2282
|
+
tfOnboard(walletId, options) {
|
|
2370
2283
|
var _a, _b, _c;
|
|
2371
2284
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2372
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2285
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tfOnboard(walletId, options);
|
|
2373
2286
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2374
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.
|
|
2287
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.tfOnboard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2375
2288
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2376
2289
|
});
|
|
2377
2290
|
},
|
|
@@ -2518,13 +2431,14 @@ const DefaultApiFp = function (configuration) {
|
|
|
2518
2431
|
/**
|
|
2519
2432
|
* Provides list of wallets owned by the authenticated client.
|
|
2520
2433
|
* @param {string} [ownerId]
|
|
2434
|
+
* @param {string} [searchName] Wallet name to search using \"begins-with\" filter
|
|
2521
2435
|
* @param {*} [options] Override http request option.
|
|
2522
2436
|
* @throws {RequiredError}
|
|
2523
2437
|
*/
|
|
2524
|
-
walletList(ownerId, options) {
|
|
2438
|
+
walletList(ownerId, searchName, options) {
|
|
2525
2439
|
var _a, _b, _c;
|
|
2526
2440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2527
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletList(ownerId, options);
|
|
2441
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletList(ownerId, searchName, options);
|
|
2528
2442
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2529
2443
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2530
2444
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2924,7 +2838,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2924
2838
|
return localVarFp.issuerInitiatePreauthOffer(walletId, initPreAuthOffer, options).then((request) => request(axios, basePath));
|
|
2925
2839
|
},
|
|
2926
2840
|
/**
|
|
2927
|
-
* Accredits a legal entity as RTAO or
|
|
2841
|
+
* Accredits a legal entity as RTAO, TAO or TI.
|
|
2928
2842
|
* @param {string} walletId
|
|
2929
2843
|
* @param {AccreditationRequest} [accreditationRequest]
|
|
2930
2844
|
* @param {*} [options] Override http request option.
|
|
@@ -2933,32 +2847,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2933
2847
|
tfAccreditAs(walletId, accreditationRequest, options) {
|
|
2934
2848
|
return localVarFp.tfAccreditAs(walletId, accreditationRequest, options).then((request) => request(axios, basePath));
|
|
2935
2849
|
},
|
|
2936
|
-
/**
|
|
2937
|
-
* Accredits the wallet as a trusted issuer.
|
|
2938
|
-
* @param {string} walletId
|
|
2939
|
-
* @param {*} [options] Override http request option.
|
|
2940
|
-
* @throws {RequiredError}
|
|
2941
|
-
*/
|
|
2942
|
-
tfAccreditAsTrustedIssuer(walletId, options) {
|
|
2943
|
-
return localVarFp.tfAccreditAsTrustedIssuer(walletId, options).then((request) => request(axios, basePath));
|
|
2944
|
-
},
|
|
2945
|
-
/**
|
|
2946
|
-
* Registers an issuer proxy used by EBSI for the credential status retrieval through EBSI network.
|
|
2947
|
-
* @param {string} walletId
|
|
2948
|
-
* @param {*} [options] Override http request option.
|
|
2949
|
-
* @throws {RequiredError}
|
|
2950
|
-
*/
|
|
2951
|
-
tfInsertIssuerProxy(walletId, options) {
|
|
2952
|
-
return localVarFp.tfInsertIssuerProxy(walletId, options).then((request) => request(axios, basePath));
|
|
2953
|
-
},
|
|
2954
2850
|
/**
|
|
2955
2851
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
2956
2852
|
* @param {string} walletId
|
|
2957
2853
|
* @param {*} [options] Override http request option.
|
|
2958
2854
|
* @throws {RequiredError}
|
|
2959
2855
|
*/
|
|
2960
|
-
|
|
2961
|
-
return localVarFp.
|
|
2856
|
+
tfOnboard(walletId, options) {
|
|
2857
|
+
return localVarFp.tfOnboard(walletId, options).then((request) => request(axios, basePath));
|
|
2962
2858
|
},
|
|
2963
2859
|
/**
|
|
2964
2860
|
* Prepares another legal entity\'s wallet DID for accreditation.
|
|
@@ -3049,11 +2945,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3049
2945
|
/**
|
|
3050
2946
|
* Provides list of wallets owned by the authenticated client.
|
|
3051
2947
|
* @param {string} [ownerId]
|
|
2948
|
+
* @param {string} [searchName] Wallet name to search using \"begins-with\" filter
|
|
3052
2949
|
* @param {*} [options] Override http request option.
|
|
3053
2950
|
* @throws {RequiredError}
|
|
3054
2951
|
*/
|
|
3055
|
-
walletList(ownerId, options) {
|
|
3056
|
-
return localVarFp.walletList(ownerId, options).then((request) => request(axios, basePath));
|
|
2952
|
+
walletList(ownerId, searchName, options) {
|
|
2953
|
+
return localVarFp.walletList(ownerId, searchName, options).then((request) => request(axios, basePath));
|
|
3057
2954
|
},
|
|
3058
2955
|
/**
|
|
3059
2956
|
* Gets a specific notification by state
|
|
@@ -3441,7 +3338,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3441
3338
|
return (0, exports.DefaultApiFp)(this.configuration).issuerInitiatePreauthOffer(walletId, initPreAuthOffer, options).then((request) => request(this.axios, this.basePath));
|
|
3442
3339
|
}
|
|
3443
3340
|
/**
|
|
3444
|
-
* Accredits a legal entity as RTAO or
|
|
3341
|
+
* Accredits a legal entity as RTAO, TAO or TI.
|
|
3445
3342
|
* @param {string} walletId
|
|
3446
3343
|
* @param {AccreditationRequest} [accreditationRequest]
|
|
3447
3344
|
* @param {*} [options] Override http request option.
|
|
@@ -3451,26 +3348,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3451
3348
|
tfAccreditAs(walletId, accreditationRequest, options) {
|
|
3452
3349
|
return (0, exports.DefaultApiFp)(this.configuration).tfAccreditAs(walletId, accreditationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3453
3350
|
}
|
|
3454
|
-
/**
|
|
3455
|
-
* Accredits the wallet as a trusted issuer.
|
|
3456
|
-
* @param {string} walletId
|
|
3457
|
-
* @param {*} [options] Override http request option.
|
|
3458
|
-
* @throws {RequiredError}
|
|
3459
|
-
* @memberof DefaultApi
|
|
3460
|
-
*/
|
|
3461
|
-
tfAccreditAsTrustedIssuer(walletId, options) {
|
|
3462
|
-
return (0, exports.DefaultApiFp)(this.configuration).tfAccreditAsTrustedIssuer(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
3463
|
-
}
|
|
3464
|
-
/**
|
|
3465
|
-
* Registers an issuer proxy used by EBSI for the credential status retrieval through EBSI network.
|
|
3466
|
-
* @param {string} walletId
|
|
3467
|
-
* @param {*} [options] Override http request option.
|
|
3468
|
-
* @throws {RequiredError}
|
|
3469
|
-
* @memberof DefaultApi
|
|
3470
|
-
*/
|
|
3471
|
-
tfInsertIssuerProxy(walletId, options) {
|
|
3472
|
-
return (0, exports.DefaultApiFp)(this.configuration).tfInsertIssuerProxy(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
3473
|
-
}
|
|
3474
3351
|
/**
|
|
3475
3352
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
3476
3353
|
* @param {string} walletId
|
|
@@ -3478,8 +3355,8 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3478
3355
|
* @throws {RequiredError}
|
|
3479
3356
|
* @memberof DefaultApi
|
|
3480
3357
|
*/
|
|
3481
|
-
|
|
3482
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
3358
|
+
tfOnboard(walletId, options) {
|
|
3359
|
+
return (0, exports.DefaultApiFp)(this.configuration).tfOnboard(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
3483
3360
|
}
|
|
3484
3361
|
/**
|
|
3485
3362
|
* Prepares another legal entity\'s wallet DID for accreditation.
|
|
@@ -3579,12 +3456,13 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3579
3456
|
/**
|
|
3580
3457
|
* Provides list of wallets owned by the authenticated client.
|
|
3581
3458
|
* @param {string} [ownerId]
|
|
3459
|
+
* @param {string} [searchName] Wallet name to search using \"begins-with\" filter
|
|
3582
3460
|
* @param {*} [options] Override http request option.
|
|
3583
3461
|
* @throws {RequiredError}
|
|
3584
3462
|
* @memberof DefaultApi
|
|
3585
3463
|
*/
|
|
3586
|
-
walletList(ownerId, options) {
|
|
3587
|
-
return (0, exports.DefaultApiFp)(this.configuration).walletList(ownerId, options).then((request) => request(this.axios, this.basePath));
|
|
3464
|
+
walletList(ownerId, searchName, options) {
|
|
3465
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletList(ownerId, searchName, options).then((request) => request(this.axios, this.basePath));
|
|
3588
3466
|
}
|
|
3589
3467
|
/**
|
|
3590
3468
|
* Gets a specific notification by state
|