@triveria/wallet 0.0.228 → 0.0.230
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 +62 -10
- package/api.js +107 -13
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -2207,7 +2207,7 @@ export interface WalletConfig {
|
|
|
2207
2207
|
*/
|
|
2208
2208
|
'oidcRevision'?: OidcRevision;
|
|
2209
2209
|
/**
|
|
2210
|
-
* What trust framework should we use with this wallet. This property COULD NOT change later. Supported frameworks: EBSI - the European Blockchain Services Infrastructure,
|
|
2210
|
+
* 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, Noop - did:key based no-op trust framework (mainly for the personal use)
|
|
2211
2211
|
* @type {string}
|
|
2212
2212
|
* @memberof WalletConfig
|
|
2213
2213
|
*/
|
|
@@ -2221,7 +2221,7 @@ export interface WalletConfig {
|
|
|
2221
2221
|
}
|
|
2222
2222
|
export declare const WalletConfigTrustFrameworkEnum: {
|
|
2223
2223
|
readonly Ebsi: "EBSI";
|
|
2224
|
-
readonly
|
|
2224
|
+
readonly Idtl: "IDTL";
|
|
2225
2225
|
readonly Noop: "NOOP";
|
|
2226
2226
|
};
|
|
2227
2227
|
export type WalletConfigTrustFrameworkEnum = typeof WalletConfigTrustFrameworkEnum[keyof typeof WalletConfigTrustFrameworkEnum];
|
|
@@ -2331,6 +2331,25 @@ export interface WalletNotificationHistory {
|
|
|
2331
2331
|
*/
|
|
2332
2332
|
'next': string;
|
|
2333
2333
|
}
|
|
2334
|
+
/**
|
|
2335
|
+
* Payload to update wallet data
|
|
2336
|
+
* @export
|
|
2337
|
+
* @interface WalletPatchPayload
|
|
2338
|
+
*/
|
|
2339
|
+
export interface WalletPatchPayload {
|
|
2340
|
+
/**
|
|
2341
|
+
*
|
|
2342
|
+
* @type {string}
|
|
2343
|
+
* @memberof WalletPatchPayload
|
|
2344
|
+
*/
|
|
2345
|
+
'name'?: string;
|
|
2346
|
+
/**
|
|
2347
|
+
*
|
|
2348
|
+
* @type {WalletConfig}
|
|
2349
|
+
* @memberof WalletPatchPayload
|
|
2350
|
+
*/
|
|
2351
|
+
'config'?: WalletConfig;
|
|
2352
|
+
}
|
|
2334
2353
|
/**
|
|
2335
2354
|
* DefaultApi - axios parameter creator
|
|
2336
2355
|
* @export
|
|
@@ -2440,6 +2459,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2440
2459
|
* @throws {RequiredError}
|
|
2441
2460
|
*/
|
|
2442
2461
|
didGet: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2462
|
+
/**
|
|
2463
|
+
*
|
|
2464
|
+
* @param {string} walletId
|
|
2465
|
+
* @param {Did} [did] The new DID for the Wallet
|
|
2466
|
+
* @param {*} [options] Override http request option.
|
|
2467
|
+
* @throws {RequiredError}
|
|
2468
|
+
*/
|
|
2469
|
+
didUpdate: (walletId: string, did?: Did, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2443
2470
|
/**
|
|
2444
2471
|
*
|
|
2445
2472
|
* @param {*} [options] Override http request option.
|
|
@@ -2690,11 +2717,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2690
2717
|
/**
|
|
2691
2718
|
* Update wallet metadata and configuration.
|
|
2692
2719
|
* @param {string} walletId
|
|
2693
|
-
* @param {
|
|
2720
|
+
* @param {WalletPatchPayload} [walletPatchPayload]
|
|
2694
2721
|
* @param {*} [options] Override http request option.
|
|
2695
2722
|
* @throws {RequiredError}
|
|
2696
2723
|
*/
|
|
2697
|
-
walletPatch: (walletId: string,
|
|
2724
|
+
walletPatch: (walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2698
2725
|
/**
|
|
2699
2726
|
* Gets a specific verified credentials by state
|
|
2700
2727
|
* @param {string} walletId Wallet ID
|
|
@@ -2821,6 +2848,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2821
2848
|
* @throws {RequiredError}
|
|
2822
2849
|
*/
|
|
2823
2850
|
didGet(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Did>>;
|
|
2851
|
+
/**
|
|
2852
|
+
*
|
|
2853
|
+
* @param {string} walletId
|
|
2854
|
+
* @param {Did} [did] The new DID for the Wallet
|
|
2855
|
+
* @param {*} [options] Override http request option.
|
|
2856
|
+
* @throws {RequiredError}
|
|
2857
|
+
*/
|
|
2858
|
+
didUpdate(walletId: string, did?: Did, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Did>>;
|
|
2824
2859
|
/**
|
|
2825
2860
|
*
|
|
2826
2861
|
* @param {*} [options] Override http request option.
|
|
@@ -3073,11 +3108,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3073
3108
|
/**
|
|
3074
3109
|
* Update wallet metadata and configuration.
|
|
3075
3110
|
* @param {string} walletId
|
|
3076
|
-
* @param {
|
|
3111
|
+
* @param {WalletPatchPayload} [walletPatchPayload]
|
|
3077
3112
|
* @param {*} [options] Override http request option.
|
|
3078
3113
|
* @throws {RequiredError}
|
|
3079
3114
|
*/
|
|
3080
|
-
walletPatch(walletId: string,
|
|
3115
|
+
walletPatch(walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdObject>>;
|
|
3081
3116
|
/**
|
|
3082
3117
|
* Gets a specific verified credentials by state
|
|
3083
3118
|
* @param {string} walletId Wallet ID
|
|
@@ -3204,6 +3239,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3204
3239
|
* @throws {RequiredError}
|
|
3205
3240
|
*/
|
|
3206
3241
|
didGet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<Did>;
|
|
3242
|
+
/**
|
|
3243
|
+
*
|
|
3244
|
+
* @param {string} walletId
|
|
3245
|
+
* @param {Did} [did] The new DID for the Wallet
|
|
3246
|
+
* @param {*} [options] Override http request option.
|
|
3247
|
+
* @throws {RequiredError}
|
|
3248
|
+
*/
|
|
3249
|
+
didUpdate(walletId: string, did?: Did, options?: RawAxiosRequestConfig): AxiosPromise<Did>;
|
|
3207
3250
|
/**
|
|
3208
3251
|
*
|
|
3209
3252
|
* @param {*} [options] Override http request option.
|
|
@@ -3456,11 +3499,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3456
3499
|
/**
|
|
3457
3500
|
* Update wallet metadata and configuration.
|
|
3458
3501
|
* @param {string} walletId
|
|
3459
|
-
* @param {
|
|
3502
|
+
* @param {WalletPatchPayload} [walletPatchPayload]
|
|
3460
3503
|
* @param {*} [options] Override http request option.
|
|
3461
3504
|
* @throws {RequiredError}
|
|
3462
3505
|
*/
|
|
3463
|
-
walletPatch(walletId: string,
|
|
3506
|
+
walletPatch(walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig): AxiosPromise<WalletIdObject>;
|
|
3464
3507
|
/**
|
|
3465
3508
|
* Gets a specific verified credentials by state
|
|
3466
3509
|
* @param {string} walletId Wallet ID
|
|
@@ -3601,6 +3644,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3601
3644
|
* @memberof DefaultApi
|
|
3602
3645
|
*/
|
|
3603
3646
|
didGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Did, any>>;
|
|
3647
|
+
/**
|
|
3648
|
+
*
|
|
3649
|
+
* @param {string} walletId
|
|
3650
|
+
* @param {Did} [did] The new DID for the Wallet
|
|
3651
|
+
* @param {*} [options] Override http request option.
|
|
3652
|
+
* @throws {RequiredError}
|
|
3653
|
+
* @memberof DefaultApi
|
|
3654
|
+
*/
|
|
3655
|
+
didUpdate(walletId: string, did?: Did, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Did, any>>;
|
|
3604
3656
|
/**
|
|
3605
3657
|
*
|
|
3606
3658
|
* @param {*} [options] Override http request option.
|
|
@@ -3885,12 +3937,12 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3885
3937
|
/**
|
|
3886
3938
|
* Update wallet metadata and configuration.
|
|
3887
3939
|
* @param {string} walletId
|
|
3888
|
-
* @param {
|
|
3940
|
+
* @param {WalletPatchPayload} [walletPatchPayload]
|
|
3889
3941
|
* @param {*} [options] Override http request option.
|
|
3890
3942
|
* @throws {RequiredError}
|
|
3891
3943
|
* @memberof DefaultApi
|
|
3892
3944
|
*/
|
|
3893
|
-
walletPatch(walletId: string,
|
|
3945
|
+
walletPatch(walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdObject, any>>;
|
|
3894
3946
|
/**
|
|
3895
3947
|
* Gets a specific verified credentials by state
|
|
3896
3948
|
* @param {string} walletId Wallet ID
|
package/api.js
CHANGED
|
@@ -125,7 +125,7 @@ exports.WalletCapability = {
|
|
|
125
125
|
};
|
|
126
126
|
exports.WalletConfigTrustFrameworkEnum = {
|
|
127
127
|
Ebsi: 'EBSI',
|
|
128
|
-
|
|
128
|
+
Idtl: 'IDTL',
|
|
129
129
|
Noop: 'NOOP'
|
|
130
130
|
};
|
|
131
131
|
/**
|
|
@@ -611,6 +611,42 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
611
611
|
options: localVarRequestOptions,
|
|
612
612
|
};
|
|
613
613
|
}),
|
|
614
|
+
/**
|
|
615
|
+
*
|
|
616
|
+
* @param {string} walletId
|
|
617
|
+
* @param {Did} [did] The new DID for the Wallet
|
|
618
|
+
* @param {*} [options] Override http request option.
|
|
619
|
+
* @throws {RequiredError}
|
|
620
|
+
*/
|
|
621
|
+
didUpdate: (walletId, did, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
622
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
623
|
+
(0, common_1.assertParamExists)('didUpdate', 'walletId', walletId);
|
|
624
|
+
const localVarPath = `/did`;
|
|
625
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
626
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
627
|
+
let baseOptions;
|
|
628
|
+
if (configuration) {
|
|
629
|
+
baseOptions = configuration.baseOptions;
|
|
630
|
+
}
|
|
631
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
632
|
+
const localVarHeaderParameter = {};
|
|
633
|
+
const localVarQueryParameter = {};
|
|
634
|
+
// authentication accessToken required
|
|
635
|
+
// http bearer authentication required
|
|
636
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
637
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
638
|
+
if (walletId != null) {
|
|
639
|
+
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
640
|
+
}
|
|
641
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
642
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
643
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
644
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(did, localVarRequestOptions, configuration);
|
|
645
|
+
return {
|
|
646
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
647
|
+
options: localVarRequestOptions,
|
|
648
|
+
};
|
|
649
|
+
}),
|
|
614
650
|
/**
|
|
615
651
|
*
|
|
616
652
|
* @param {*} [options] Override http request option.
|
|
@@ -695,6 +731,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
695
731
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
696
732
|
const localVarHeaderParameter = {};
|
|
697
733
|
const localVarQueryParameter = {};
|
|
734
|
+
// authentication accessToken required
|
|
735
|
+
// http bearer authentication required
|
|
736
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
698
737
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
699
738
|
if (walletId != null) {
|
|
700
739
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
@@ -764,6 +803,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
764
803
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
765
804
|
const localVarHeaderParameter = {};
|
|
766
805
|
const localVarQueryParameter = {};
|
|
806
|
+
// authentication accessToken required
|
|
807
|
+
// http bearer authentication required
|
|
808
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
767
809
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
768
810
|
if (walletId != null) {
|
|
769
811
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
@@ -800,6 +842,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
800
842
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
801
843
|
const localVarHeaderParameter = {};
|
|
802
844
|
const localVarQueryParameter = {};
|
|
845
|
+
// authentication accessToken required
|
|
846
|
+
// http bearer authentication required
|
|
847
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
803
848
|
if (walletId != null) {
|
|
804
849
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
805
850
|
}
|
|
@@ -834,6 +879,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
834
879
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
835
880
|
const localVarHeaderParameter = {};
|
|
836
881
|
const localVarQueryParameter = {};
|
|
882
|
+
// authentication accessToken required
|
|
883
|
+
// http bearer authentication required
|
|
884
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
837
885
|
if (walletId != null) {
|
|
838
886
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
839
887
|
}
|
|
@@ -864,6 +912,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
864
912
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
865
913
|
const localVarHeaderParameter = {};
|
|
866
914
|
const localVarQueryParameter = {};
|
|
915
|
+
// authentication accessToken required
|
|
916
|
+
// http bearer authentication required
|
|
917
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
867
918
|
if (walletId != null) {
|
|
868
919
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
869
920
|
}
|
|
@@ -935,6 +986,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
935
986
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
936
987
|
const localVarHeaderParameter = {};
|
|
937
988
|
const localVarQueryParameter = {};
|
|
989
|
+
// authentication accessToken required
|
|
990
|
+
// http bearer authentication required
|
|
991
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
938
992
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
939
993
|
if (walletId != null) {
|
|
940
994
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
@@ -1036,6 +1090,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1036
1090
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1037
1091
|
const localVarHeaderParameter = {};
|
|
1038
1092
|
const localVarQueryParameter = {};
|
|
1093
|
+
// authentication accessToken required
|
|
1094
|
+
// http bearer authentication required
|
|
1095
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1039
1096
|
if (url !== undefined) {
|
|
1040
1097
|
localVarQueryParameter['url'] = url;
|
|
1041
1098
|
}
|
|
@@ -1693,11 +1750,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1693
1750
|
/**
|
|
1694
1751
|
* Update wallet metadata and configuration.
|
|
1695
1752
|
* @param {string} walletId
|
|
1696
|
-
* @param {
|
|
1753
|
+
* @param {WalletPatchPayload} [walletPatchPayload]
|
|
1697
1754
|
* @param {*} [options] Override http request option.
|
|
1698
1755
|
* @throws {RequiredError}
|
|
1699
1756
|
*/
|
|
1700
|
-
walletPatch: (walletId,
|
|
1757
|
+
walletPatch: (walletId, walletPatchPayload, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1701
1758
|
// verify required parameter 'walletId' is not null or undefined
|
|
1702
1759
|
(0, common_1.assertParamExists)('walletPatch', 'walletId', walletId);
|
|
1703
1760
|
const localVarPath = `/wallets/{wallet_id}`
|
|
@@ -1718,7 +1775,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1718
1775
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1719
1776
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1720
1777
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1721
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1778
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(walletPatchPayload, localVarRequestOptions, configuration);
|
|
1722
1779
|
return {
|
|
1723
1780
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1724
1781
|
options: localVarRequestOptions,
|
|
@@ -2004,6 +2061,22 @@ const DefaultApiFp = function (configuration) {
|
|
|
2004
2061
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2005
2062
|
});
|
|
2006
2063
|
},
|
|
2064
|
+
/**
|
|
2065
|
+
*
|
|
2066
|
+
* @param {string} walletId
|
|
2067
|
+
* @param {Did} [did] The new DID for the Wallet
|
|
2068
|
+
* @param {*} [options] Override http request option.
|
|
2069
|
+
* @throws {RequiredError}
|
|
2070
|
+
*/
|
|
2071
|
+
didUpdate(walletId, did, options) {
|
|
2072
|
+
var _a, _b, _c;
|
|
2073
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2074
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.didUpdate(walletId, did, options);
|
|
2075
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2076
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.didUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2077
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2078
|
+
});
|
|
2079
|
+
},
|
|
2007
2080
|
/**
|
|
2008
2081
|
*
|
|
2009
2082
|
* @param {*} [options] Override http request option.
|
|
@@ -2510,14 +2583,14 @@ const DefaultApiFp = function (configuration) {
|
|
|
2510
2583
|
/**
|
|
2511
2584
|
* Update wallet metadata and configuration.
|
|
2512
2585
|
* @param {string} walletId
|
|
2513
|
-
* @param {
|
|
2586
|
+
* @param {WalletPatchPayload} [walletPatchPayload]
|
|
2514
2587
|
* @param {*} [options] Override http request option.
|
|
2515
2588
|
* @throws {RequiredError}
|
|
2516
2589
|
*/
|
|
2517
|
-
walletPatch(walletId,
|
|
2590
|
+
walletPatch(walletId, walletPatchPayload, options) {
|
|
2518
2591
|
var _a, _b, _c;
|
|
2519
2592
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2520
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletPatch(walletId,
|
|
2593
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletPatch(walletId, walletPatchPayload, options);
|
|
2521
2594
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2522
2595
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletPatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2523
2596
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2693,6 +2766,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2693
2766
|
didGet(walletId, options) {
|
|
2694
2767
|
return localVarFp.didGet(walletId, options).then((request) => request(axios, basePath));
|
|
2695
2768
|
},
|
|
2769
|
+
/**
|
|
2770
|
+
*
|
|
2771
|
+
* @param {string} walletId
|
|
2772
|
+
* @param {Did} [did] The new DID for the Wallet
|
|
2773
|
+
* @param {*} [options] Override http request option.
|
|
2774
|
+
* @throws {RequiredError}
|
|
2775
|
+
*/
|
|
2776
|
+
didUpdate(walletId, did, options) {
|
|
2777
|
+
return localVarFp.didUpdate(walletId, did, options).then((request) => request(axios, basePath));
|
|
2778
|
+
},
|
|
2696
2779
|
/**
|
|
2697
2780
|
*
|
|
2698
2781
|
* @param {*} [options] Override http request option.
|
|
@@ -3007,12 +3090,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3007
3090
|
/**
|
|
3008
3091
|
* Update wallet metadata and configuration.
|
|
3009
3092
|
* @param {string} walletId
|
|
3010
|
-
* @param {
|
|
3093
|
+
* @param {WalletPatchPayload} [walletPatchPayload]
|
|
3011
3094
|
* @param {*} [options] Override http request option.
|
|
3012
3095
|
* @throws {RequiredError}
|
|
3013
3096
|
*/
|
|
3014
|
-
walletPatch(walletId,
|
|
3015
|
-
return localVarFp.walletPatch(walletId,
|
|
3097
|
+
walletPatch(walletId, walletPatchPayload, options) {
|
|
3098
|
+
return localVarFp.walletPatch(walletId, walletPatchPayload, options).then((request) => request(axios, basePath));
|
|
3016
3099
|
},
|
|
3017
3100
|
/**
|
|
3018
3101
|
* Gets a specific verified credentials by state
|
|
@@ -3184,6 +3267,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3184
3267
|
didGet(walletId, options) {
|
|
3185
3268
|
return (0, exports.DefaultApiFp)(this.configuration).didGet(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
3186
3269
|
}
|
|
3270
|
+
/**
|
|
3271
|
+
*
|
|
3272
|
+
* @param {string} walletId
|
|
3273
|
+
* @param {Did} [did] The new DID for the Wallet
|
|
3274
|
+
* @param {*} [options] Override http request option.
|
|
3275
|
+
* @throws {RequiredError}
|
|
3276
|
+
* @memberof DefaultApi
|
|
3277
|
+
*/
|
|
3278
|
+
didUpdate(walletId, did, options) {
|
|
3279
|
+
return (0, exports.DefaultApiFp)(this.configuration).didUpdate(walletId, did, options).then((request) => request(this.axios, this.basePath));
|
|
3280
|
+
}
|
|
3187
3281
|
/**
|
|
3188
3282
|
*
|
|
3189
3283
|
* @param {*} [options] Override http request option.
|
|
@@ -3530,13 +3624,13 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3530
3624
|
/**
|
|
3531
3625
|
* Update wallet metadata and configuration.
|
|
3532
3626
|
* @param {string} walletId
|
|
3533
|
-
* @param {
|
|
3627
|
+
* @param {WalletPatchPayload} [walletPatchPayload]
|
|
3534
3628
|
* @param {*} [options] Override http request option.
|
|
3535
3629
|
* @throws {RequiredError}
|
|
3536
3630
|
* @memberof DefaultApi
|
|
3537
3631
|
*/
|
|
3538
|
-
walletPatch(walletId,
|
|
3539
|
-
return (0, exports.DefaultApiFp)(this.configuration).walletPatch(walletId,
|
|
3632
|
+
walletPatch(walletId, walletPatchPayload, options) {
|
|
3633
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletPatch(walletId, walletPatchPayload, options).then((request) => request(this.axios, this.basePath));
|
|
3540
3634
|
}
|
|
3541
3635
|
/**
|
|
3542
3636
|
* Gets a specific verified credentials by state
|