@triveria/wallet 0.0.246 → 0.0.247
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 +29 -1635
- package/api.js +61 -76
- package/base.d.ts +0 -24
- package/base.js +0 -19
- package/common.d.ts +0 -37
- package/common.js +0 -37
- package/configuration.d.ts +0 -17
- package/package.json +1 -1
package/api.js
CHANGED
|
@@ -39,8 +39,6 @@ exports.AccreditationRequestTypeEnum = {
|
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
41
|
* jwt_vc_vcdm - VC using W3C VC Data Model as jwt sd_jwt_vc - VC using sd_jwt_vc data model as jwt
|
|
42
|
-
* @export
|
|
43
|
-
* @enum {string}
|
|
44
42
|
*/
|
|
45
43
|
exports.CredentialFormat = {
|
|
46
44
|
SdJwtVc: 'sd_jwt_vc',
|
|
@@ -82,8 +80,6 @@ exports.InteractionAuthorizationRequirementsRequirementTypeEnum = {
|
|
|
82
80
|
};
|
|
83
81
|
/**
|
|
84
82
|
* Sort flag controls the sort direction by the time created
|
|
85
|
-
* @export
|
|
86
|
-
* @enum {string}
|
|
87
83
|
*/
|
|
88
84
|
exports.ListSort = {
|
|
89
85
|
Asc: 'asc',
|
|
@@ -109,11 +105,6 @@ exports.RevokeAccreditationRequestTypeEnum = {
|
|
|
109
105
|
TrustedIssuer: 'TrustedIssuer',
|
|
110
106
|
TrustedAccreditationOrganisation: 'TrustedAccreditationOrganisation'
|
|
111
107
|
};
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @export
|
|
115
|
-
* @enum {string}
|
|
116
|
-
*/
|
|
117
108
|
exports.SigningKeyIdentifier = {
|
|
118
109
|
Did: 'did',
|
|
119
110
|
Jwk: 'jwk',
|
|
@@ -126,8 +117,6 @@ exports.SystemImpactStatusEnum = {
|
|
|
126
117
|
};
|
|
127
118
|
/**
|
|
128
119
|
* What trust framework should we use with this wallet. This property COULD NOT change later. Supported frameworks: EBSI - the European Blockchain Services Infrastructure, IDTL - IDUnion Trust List, EUDI - European Digital Identity wallet, Noop - personal key based no-op trust framework (mainly for the personal use)
|
|
129
|
-
* @export
|
|
130
|
-
* @enum {string}
|
|
131
120
|
*/
|
|
132
121
|
exports.TrustFrameworkType = {
|
|
133
122
|
Ebsi: 'EBSI',
|
|
@@ -137,19 +126,12 @@ exports.TrustFrameworkType = {
|
|
|
137
126
|
};
|
|
138
127
|
/**
|
|
139
128
|
* Defines the capabilities which the wallet has. It may be any of \"holder\", \"issuer\" and \"verifier\".
|
|
140
|
-
* @export
|
|
141
|
-
* @enum {string}
|
|
142
129
|
*/
|
|
143
130
|
exports.WalletCapability = {
|
|
144
131
|
Holder: 'holder',
|
|
145
132
|
Issuer: 'issuer',
|
|
146
133
|
Verifier: 'verifier'
|
|
147
134
|
};
|
|
148
|
-
/**
|
|
149
|
-
*
|
|
150
|
-
* @export
|
|
151
|
-
* @enum {string}
|
|
152
|
-
*/
|
|
153
135
|
exports.WalletNotificationEventType = {
|
|
154
136
|
VpVerified: 'vp.verified',
|
|
155
137
|
VpInvalid: 'vp.invalid',
|
|
@@ -162,7 +144,6 @@ exports.WalletNotificationEventType = {
|
|
|
162
144
|
};
|
|
163
145
|
/**
|
|
164
146
|
* DefaultApi - axios parameter creator
|
|
165
|
-
* @export
|
|
166
147
|
*/
|
|
167
148
|
const DefaultApiAxiosParamCreator = function (configuration) {
|
|
168
149
|
return {
|
|
@@ -1885,6 +1866,34 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1885
1866
|
options: localVarRequestOptions,
|
|
1886
1867
|
};
|
|
1887
1868
|
}),
|
|
1869
|
+
/**
|
|
1870
|
+
* Returns an X509 certificate in PEM format
|
|
1871
|
+
* @param {string} walletId Wallet ID
|
|
1872
|
+
* @param {*} [options] Override http request option.
|
|
1873
|
+
* @throws {RequiredError}
|
|
1874
|
+
*/
|
|
1875
|
+
walletX509CertificateGet: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1876
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
1877
|
+
(0, common_1.assertParamExists)('walletX509CertificateGet', 'walletId', walletId);
|
|
1878
|
+
const localVarPath = `/wallets/{wallet_id}/certificate`
|
|
1879
|
+
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)));
|
|
1880
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1881
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1882
|
+
let baseOptions;
|
|
1883
|
+
if (configuration) {
|
|
1884
|
+
baseOptions = configuration.baseOptions;
|
|
1885
|
+
}
|
|
1886
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1887
|
+
const localVarHeaderParameter = {};
|
|
1888
|
+
const localVarQueryParameter = {};
|
|
1889
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1890
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1891
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1892
|
+
return {
|
|
1893
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1894
|
+
options: localVarRequestOptions,
|
|
1895
|
+
};
|
|
1896
|
+
}),
|
|
1888
1897
|
/**
|
|
1889
1898
|
* Imports an X509 certificate to be used when signing credentials
|
|
1890
1899
|
* @param {string} walletId Wallet ID
|
|
@@ -1924,7 +1933,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1924
1933
|
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
1925
1934
|
/**
|
|
1926
1935
|
* DefaultApi - functional programming interface
|
|
1927
|
-
* @export
|
|
1928
1936
|
*/
|
|
1929
1937
|
const DefaultApiFp = function (configuration) {
|
|
1930
1938
|
const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
@@ -2700,6 +2708,21 @@ const DefaultApiFp = function (configuration) {
|
|
|
2700
2708
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2701
2709
|
});
|
|
2702
2710
|
},
|
|
2711
|
+
/**
|
|
2712
|
+
* Returns an X509 certificate in PEM format
|
|
2713
|
+
* @param {string} walletId Wallet ID
|
|
2714
|
+
* @param {*} [options] Override http request option.
|
|
2715
|
+
* @throws {RequiredError}
|
|
2716
|
+
*/
|
|
2717
|
+
walletX509CertificateGet(walletId, options) {
|
|
2718
|
+
var _a, _b, _c;
|
|
2719
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2720
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletX509CertificateGet(walletId, options);
|
|
2721
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2722
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletX509CertificateGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2723
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2724
|
+
});
|
|
2725
|
+
},
|
|
2703
2726
|
/**
|
|
2704
2727
|
* Imports an X509 certificate to be used when signing credentials
|
|
2705
2728
|
* @param {string} walletId Wallet ID
|
|
@@ -2721,7 +2744,6 @@ const DefaultApiFp = function (configuration) {
|
|
|
2721
2744
|
exports.DefaultApiFp = DefaultApiFp;
|
|
2722
2745
|
/**
|
|
2723
2746
|
* DefaultApi - factory interface
|
|
2724
|
-
* @export
|
|
2725
2747
|
*/
|
|
2726
2748
|
const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
2727
2749
|
const localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
@@ -3209,6 +3231,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3209
3231
|
walletX509CSRCreate(walletId, cSRCreateRequest, options) {
|
|
3210
3232
|
return localVarFp.walletX509CSRCreate(walletId, cSRCreateRequest, options).then((request) => request(axios, basePath));
|
|
3211
3233
|
},
|
|
3234
|
+
/**
|
|
3235
|
+
* Returns an X509 certificate in PEM format
|
|
3236
|
+
* @param {string} walletId Wallet ID
|
|
3237
|
+
* @param {*} [options] Override http request option.
|
|
3238
|
+
* @throws {RequiredError}
|
|
3239
|
+
*/
|
|
3240
|
+
walletX509CertificateGet(walletId, options) {
|
|
3241
|
+
return localVarFp.walletX509CertificateGet(walletId, options).then((request) => request(axios, basePath));
|
|
3242
|
+
},
|
|
3212
3243
|
/**
|
|
3213
3244
|
* Imports an X509 certificate to be used when signing credentials
|
|
3214
3245
|
* @param {string} walletId Wallet ID
|
|
@@ -3224,9 +3255,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3224
3255
|
exports.DefaultApiFactory = DefaultApiFactory;
|
|
3225
3256
|
/**
|
|
3226
3257
|
* DefaultApi - object-oriented interface
|
|
3227
|
-
* @export
|
|
3228
|
-
* @class DefaultApi
|
|
3229
|
-
* @extends {BaseAPI}
|
|
3230
3258
|
*/
|
|
3231
3259
|
class DefaultApi extends base_1.BaseAPI {
|
|
3232
3260
|
/**
|
|
@@ -3235,7 +3263,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3235
3263
|
* @param {CredentialPayload} [credentialPayload] A Verifiable Credential payload in JSON format.
|
|
3236
3264
|
* @param {*} [options] Override http request option.
|
|
3237
3265
|
* @throws {RequiredError}
|
|
3238
|
-
* @memberof DefaultApi
|
|
3239
3266
|
*/
|
|
3240
3267
|
credentialCreate(walletId, credentialPayload, options) {
|
|
3241
3268
|
return (0, exports.DefaultApiFp)(this.configuration).credentialCreate(walletId, credentialPayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3246,7 +3273,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3246
3273
|
* @param {string} walletId
|
|
3247
3274
|
* @param {*} [options] Override http request option.
|
|
3248
3275
|
* @throws {RequiredError}
|
|
3249
|
-
* @memberof DefaultApi
|
|
3250
3276
|
*/
|
|
3251
3277
|
credentialGet(credentialId, walletId, options) {
|
|
3252
3278
|
return (0, exports.DefaultApiFp)(this.configuration).credentialGet(credentialId, walletId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3257,7 +3283,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3257
3283
|
* @param {CredentialImport} [credentialImport] A Verifiable Credential payload in JSON format.
|
|
3258
3284
|
* @param {*} [options] Override http request option.
|
|
3259
3285
|
* @throws {RequiredError}
|
|
3260
|
-
* @memberof DefaultApi
|
|
3261
3286
|
*/
|
|
3262
3287
|
credentialImport(walletId, credentialImport, options) {
|
|
3263
3288
|
return (0, exports.DefaultApiFp)(this.configuration).credentialImport(walletId, credentialImport, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3269,7 +3294,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3269
3294
|
* @param {CredentialIssuanceInit} [credentialIssuanceInit]
|
|
3270
3295
|
* @param {*} [options] Override http request option.
|
|
3271
3296
|
* @throws {RequiredError}
|
|
3272
|
-
* @memberof DefaultApi
|
|
3273
3297
|
*/
|
|
3274
3298
|
credentialIssuanceInit(credentialId, walletId, credentialIssuanceInit, options) {
|
|
3275
3299
|
return (0, exports.DefaultApiFp)(this.configuration).credentialIssuanceInit(credentialId, walletId, credentialIssuanceInit, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3287,7 +3311,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3287
3311
|
* @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
|
|
3288
3312
|
* @param {*} [options] Override http request option.
|
|
3289
3313
|
* @throws {RequiredError}
|
|
3290
|
-
* @memberof DefaultApi
|
|
3291
3314
|
*/
|
|
3292
3315
|
credentialList(walletId, interaction, type, valid, limit, nextMarker, sort, searchPath, filter, options) {
|
|
3293
3316
|
return (0, exports.DefaultApiFp)(this.configuration).credentialList(walletId, interaction, type, valid, limit, nextMarker, sort, searchPath, filter, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3299,7 +3322,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3299
3322
|
* @param {CredentialMetadataPatchPayload} [credentialMetadataPatchPayload] Verifiable Credential metadata in JSON
|
|
3300
3323
|
* @param {*} [options] Override http request option.
|
|
3301
3324
|
* @throws {RequiredError}
|
|
3302
|
-
* @memberof DefaultApi
|
|
3303
3325
|
*/
|
|
3304
3326
|
credentialMetadataPatch(credentialId, walletId, credentialMetadataPatchPayload, options) {
|
|
3305
3327
|
return (0, exports.DefaultApiFp)(this.configuration).credentialMetadataPatch(credentialId, walletId, credentialMetadataPatchPayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3311,7 +3333,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3311
3333
|
* @param {CredentialPatchPayload} [credentialPatchPayload]
|
|
3312
3334
|
* @param {*} [options] Override http request option.
|
|
3313
3335
|
* @throws {RequiredError}
|
|
3314
|
-
* @memberof DefaultApi
|
|
3315
3336
|
*/
|
|
3316
3337
|
credentialPatch(credentialId, walletId, credentialPatchPayload, options) {
|
|
3317
3338
|
return (0, exports.DefaultApiFp)(this.configuration).credentialPatch(credentialId, walletId, credentialPatchPayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3322,7 +3343,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3322
3343
|
* @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
|
|
3323
3344
|
* @param {*} [options] Override http request option.
|
|
3324
3345
|
* @throws {RequiredError}
|
|
3325
|
-
* @memberof DefaultApi
|
|
3326
3346
|
*/
|
|
3327
3347
|
credentialRequestInit(walletId, credentialRequest, options) {
|
|
3328
3348
|
return (0, exports.DefaultApiFp)(this.configuration).credentialRequestInit(walletId, credentialRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3333,7 +3353,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3333
3353
|
* @param {string} walletId
|
|
3334
3354
|
* @param {*} [options] Override http request option.
|
|
3335
3355
|
* @throws {RequiredError}
|
|
3336
|
-
* @memberof DefaultApi
|
|
3337
3356
|
*/
|
|
3338
3357
|
credentialRevoke(credentialId, walletId, options) {
|
|
3339
3358
|
return (0, exports.DefaultApiFp)(this.configuration).credentialRevoke(credentialId, walletId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3344,7 +3363,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3344
3363
|
* @param {string} walletId
|
|
3345
3364
|
* @param {*} [options] Override http request option.
|
|
3346
3365
|
* @throws {RequiredError}
|
|
3347
|
-
* @memberof DefaultApi
|
|
3348
3366
|
*/
|
|
3349
3367
|
deferredStatus(deferredId, walletId, options) {
|
|
3350
3368
|
return (0, exports.DefaultApiFp)(this.configuration).deferredStatus(deferredId, walletId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3354,7 +3372,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3354
3372
|
* @param {string} walletId
|
|
3355
3373
|
* @param {*} [options] Override http request option.
|
|
3356
3374
|
* @throws {RequiredError}
|
|
3357
|
-
* @memberof DefaultApi
|
|
3358
3375
|
*/
|
|
3359
3376
|
didDocumentGet(walletId, options) {
|
|
3360
3377
|
return (0, exports.DefaultApiFp)(this.configuration).didDocumentGet(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3363,7 +3380,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3363
3380
|
*
|
|
3364
3381
|
* @param {*} [options] Override http request option.
|
|
3365
3382
|
* @throws {RequiredError}
|
|
3366
|
-
* @memberof DefaultApi
|
|
3367
3383
|
*/
|
|
3368
3384
|
healthCheck(options) {
|
|
3369
3385
|
return (0, exports.DefaultApiFp)(this.configuration).healthCheck(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3374,7 +3390,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3374
3390
|
* @param {HolderAuthOfferCreationRequest} [holderAuthOfferCreationRequest]
|
|
3375
3391
|
* @param {*} [options] Override http request option.
|
|
3376
3392
|
* @throws {RequiredError}
|
|
3377
|
-
* @memberof DefaultApi
|
|
3378
3393
|
*/
|
|
3379
3394
|
holderCreateAuthOffer(walletId, holderAuthOfferCreationRequest, options) {
|
|
3380
3395
|
return (0, exports.DefaultApiFp)(this.configuration).holderCreateAuthOffer(walletId, holderAuthOfferCreationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3386,7 +3401,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3386
3401
|
* @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
|
|
3387
3402
|
* @param {*} [options] Override http request option.
|
|
3388
3403
|
* @throws {RequiredError}
|
|
3389
|
-
* @memberof DefaultApi
|
|
3390
3404
|
*/
|
|
3391
3405
|
holderCredentialsPresentAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options) {
|
|
3392
3406
|
return (0, exports.DefaultApiFp)(this.configuration).holderCredentialsPresentAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3397,7 +3411,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3397
3411
|
* @param {IdTokenSendRequest} [idTokenSendRequest]
|
|
3398
3412
|
* @param {*} [options] Override http request option.
|
|
3399
3413
|
* @throws {RequiredError}
|
|
3400
|
-
* @memberof DefaultApi
|
|
3401
3414
|
*/
|
|
3402
3415
|
holderIdTokenSend(walletId, idTokenSendRequest, options) {
|
|
3403
3416
|
return (0, exports.DefaultApiFp)(this.configuration).holderIdTokenSend(walletId, idTokenSendRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3408,7 +3421,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3408
3421
|
* @param {LinkedVpCreateRequest} [linkedVpCreateRequest]
|
|
3409
3422
|
* @param {*} [options] Override http request option.
|
|
3410
3423
|
* @throws {RequiredError}
|
|
3411
|
-
* @memberof DefaultApi
|
|
3412
3424
|
*/
|
|
3413
3425
|
holderLinkedVpCreate(walletId, linkedVpCreateRequest, options) {
|
|
3414
3426
|
return (0, exports.DefaultApiFp)(this.configuration).holderLinkedVpCreate(walletId, linkedVpCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3419,7 +3431,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3419
3431
|
* @param {string} linkedVpId
|
|
3420
3432
|
* @param {*} [options] Override http request option.
|
|
3421
3433
|
* @throws {RequiredError}
|
|
3422
|
-
* @memberof DefaultApi
|
|
3423
3434
|
*/
|
|
3424
3435
|
holderLinkedVpDelete(walletId, linkedVpId, options) {
|
|
3425
3436
|
return (0, exports.DefaultApiFp)(this.configuration).holderLinkedVpDelete(walletId, linkedVpId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3430,7 +3441,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3430
3441
|
* @param {string} linkedVpId
|
|
3431
3442
|
* @param {*} [options] Override http request option.
|
|
3432
3443
|
* @throws {RequiredError}
|
|
3433
|
-
* @memberof DefaultApi
|
|
3434
3444
|
*/
|
|
3435
3445
|
holderLinkedVpGetDetails(walletId, linkedVpId, options) {
|
|
3436
3446
|
return (0, exports.DefaultApiFp)(this.configuration).holderLinkedVpGetDetails(walletId, linkedVpId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3440,7 +3450,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3440
3450
|
* @param {string} walletId
|
|
3441
3451
|
* @param {*} [options] Override http request option.
|
|
3442
3452
|
* @throws {RequiredError}
|
|
3443
|
-
* @memberof DefaultApi
|
|
3444
3453
|
*/
|
|
3445
3454
|
holderLinkedVpList(walletId, options) {
|
|
3446
3455
|
return (0, exports.DefaultApiFp)(this.configuration).holderLinkedVpList(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3451,7 +3460,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3451
3460
|
* @param {VcOffer} [vcOffer] Verifiable Credential offer
|
|
3452
3461
|
* @param {*} [options] Override http request option.
|
|
3453
3462
|
* @throws {RequiredError}
|
|
3454
|
-
* @memberof DefaultApi
|
|
3455
3463
|
*/
|
|
3456
3464
|
holderOfferPassAuthInfo(walletId, vcOffer, options) {
|
|
3457
3465
|
return (0, exports.DefaultApiFp)(this.configuration).holderOfferPassAuthInfo(walletId, vcOffer, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3463,7 +3471,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3463
3471
|
* @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
|
|
3464
3472
|
* @param {*} [options] Override http request option.
|
|
3465
3473
|
* @throws {RequiredError}
|
|
3466
|
-
* @memberof DefaultApi
|
|
3467
3474
|
*/
|
|
3468
3475
|
holderOfferProcessAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options) {
|
|
3469
3476
|
return (0, exports.DefaultApiFp)(this.configuration).holderOfferProcessAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3474,7 +3481,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3474
3481
|
* @param {PresentationRequest} [presentationRequest]
|
|
3475
3482
|
* @param {*} [options] Override http request option.
|
|
3476
3483
|
* @throws {RequiredError}
|
|
3477
|
-
* @memberof DefaultApi
|
|
3478
3484
|
*/
|
|
3479
3485
|
holderPresentPassAuthInfo(walletId, presentationRequest, options) {
|
|
3480
3486
|
return (0, exports.DefaultApiFp)(this.configuration).holderPresentPassAuthInfo(walletId, presentationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3484,7 +3490,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3484
3490
|
* @param {string} walletId
|
|
3485
3491
|
* @param {*} [options] Override http request option.
|
|
3486
3492
|
* @throws {RequiredError}
|
|
3487
|
-
* @memberof DefaultApi
|
|
3488
3493
|
*/
|
|
3489
3494
|
idTokenRequestCreate(walletId, options) {
|
|
3490
3495
|
return (0, exports.DefaultApiFp)(this.configuration).idTokenRequestCreate(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3494,7 +3499,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3494
3499
|
* @param {string} url
|
|
3495
3500
|
* @param {*} [options] Override http request option.
|
|
3496
3501
|
* @throws {RequiredError}
|
|
3497
|
-
* @memberof DefaultApi
|
|
3498
3502
|
*/
|
|
3499
3503
|
issuerCredentialTypesList(url, options) {
|
|
3500
3504
|
return (0, exports.DefaultApiFp)(this.configuration).issuerCredentialTypesList(url, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3505,7 +3509,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3505
3509
|
* @param {InitAuthOffer} [initAuthOffer]
|
|
3506
3510
|
* @param {*} [options] Override http request option.
|
|
3507
3511
|
* @throws {RequiredError}
|
|
3508
|
-
* @memberof DefaultApi
|
|
3509
3512
|
*/
|
|
3510
3513
|
issuerInitiateAuthOffer(walletId, initAuthOffer, options) {
|
|
3511
3514
|
return (0, exports.DefaultApiFp)(this.configuration).issuerInitiateAuthOffer(walletId, initAuthOffer, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3516,7 +3519,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3516
3519
|
* @param {InitPreAuthOffer} [initPreAuthOffer]
|
|
3517
3520
|
* @param {*} [options] Override http request option.
|
|
3518
3521
|
* @throws {RequiredError}
|
|
3519
|
-
* @memberof DefaultApi
|
|
3520
3522
|
*/
|
|
3521
3523
|
issuerInitiatePreauthOffer(walletId, initPreAuthOffer, options) {
|
|
3522
3524
|
return (0, exports.DefaultApiFp)(this.configuration).issuerInitiatePreauthOffer(walletId, initPreAuthOffer, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3527,7 +3529,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3527
3529
|
* @param {AccreditationRequest} [accreditationRequest]
|
|
3528
3530
|
* @param {*} [options] Override http request option.
|
|
3529
3531
|
* @throws {RequiredError}
|
|
3530
|
-
* @memberof DefaultApi
|
|
3531
3532
|
*/
|
|
3532
3533
|
tfAccreditAs(walletId, accreditationRequest, options) {
|
|
3533
3534
|
return (0, exports.DefaultApiFp)(this.configuration).tfAccreditAs(walletId, accreditationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3537,7 +3538,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3537
3538
|
* @param {string} walletId
|
|
3538
3539
|
* @param {*} [options] Override http request option.
|
|
3539
3540
|
* @throws {RequiredError}
|
|
3540
|
-
* @memberof DefaultApi
|
|
3541
3541
|
*/
|
|
3542
3542
|
tfOnboard(walletId, options) {
|
|
3543
3543
|
return (0, exports.DefaultApiFp)(this.configuration).tfOnboard(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3548,7 +3548,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3548
3548
|
* @param {PrepareToAccreditRequest} [prepareToAccreditRequest]
|
|
3549
3549
|
* @param {*} [options] Override http request option.
|
|
3550
3550
|
* @throws {RequiredError}
|
|
3551
|
-
* @memberof DefaultApi
|
|
3552
3551
|
*/
|
|
3553
3552
|
tfPrepareToAccredit(walletId, prepareToAccreditRequest, options) {
|
|
3554
3553
|
return (0, exports.DefaultApiFp)(this.configuration).tfPrepareToAccredit(walletId, prepareToAccreditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3559,7 +3558,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3559
3558
|
* @param {PrepareToOnboardRequest} [prepareToOnboardRequest]
|
|
3560
3559
|
* @param {*} [options] Override http request option.
|
|
3561
3560
|
* @throws {RequiredError}
|
|
3562
|
-
* @memberof DefaultApi
|
|
3563
3561
|
*/
|
|
3564
3562
|
tfPrepareToOnboard(walletId, prepareToOnboardRequest, options) {
|
|
3565
3563
|
return (0, exports.DefaultApiFp)(this.configuration).tfPrepareToOnboard(walletId, prepareToOnboardRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3570,7 +3568,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3570
3568
|
* @param {RevokeAccreditationRequest} [revokeAccreditationRequest]
|
|
3571
3569
|
* @param {*} [options] Override http request option.
|
|
3572
3570
|
* @throws {RequiredError}
|
|
3573
|
-
* @memberof DefaultApi
|
|
3574
3571
|
*/
|
|
3575
3572
|
tfRevokeAccreditation(walletId, revokeAccreditationRequest, options) {
|
|
3576
3573
|
return (0, exports.DefaultApiFp)(this.configuration).tfRevokeAccreditation(walletId, revokeAccreditationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3581,7 +3578,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3581
3578
|
* @param {CertificateIssueRequest} [certificateIssueRequest]
|
|
3582
3579
|
* @param {*} [options] Override http request option.
|
|
3583
3580
|
* @throws {RequiredError}
|
|
3584
|
-
* @memberof DefaultApi
|
|
3585
3581
|
*/
|
|
3586
3582
|
tfX509CertificateIssue(walletId, certificateIssueRequest, options) {
|
|
3587
3583
|
return (0, exports.DefaultApiFp)(this.configuration).tfX509CertificateIssue(walletId, certificateIssueRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3592,7 +3588,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3592
3588
|
* @param {VerifyInitRequest} [verifyInitRequest]
|
|
3593
3589
|
* @param {*} [options] Override http request option.
|
|
3594
3590
|
* @throws {RequiredError}
|
|
3595
|
-
* @memberof DefaultApi
|
|
3596
3591
|
*/
|
|
3597
3592
|
verifierInitUrlCreate(walletId, verifyInitRequest, options) {
|
|
3598
3593
|
return (0, exports.DefaultApiFp)(this.configuration).verifierInitUrlCreate(walletId, verifyInitRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3603,7 +3598,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3603
3598
|
* @param {string} did
|
|
3604
3599
|
* @param {*} [options] Override http request option.
|
|
3605
3600
|
* @throws {RequiredError}
|
|
3606
|
-
* @memberof DefaultApi
|
|
3607
3601
|
*/
|
|
3608
3602
|
verifierLinkedVpVerify(walletId, did, options) {
|
|
3609
3603
|
return (0, exports.DefaultApiFp)(this.configuration).verifierLinkedVpVerify(walletId, did, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3613,7 +3607,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3613
3607
|
* @param {WalletCreatePayload} [walletCreatePayload]
|
|
3614
3608
|
* @param {*} [options] Override http request option.
|
|
3615
3609
|
* @throws {RequiredError}
|
|
3616
|
-
* @memberof DefaultApi
|
|
3617
3610
|
*/
|
|
3618
3611
|
walletCreate(walletCreatePayload, options) {
|
|
3619
3612
|
return (0, exports.DefaultApiFp)(this.configuration).walletCreate(walletCreatePayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3623,7 +3616,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3623
3616
|
* @param {string} walletId
|
|
3624
3617
|
* @param {*} [options] Override http request option.
|
|
3625
3618
|
* @throws {RequiredError}
|
|
3626
|
-
* @memberof DefaultApi
|
|
3627
3619
|
*/
|
|
3628
3620
|
walletDelete(walletId, options) {
|
|
3629
3621
|
return (0, exports.DefaultApiFp)(this.configuration).walletDelete(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3633,7 +3625,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3633
3625
|
* @param {string} walletId
|
|
3634
3626
|
* @param {*} [options] Override http request option.
|
|
3635
3627
|
* @throws {RequiredError}
|
|
3636
|
-
* @memberof DefaultApi
|
|
3637
3628
|
*/
|
|
3638
3629
|
walletGet(walletId, options) {
|
|
3639
3630
|
return (0, exports.DefaultApiFp)(this.configuration).walletGet(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3643,7 +3634,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3643
3634
|
* @param {string} walletId
|
|
3644
3635
|
* @param {*} [options] Override http request option.
|
|
3645
3636
|
* @throws {RequiredError}
|
|
3646
|
-
* @memberof DefaultApi
|
|
3647
3637
|
*/
|
|
3648
3638
|
walletIdentifierGet(walletId, options) {
|
|
3649
3639
|
return (0, exports.DefaultApiFp)(this.configuration).walletIdentifierGet(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3654,7 +3644,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3654
3644
|
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
3655
3645
|
* @param {*} [options] Override http request option.
|
|
3656
3646
|
* @throws {RequiredError}
|
|
3657
|
-
* @memberof DefaultApi
|
|
3658
3647
|
*/
|
|
3659
3648
|
walletIdentifierUpdate(walletId, walletIdentifier, options) {
|
|
3660
3649
|
return (0, exports.DefaultApiFp)(this.configuration).walletIdentifierUpdate(walletId, walletIdentifier, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3664,7 +3653,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3664
3653
|
* @param {string} walletId Wallet ID
|
|
3665
3654
|
* @param {*} [options] Override http request option.
|
|
3666
3655
|
* @throws {RequiredError}
|
|
3667
|
-
* @memberof DefaultApi
|
|
3668
3656
|
*/
|
|
3669
3657
|
walletKeys(walletId, options) {
|
|
3670
3658
|
return (0, exports.DefaultApiFp)(this.configuration).walletKeys(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3675,7 +3663,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3675
3663
|
* @param {string} [searchName] Wallet name to search using \"begins-with\" filter
|
|
3676
3664
|
* @param {*} [options] Override http request option.
|
|
3677
3665
|
* @throws {RequiredError}
|
|
3678
|
-
* @memberof DefaultApi
|
|
3679
3666
|
*/
|
|
3680
3667
|
walletList(ownerId, searchName, options) {
|
|
3681
3668
|
return (0, exports.DefaultApiFp)(this.configuration).walletList(ownerId, searchName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3687,7 +3674,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3687
3674
|
* @param {string} state Event identifier
|
|
3688
3675
|
* @param {*} [options] Override http request option.
|
|
3689
3676
|
* @throws {RequiredError}
|
|
3690
|
-
* @memberof DefaultApi
|
|
3691
3677
|
*/
|
|
3692
3678
|
walletNotificationGetByState(walletId, eventType, state, options) {
|
|
3693
3679
|
return (0, exports.DefaultApiFp)(this.configuration).walletNotificationGetByState(walletId, eventType, state, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3701,7 +3687,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3701
3687
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time created
|
|
3702
3688
|
* @param {*} [options] Override http request option.
|
|
3703
3689
|
* @throws {RequiredError}
|
|
3704
|
-
* @memberof DefaultApi
|
|
3705
3690
|
*/
|
|
3706
3691
|
walletNotificationHistory(walletId, limit, nextMarker, type, sort, options) {
|
|
3707
3692
|
return (0, exports.DefaultApiFp)(this.configuration).walletNotificationHistory(walletId, limit, nextMarker, type, sort, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3711,7 +3696,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3711
3696
|
* @param {string} walletId Wallet ID
|
|
3712
3697
|
* @param {*} [options] Override http request option.
|
|
3713
3698
|
* @throws {RequiredError}
|
|
3714
|
-
* @memberof DefaultApi
|
|
3715
3699
|
*/
|
|
3716
3700
|
walletNotifications(walletId, options) {
|
|
3717
3701
|
return (0, exports.DefaultApiFp)(this.configuration).walletNotifications(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3722,7 +3706,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3722
3706
|
* @param {WalletPatchPayload} [walletPatchPayload]
|
|
3723
3707
|
* @param {*} [options] Override http request option.
|
|
3724
3708
|
* @throws {RequiredError}
|
|
3725
|
-
* @memberof DefaultApi
|
|
3726
3709
|
*/
|
|
3727
3710
|
walletPatch(walletId, walletPatchPayload, options) {
|
|
3728
3711
|
return (0, exports.DefaultApiFp)(this.configuration).walletPatch(walletId, walletPatchPayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3733,7 +3716,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3733
3716
|
* @param {string} state Verifier state
|
|
3734
3717
|
* @param {*} [options] Override http request option.
|
|
3735
3718
|
* @throws {RequiredError}
|
|
3736
|
-
* @memberof DefaultApi
|
|
3737
3719
|
*/
|
|
3738
3720
|
walletVerifiedCredentialsByState(walletId, state, options) {
|
|
3739
3721
|
return (0, exports.DefaultApiFp)(this.configuration).walletVerifiedCredentialsByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3744,7 +3726,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3744
3726
|
* @param {string} state Verifier state
|
|
3745
3727
|
* @param {*} [options] Override http request option.
|
|
3746
3728
|
* @throws {RequiredError}
|
|
3747
|
-
* @memberof DefaultApi
|
|
3748
3729
|
*/
|
|
3749
3730
|
walletVerifiedCredentialsDeleteByState(walletId, state, options) {
|
|
3750
3731
|
return (0, exports.DefaultApiFp)(this.configuration).walletVerifiedCredentialsDeleteByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3755,27 +3736,31 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3755
3736
|
* @param {CSRCreateRequest} [cSRCreateRequest]
|
|
3756
3737
|
* @param {*} [options] Override http request option.
|
|
3757
3738
|
* @throws {RequiredError}
|
|
3758
|
-
* @memberof DefaultApi
|
|
3759
3739
|
*/
|
|
3760
3740
|
walletX509CSRCreate(walletId, cSRCreateRequest, options) {
|
|
3761
3741
|
return (0, exports.DefaultApiFp)(this.configuration).walletX509CSRCreate(walletId, cSRCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3762
3742
|
}
|
|
3743
|
+
/**
|
|
3744
|
+
* Returns an X509 certificate in PEM format
|
|
3745
|
+
* @param {string} walletId Wallet ID
|
|
3746
|
+
* @param {*} [options] Override http request option.
|
|
3747
|
+
* @throws {RequiredError}
|
|
3748
|
+
*/
|
|
3749
|
+
walletX509CertificateGet(walletId, options) {
|
|
3750
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletX509CertificateGet(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
3751
|
+
}
|
|
3763
3752
|
/**
|
|
3764
3753
|
* Imports an X509 certificate to be used when signing credentials
|
|
3765
3754
|
* @param {string} walletId Wallet ID
|
|
3766
3755
|
* @param {CertificateImportRequest} [certificateImportRequest]
|
|
3767
3756
|
* @param {*} [options] Override http request option.
|
|
3768
3757
|
* @throws {RequiredError}
|
|
3769
|
-
* @memberof DefaultApi
|
|
3770
3758
|
*/
|
|
3771
3759
|
walletX509CertificateImport(walletId, certificateImportRequest, options) {
|
|
3772
3760
|
return (0, exports.DefaultApiFp)(this.configuration).walletX509CertificateImport(walletId, certificateImportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3773
3761
|
}
|
|
3774
3762
|
}
|
|
3775
3763
|
exports.DefaultApi = DefaultApi;
|
|
3776
|
-
/**
|
|
3777
|
-
* @export
|
|
3778
|
-
*/
|
|
3779
3764
|
exports.CredentialListInteractionEnum = {
|
|
3780
3765
|
Issuance: 'issuance',
|
|
3781
3766
|
Receive: 'receive',
|
package/base.d.ts
CHANGED
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
package/base.js
CHANGED
|
@@ -19,21 +19,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
exports.BASE_PATH = "/api/v1".replace(/\/+$/, "");
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
22
|
exports.COLLECTION_FORMATS = {
|
|
27
23
|
csv: ",",
|
|
28
24
|
ssv: " ",
|
|
29
25
|
tsv: "\t",
|
|
30
26
|
pipes: "|",
|
|
31
27
|
};
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @export
|
|
35
|
-
* @class BaseAPI
|
|
36
|
-
*/
|
|
37
28
|
class BaseAPI {
|
|
38
29
|
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
39
30
|
var _a;
|
|
@@ -47,12 +38,6 @@ class BaseAPI {
|
|
|
47
38
|
}
|
|
48
39
|
exports.BaseAPI = BaseAPI;
|
|
49
40
|
;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @export
|
|
53
|
-
* @class RequiredError
|
|
54
|
-
* @extends {Error}
|
|
55
|
-
*/
|
|
56
41
|
class RequiredError extends Error {
|
|
57
42
|
constructor(field, msg) {
|
|
58
43
|
super(msg);
|
|
@@ -61,8 +46,4 @@ class RequiredError extends Error {
|
|
|
61
46
|
}
|
|
62
47
|
}
|
|
63
48
|
exports.RequiredError = RequiredError;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @export
|
|
67
|
-
*/
|
|
68
49
|
exports.operationServerMap = {};
|