@triveria/wallet 0.0.133 → 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 -0
- 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
|
@@ -721,6 +721,30 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
721
721
|
options: localVarRequestOptions,
|
|
722
722
|
};
|
|
723
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
|
+
}),
|
|
724
748
|
/**
|
|
725
749
|
*
|
|
726
750
|
* @param {*} [options] Override http request option.
|
|
@@ -1746,6 +1770,20 @@ const DefaultApiFp = function (configuration) {
|
|
|
1746
1770
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1747
1771
|
});
|
|
1748
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
|
+
},
|
|
1749
1787
|
/**
|
|
1750
1788
|
*
|
|
1751
1789
|
* @param {*} [options] Override http request option.
|
|
@@ -2263,6 +2301,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2263
2301
|
oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options) {
|
|
2264
2302
|
return localVarFp.oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options).then((request) => request(axios, basePath));
|
|
2265
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
|
+
},
|
|
2266
2312
|
/**
|
|
2267
2313
|
*
|
|
2268
2314
|
* @param {*} [options] Override http request option.
|
|
@@ -2671,6 +2717,15 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2671
2717
|
oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options) {
|
|
2672
2718
|
return (0, exports.DefaultApiFp)(this.configuration).oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options).then((request) => request(this.axios, this.basePath));
|
|
2673
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
|
+
}
|
|
2674
2729
|
/**
|
|
2675
2730
|
*
|
|
2676
2731
|
* @param {*} [options] Override http request option.
|