@triveria/wallet 0.0.163 → 0.0.164
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 +16 -16
- package/api.js +30 -30
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -2100,21 +2100,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2100
2100
|
*/
|
|
2101
2101
|
walletPatch: (walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2102
2102
|
/**
|
|
2103
|
-
* Gets a specific verified
|
|
2103
|
+
* Gets a specific verified credentials by state
|
|
2104
2104
|
* @param {string} walletId Wallet ID
|
|
2105
2105
|
* @param {string} state Verifier state
|
|
2106
2106
|
* @param {*} [options] Override http request option.
|
|
2107
2107
|
* @throws {RequiredError}
|
|
2108
2108
|
*/
|
|
2109
|
-
|
|
2109
|
+
walletVerifiedCredentialsByState: (walletId: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2110
2110
|
/**
|
|
2111
|
-
* Deletes a specific verified
|
|
2111
|
+
* Deletes a specific verified credentials by state
|
|
2112
2112
|
* @param {string} walletId Wallet ID
|
|
2113
2113
|
* @param {string} state Verifier state
|
|
2114
2114
|
* @param {*} [options] Override http request option.
|
|
2115
2115
|
* @throws {RequiredError}
|
|
2116
2116
|
*/
|
|
2117
|
-
|
|
2117
|
+
walletVerifiedCredentialsDeleteByState: (walletId: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2118
2118
|
};
|
|
2119
2119
|
/**
|
|
2120
2120
|
* DefaultApi - functional programming interface
|
|
@@ -2426,21 +2426,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2426
2426
|
*/
|
|
2427
2427
|
walletPatch(walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdObject>>;
|
|
2428
2428
|
/**
|
|
2429
|
-
* Gets a specific verified
|
|
2429
|
+
* Gets a specific verified credentials by state
|
|
2430
2430
|
* @param {string} walletId Wallet ID
|
|
2431
2431
|
* @param {string} state Verifier state
|
|
2432
2432
|
* @param {*} [options] Override http request option.
|
|
2433
2433
|
* @throws {RequiredError}
|
|
2434
2434
|
*/
|
|
2435
|
-
|
|
2435
|
+
walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Credential>>>;
|
|
2436
2436
|
/**
|
|
2437
|
-
* Deletes a specific verified
|
|
2437
|
+
* Deletes a specific verified credentials by state
|
|
2438
2438
|
* @param {string} walletId Wallet ID
|
|
2439
2439
|
* @param {string} state Verifier state
|
|
2440
2440
|
* @param {*} [options] Override http request option.
|
|
2441
2441
|
* @throws {RequiredError}
|
|
2442
2442
|
*/
|
|
2443
|
-
|
|
2443
|
+
walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2444
2444
|
};
|
|
2445
2445
|
/**
|
|
2446
2446
|
* DefaultApi - factory interface
|
|
@@ -2752,21 +2752,21 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2752
2752
|
*/
|
|
2753
2753
|
walletPatch(walletId: string, wallet?: Wallet, options?: any): AxiosPromise<WalletIdObject>;
|
|
2754
2754
|
/**
|
|
2755
|
-
* Gets a specific verified
|
|
2755
|
+
* Gets a specific verified credentials by state
|
|
2756
2756
|
* @param {string} walletId Wallet ID
|
|
2757
2757
|
* @param {string} state Verifier state
|
|
2758
2758
|
* @param {*} [options] Override http request option.
|
|
2759
2759
|
* @throws {RequiredError}
|
|
2760
2760
|
*/
|
|
2761
|
-
|
|
2761
|
+
walletVerifiedCredentialsByState(walletId: string, state: string, options?: any): AxiosPromise<Array<Credential>>;
|
|
2762
2762
|
/**
|
|
2763
|
-
* Deletes a specific verified
|
|
2763
|
+
* Deletes a specific verified credentials by state
|
|
2764
2764
|
* @param {string} walletId Wallet ID
|
|
2765
2765
|
* @param {string} state Verifier state
|
|
2766
2766
|
* @param {*} [options] Override http request option.
|
|
2767
2767
|
* @throws {RequiredError}
|
|
2768
2768
|
*/
|
|
2769
|
-
|
|
2769
|
+
walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?: any): AxiosPromise<void>;
|
|
2770
2770
|
};
|
|
2771
2771
|
/**
|
|
2772
2772
|
* DefaultApi - object-oriented interface
|
|
@@ -3118,23 +3118,23 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3118
3118
|
*/
|
|
3119
3119
|
walletPatch(walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdObject, any>>;
|
|
3120
3120
|
/**
|
|
3121
|
-
* Gets a specific verified
|
|
3121
|
+
* Gets a specific verified credentials by state
|
|
3122
3122
|
* @param {string} walletId Wallet ID
|
|
3123
3123
|
* @param {string} state Verifier state
|
|
3124
3124
|
* @param {*} [options] Override http request option.
|
|
3125
3125
|
* @throws {RequiredError}
|
|
3126
3126
|
* @memberof DefaultApi
|
|
3127
3127
|
*/
|
|
3128
|
-
|
|
3128
|
+
walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Credential[], any>>;
|
|
3129
3129
|
/**
|
|
3130
|
-
* Deletes a specific verified
|
|
3130
|
+
* Deletes a specific verified credentials by state
|
|
3131
3131
|
* @param {string} walletId Wallet ID
|
|
3132
3132
|
* @param {string} state Verifier state
|
|
3133
3133
|
* @param {*} [options] Override http request option.
|
|
3134
3134
|
* @throws {RequiredError}
|
|
3135
3135
|
* @memberof DefaultApi
|
|
3136
3136
|
*/
|
|
3137
|
-
|
|
3137
|
+
walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3138
3138
|
}
|
|
3139
3139
|
/**
|
|
3140
3140
|
* @export
|
package/api.js
CHANGED
|
@@ -1460,18 +1460,18 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1460
1460
|
};
|
|
1461
1461
|
}),
|
|
1462
1462
|
/**
|
|
1463
|
-
* Gets a specific verified
|
|
1463
|
+
* Gets a specific verified credentials by state
|
|
1464
1464
|
* @param {string} walletId Wallet ID
|
|
1465
1465
|
* @param {string} state Verifier state
|
|
1466
1466
|
* @param {*} [options] Override http request option.
|
|
1467
1467
|
* @throws {RequiredError}
|
|
1468
1468
|
*/
|
|
1469
|
-
|
|
1469
|
+
walletVerifiedCredentialsByState: (walletId, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1470
1470
|
// verify required parameter 'walletId' is not null or undefined
|
|
1471
|
-
(0, common_1.assertParamExists)('
|
|
1471
|
+
(0, common_1.assertParamExists)('walletVerifiedCredentialsByState', 'walletId', walletId);
|
|
1472
1472
|
// verify required parameter 'state' is not null or undefined
|
|
1473
|
-
(0, common_1.assertParamExists)('
|
|
1474
|
-
const localVarPath = `/wallets/{wallet_id}/
|
|
1473
|
+
(0, common_1.assertParamExists)('walletVerifiedCredentialsByState', 'state', state);
|
|
1474
|
+
const localVarPath = `/wallets/{wallet_id}/verified_credentials/{state}`
|
|
1475
1475
|
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)))
|
|
1476
1476
|
.replace(`{${"state"}}`, encodeURIComponent(String(state)));
|
|
1477
1477
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -1495,18 +1495,18 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1495
1495
|
};
|
|
1496
1496
|
}),
|
|
1497
1497
|
/**
|
|
1498
|
-
* Deletes a specific verified
|
|
1498
|
+
* Deletes a specific verified credentials by state
|
|
1499
1499
|
* @param {string} walletId Wallet ID
|
|
1500
1500
|
* @param {string} state Verifier state
|
|
1501
1501
|
* @param {*} [options] Override http request option.
|
|
1502
1502
|
* @throws {RequiredError}
|
|
1503
1503
|
*/
|
|
1504
|
-
|
|
1504
|
+
walletVerifiedCredentialsDeleteByState: (walletId, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1505
1505
|
// verify required parameter 'walletId' is not null or undefined
|
|
1506
|
-
(0, common_1.assertParamExists)('
|
|
1506
|
+
(0, common_1.assertParamExists)('walletVerifiedCredentialsDeleteByState', 'walletId', walletId);
|
|
1507
1507
|
// verify required parameter 'state' is not null or undefined
|
|
1508
|
-
(0, common_1.assertParamExists)('
|
|
1509
|
-
const localVarPath = `/wallets/{wallet_id}/
|
|
1508
|
+
(0, common_1.assertParamExists)('walletVerifiedCredentialsDeleteByState', 'state', state);
|
|
1509
|
+
const localVarPath = `/wallets/{wallet_id}/verified_credentials/{state}`
|
|
1510
1510
|
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)))
|
|
1511
1511
|
.replace(`{${"state"}}`, encodeURIComponent(String(state)));
|
|
1512
1512
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -2148,34 +2148,34 @@ const DefaultApiFp = function (configuration) {
|
|
|
2148
2148
|
});
|
|
2149
2149
|
},
|
|
2150
2150
|
/**
|
|
2151
|
-
* Gets a specific verified
|
|
2151
|
+
* Gets a specific verified credentials by state
|
|
2152
2152
|
* @param {string} walletId Wallet ID
|
|
2153
2153
|
* @param {string} state Verifier state
|
|
2154
2154
|
* @param {*} [options] Override http request option.
|
|
2155
2155
|
* @throws {RequiredError}
|
|
2156
2156
|
*/
|
|
2157
|
-
|
|
2157
|
+
walletVerifiedCredentialsByState(walletId, state, options) {
|
|
2158
2158
|
var _a, _b, _c;
|
|
2159
2159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2160
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2160
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletVerifiedCredentialsByState(walletId, state, options);
|
|
2161
2161
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2162
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.
|
|
2162
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletVerifiedCredentialsByState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2163
2163
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2164
2164
|
});
|
|
2165
2165
|
},
|
|
2166
2166
|
/**
|
|
2167
|
-
* Deletes a specific verified
|
|
2167
|
+
* Deletes a specific verified credentials by state
|
|
2168
2168
|
* @param {string} walletId Wallet ID
|
|
2169
2169
|
* @param {string} state Verifier state
|
|
2170
2170
|
* @param {*} [options] Override http request option.
|
|
2171
2171
|
* @throws {RequiredError}
|
|
2172
2172
|
*/
|
|
2173
|
-
|
|
2173
|
+
walletVerifiedCredentialsDeleteByState(walletId, state, options) {
|
|
2174
2174
|
var _a, _b, _c;
|
|
2175
2175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2176
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2176
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletVerifiedCredentialsDeleteByState(walletId, state, options);
|
|
2177
2177
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2178
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.
|
|
2178
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletVerifiedCredentialsDeleteByState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2179
2179
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2180
2180
|
});
|
|
2181
2181
|
},
|
|
@@ -2570,24 +2570,24 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2570
2570
|
return localVarFp.walletPatch(walletId, wallet, options).then((request) => request(axios, basePath));
|
|
2571
2571
|
},
|
|
2572
2572
|
/**
|
|
2573
|
-
* Gets a specific verified
|
|
2573
|
+
* Gets a specific verified credentials by state
|
|
2574
2574
|
* @param {string} walletId Wallet ID
|
|
2575
2575
|
* @param {string} state Verifier state
|
|
2576
2576
|
* @param {*} [options] Override http request option.
|
|
2577
2577
|
* @throws {RequiredError}
|
|
2578
2578
|
*/
|
|
2579
|
-
|
|
2580
|
-
return localVarFp.
|
|
2579
|
+
walletVerifiedCredentialsByState(walletId, state, options) {
|
|
2580
|
+
return localVarFp.walletVerifiedCredentialsByState(walletId, state, options).then((request) => request(axios, basePath));
|
|
2581
2581
|
},
|
|
2582
2582
|
/**
|
|
2583
|
-
* Deletes a specific verified
|
|
2583
|
+
* Deletes a specific verified credentials by state
|
|
2584
2584
|
* @param {string} walletId Wallet ID
|
|
2585
2585
|
* @param {string} state Verifier state
|
|
2586
2586
|
* @param {*} [options] Override http request option.
|
|
2587
2587
|
* @throws {RequiredError}
|
|
2588
2588
|
*/
|
|
2589
|
-
|
|
2590
|
-
return localVarFp.
|
|
2589
|
+
walletVerifiedCredentialsDeleteByState(walletId, state, options) {
|
|
2590
|
+
return localVarFp.walletVerifiedCredentialsDeleteByState(walletId, state, options).then((request) => request(axios, basePath));
|
|
2591
2591
|
},
|
|
2592
2592
|
};
|
|
2593
2593
|
};
|
|
@@ -3018,26 +3018,26 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3018
3018
|
return (0, exports.DefaultApiFp)(this.configuration).walletPatch(walletId, wallet, options).then((request) => request(this.axios, this.basePath));
|
|
3019
3019
|
}
|
|
3020
3020
|
/**
|
|
3021
|
-
* Gets a specific verified
|
|
3021
|
+
* Gets a specific verified credentials by state
|
|
3022
3022
|
* @param {string} walletId Wallet ID
|
|
3023
3023
|
* @param {string} state Verifier state
|
|
3024
3024
|
* @param {*} [options] Override http request option.
|
|
3025
3025
|
* @throws {RequiredError}
|
|
3026
3026
|
* @memberof DefaultApi
|
|
3027
3027
|
*/
|
|
3028
|
-
|
|
3029
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
3028
|
+
walletVerifiedCredentialsByState(walletId, state, options) {
|
|
3029
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletVerifiedCredentialsByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
|
|
3030
3030
|
}
|
|
3031
3031
|
/**
|
|
3032
|
-
* Deletes a specific verified
|
|
3032
|
+
* Deletes a specific verified credentials by state
|
|
3033
3033
|
* @param {string} walletId Wallet ID
|
|
3034
3034
|
* @param {string} state Verifier state
|
|
3035
3035
|
* @param {*} [options] Override http request option.
|
|
3036
3036
|
* @throws {RequiredError}
|
|
3037
3037
|
* @memberof DefaultApi
|
|
3038
3038
|
*/
|
|
3039
|
-
|
|
3040
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
3039
|
+
walletVerifiedCredentialsDeleteByState(walletId, state, options) {
|
|
3040
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletVerifiedCredentialsDeleteByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
|
|
3041
3041
|
}
|
|
3042
3042
|
}
|
|
3043
3043
|
exports.DefaultApi = DefaultApi;
|