@triveria/wallet 0.0.156 → 0.0.158
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 +103 -144
- package/api.js +144 -323
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -960,6 +960,43 @@ export interface Oauth2AccessToken {
|
|
|
960
960
|
*/
|
|
961
961
|
'expires_in': string;
|
|
962
962
|
}
|
|
963
|
+
/**
|
|
964
|
+
*
|
|
965
|
+
* @export
|
|
966
|
+
* @interface Oauth2AccessTokenRequest
|
|
967
|
+
*/
|
|
968
|
+
export interface Oauth2AccessTokenRequest {
|
|
969
|
+
/**
|
|
970
|
+
* Value MUST be set to \"authorization_code\".
|
|
971
|
+
* @type {string}
|
|
972
|
+
* @memberof Oauth2AccessTokenRequest
|
|
973
|
+
*/
|
|
974
|
+
'grant_type': string;
|
|
975
|
+
/**
|
|
976
|
+
* The authorization code received from the.
|
|
977
|
+
* @type {string}
|
|
978
|
+
* @memberof Oauth2AccessTokenRequest
|
|
979
|
+
*/
|
|
980
|
+
'code': string;
|
|
981
|
+
/**
|
|
982
|
+
* REQUIRED, if the \"redirect_uri\" parameter was included in the authorization request.
|
|
983
|
+
* @type {string}
|
|
984
|
+
* @memberof Oauth2AccessTokenRequest
|
|
985
|
+
*/
|
|
986
|
+
'redirect_uri': string;
|
|
987
|
+
/**
|
|
988
|
+
* REQUIRED, if the client is not authenticating with the authorization server.
|
|
989
|
+
* @type {string}
|
|
990
|
+
* @memberof Oauth2AccessTokenRequest
|
|
991
|
+
*/
|
|
992
|
+
'client_id': string;
|
|
993
|
+
/**
|
|
994
|
+
* REQUIRED, if the client is not authenticating with the authorization server.
|
|
995
|
+
* @type {string}
|
|
996
|
+
* @memberof Oauth2AccessTokenRequest
|
|
997
|
+
*/
|
|
998
|
+
'client_secret': string;
|
|
999
|
+
}
|
|
963
1000
|
/**
|
|
964
1001
|
*
|
|
965
1002
|
* @export
|
|
@@ -1751,41 +1788,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1751
1788
|
* @throws {RequiredError}
|
|
1752
1789
|
*/
|
|
1753
1790
|
issuerCredentialTypesList: (url: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1754
|
-
/**
|
|
1755
|
-
*
|
|
1756
|
-
* @param {string} verifierState
|
|
1757
|
-
* @param {string} clientId
|
|
1758
|
-
* @param {string} redirectUri
|
|
1759
|
-
* @param {string} responseType
|
|
1760
|
-
* @param {string} state
|
|
1761
|
-
* @param {string} [nonce]
|
|
1762
|
-
* @param {*} [options] Override http request option.
|
|
1763
|
-
* @throws {RequiredError}
|
|
1764
|
-
*/
|
|
1765
|
-
oauth2Auth: (verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1766
|
-
/**
|
|
1767
|
-
*
|
|
1768
|
-
* @param {*} [options] Override http request option.
|
|
1769
|
-
* @throws {RequiredError}
|
|
1770
|
-
*/
|
|
1771
|
-
oauth2Keys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1772
|
-
/**
|
|
1773
|
-
*
|
|
1774
|
-
* @param {*} [options] Override http request option.
|
|
1775
|
-
* @throws {RequiredError}
|
|
1776
|
-
*/
|
|
1777
|
-
oauth2Profile: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1778
|
-
/**
|
|
1779
|
-
*
|
|
1780
|
-
* @param {string} grantType Value MUST be set to \\\"authorization_code\\\".
|
|
1781
|
-
* @param {string} code The authorization code received from the.
|
|
1782
|
-
* @param {string} redirectUri REQUIRED, if the \\\"redirect_uri\\\" parameter was included in the authorization request.
|
|
1783
|
-
* @param {string} clientId REQUIRED, if the client is not authenticating with the authorization server.
|
|
1784
|
-
* @param {string} clientSecret REQUIRED, if the client is not authenticating with the authorization server.
|
|
1785
|
-
* @param {*} [options] Override http request option.
|
|
1786
|
-
* @throws {RequiredError}
|
|
1787
|
-
*/
|
|
1788
|
-
oauth2Token: (grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1789
1791
|
/**
|
|
1790
1792
|
* Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
|
|
1791
1793
|
* @param {string} credentialId
|
|
@@ -1968,6 +1970,22 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1968
1970
|
* @throws {RequiredError}
|
|
1969
1971
|
*/
|
|
1970
1972
|
walletPatch: (walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1973
|
+
/**
|
|
1974
|
+
* Gets a specific verified profile (claims) by state
|
|
1975
|
+
* @param {string} walletId Wallet ID
|
|
1976
|
+
* @param {string} state Verifier state
|
|
1977
|
+
* @param {*} [options] Override http request option.
|
|
1978
|
+
* @throws {RequiredError}
|
|
1979
|
+
*/
|
|
1980
|
+
walletVerifiedProfileByState: (walletId: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1981
|
+
/**
|
|
1982
|
+
* Deletes a specific verified profile (claims) by state
|
|
1983
|
+
* @param {string} walletId Wallet ID
|
|
1984
|
+
* @param {string} state Verifier state
|
|
1985
|
+
* @param {*} [options] Override http request option.
|
|
1986
|
+
* @throws {RequiredError}
|
|
1987
|
+
*/
|
|
1988
|
+
walletVerifiedProfileDeleteByState: (walletId: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1971
1989
|
};
|
|
1972
1990
|
/**
|
|
1973
1991
|
* DefaultApi - functional programming interface
|
|
@@ -2096,41 +2114,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2096
2114
|
* @throws {RequiredError}
|
|
2097
2115
|
*/
|
|
2098
2116
|
issuerCredentialTypesList(url: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CredentialType>>>;
|
|
2099
|
-
/**
|
|
2100
|
-
*
|
|
2101
|
-
* @param {string} verifierState
|
|
2102
|
-
* @param {string} clientId
|
|
2103
|
-
* @param {string} redirectUri
|
|
2104
|
-
* @param {string} responseType
|
|
2105
|
-
* @param {string} state
|
|
2106
|
-
* @param {string} [nonce]
|
|
2107
|
-
* @param {*} [options] Override http request option.
|
|
2108
|
-
* @throws {RequiredError}
|
|
2109
|
-
*/
|
|
2110
|
-
oauth2Auth(verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Oauth2RedirectUri>>;
|
|
2111
|
-
/**
|
|
2112
|
-
*
|
|
2113
|
-
* @param {*} [options] Override http request option.
|
|
2114
|
-
* @throws {RequiredError}
|
|
2115
|
-
*/
|
|
2116
|
-
oauth2Keys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Jwks>>;
|
|
2117
|
-
/**
|
|
2118
|
-
*
|
|
2119
|
-
* @param {*} [options] Override http request option.
|
|
2120
|
-
* @throws {RequiredError}
|
|
2121
|
-
*/
|
|
2122
|
-
oauth2Profile(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Oauth2Profile>>;
|
|
2123
|
-
/**
|
|
2124
|
-
*
|
|
2125
|
-
* @param {string} grantType Value MUST be set to \\\"authorization_code\\\".
|
|
2126
|
-
* @param {string} code The authorization code received from the.
|
|
2127
|
-
* @param {string} redirectUri REQUIRED, if the \\\"redirect_uri\\\" parameter was included in the authorization request.
|
|
2128
|
-
* @param {string} clientId REQUIRED, if the client is not authenticating with the authorization server.
|
|
2129
|
-
* @param {string} clientSecret REQUIRED, if the client is not authenticating with the authorization server.
|
|
2130
|
-
* @param {*} [options] Override http request option.
|
|
2131
|
-
* @throws {RequiredError}
|
|
2132
|
-
*/
|
|
2133
|
-
oauth2Token(grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Oauth2AccessToken>>;
|
|
2134
2117
|
/**
|
|
2135
2118
|
* Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
|
|
2136
2119
|
* @param {string} credentialId
|
|
@@ -2313,6 +2296,22 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2313
2296
|
* @throws {RequiredError}
|
|
2314
2297
|
*/
|
|
2315
2298
|
walletPatch(walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdObject>>;
|
|
2299
|
+
/**
|
|
2300
|
+
* Gets a specific verified profile (claims) by state
|
|
2301
|
+
* @param {string} walletId Wallet ID
|
|
2302
|
+
* @param {string} state Verifier state
|
|
2303
|
+
* @param {*} [options] Override http request option.
|
|
2304
|
+
* @throws {RequiredError}
|
|
2305
|
+
*/
|
|
2306
|
+
walletVerifiedProfileByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Credential>>>;
|
|
2307
|
+
/**
|
|
2308
|
+
* Deletes a specific verified profile (claims) by state
|
|
2309
|
+
* @param {string} walletId Wallet ID
|
|
2310
|
+
* @param {string} state Verifier state
|
|
2311
|
+
* @param {*} [options] Override http request option.
|
|
2312
|
+
* @throws {RequiredError}
|
|
2313
|
+
*/
|
|
2314
|
+
walletVerifiedProfileDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2316
2315
|
};
|
|
2317
2316
|
/**
|
|
2318
2317
|
* DefaultApi - factory interface
|
|
@@ -2441,41 +2440,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2441
2440
|
* @throws {RequiredError}
|
|
2442
2441
|
*/
|
|
2443
2442
|
issuerCredentialTypesList(url: string, options?: any): AxiosPromise<Array<CredentialType>>;
|
|
2444
|
-
/**
|
|
2445
|
-
*
|
|
2446
|
-
* @param {string} verifierState
|
|
2447
|
-
* @param {string} clientId
|
|
2448
|
-
* @param {string} redirectUri
|
|
2449
|
-
* @param {string} responseType
|
|
2450
|
-
* @param {string} state
|
|
2451
|
-
* @param {string} [nonce]
|
|
2452
|
-
* @param {*} [options] Override http request option.
|
|
2453
|
-
* @throws {RequiredError}
|
|
2454
|
-
*/
|
|
2455
|
-
oauth2Auth(verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: any): AxiosPromise<Oauth2RedirectUri>;
|
|
2456
|
-
/**
|
|
2457
|
-
*
|
|
2458
|
-
* @param {*} [options] Override http request option.
|
|
2459
|
-
* @throws {RequiredError}
|
|
2460
|
-
*/
|
|
2461
|
-
oauth2Keys(options?: any): AxiosPromise<Jwks>;
|
|
2462
|
-
/**
|
|
2463
|
-
*
|
|
2464
|
-
* @param {*} [options] Override http request option.
|
|
2465
|
-
* @throws {RequiredError}
|
|
2466
|
-
*/
|
|
2467
|
-
oauth2Profile(options?: any): AxiosPromise<Oauth2Profile>;
|
|
2468
|
-
/**
|
|
2469
|
-
*
|
|
2470
|
-
* @param {string} grantType Value MUST be set to \\\"authorization_code\\\".
|
|
2471
|
-
* @param {string} code The authorization code received from the.
|
|
2472
|
-
* @param {string} redirectUri REQUIRED, if the \\\"redirect_uri\\\" parameter was included in the authorization request.
|
|
2473
|
-
* @param {string} clientId REQUIRED, if the client is not authenticating with the authorization server.
|
|
2474
|
-
* @param {string} clientSecret REQUIRED, if the client is not authenticating with the authorization server.
|
|
2475
|
-
* @param {*} [options] Override http request option.
|
|
2476
|
-
* @throws {RequiredError}
|
|
2477
|
-
*/
|
|
2478
|
-
oauth2Token(grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: any): AxiosPromise<Oauth2AccessToken>;
|
|
2479
2443
|
/**
|
|
2480
2444
|
* Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
|
|
2481
2445
|
* @param {string} credentialId
|
|
@@ -2658,6 +2622,22 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2658
2622
|
* @throws {RequiredError}
|
|
2659
2623
|
*/
|
|
2660
2624
|
walletPatch(walletId: string, wallet?: Wallet, options?: any): AxiosPromise<WalletIdObject>;
|
|
2625
|
+
/**
|
|
2626
|
+
* Gets a specific verified profile (claims) by state
|
|
2627
|
+
* @param {string} walletId Wallet ID
|
|
2628
|
+
* @param {string} state Verifier state
|
|
2629
|
+
* @param {*} [options] Override http request option.
|
|
2630
|
+
* @throws {RequiredError}
|
|
2631
|
+
*/
|
|
2632
|
+
walletVerifiedProfileByState(walletId: string, state: string, options?: any): AxiosPromise<Array<Credential>>;
|
|
2633
|
+
/**
|
|
2634
|
+
* Deletes a specific verified profile (claims) by state
|
|
2635
|
+
* @param {string} walletId Wallet ID
|
|
2636
|
+
* @param {string} state Verifier state
|
|
2637
|
+
* @param {*} [options] Override http request option.
|
|
2638
|
+
* @throws {RequiredError}
|
|
2639
|
+
*/
|
|
2640
|
+
walletVerifiedProfileDeleteByState(walletId: string, state: string, options?: any): AxiosPromise<void>;
|
|
2661
2641
|
};
|
|
2662
2642
|
/**
|
|
2663
2643
|
* DefaultApi - object-oriented interface
|
|
@@ -2803,45 +2783,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2803
2783
|
* @memberof DefaultApi
|
|
2804
2784
|
*/
|
|
2805
2785
|
issuerCredentialTypesList(url: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialType[], any>>;
|
|
2806
|
-
/**
|
|
2807
|
-
*
|
|
2808
|
-
* @param {string} verifierState
|
|
2809
|
-
* @param {string} clientId
|
|
2810
|
-
* @param {string} redirectUri
|
|
2811
|
-
* @param {string} responseType
|
|
2812
|
-
* @param {string} state
|
|
2813
|
-
* @param {string} [nonce]
|
|
2814
|
-
* @param {*} [options] Override http request option.
|
|
2815
|
-
* @throws {RequiredError}
|
|
2816
|
-
* @memberof DefaultApi
|
|
2817
|
-
*/
|
|
2818
|
-
oauth2Auth(verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Oauth2RedirectUri, any>>;
|
|
2819
|
-
/**
|
|
2820
|
-
*
|
|
2821
|
-
* @param {*} [options] Override http request option.
|
|
2822
|
-
* @throws {RequiredError}
|
|
2823
|
-
* @memberof DefaultApi
|
|
2824
|
-
*/
|
|
2825
|
-
oauth2Keys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Jwks, any>>;
|
|
2826
|
-
/**
|
|
2827
|
-
*
|
|
2828
|
-
* @param {*} [options] Override http request option.
|
|
2829
|
-
* @throws {RequiredError}
|
|
2830
|
-
* @memberof DefaultApi
|
|
2831
|
-
*/
|
|
2832
|
-
oauth2Profile(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Oauth2Profile, any>>;
|
|
2833
|
-
/**
|
|
2834
|
-
*
|
|
2835
|
-
* @param {string} grantType Value MUST be set to \\\"authorization_code\\\".
|
|
2836
|
-
* @param {string} code The authorization code received from the.
|
|
2837
|
-
* @param {string} redirectUri REQUIRED, if the \\\"redirect_uri\\\" parameter was included in the authorization request.
|
|
2838
|
-
* @param {string} clientId REQUIRED, if the client is not authenticating with the authorization server.
|
|
2839
|
-
* @param {string} clientSecret REQUIRED, if the client is not authenticating with the authorization server.
|
|
2840
|
-
* @param {*} [options] Override http request option.
|
|
2841
|
-
* @throws {RequiredError}
|
|
2842
|
-
* @memberof DefaultApi
|
|
2843
|
-
*/
|
|
2844
|
-
oauth2Token(grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Oauth2AccessToken, any>>;
|
|
2845
2786
|
/**
|
|
2846
2787
|
* Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
|
|
2847
2788
|
* @param {string} credentialId
|
|
@@ -3047,6 +2988,24 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3047
2988
|
* @memberof DefaultApi
|
|
3048
2989
|
*/
|
|
3049
2990
|
walletPatch(walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdObject, any>>;
|
|
2991
|
+
/**
|
|
2992
|
+
* Gets a specific verified profile (claims) by state
|
|
2993
|
+
* @param {string} walletId Wallet ID
|
|
2994
|
+
* @param {string} state Verifier state
|
|
2995
|
+
* @param {*} [options] Override http request option.
|
|
2996
|
+
* @throws {RequiredError}
|
|
2997
|
+
* @memberof DefaultApi
|
|
2998
|
+
*/
|
|
2999
|
+
walletVerifiedProfileByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Credential[], any>>;
|
|
3000
|
+
/**
|
|
3001
|
+
* Deletes a specific verified profile (claims) by state
|
|
3002
|
+
* @param {string} walletId Wallet ID
|
|
3003
|
+
* @param {string} state Verifier state
|
|
3004
|
+
* @param {*} [options] Override http request option.
|
|
3005
|
+
* @throws {RequiredError}
|
|
3006
|
+
* @memberof DefaultApi
|
|
3007
|
+
*/
|
|
3008
|
+
walletVerifiedProfileDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3050
3009
|
}
|
|
3051
3010
|
/**
|
|
3052
3011
|
* @export
|
package/api.js
CHANGED
|
@@ -653,172 +653,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
653
653
|
options: localVarRequestOptions,
|
|
654
654
|
};
|
|
655
655
|
}),
|
|
656
|
-
/**
|
|
657
|
-
*
|
|
658
|
-
* @param {string} verifierState
|
|
659
|
-
* @param {string} clientId
|
|
660
|
-
* @param {string} redirectUri
|
|
661
|
-
* @param {string} responseType
|
|
662
|
-
* @param {string} state
|
|
663
|
-
* @param {string} [nonce]
|
|
664
|
-
* @param {*} [options] Override http request option.
|
|
665
|
-
* @throws {RequiredError}
|
|
666
|
-
*/
|
|
667
|
-
oauth2Auth: (verifierState, clientId, redirectUri, responseType, state, nonce, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
668
|
-
// verify required parameter 'verifierState' is not null or undefined
|
|
669
|
-
(0, common_1.assertParamExists)('oauth2Auth', 'verifierState', verifierState);
|
|
670
|
-
// verify required parameter 'clientId' is not null or undefined
|
|
671
|
-
(0, common_1.assertParamExists)('oauth2Auth', 'clientId', clientId);
|
|
672
|
-
// verify required parameter 'redirectUri' is not null or undefined
|
|
673
|
-
(0, common_1.assertParamExists)('oauth2Auth', 'redirectUri', redirectUri);
|
|
674
|
-
// verify required parameter 'responseType' is not null or undefined
|
|
675
|
-
(0, common_1.assertParamExists)('oauth2Auth', 'responseType', responseType);
|
|
676
|
-
// verify required parameter 'state' is not null or undefined
|
|
677
|
-
(0, common_1.assertParamExists)('oauth2Auth', 'state', state);
|
|
678
|
-
const localVarPath = `/oauth2/auth`;
|
|
679
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
680
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
681
|
-
let baseOptions;
|
|
682
|
-
if (configuration) {
|
|
683
|
-
baseOptions = configuration.baseOptions;
|
|
684
|
-
}
|
|
685
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
686
|
-
const localVarHeaderParameter = {};
|
|
687
|
-
const localVarQueryParameter = {};
|
|
688
|
-
if (clientId !== undefined) {
|
|
689
|
-
localVarQueryParameter['client_id'] = clientId;
|
|
690
|
-
}
|
|
691
|
-
if (redirectUri !== undefined) {
|
|
692
|
-
localVarQueryParameter['redirect_uri'] = redirectUri;
|
|
693
|
-
}
|
|
694
|
-
if (responseType !== undefined) {
|
|
695
|
-
localVarQueryParameter['response_type'] = responseType;
|
|
696
|
-
}
|
|
697
|
-
if (state !== undefined) {
|
|
698
|
-
localVarQueryParameter['state'] = state;
|
|
699
|
-
}
|
|
700
|
-
if (nonce !== undefined) {
|
|
701
|
-
localVarQueryParameter['nonce'] = nonce;
|
|
702
|
-
}
|
|
703
|
-
if (verifierState != null) {
|
|
704
|
-
localVarHeaderParameter['verifier-state'] = String(verifierState);
|
|
705
|
-
}
|
|
706
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
707
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
708
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
709
|
-
return {
|
|
710
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
711
|
-
options: localVarRequestOptions,
|
|
712
|
-
};
|
|
713
|
-
}),
|
|
714
|
-
/**
|
|
715
|
-
*
|
|
716
|
-
* @param {*} [options] Override http request option.
|
|
717
|
-
* @throws {RequiredError}
|
|
718
|
-
*/
|
|
719
|
-
oauth2Keys: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
720
|
-
const localVarPath = `/oauth2/keys`;
|
|
721
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
722
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
723
|
-
let baseOptions;
|
|
724
|
-
if (configuration) {
|
|
725
|
-
baseOptions = configuration.baseOptions;
|
|
726
|
-
}
|
|
727
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
728
|
-
const localVarHeaderParameter = {};
|
|
729
|
-
const localVarQueryParameter = {};
|
|
730
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
731
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
732
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
733
|
-
return {
|
|
734
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
735
|
-
options: localVarRequestOptions,
|
|
736
|
-
};
|
|
737
|
-
}),
|
|
738
|
-
/**
|
|
739
|
-
*
|
|
740
|
-
* @param {*} [options] Override http request option.
|
|
741
|
-
* @throws {RequiredError}
|
|
742
|
-
*/
|
|
743
|
-
oauth2Profile: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
744
|
-
const localVarPath = `/oauth2/profile`;
|
|
745
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
746
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
747
|
-
let baseOptions;
|
|
748
|
-
if (configuration) {
|
|
749
|
-
baseOptions = configuration.baseOptions;
|
|
750
|
-
}
|
|
751
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
752
|
-
const localVarHeaderParameter = {};
|
|
753
|
-
const localVarQueryParameter = {};
|
|
754
|
-
// authentication accessToken required
|
|
755
|
-
// http bearer authentication required
|
|
756
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
757
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
758
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
759
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
760
|
-
return {
|
|
761
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
762
|
-
options: localVarRequestOptions,
|
|
763
|
-
};
|
|
764
|
-
}),
|
|
765
|
-
/**
|
|
766
|
-
*
|
|
767
|
-
* @param {string} grantType Value MUST be set to \\\"authorization_code\\\".
|
|
768
|
-
* @param {string} code The authorization code received from the.
|
|
769
|
-
* @param {string} redirectUri REQUIRED, if the \\\"redirect_uri\\\" parameter was included in the authorization request.
|
|
770
|
-
* @param {string} clientId REQUIRED, if the client is not authenticating with the authorization server.
|
|
771
|
-
* @param {string} clientSecret REQUIRED, if the client is not authenticating with the authorization server.
|
|
772
|
-
* @param {*} [options] Override http request option.
|
|
773
|
-
* @throws {RequiredError}
|
|
774
|
-
*/
|
|
775
|
-
oauth2Token: (grantType, code, redirectUri, clientId, clientSecret, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
776
|
-
// verify required parameter 'grantType' is not null or undefined
|
|
777
|
-
(0, common_1.assertParamExists)('oauth2Token', 'grantType', grantType);
|
|
778
|
-
// verify required parameter 'code' is not null or undefined
|
|
779
|
-
(0, common_1.assertParamExists)('oauth2Token', 'code', code);
|
|
780
|
-
// verify required parameter 'redirectUri' is not null or undefined
|
|
781
|
-
(0, common_1.assertParamExists)('oauth2Token', 'redirectUri', redirectUri);
|
|
782
|
-
// verify required parameter 'clientId' is not null or undefined
|
|
783
|
-
(0, common_1.assertParamExists)('oauth2Token', 'clientId', clientId);
|
|
784
|
-
// verify required parameter 'clientSecret' is not null or undefined
|
|
785
|
-
(0, common_1.assertParamExists)('oauth2Token', 'clientSecret', clientSecret);
|
|
786
|
-
const localVarPath = `/oauth2/token`;
|
|
787
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
788
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
789
|
-
let baseOptions;
|
|
790
|
-
if (configuration) {
|
|
791
|
-
baseOptions = configuration.baseOptions;
|
|
792
|
-
}
|
|
793
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
794
|
-
const localVarHeaderParameter = {};
|
|
795
|
-
const localVarQueryParameter = {};
|
|
796
|
-
const localVarFormParams = new URLSearchParams();
|
|
797
|
-
if (grantType !== undefined) {
|
|
798
|
-
localVarFormParams.set('grant_type', grantType);
|
|
799
|
-
}
|
|
800
|
-
if (code !== undefined) {
|
|
801
|
-
localVarFormParams.set('code', code);
|
|
802
|
-
}
|
|
803
|
-
if (redirectUri !== undefined) {
|
|
804
|
-
localVarFormParams.set('redirect_uri', redirectUri);
|
|
805
|
-
}
|
|
806
|
-
if (clientId !== undefined) {
|
|
807
|
-
localVarFormParams.set('client_id', clientId);
|
|
808
|
-
}
|
|
809
|
-
if (clientSecret !== undefined) {
|
|
810
|
-
localVarFormParams.set('client_secret', clientSecret);
|
|
811
|
-
}
|
|
812
|
-
localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
|
|
813
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
814
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
815
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
816
|
-
localVarRequestOptions.data = localVarFormParams.toString();
|
|
817
|
-
return {
|
|
818
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
819
|
-
options: localVarRequestOptions,
|
|
820
|
-
};
|
|
821
|
-
}),
|
|
822
656
|
/**
|
|
823
657
|
* Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
|
|
824
658
|
* @param {string} credentialId
|
|
@@ -1619,6 +1453,76 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1619
1453
|
options: localVarRequestOptions,
|
|
1620
1454
|
};
|
|
1621
1455
|
}),
|
|
1456
|
+
/**
|
|
1457
|
+
* Gets a specific verified profile (claims) by state
|
|
1458
|
+
* @param {string} walletId Wallet ID
|
|
1459
|
+
* @param {string} state Verifier state
|
|
1460
|
+
* @param {*} [options] Override http request option.
|
|
1461
|
+
* @throws {RequiredError}
|
|
1462
|
+
*/
|
|
1463
|
+
walletVerifiedProfileByState: (walletId, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1464
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
1465
|
+
(0, common_1.assertParamExists)('walletVerifiedProfileByState', 'walletId', walletId);
|
|
1466
|
+
// verify required parameter 'state' is not null or undefined
|
|
1467
|
+
(0, common_1.assertParamExists)('walletVerifiedProfileByState', 'state', state);
|
|
1468
|
+
const localVarPath = `/wallets/{wallet_id}/profile/{state}`
|
|
1469
|
+
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)))
|
|
1470
|
+
.replace(`{${"state"}}`, encodeURIComponent(String(state)));
|
|
1471
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1472
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1473
|
+
let baseOptions;
|
|
1474
|
+
if (configuration) {
|
|
1475
|
+
baseOptions = configuration.baseOptions;
|
|
1476
|
+
}
|
|
1477
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1478
|
+
const localVarHeaderParameter = {};
|
|
1479
|
+
const localVarQueryParameter = {};
|
|
1480
|
+
// authentication accessToken required
|
|
1481
|
+
// http bearer authentication required
|
|
1482
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1483
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1484
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1485
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1486
|
+
return {
|
|
1487
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1488
|
+
options: localVarRequestOptions,
|
|
1489
|
+
};
|
|
1490
|
+
}),
|
|
1491
|
+
/**
|
|
1492
|
+
* Deletes a specific verified profile (claims) by state
|
|
1493
|
+
* @param {string} walletId Wallet ID
|
|
1494
|
+
* @param {string} state Verifier state
|
|
1495
|
+
* @param {*} [options] Override http request option.
|
|
1496
|
+
* @throws {RequiredError}
|
|
1497
|
+
*/
|
|
1498
|
+
walletVerifiedProfileDeleteByState: (walletId, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1499
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
1500
|
+
(0, common_1.assertParamExists)('walletVerifiedProfileDeleteByState', 'walletId', walletId);
|
|
1501
|
+
// verify required parameter 'state' is not null or undefined
|
|
1502
|
+
(0, common_1.assertParamExists)('walletVerifiedProfileDeleteByState', 'state', state);
|
|
1503
|
+
const localVarPath = `/wallets/{wallet_id}/profile/{state}`
|
|
1504
|
+
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)))
|
|
1505
|
+
.replace(`{${"state"}}`, encodeURIComponent(String(state)));
|
|
1506
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1507
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1508
|
+
let baseOptions;
|
|
1509
|
+
if (configuration) {
|
|
1510
|
+
baseOptions = configuration.baseOptions;
|
|
1511
|
+
}
|
|
1512
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1513
|
+
const localVarHeaderParameter = {};
|
|
1514
|
+
const localVarQueryParameter = {};
|
|
1515
|
+
// authentication accessToken required
|
|
1516
|
+
// http bearer authentication required
|
|
1517
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1518
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1519
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1520
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1521
|
+
return {
|
|
1522
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1523
|
+
options: localVarRequestOptions,
|
|
1524
|
+
};
|
|
1525
|
+
}),
|
|
1622
1526
|
};
|
|
1623
1527
|
};
|
|
1624
1528
|
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
@@ -1871,73 +1775,6 @@ const DefaultApiFp = function (configuration) {
|
|
|
1871
1775
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1872
1776
|
});
|
|
1873
1777
|
},
|
|
1874
|
-
/**
|
|
1875
|
-
*
|
|
1876
|
-
* @param {string} verifierState
|
|
1877
|
-
* @param {string} clientId
|
|
1878
|
-
* @param {string} redirectUri
|
|
1879
|
-
* @param {string} responseType
|
|
1880
|
-
* @param {string} state
|
|
1881
|
-
* @param {string} [nonce]
|
|
1882
|
-
* @param {*} [options] Override http request option.
|
|
1883
|
-
* @throws {RequiredError}
|
|
1884
|
-
*/
|
|
1885
|
-
oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options) {
|
|
1886
|
-
var _a, _b, _c;
|
|
1887
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1888
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options);
|
|
1889
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1890
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oauth2Auth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1891
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1892
|
-
});
|
|
1893
|
-
},
|
|
1894
|
-
/**
|
|
1895
|
-
*
|
|
1896
|
-
* @param {*} [options] Override http request option.
|
|
1897
|
-
* @throws {RequiredError}
|
|
1898
|
-
*/
|
|
1899
|
-
oauth2Keys(options) {
|
|
1900
|
-
var _a, _b, _c;
|
|
1901
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1902
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.oauth2Keys(options);
|
|
1903
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1904
|
-
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;
|
|
1905
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1906
|
-
});
|
|
1907
|
-
},
|
|
1908
|
-
/**
|
|
1909
|
-
*
|
|
1910
|
-
* @param {*} [options] Override http request option.
|
|
1911
|
-
* @throws {RequiredError}
|
|
1912
|
-
*/
|
|
1913
|
-
oauth2Profile(options) {
|
|
1914
|
-
var _a, _b, _c;
|
|
1915
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1916
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.oauth2Profile(options);
|
|
1917
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1918
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oauth2Profile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1919
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1920
|
-
});
|
|
1921
|
-
},
|
|
1922
|
-
/**
|
|
1923
|
-
*
|
|
1924
|
-
* @param {string} grantType Value MUST be set to \\\"authorization_code\\\".
|
|
1925
|
-
* @param {string} code The authorization code received from the.
|
|
1926
|
-
* @param {string} redirectUri REQUIRED, if the \\\"redirect_uri\\\" parameter was included in the authorization request.
|
|
1927
|
-
* @param {string} clientId REQUIRED, if the client is not authenticating with the authorization server.
|
|
1928
|
-
* @param {string} clientSecret REQUIRED, if the client is not authenticating with the authorization server.
|
|
1929
|
-
* @param {*} [options] Override http request option.
|
|
1930
|
-
* @throws {RequiredError}
|
|
1931
|
-
*/
|
|
1932
|
-
oauth2Token(grantType, code, redirectUri, clientId, clientSecret, options) {
|
|
1933
|
-
var _a, _b, _c;
|
|
1934
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1935
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.oauth2Token(grantType, code, redirectUri, clientId, clientSecret, options);
|
|
1936
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1937
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oauth2Token']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1938
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1939
|
-
});
|
|
1940
|
-
},
|
|
1941
1778
|
/**
|
|
1942
1779
|
* Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
|
|
1943
1780
|
* @param {string} credentialId
|
|
@@ -2304,6 +2141,38 @@ const DefaultApiFp = function (configuration) {
|
|
|
2304
2141
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2305
2142
|
});
|
|
2306
2143
|
},
|
|
2144
|
+
/**
|
|
2145
|
+
* Gets a specific verified profile (claims) by state
|
|
2146
|
+
* @param {string} walletId Wallet ID
|
|
2147
|
+
* @param {string} state Verifier state
|
|
2148
|
+
* @param {*} [options] Override http request option.
|
|
2149
|
+
* @throws {RequiredError}
|
|
2150
|
+
*/
|
|
2151
|
+
walletVerifiedProfileByState(walletId, state, options) {
|
|
2152
|
+
var _a, _b, _c;
|
|
2153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2154
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletVerifiedProfileByState(walletId, state, options);
|
|
2155
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2156
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletVerifiedProfileByState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2157
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2158
|
+
});
|
|
2159
|
+
},
|
|
2160
|
+
/**
|
|
2161
|
+
* Deletes a specific verified profile (claims) by state
|
|
2162
|
+
* @param {string} walletId Wallet ID
|
|
2163
|
+
* @param {string} state Verifier state
|
|
2164
|
+
* @param {*} [options] Override http request option.
|
|
2165
|
+
* @throws {RequiredError}
|
|
2166
|
+
*/
|
|
2167
|
+
walletVerifiedProfileDeleteByState(walletId, state, options) {
|
|
2168
|
+
var _a, _b, _c;
|
|
2169
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2170
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletVerifiedProfileDeleteByState(walletId, state, options);
|
|
2171
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2172
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletVerifiedProfileDeleteByState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2173
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2174
|
+
});
|
|
2175
|
+
},
|
|
2307
2176
|
};
|
|
2308
2177
|
};
|
|
2309
2178
|
exports.DefaultApiFp = DefaultApiFp;
|
|
@@ -2466,49 +2335,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2466
2335
|
issuerCredentialTypesList(url, options) {
|
|
2467
2336
|
return localVarFp.issuerCredentialTypesList(url, options).then((request) => request(axios, basePath));
|
|
2468
2337
|
},
|
|
2469
|
-
/**
|
|
2470
|
-
*
|
|
2471
|
-
* @param {string} verifierState
|
|
2472
|
-
* @param {string} clientId
|
|
2473
|
-
* @param {string} redirectUri
|
|
2474
|
-
* @param {string} responseType
|
|
2475
|
-
* @param {string} state
|
|
2476
|
-
* @param {string} [nonce]
|
|
2477
|
-
* @param {*} [options] Override http request option.
|
|
2478
|
-
* @throws {RequiredError}
|
|
2479
|
-
*/
|
|
2480
|
-
oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options) {
|
|
2481
|
-
return localVarFp.oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options).then((request) => request(axios, basePath));
|
|
2482
|
-
},
|
|
2483
|
-
/**
|
|
2484
|
-
*
|
|
2485
|
-
* @param {*} [options] Override http request option.
|
|
2486
|
-
* @throws {RequiredError}
|
|
2487
|
-
*/
|
|
2488
|
-
oauth2Keys(options) {
|
|
2489
|
-
return localVarFp.oauth2Keys(options).then((request) => request(axios, basePath));
|
|
2490
|
-
},
|
|
2491
|
-
/**
|
|
2492
|
-
*
|
|
2493
|
-
* @param {*} [options] Override http request option.
|
|
2494
|
-
* @throws {RequiredError}
|
|
2495
|
-
*/
|
|
2496
|
-
oauth2Profile(options) {
|
|
2497
|
-
return localVarFp.oauth2Profile(options).then((request) => request(axios, basePath));
|
|
2498
|
-
},
|
|
2499
|
-
/**
|
|
2500
|
-
*
|
|
2501
|
-
* @param {string} grantType Value MUST be set to \\\"authorization_code\\\".
|
|
2502
|
-
* @param {string} code The authorization code received from the.
|
|
2503
|
-
* @param {string} redirectUri REQUIRED, if the \\\"redirect_uri\\\" parameter was included in the authorization request.
|
|
2504
|
-
* @param {string} clientId REQUIRED, if the client is not authenticating with the authorization server.
|
|
2505
|
-
* @param {string} clientSecret REQUIRED, if the client is not authenticating with the authorization server.
|
|
2506
|
-
* @param {*} [options] Override http request option.
|
|
2507
|
-
* @throws {RequiredError}
|
|
2508
|
-
*/
|
|
2509
|
-
oauth2Token(grantType, code, redirectUri, clientId, clientSecret, options) {
|
|
2510
|
-
return localVarFp.oauth2Token(grantType, code, redirectUri, clientId, clientSecret, options).then((request) => request(axios, basePath));
|
|
2511
|
-
},
|
|
2512
2338
|
/**
|
|
2513
2339
|
* Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
|
|
2514
2340
|
* @param {string} credentialId
|
|
@@ -2737,6 +2563,26 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2737
2563
|
walletPatch(walletId, wallet, options) {
|
|
2738
2564
|
return localVarFp.walletPatch(walletId, wallet, options).then((request) => request(axios, basePath));
|
|
2739
2565
|
},
|
|
2566
|
+
/**
|
|
2567
|
+
* Gets a specific verified profile (claims) by state
|
|
2568
|
+
* @param {string} walletId Wallet ID
|
|
2569
|
+
* @param {string} state Verifier state
|
|
2570
|
+
* @param {*} [options] Override http request option.
|
|
2571
|
+
* @throws {RequiredError}
|
|
2572
|
+
*/
|
|
2573
|
+
walletVerifiedProfileByState(walletId, state, options) {
|
|
2574
|
+
return localVarFp.walletVerifiedProfileByState(walletId, state, options).then((request) => request(axios, basePath));
|
|
2575
|
+
},
|
|
2576
|
+
/**
|
|
2577
|
+
* Deletes a specific verified profile (claims) by state
|
|
2578
|
+
* @param {string} walletId Wallet ID
|
|
2579
|
+
* @param {string} state Verifier state
|
|
2580
|
+
* @param {*} [options] Override http request option.
|
|
2581
|
+
* @throws {RequiredError}
|
|
2582
|
+
*/
|
|
2583
|
+
walletVerifiedProfileDeleteByState(walletId, state, options) {
|
|
2584
|
+
return localVarFp.walletVerifiedProfileDeleteByState(walletId, state, options).then((request) => request(axios, basePath));
|
|
2585
|
+
},
|
|
2740
2586
|
};
|
|
2741
2587
|
};
|
|
2742
2588
|
exports.DefaultApiFactory = DefaultApiFactory;
|
|
@@ -2914,53 +2760,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2914
2760
|
issuerCredentialTypesList(url, options) {
|
|
2915
2761
|
return (0, exports.DefaultApiFp)(this.configuration).issuerCredentialTypesList(url, options).then((request) => request(this.axios, this.basePath));
|
|
2916
2762
|
}
|
|
2917
|
-
/**
|
|
2918
|
-
*
|
|
2919
|
-
* @param {string} verifierState
|
|
2920
|
-
* @param {string} clientId
|
|
2921
|
-
* @param {string} redirectUri
|
|
2922
|
-
* @param {string} responseType
|
|
2923
|
-
* @param {string} state
|
|
2924
|
-
* @param {string} [nonce]
|
|
2925
|
-
* @param {*} [options] Override http request option.
|
|
2926
|
-
* @throws {RequiredError}
|
|
2927
|
-
* @memberof DefaultApi
|
|
2928
|
-
*/
|
|
2929
|
-
oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options) {
|
|
2930
|
-
return (0, exports.DefaultApiFp)(this.configuration).oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options).then((request) => request(this.axios, this.basePath));
|
|
2931
|
-
}
|
|
2932
|
-
/**
|
|
2933
|
-
*
|
|
2934
|
-
* @param {*} [options] Override http request option.
|
|
2935
|
-
* @throws {RequiredError}
|
|
2936
|
-
* @memberof DefaultApi
|
|
2937
|
-
*/
|
|
2938
|
-
oauth2Keys(options) {
|
|
2939
|
-
return (0, exports.DefaultApiFp)(this.configuration).oauth2Keys(options).then((request) => request(this.axios, this.basePath));
|
|
2940
|
-
}
|
|
2941
|
-
/**
|
|
2942
|
-
*
|
|
2943
|
-
* @param {*} [options] Override http request option.
|
|
2944
|
-
* @throws {RequiredError}
|
|
2945
|
-
* @memberof DefaultApi
|
|
2946
|
-
*/
|
|
2947
|
-
oauth2Profile(options) {
|
|
2948
|
-
return (0, exports.DefaultApiFp)(this.configuration).oauth2Profile(options).then((request) => request(this.axios, this.basePath));
|
|
2949
|
-
}
|
|
2950
|
-
/**
|
|
2951
|
-
*
|
|
2952
|
-
* @param {string} grantType Value MUST be set to \\\"authorization_code\\\".
|
|
2953
|
-
* @param {string} code The authorization code received from the.
|
|
2954
|
-
* @param {string} redirectUri REQUIRED, if the \\\"redirect_uri\\\" parameter was included in the authorization request.
|
|
2955
|
-
* @param {string} clientId REQUIRED, if the client is not authenticating with the authorization server.
|
|
2956
|
-
* @param {string} clientSecret REQUIRED, if the client is not authenticating with the authorization server.
|
|
2957
|
-
* @param {*} [options] Override http request option.
|
|
2958
|
-
* @throws {RequiredError}
|
|
2959
|
-
* @memberof DefaultApi
|
|
2960
|
-
*/
|
|
2961
|
-
oauth2Token(grantType, code, redirectUri, clientId, clientSecret, options) {
|
|
2962
|
-
return (0, exports.DefaultApiFp)(this.configuration).oauth2Token(grantType, code, redirectUri, clientId, clientSecret, options).then((request) => request(this.axios, this.basePath));
|
|
2963
|
-
}
|
|
2964
2763
|
/**
|
|
2965
2764
|
* Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
|
|
2966
2765
|
* @param {string} credentialId
|
|
@@ -3212,6 +3011,28 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3212
3011
|
walletPatch(walletId, wallet, options) {
|
|
3213
3012
|
return (0, exports.DefaultApiFp)(this.configuration).walletPatch(walletId, wallet, options).then((request) => request(this.axios, this.basePath));
|
|
3214
3013
|
}
|
|
3014
|
+
/**
|
|
3015
|
+
* Gets a specific verified profile (claims) by state
|
|
3016
|
+
* @param {string} walletId Wallet ID
|
|
3017
|
+
* @param {string} state Verifier state
|
|
3018
|
+
* @param {*} [options] Override http request option.
|
|
3019
|
+
* @throws {RequiredError}
|
|
3020
|
+
* @memberof DefaultApi
|
|
3021
|
+
*/
|
|
3022
|
+
walletVerifiedProfileByState(walletId, state, options) {
|
|
3023
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletVerifiedProfileByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
|
|
3024
|
+
}
|
|
3025
|
+
/**
|
|
3026
|
+
* Deletes a specific verified profile (claims) by state
|
|
3027
|
+
* @param {string} walletId Wallet ID
|
|
3028
|
+
* @param {string} state Verifier state
|
|
3029
|
+
* @param {*} [options] Override http request option.
|
|
3030
|
+
* @throws {RequiredError}
|
|
3031
|
+
* @memberof DefaultApi
|
|
3032
|
+
*/
|
|
3033
|
+
walletVerifiedProfileDeleteByState(walletId, state, options) {
|
|
3034
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletVerifiedProfileDeleteByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
|
|
3035
|
+
}
|
|
3215
3036
|
}
|
|
3216
3037
|
exports.DefaultApi = DefaultApi;
|
|
3217
3038
|
/**
|