@triveria/wallet 0.0.132 → 0.0.134
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 +38 -0
- package/api.js +55 -3
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -818,6 +818,19 @@ export interface IssuanceQueueCredentialAdd {
|
|
|
818
818
|
*/
|
|
819
819
|
'idTokenRequestId'?: string;
|
|
820
820
|
}
|
|
821
|
+
/**
|
|
822
|
+
* TBD
|
|
823
|
+
* @export
|
|
824
|
+
* @interface Jwks
|
|
825
|
+
*/
|
|
826
|
+
export interface Jwks {
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @type {Array<object>}
|
|
830
|
+
* @memberof Jwks
|
|
831
|
+
*/
|
|
832
|
+
'keys': Array<object>;
|
|
833
|
+
}
|
|
821
834
|
/**
|
|
822
835
|
* Common error message
|
|
823
836
|
* @export
|
|
@@ -1605,6 +1618,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1605
1618
|
* @throws {RequiredError}
|
|
1606
1619
|
*/
|
|
1607
1620
|
oauth2Auth: (verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1621
|
+
/**
|
|
1622
|
+
*
|
|
1623
|
+
* @param {*} [options] Override http request option.
|
|
1624
|
+
* @throws {RequiredError}
|
|
1625
|
+
*/
|
|
1626
|
+
oauth2Keys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1608
1627
|
/**
|
|
1609
1628
|
*
|
|
1610
1629
|
* @param {*} [options] Override http request option.
|
|
@@ -1916,6 +1935,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1916
1935
|
* @throws {RequiredError}
|
|
1917
1936
|
*/
|
|
1918
1937
|
oauth2Auth(verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Oauth2RedirectUri>>;
|
|
1938
|
+
/**
|
|
1939
|
+
*
|
|
1940
|
+
* @param {*} [options] Override http request option.
|
|
1941
|
+
* @throws {RequiredError}
|
|
1942
|
+
*/
|
|
1943
|
+
oauth2Keys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Jwks>>;
|
|
1919
1944
|
/**
|
|
1920
1945
|
*
|
|
1921
1946
|
* @param {*} [options] Override http request option.
|
|
@@ -2227,6 +2252,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2227
2252
|
* @throws {RequiredError}
|
|
2228
2253
|
*/
|
|
2229
2254
|
oauth2Auth(verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: any): AxiosPromise<Oauth2RedirectUri>;
|
|
2255
|
+
/**
|
|
2256
|
+
*
|
|
2257
|
+
* @param {*} [options] Override http request option.
|
|
2258
|
+
* @throws {RequiredError}
|
|
2259
|
+
*/
|
|
2260
|
+
oauth2Keys(options?: any): AxiosPromise<Jwks>;
|
|
2230
2261
|
/**
|
|
2231
2262
|
*
|
|
2232
2263
|
* @param {*} [options] Override http request option.
|
|
@@ -2557,6 +2588,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2557
2588
|
* @memberof DefaultApi
|
|
2558
2589
|
*/
|
|
2559
2590
|
oauth2Auth(verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Oauth2RedirectUri, any>>;
|
|
2591
|
+
/**
|
|
2592
|
+
*
|
|
2593
|
+
* @param {*} [options] Override http request option.
|
|
2594
|
+
* @throws {RequiredError}
|
|
2595
|
+
* @memberof DefaultApi
|
|
2596
|
+
*/
|
|
2597
|
+
oauth2Keys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Jwks, any>>;
|
|
2560
2598
|
/**
|
|
2561
2599
|
*
|
|
2562
2600
|
* @param {*} [options] Override http request option.
|
package/api.js
CHANGED
|
@@ -695,9 +695,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
695
695
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
696
696
|
const localVarHeaderParameter = {};
|
|
697
697
|
const localVarQueryParameter = {};
|
|
698
|
-
// authentication accessToken required
|
|
699
|
-
// http bearer authentication required
|
|
700
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
701
698
|
if (clientId !== undefined) {
|
|
702
699
|
localVarQueryParameter['client_id'] = clientId;
|
|
703
700
|
}
|
|
@@ -724,6 +721,30 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
724
721
|
options: localVarRequestOptions,
|
|
725
722
|
};
|
|
726
723
|
}),
|
|
724
|
+
/**
|
|
725
|
+
*
|
|
726
|
+
* @param {*} [options] Override http request option.
|
|
727
|
+
* @throws {RequiredError}
|
|
728
|
+
*/
|
|
729
|
+
oauth2Keys: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
730
|
+
const localVarPath = `/oauth2/keys`;
|
|
731
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
732
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
733
|
+
let baseOptions;
|
|
734
|
+
if (configuration) {
|
|
735
|
+
baseOptions = configuration.baseOptions;
|
|
736
|
+
}
|
|
737
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
738
|
+
const localVarHeaderParameter = {};
|
|
739
|
+
const localVarQueryParameter = {};
|
|
740
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
741
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
742
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
743
|
+
return {
|
|
744
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
745
|
+
options: localVarRequestOptions,
|
|
746
|
+
};
|
|
747
|
+
}),
|
|
727
748
|
/**
|
|
728
749
|
*
|
|
729
750
|
* @param {*} [options] Override http request option.
|
|
@@ -1749,6 +1770,20 @@ const DefaultApiFp = function (configuration) {
|
|
|
1749
1770
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1750
1771
|
});
|
|
1751
1772
|
},
|
|
1773
|
+
/**
|
|
1774
|
+
*
|
|
1775
|
+
* @param {*} [options] Override http request option.
|
|
1776
|
+
* @throws {RequiredError}
|
|
1777
|
+
*/
|
|
1778
|
+
oauth2Keys(options) {
|
|
1779
|
+
var _a, _b, _c;
|
|
1780
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1781
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.oauth2Keys(options);
|
|
1782
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1783
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oauth2Keys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1784
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1785
|
+
});
|
|
1786
|
+
},
|
|
1752
1787
|
/**
|
|
1753
1788
|
*
|
|
1754
1789
|
* @param {*} [options] Override http request option.
|
|
@@ -2266,6 +2301,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2266
2301
|
oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options) {
|
|
2267
2302
|
return localVarFp.oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options).then((request) => request(axios, basePath));
|
|
2268
2303
|
},
|
|
2304
|
+
/**
|
|
2305
|
+
*
|
|
2306
|
+
* @param {*} [options] Override http request option.
|
|
2307
|
+
* @throws {RequiredError}
|
|
2308
|
+
*/
|
|
2309
|
+
oauth2Keys(options) {
|
|
2310
|
+
return localVarFp.oauth2Keys(options).then((request) => request(axios, basePath));
|
|
2311
|
+
},
|
|
2269
2312
|
/**
|
|
2270
2313
|
*
|
|
2271
2314
|
* @param {*} [options] Override http request option.
|
|
@@ -2674,6 +2717,15 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2674
2717
|
oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options) {
|
|
2675
2718
|
return (0, exports.DefaultApiFp)(this.configuration).oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options).then((request) => request(this.axios, this.basePath));
|
|
2676
2719
|
}
|
|
2720
|
+
/**
|
|
2721
|
+
*
|
|
2722
|
+
* @param {*} [options] Override http request option.
|
|
2723
|
+
* @throws {RequiredError}
|
|
2724
|
+
* @memberof DefaultApi
|
|
2725
|
+
*/
|
|
2726
|
+
oauth2Keys(options) {
|
|
2727
|
+
return (0, exports.DefaultApiFp)(this.configuration).oauth2Keys(options).then((request) => request(this.axios, this.basePath));
|
|
2728
|
+
}
|
|
2677
2729
|
/**
|
|
2678
2730
|
*
|
|
2679
2731
|
* @param {*} [options] Override http request option.
|