@triveria/wallet 0.0.129 → 0.0.130
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 +26 -20
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -834,51 +834,57 @@ export interface ModelError {
|
|
|
834
834
|
/**
|
|
835
835
|
*
|
|
836
836
|
* @export
|
|
837
|
-
* @interface
|
|
837
|
+
* @interface Oauth2AccessToken
|
|
838
838
|
*/
|
|
839
|
-
export interface
|
|
839
|
+
export interface Oauth2AccessToken {
|
|
840
840
|
/**
|
|
841
841
|
*
|
|
842
842
|
* @type {string}
|
|
843
|
-
* @memberof
|
|
843
|
+
* @memberof Oauth2AccessToken
|
|
844
844
|
*/
|
|
845
845
|
'access_token': string;
|
|
846
846
|
/**
|
|
847
847
|
*
|
|
848
848
|
* @type {string}
|
|
849
|
-
* @memberof
|
|
849
|
+
* @memberof Oauth2AccessToken
|
|
850
850
|
*/
|
|
851
851
|
'token_type': string;
|
|
852
852
|
/**
|
|
853
853
|
*
|
|
854
854
|
* @type {string}
|
|
855
|
-
* @memberof
|
|
855
|
+
* @memberof Oauth2AccessToken
|
|
856
856
|
*/
|
|
857
857
|
'expires_in': string;
|
|
858
858
|
}
|
|
859
859
|
/**
|
|
860
860
|
*
|
|
861
861
|
* @export
|
|
862
|
-
* @interface
|
|
862
|
+
* @interface Oauth2Profile
|
|
863
863
|
*/
|
|
864
|
-
export interface
|
|
864
|
+
export interface Oauth2Profile {
|
|
865
865
|
/**
|
|
866
866
|
*
|
|
867
867
|
* @type {string}
|
|
868
|
-
* @memberof
|
|
868
|
+
* @memberof Oauth2Profile
|
|
869
869
|
*/
|
|
870
870
|
'user_id': string;
|
|
871
|
+
/**
|
|
872
|
+
*
|
|
873
|
+
* @type {string}
|
|
874
|
+
* @memberof Oauth2Profile
|
|
875
|
+
*/
|
|
876
|
+
'email': string;
|
|
871
877
|
}
|
|
872
878
|
/**
|
|
873
879
|
*
|
|
874
880
|
* @export
|
|
875
|
-
* @interface
|
|
881
|
+
* @interface Oauth2RedirectUri
|
|
876
882
|
*/
|
|
877
|
-
export interface
|
|
883
|
+
export interface Oauth2RedirectUri {
|
|
878
884
|
/**
|
|
879
885
|
*
|
|
880
886
|
* @type {string}
|
|
881
|
-
* @memberof
|
|
887
|
+
* @memberof Oauth2RedirectUri
|
|
882
888
|
*/
|
|
883
889
|
'redirect_uri': string;
|
|
884
890
|
}
|
|
@@ -1903,13 +1909,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1903
1909
|
* @param {*} [options] Override http request option.
|
|
1904
1910
|
* @throws {RequiredError}
|
|
1905
1911
|
*/
|
|
1906
|
-
oauth2Auth(walletId: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1912
|
+
oauth2Auth(walletId: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Oauth2RedirectUri>>;
|
|
1907
1913
|
/**
|
|
1908
1914
|
*
|
|
1909
1915
|
* @param {*} [options] Override http request option.
|
|
1910
1916
|
* @throws {RequiredError}
|
|
1911
1917
|
*/
|
|
1912
|
-
oauth2Profile(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1918
|
+
oauth2Profile(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Oauth2Profile>>;
|
|
1913
1919
|
/**
|
|
1914
1920
|
*
|
|
1915
1921
|
* @param {string} grantType Value MUST be set to \\\"authorization_code\\\".
|
|
@@ -1920,7 +1926,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1920
1926
|
* @param {*} [options] Override http request option.
|
|
1921
1927
|
* @throws {RequiredError}
|
|
1922
1928
|
*/
|
|
1923
|
-
oauth2Token(grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1929
|
+
oauth2Token(grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Oauth2AccessToken>>;
|
|
1924
1930
|
/**
|
|
1925
1931
|
* Issue verifiable credential using OIDC4VCI offer acceptance
|
|
1926
1932
|
* @param {string} walletId
|
|
@@ -2214,13 +2220,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2214
2220
|
* @param {*} [options] Override http request option.
|
|
2215
2221
|
* @throws {RequiredError}
|
|
2216
2222
|
*/
|
|
2217
|
-
oauth2Auth(walletId: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: any): AxiosPromise<
|
|
2223
|
+
oauth2Auth(walletId: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: any): AxiosPromise<Oauth2RedirectUri>;
|
|
2218
2224
|
/**
|
|
2219
2225
|
*
|
|
2220
2226
|
* @param {*} [options] Override http request option.
|
|
2221
2227
|
* @throws {RequiredError}
|
|
2222
2228
|
*/
|
|
2223
|
-
oauth2Profile(options?: any): AxiosPromise<
|
|
2229
|
+
oauth2Profile(options?: any): AxiosPromise<Oauth2Profile>;
|
|
2224
2230
|
/**
|
|
2225
2231
|
*
|
|
2226
2232
|
* @param {string} grantType Value MUST be set to \\\"authorization_code\\\".
|
|
@@ -2231,7 +2237,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2231
2237
|
* @param {*} [options] Override http request option.
|
|
2232
2238
|
* @throws {RequiredError}
|
|
2233
2239
|
*/
|
|
2234
|
-
oauth2Token(grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: any): AxiosPromise<
|
|
2240
|
+
oauth2Token(grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: any): AxiosPromise<Oauth2AccessToken>;
|
|
2235
2241
|
/**
|
|
2236
2242
|
* Issue verifiable credential using OIDC4VCI offer acceptance
|
|
2237
2243
|
* @param {string} walletId
|
|
@@ -2544,14 +2550,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2544
2550
|
* @throws {RequiredError}
|
|
2545
2551
|
* @memberof DefaultApi
|
|
2546
2552
|
*/
|
|
2547
|
-
oauth2Auth(walletId: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2553
|
+
oauth2Auth(walletId: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Oauth2RedirectUri, any>>;
|
|
2548
2554
|
/**
|
|
2549
2555
|
*
|
|
2550
2556
|
* @param {*} [options] Override http request option.
|
|
2551
2557
|
* @throws {RequiredError}
|
|
2552
2558
|
* @memberof DefaultApi
|
|
2553
2559
|
*/
|
|
2554
|
-
oauth2Profile(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2560
|
+
oauth2Profile(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Oauth2Profile, any>>;
|
|
2555
2561
|
/**
|
|
2556
2562
|
*
|
|
2557
2563
|
* @param {string} grantType Value MUST be set to \\\"authorization_code\\\".
|
|
@@ -2563,7 +2569,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2563
2569
|
* @throws {RequiredError}
|
|
2564
2570
|
* @memberof DefaultApi
|
|
2565
2571
|
*/
|
|
2566
|
-
oauth2Token(grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2572
|
+
oauth2Token(grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Oauth2AccessToken, any>>;
|
|
2567
2573
|
/**
|
|
2568
2574
|
* Issue verifiable credential using OIDC4VCI offer acceptance
|
|
2569
2575
|
* @param {string} walletId
|