@triveria/wallet 0.0.182 → 0.0.184
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 +74 -9
- package/api.js +82 -13
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -671,7 +671,7 @@ export interface Did {
|
|
|
671
671
|
*/
|
|
672
672
|
export interface EbsiConfiguration {
|
|
673
673
|
/**
|
|
674
|
-
*
|
|
674
|
+
* The TAO issuer ID from which this wallet will request onboarding credentials
|
|
675
675
|
* @type {string}
|
|
676
676
|
* @memberof EbsiConfiguration
|
|
677
677
|
*/
|
|
@@ -1212,6 +1212,12 @@ export interface OfferReceivedNotification {
|
|
|
1212
1212
|
* @memberof OfferReceivedNotification
|
|
1213
1213
|
*/
|
|
1214
1214
|
'holderDid': string;
|
|
1215
|
+
/**
|
|
1216
|
+
*
|
|
1217
|
+
* @type {string}
|
|
1218
|
+
* @memberof OfferReceivedNotification
|
|
1219
|
+
*/
|
|
1220
|
+
'credentialId'?: string;
|
|
1215
1221
|
}
|
|
1216
1222
|
/**
|
|
1217
1223
|
* On successful EBSI-onboarding result contains \"did:ebsi\" decentralized identifier
|
|
@@ -1275,6 +1281,12 @@ export interface PrepareToAccreditRequest {
|
|
|
1275
1281
|
* @memberof PrepareToAccreditRequest
|
|
1276
1282
|
*/
|
|
1277
1283
|
'type': PrepareToAccreditRequestTypeEnum;
|
|
1284
|
+
/**
|
|
1285
|
+
* Base64 encoded json to be used for the `accreditedFor` property of the credential
|
|
1286
|
+
* @type {string}
|
|
1287
|
+
* @memberof PrepareToAccreditRequest
|
|
1288
|
+
*/
|
|
1289
|
+
'accreditedFor': string;
|
|
1278
1290
|
}
|
|
1279
1291
|
export declare const PrepareToAccreditRequestTypeEnum: {
|
|
1280
1292
|
readonly TrustedIssuer: "TrustedIssuer";
|
|
@@ -1554,6 +1566,30 @@ export interface RefreshServiceItem {
|
|
|
1554
1566
|
*/
|
|
1555
1567
|
'type': string;
|
|
1556
1568
|
}
|
|
1569
|
+
/**
|
|
1570
|
+
* Info needed to revoke legal entity\'s DID
|
|
1571
|
+
* @export
|
|
1572
|
+
* @interface RevokeAccreditationRequest
|
|
1573
|
+
*/
|
|
1574
|
+
export interface RevokeAccreditationRequest {
|
|
1575
|
+
/**
|
|
1576
|
+
*
|
|
1577
|
+
* @type {string}
|
|
1578
|
+
* @memberof RevokeAccreditationRequest
|
|
1579
|
+
*/
|
|
1580
|
+
'did': string;
|
|
1581
|
+
/**
|
|
1582
|
+
*
|
|
1583
|
+
* @type {string}
|
|
1584
|
+
* @memberof RevokeAccreditationRequest
|
|
1585
|
+
*/
|
|
1586
|
+
'type': RevokeAccreditationRequestTypeEnum;
|
|
1587
|
+
}
|
|
1588
|
+
export declare const RevokeAccreditationRequestTypeEnum: {
|
|
1589
|
+
readonly TrustedIssuer: "TrustedIssuer";
|
|
1590
|
+
readonly TrustedAccreditationOrganisation: "TrustedAccreditationOrganisation";
|
|
1591
|
+
};
|
|
1592
|
+
export type RevokeAccreditationRequestTypeEnum = typeof RevokeAccreditationRequestTypeEnum[keyof typeof RevokeAccreditationRequestTypeEnum];
|
|
1557
1593
|
/**
|
|
1558
1594
|
* The subsystem status impact on the overall system
|
|
1559
1595
|
* @export
|
|
@@ -2106,14 +2142,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2106
2142
|
* @throws {RequiredError}
|
|
2107
2143
|
*/
|
|
2108
2144
|
tfPrepareToAccredit: (walletId: string, prepareToAccreditRequest?: PrepareToAccreditRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2145
|
+
/**
|
|
2146
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2147
|
+
* @param {string} walletId
|
|
2148
|
+
* @param {*} [options] Override http request option.
|
|
2149
|
+
* @throws {RequiredError}
|
|
2150
|
+
*/
|
|
2151
|
+
tfPrepareToOnboard: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2109
2152
|
/**
|
|
2110
2153
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2111
2154
|
* @param {string} walletId
|
|
2112
|
-
* @param {
|
|
2155
|
+
* @param {RevokeAccreditationRequest} [revokeAccreditationRequest]
|
|
2113
2156
|
* @param {*} [options] Override http request option.
|
|
2114
2157
|
* @throws {RequiredError}
|
|
2115
2158
|
*/
|
|
2116
|
-
tfRevokeAccreditation: (walletId: string,
|
|
2159
|
+
tfRevokeAccreditation: (walletId: string, revokeAccreditationRequest?: RevokeAccreditationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2117
2160
|
/**
|
|
2118
2161
|
* Returns an url where verifier accepts presentations from a holder.
|
|
2119
2162
|
* @param {string} walletId
|
|
@@ -2432,14 +2475,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2432
2475
|
* @throws {RequiredError}
|
|
2433
2476
|
*/
|
|
2434
2477
|
tfPrepareToAccredit(walletId: string, prepareToAccreditRequest?: PrepareToAccreditRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2478
|
+
/**
|
|
2479
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2480
|
+
* @param {string} walletId
|
|
2481
|
+
* @param {*} [options] Override http request option.
|
|
2482
|
+
* @throws {RequiredError}
|
|
2483
|
+
*/
|
|
2484
|
+
tfPrepareToOnboard(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2435
2485
|
/**
|
|
2436
2486
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2437
2487
|
* @param {string} walletId
|
|
2438
|
-
* @param {
|
|
2488
|
+
* @param {RevokeAccreditationRequest} [revokeAccreditationRequest]
|
|
2439
2489
|
* @param {*} [options] Override http request option.
|
|
2440
2490
|
* @throws {RequiredError}
|
|
2441
2491
|
*/
|
|
2442
|
-
tfRevokeAccreditation(walletId: string,
|
|
2492
|
+
tfRevokeAccreditation(walletId: string, revokeAccreditationRequest?: RevokeAccreditationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2443
2493
|
/**
|
|
2444
2494
|
* Returns an url where verifier accepts presentations from a holder.
|
|
2445
2495
|
* @param {string} walletId
|
|
@@ -2758,14 +2808,21 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2758
2808
|
* @throws {RequiredError}
|
|
2759
2809
|
*/
|
|
2760
2810
|
tfPrepareToAccredit(walletId: string, prepareToAccreditRequest?: PrepareToAccreditRequest, options?: any): AxiosPromise<void>;
|
|
2811
|
+
/**
|
|
2812
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2813
|
+
* @param {string} walletId
|
|
2814
|
+
* @param {*} [options] Override http request option.
|
|
2815
|
+
* @throws {RequiredError}
|
|
2816
|
+
*/
|
|
2817
|
+
tfPrepareToOnboard(walletId: string, options?: any): AxiosPromise<void>;
|
|
2761
2818
|
/**
|
|
2762
2819
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2763
2820
|
* @param {string} walletId
|
|
2764
|
-
* @param {
|
|
2821
|
+
* @param {RevokeAccreditationRequest} [revokeAccreditationRequest]
|
|
2765
2822
|
* @param {*} [options] Override http request option.
|
|
2766
2823
|
* @throws {RequiredError}
|
|
2767
2824
|
*/
|
|
2768
|
-
tfRevokeAccreditation(walletId: string,
|
|
2825
|
+
tfRevokeAccreditation(walletId: string, revokeAccreditationRequest?: RevokeAccreditationRequest, options?: any): AxiosPromise<void>;
|
|
2769
2826
|
/**
|
|
2770
2827
|
* Returns an url where verifier accepts presentations from a holder.
|
|
2771
2828
|
* @param {string} walletId
|
|
@@ -3114,15 +3171,23 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3114
3171
|
* @memberof DefaultApi
|
|
3115
3172
|
*/
|
|
3116
3173
|
tfPrepareToAccredit(walletId: string, prepareToAccreditRequest?: PrepareToAccreditRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3174
|
+
/**
|
|
3175
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
3176
|
+
* @param {string} walletId
|
|
3177
|
+
* @param {*} [options] Override http request option.
|
|
3178
|
+
* @throws {RequiredError}
|
|
3179
|
+
* @memberof DefaultApi
|
|
3180
|
+
*/
|
|
3181
|
+
tfPrepareToOnboard(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3117
3182
|
/**
|
|
3118
3183
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
3119
3184
|
* @param {string} walletId
|
|
3120
|
-
* @param {
|
|
3185
|
+
* @param {RevokeAccreditationRequest} [revokeAccreditationRequest]
|
|
3121
3186
|
* @param {*} [options] Override http request option.
|
|
3122
3187
|
* @throws {RequiredError}
|
|
3123
3188
|
* @memberof DefaultApi
|
|
3124
3189
|
*/
|
|
3125
|
-
tfRevokeAccreditation(walletId: string,
|
|
3190
|
+
tfRevokeAccreditation(walletId: string, revokeAccreditationRequest?: RevokeAccreditationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3126
3191
|
/**
|
|
3127
3192
|
* Returns an url where verifier accepts presentations from a holder.
|
|
3128
3193
|
* @param {string} walletId
|
package/api.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.WalletConfigTrustFrameworkEnum = exports.WalletCapability = exports.SystemImpactStatusEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialFormat = exports.AccreditationRequestTypeEnum = void 0;
|
|
28
|
+
exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.WalletConfigTrustFrameworkEnum = exports.WalletCapability = exports.SystemImpactStatusEnum = exports.RevokeAccreditationRequestTypeEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialFormat = exports.AccreditationRequestTypeEnum = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -87,6 +87,10 @@ exports.PresentationDefinitionSubmissionRequirementsRuleEnum = {
|
|
|
87
87
|
All: 'all',
|
|
88
88
|
Pick: 'pick'
|
|
89
89
|
};
|
|
90
|
+
exports.RevokeAccreditationRequestTypeEnum = {
|
|
91
|
+
TrustedIssuer: 'TrustedIssuer',
|
|
92
|
+
TrustedAccreditationOrganisation: 'TrustedAccreditationOrganisation'
|
|
93
|
+
};
|
|
90
94
|
exports.SystemImpactStatusEnum = {
|
|
91
95
|
Ok: 'ok',
|
|
92
96
|
Limited: 'limited',
|
|
@@ -1128,14 +1132,45 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1128
1132
|
options: localVarRequestOptions,
|
|
1129
1133
|
};
|
|
1130
1134
|
}),
|
|
1135
|
+
/**
|
|
1136
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
1137
|
+
* @param {string} walletId
|
|
1138
|
+
* @param {*} [options] Override http request option.
|
|
1139
|
+
* @throws {RequiredError}
|
|
1140
|
+
*/
|
|
1141
|
+
tfPrepareToOnboard: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1142
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
1143
|
+
(0, common_1.assertParamExists)('tfPrepareToOnboard', 'walletId', walletId);
|
|
1144
|
+
const localVarPath = `/tf/{wallet_id}/prepare-to-onboard`
|
|
1145
|
+
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)));
|
|
1146
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1147
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1148
|
+
let baseOptions;
|
|
1149
|
+
if (configuration) {
|
|
1150
|
+
baseOptions = configuration.baseOptions;
|
|
1151
|
+
}
|
|
1152
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1153
|
+
const localVarHeaderParameter = {};
|
|
1154
|
+
const localVarQueryParameter = {};
|
|
1155
|
+
// authentication accessToken required
|
|
1156
|
+
// http bearer authentication required
|
|
1157
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1158
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1160
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1161
|
+
return {
|
|
1162
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1163
|
+
options: localVarRequestOptions,
|
|
1164
|
+
};
|
|
1165
|
+
}),
|
|
1131
1166
|
/**
|
|
1132
1167
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
1133
1168
|
* @param {string} walletId
|
|
1134
|
-
* @param {
|
|
1169
|
+
* @param {RevokeAccreditationRequest} [revokeAccreditationRequest]
|
|
1135
1170
|
* @param {*} [options] Override http request option.
|
|
1136
1171
|
* @throws {RequiredError}
|
|
1137
1172
|
*/
|
|
1138
|
-
tfRevokeAccreditation: (walletId,
|
|
1173
|
+
tfRevokeAccreditation: (walletId, revokeAccreditationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1139
1174
|
// verify required parameter 'walletId' is not null or undefined
|
|
1140
1175
|
(0, common_1.assertParamExists)('tfRevokeAccreditation', 'walletId', walletId);
|
|
1141
1176
|
const localVarPath = `/tf/{wallet_id}/revoke-accredit`
|
|
@@ -1156,7 +1191,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1156
1191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1157
1192
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1158
1193
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1159
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1194
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(revokeAccreditationRequest, localVarRequestOptions, configuration);
|
|
1160
1195
|
return {
|
|
1161
1196
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1162
1197
|
options: localVarRequestOptions,
|
|
@@ -1995,17 +2030,32 @@ const DefaultApiFp = function (configuration) {
|
|
|
1995
2030
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1996
2031
|
});
|
|
1997
2032
|
},
|
|
2033
|
+
/**
|
|
2034
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2035
|
+
* @param {string} walletId
|
|
2036
|
+
* @param {*} [options] Override http request option.
|
|
2037
|
+
* @throws {RequiredError}
|
|
2038
|
+
*/
|
|
2039
|
+
tfPrepareToOnboard(walletId, options) {
|
|
2040
|
+
var _a, _b, _c;
|
|
2041
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2042
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tfPrepareToOnboard(walletId, options);
|
|
2043
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2044
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.tfPrepareToOnboard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2045
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2046
|
+
});
|
|
2047
|
+
},
|
|
1998
2048
|
/**
|
|
1999
2049
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2000
2050
|
* @param {string} walletId
|
|
2001
|
-
* @param {
|
|
2051
|
+
* @param {RevokeAccreditationRequest} [revokeAccreditationRequest]
|
|
2002
2052
|
* @param {*} [options] Override http request option.
|
|
2003
2053
|
* @throws {RequiredError}
|
|
2004
2054
|
*/
|
|
2005
|
-
tfRevokeAccreditation(walletId,
|
|
2055
|
+
tfRevokeAccreditation(walletId, revokeAccreditationRequest, options) {
|
|
2006
2056
|
var _a, _b, _c;
|
|
2007
2057
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2008
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.tfRevokeAccreditation(walletId,
|
|
2058
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tfRevokeAccreditation(walletId, revokeAccreditationRequest, options);
|
|
2009
2059
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2010
2060
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.tfRevokeAccreditation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2011
2061
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2477,15 +2527,24 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2477
2527
|
tfPrepareToAccredit(walletId, prepareToAccreditRequest, options) {
|
|
2478
2528
|
return localVarFp.tfPrepareToAccredit(walletId, prepareToAccreditRequest, options).then((request) => request(axios, basePath));
|
|
2479
2529
|
},
|
|
2530
|
+
/**
|
|
2531
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2532
|
+
* @param {string} walletId
|
|
2533
|
+
* @param {*} [options] Override http request option.
|
|
2534
|
+
* @throws {RequiredError}
|
|
2535
|
+
*/
|
|
2536
|
+
tfPrepareToOnboard(walletId, options) {
|
|
2537
|
+
return localVarFp.tfPrepareToOnboard(walletId, options).then((request) => request(axios, basePath));
|
|
2538
|
+
},
|
|
2480
2539
|
/**
|
|
2481
2540
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2482
2541
|
* @param {string} walletId
|
|
2483
|
-
* @param {
|
|
2542
|
+
* @param {RevokeAccreditationRequest} [revokeAccreditationRequest]
|
|
2484
2543
|
* @param {*} [options] Override http request option.
|
|
2485
2544
|
* @throws {RequiredError}
|
|
2486
2545
|
*/
|
|
2487
|
-
tfRevokeAccreditation(walletId,
|
|
2488
|
-
return localVarFp.tfRevokeAccreditation(walletId,
|
|
2546
|
+
tfRevokeAccreditation(walletId, revokeAccreditationRequest, options) {
|
|
2547
|
+
return localVarFp.tfRevokeAccreditation(walletId, revokeAccreditationRequest, options).then((request) => request(axios, basePath));
|
|
2489
2548
|
},
|
|
2490
2549
|
/**
|
|
2491
2550
|
* Returns an url where verifier accepts presentations from a holder.
|
|
@@ -2915,16 +2974,26 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2915
2974
|
tfPrepareToAccredit(walletId, prepareToAccreditRequest, options) {
|
|
2916
2975
|
return (0, exports.DefaultApiFp)(this.configuration).tfPrepareToAccredit(walletId, prepareToAccreditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2917
2976
|
}
|
|
2977
|
+
/**
|
|
2978
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2979
|
+
* @param {string} walletId
|
|
2980
|
+
* @param {*} [options] Override http request option.
|
|
2981
|
+
* @throws {RequiredError}
|
|
2982
|
+
* @memberof DefaultApi
|
|
2983
|
+
*/
|
|
2984
|
+
tfPrepareToOnboard(walletId, options) {
|
|
2985
|
+
return (0, exports.DefaultApiFp)(this.configuration).tfPrepareToOnboard(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
2986
|
+
}
|
|
2918
2987
|
/**
|
|
2919
2988
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2920
2989
|
* @param {string} walletId
|
|
2921
|
-
* @param {
|
|
2990
|
+
* @param {RevokeAccreditationRequest} [revokeAccreditationRequest]
|
|
2922
2991
|
* @param {*} [options] Override http request option.
|
|
2923
2992
|
* @throws {RequiredError}
|
|
2924
2993
|
* @memberof DefaultApi
|
|
2925
2994
|
*/
|
|
2926
|
-
tfRevokeAccreditation(walletId,
|
|
2927
|
-
return (0, exports.DefaultApiFp)(this.configuration).tfRevokeAccreditation(walletId,
|
|
2995
|
+
tfRevokeAccreditation(walletId, revokeAccreditationRequest, options) {
|
|
2996
|
+
return (0, exports.DefaultApiFp)(this.configuration).tfRevokeAccreditation(walletId, revokeAccreditationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2928
2997
|
}
|
|
2929
2998
|
/**
|
|
2930
2999
|
* Returns an url where verifier accepts presentations from a holder.
|