@triveria/wallet 0.0.190 → 0.0.191
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 +20 -41
- package/api.js +20 -93
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -902,6 +902,12 @@ export interface InitAuthOffer {
|
|
|
902
902
|
* @memberof InitAuthOffer
|
|
903
903
|
*/
|
|
904
904
|
'offerEndpoint'?: string;
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @type {boolean}
|
|
908
|
+
* @memberof InitAuthOffer
|
|
909
|
+
*/
|
|
910
|
+
'deferred'?: boolean;
|
|
905
911
|
}
|
|
906
912
|
/**
|
|
907
913
|
* Request for pre-authorized issuance process start. Consists of client id or id token request id, credential offer endpoint(most commonly only schema) and id\'s of credentials to be issued to client. Either clientId or idTokenRequestId MUST be present in the request.
|
|
@@ -939,6 +945,12 @@ export interface InitPreAuthOffer {
|
|
|
939
945
|
* @memberof InitPreAuthOffer
|
|
940
946
|
*/
|
|
941
947
|
'offerEndpoint'?: string;
|
|
948
|
+
/**
|
|
949
|
+
*
|
|
950
|
+
* @type {boolean}
|
|
951
|
+
* @memberof InitPreAuthOffer
|
|
952
|
+
*/
|
|
953
|
+
'deferred'?: boolean;
|
|
942
954
|
}
|
|
943
955
|
/**
|
|
944
956
|
*
|
|
@@ -2114,14 +2126,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2114
2126
|
* @throws {RequiredError}
|
|
2115
2127
|
*/
|
|
2116
2128
|
issuerCredentialTypesList: (url: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2117
|
-
/**
|
|
2118
|
-
* Initiates issuing of Verifiable Credentials using the authorized deferred flow, in which the holder will receive credential asynchronously.
|
|
2119
|
-
* @param {string} walletId
|
|
2120
|
-
* @param {InitAuthOffer} [initAuthOffer]
|
|
2121
|
-
* @param {*} [options] Override http request option.
|
|
2122
|
-
* @throws {RequiredError}
|
|
2123
|
-
*/
|
|
2124
|
-
issuerInitiateDeferred: (walletId: string, initAuthOffer?: InitAuthOffer, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2125
2129
|
/**
|
|
2126
2130
|
* Initiates issuing of Verifiable Credentials using authorized flow.
|
|
2127
2131
|
* @param {string} walletId
|
|
@@ -2129,7 +2133,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2129
2133
|
* @param {*} [options] Override http request option.
|
|
2130
2134
|
* @throws {RequiredError}
|
|
2131
2135
|
*/
|
|
2132
|
-
|
|
2136
|
+
issuerInitiateAuthOffer: (walletId: string, initAuthOffer?: InitAuthOffer, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2133
2137
|
/**
|
|
2134
2138
|
* Initiates issuing of Verifiable Credentials using pre-authorized flow.
|
|
2135
2139
|
* @param {string} walletId
|
|
@@ -2137,7 +2141,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2137
2141
|
* @param {*} [options] Override http request option.
|
|
2138
2142
|
* @throws {RequiredError}
|
|
2139
2143
|
*/
|
|
2140
|
-
|
|
2144
|
+
issuerInitiatePreauthOffer: (walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2141
2145
|
/**
|
|
2142
2146
|
* Accredits a legal entity as RTAO or TAO.
|
|
2143
2147
|
* @param {string} walletId
|
|
@@ -2448,14 +2452,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2448
2452
|
* @throws {RequiredError}
|
|
2449
2453
|
*/
|
|
2450
2454
|
issuerCredentialTypesList(url: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CredentialType>>>;
|
|
2451
|
-
/**
|
|
2452
|
-
* Initiates issuing of Verifiable Credentials using the authorized deferred flow, in which the holder will receive credential asynchronously.
|
|
2453
|
-
* @param {string} walletId
|
|
2454
|
-
* @param {InitAuthOffer} [initAuthOffer]
|
|
2455
|
-
* @param {*} [options] Override http request option.
|
|
2456
|
-
* @throws {RequiredError}
|
|
2457
|
-
*/
|
|
2458
|
-
issuerInitiateDeferred(walletId: string, initAuthOffer?: InitAuthOffer, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthOffer>>;
|
|
2459
2455
|
/**
|
|
2460
2456
|
* Initiates issuing of Verifiable Credentials using authorized flow.
|
|
2461
2457
|
* @param {string} walletId
|
|
@@ -2463,7 +2459,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2463
2459
|
* @param {*} [options] Override http request option.
|
|
2464
2460
|
* @throws {RequiredError}
|
|
2465
2461
|
*/
|
|
2466
|
-
|
|
2462
|
+
issuerInitiateAuthOffer(walletId: string, initAuthOffer?: InitAuthOffer, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthOffer>>;
|
|
2467
2463
|
/**
|
|
2468
2464
|
* Initiates issuing of Verifiable Credentials using pre-authorized flow.
|
|
2469
2465
|
* @param {string} walletId
|
|
@@ -2471,7 +2467,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2471
2467
|
* @param {*} [options] Override http request option.
|
|
2472
2468
|
* @throws {RequiredError}
|
|
2473
2469
|
*/
|
|
2474
|
-
|
|
2470
|
+
issuerInitiatePreauthOffer(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreAuthOffer>>;
|
|
2475
2471
|
/**
|
|
2476
2472
|
* Accredits a legal entity as RTAO or TAO.
|
|
2477
2473
|
* @param {string} walletId
|
|
@@ -2782,14 +2778,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2782
2778
|
* @throws {RequiredError}
|
|
2783
2779
|
*/
|
|
2784
2780
|
issuerCredentialTypesList(url: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<CredentialType>>;
|
|
2785
|
-
/**
|
|
2786
|
-
* Initiates issuing of Verifiable Credentials using the authorized deferred flow, in which the holder will receive credential asynchronously.
|
|
2787
|
-
* @param {string} walletId
|
|
2788
|
-
* @param {InitAuthOffer} [initAuthOffer]
|
|
2789
|
-
* @param {*} [options] Override http request option.
|
|
2790
|
-
* @throws {RequiredError}
|
|
2791
|
-
*/
|
|
2792
|
-
issuerInitiateDeferred(walletId: string, initAuthOffer?: InitAuthOffer, options?: RawAxiosRequestConfig): AxiosPromise<AuthOffer>;
|
|
2793
2781
|
/**
|
|
2794
2782
|
* Initiates issuing of Verifiable Credentials using authorized flow.
|
|
2795
2783
|
* @param {string} walletId
|
|
@@ -2797,7 +2785,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2797
2785
|
* @param {*} [options] Override http request option.
|
|
2798
2786
|
* @throws {RequiredError}
|
|
2799
2787
|
*/
|
|
2800
|
-
|
|
2788
|
+
issuerInitiateAuthOffer(walletId: string, initAuthOffer?: InitAuthOffer, options?: RawAxiosRequestConfig): AxiosPromise<AuthOffer>;
|
|
2801
2789
|
/**
|
|
2802
2790
|
* Initiates issuing of Verifiable Credentials using pre-authorized flow.
|
|
2803
2791
|
* @param {string} walletId
|
|
@@ -2805,7 +2793,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2805
2793
|
* @param {*} [options] Override http request option.
|
|
2806
2794
|
* @throws {RequiredError}
|
|
2807
2795
|
*/
|
|
2808
|
-
|
|
2796
|
+
issuerInitiatePreauthOffer(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): AxiosPromise<PreAuthOffer>;
|
|
2809
2797
|
/**
|
|
2810
2798
|
* Accredits a legal entity as RTAO or TAO.
|
|
2811
2799
|
* @param {string} walletId
|
|
@@ -3138,15 +3126,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3138
3126
|
* @memberof DefaultApi
|
|
3139
3127
|
*/
|
|
3140
3128
|
issuerCredentialTypesList(url: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialType[], any>>;
|
|
3141
|
-
/**
|
|
3142
|
-
* Initiates issuing of Verifiable Credentials using the authorized deferred flow, in which the holder will receive credential asynchronously.
|
|
3143
|
-
* @param {string} walletId
|
|
3144
|
-
* @param {InitAuthOffer} [initAuthOffer]
|
|
3145
|
-
* @param {*} [options] Override http request option.
|
|
3146
|
-
* @throws {RequiredError}
|
|
3147
|
-
* @memberof DefaultApi
|
|
3148
|
-
*/
|
|
3149
|
-
issuerInitiateDeferred(walletId: string, initAuthOffer?: InitAuthOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthOffer, any>>;
|
|
3150
3129
|
/**
|
|
3151
3130
|
* Initiates issuing of Verifiable Credentials using authorized flow.
|
|
3152
3131
|
* @param {string} walletId
|
|
@@ -3155,7 +3134,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3155
3134
|
* @throws {RequiredError}
|
|
3156
3135
|
* @memberof DefaultApi
|
|
3157
3136
|
*/
|
|
3158
|
-
|
|
3137
|
+
issuerInitiateAuthOffer(walletId: string, initAuthOffer?: InitAuthOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthOffer, any>>;
|
|
3159
3138
|
/**
|
|
3160
3139
|
* Initiates issuing of Verifiable Credentials using pre-authorized flow.
|
|
3161
3140
|
* @param {string} walletId
|
|
@@ -3164,7 +3143,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3164
3143
|
* @throws {RequiredError}
|
|
3165
3144
|
* @memberof DefaultApi
|
|
3166
3145
|
*/
|
|
3167
|
-
|
|
3146
|
+
issuerInitiatePreauthOffer(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreAuthOffer, any>>;
|
|
3168
3147
|
/**
|
|
3169
3148
|
* Accredits a legal entity as RTAO or TAO.
|
|
3170
3149
|
* @param {string} walletId
|
package/api.js
CHANGED
|
@@ -872,42 +872,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
872
872
|
options: localVarRequestOptions,
|
|
873
873
|
};
|
|
874
874
|
}),
|
|
875
|
-
/**
|
|
876
|
-
* Initiates issuing of Verifiable Credentials using the authorized deferred flow, in which the holder will receive credential asynchronously.
|
|
877
|
-
* @param {string} walletId
|
|
878
|
-
* @param {InitAuthOffer} [initAuthOffer]
|
|
879
|
-
* @param {*} [options] Override http request option.
|
|
880
|
-
* @throws {RequiredError}
|
|
881
|
-
*/
|
|
882
|
-
issuerInitiateDeferred: (walletId, initAuthOffer, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
883
|
-
// verify required parameter 'walletId' is not null or undefined
|
|
884
|
-
(0, common_1.assertParamExists)('issuerInitiateDeferred', 'walletId', walletId);
|
|
885
|
-
const localVarPath = `/issuer/initiate/deferred`;
|
|
886
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
887
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
888
|
-
let baseOptions;
|
|
889
|
-
if (configuration) {
|
|
890
|
-
baseOptions = configuration.baseOptions;
|
|
891
|
-
}
|
|
892
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
893
|
-
const localVarHeaderParameter = {};
|
|
894
|
-
const localVarQueryParameter = {};
|
|
895
|
-
// authentication accessToken required
|
|
896
|
-
// http bearer authentication required
|
|
897
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
898
|
-
if (walletId != null) {
|
|
899
|
-
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
900
|
-
}
|
|
901
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
902
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
903
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
904
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
905
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(initAuthOffer, localVarRequestOptions, configuration);
|
|
906
|
-
return {
|
|
907
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
908
|
-
options: localVarRequestOptions,
|
|
909
|
-
};
|
|
910
|
-
}),
|
|
911
875
|
/**
|
|
912
876
|
* Initiates issuing of Verifiable Credentials using authorized flow.
|
|
913
877
|
* @param {string} walletId
|
|
@@ -915,10 +879,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
915
879
|
* @param {*} [options] Override http request option.
|
|
916
880
|
* @throws {RequiredError}
|
|
917
881
|
*/
|
|
918
|
-
|
|
882
|
+
issuerInitiateAuthOffer: (walletId, initAuthOffer, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
919
883
|
// verify required parameter 'walletId' is not null or undefined
|
|
920
|
-
(0, common_1.assertParamExists)('
|
|
921
|
-
const localVarPath = `/issuer/
|
|
884
|
+
(0, common_1.assertParamExists)('issuerInitiateAuthOffer', 'walletId', walletId);
|
|
885
|
+
const localVarPath = `/issuer/offer/auth`;
|
|
922
886
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
923
887
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
924
888
|
let baseOptions;
|
|
@@ -951,10 +915,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
951
915
|
* @param {*} [options] Override http request option.
|
|
952
916
|
* @throws {RequiredError}
|
|
953
917
|
*/
|
|
954
|
-
|
|
918
|
+
issuerInitiatePreauthOffer: (walletId, initPreAuthOffer, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
955
919
|
// verify required parameter 'walletId' is not null or undefined
|
|
956
|
-
(0, common_1.assertParamExists)('
|
|
957
|
-
const localVarPath = `/issuer/
|
|
920
|
+
(0, common_1.assertParamExists)('issuerInitiatePreauthOffer', 'walletId', walletId);
|
|
921
|
+
const localVarPath = `/issuer/offer/preauth`;
|
|
958
922
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
959
923
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
960
924
|
let baseOptions;
|
|
@@ -1915,22 +1879,6 @@ const DefaultApiFp = function (configuration) {
|
|
|
1915
1879
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1916
1880
|
});
|
|
1917
1881
|
},
|
|
1918
|
-
/**
|
|
1919
|
-
* Initiates issuing of Verifiable Credentials using the authorized deferred flow, in which the holder will receive credential asynchronously.
|
|
1920
|
-
* @param {string} walletId
|
|
1921
|
-
* @param {InitAuthOffer} [initAuthOffer]
|
|
1922
|
-
* @param {*} [options] Override http request option.
|
|
1923
|
-
* @throws {RequiredError}
|
|
1924
|
-
*/
|
|
1925
|
-
issuerInitiateDeferred(walletId, initAuthOffer, options) {
|
|
1926
|
-
var _a, _b, _c;
|
|
1927
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1928
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.issuerInitiateDeferred(walletId, initAuthOffer, options);
|
|
1929
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1930
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.issuerInitiateDeferred']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1931
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1932
|
-
});
|
|
1933
|
-
},
|
|
1934
1882
|
/**
|
|
1935
1883
|
* Initiates issuing of Verifiable Credentials using authorized flow.
|
|
1936
1884
|
* @param {string} walletId
|
|
@@ -1938,12 +1886,12 @@ const DefaultApiFp = function (configuration) {
|
|
|
1938
1886
|
* @param {*} [options] Override http request option.
|
|
1939
1887
|
* @throws {RequiredError}
|
|
1940
1888
|
*/
|
|
1941
|
-
|
|
1889
|
+
issuerInitiateAuthOffer(walletId, initAuthOffer, options) {
|
|
1942
1890
|
var _a, _b, _c;
|
|
1943
1891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1944
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1892
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.issuerInitiateAuthOffer(walletId, initAuthOffer, options);
|
|
1945
1893
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1946
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.
|
|
1894
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.issuerInitiateAuthOffer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1947
1895
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1948
1896
|
});
|
|
1949
1897
|
},
|
|
@@ -1954,12 +1902,12 @@ const DefaultApiFp = function (configuration) {
|
|
|
1954
1902
|
* @param {*} [options] Override http request option.
|
|
1955
1903
|
* @throws {RequiredError}
|
|
1956
1904
|
*/
|
|
1957
|
-
|
|
1905
|
+
issuerInitiatePreauthOffer(walletId, initPreAuthOffer, options) {
|
|
1958
1906
|
var _a, _b, _c;
|
|
1959
1907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1960
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1908
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.issuerInitiatePreauthOffer(walletId, initPreAuthOffer, options);
|
|
1961
1909
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1962
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.
|
|
1910
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.issuerInitiatePreauthOffer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1963
1911
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1964
1912
|
});
|
|
1965
1913
|
},
|
|
@@ -2461,16 +2409,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2461
2409
|
issuerCredentialTypesList(url, options) {
|
|
2462
2410
|
return localVarFp.issuerCredentialTypesList(url, options).then((request) => request(axios, basePath));
|
|
2463
2411
|
},
|
|
2464
|
-
/**
|
|
2465
|
-
* Initiates issuing of Verifiable Credentials using the authorized deferred flow, in which the holder will receive credential asynchronously.
|
|
2466
|
-
* @param {string} walletId
|
|
2467
|
-
* @param {InitAuthOffer} [initAuthOffer]
|
|
2468
|
-
* @param {*} [options] Override http request option.
|
|
2469
|
-
* @throws {RequiredError}
|
|
2470
|
-
*/
|
|
2471
|
-
issuerInitiateDeferred(walletId, initAuthOffer, options) {
|
|
2472
|
-
return localVarFp.issuerInitiateDeferred(walletId, initAuthOffer, options).then((request) => request(axios, basePath));
|
|
2473
|
-
},
|
|
2474
2412
|
/**
|
|
2475
2413
|
* Initiates issuing of Verifiable Credentials using authorized flow.
|
|
2476
2414
|
* @param {string} walletId
|
|
@@ -2478,8 +2416,8 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2478
2416
|
* @param {*} [options] Override http request option.
|
|
2479
2417
|
* @throws {RequiredError}
|
|
2480
2418
|
*/
|
|
2481
|
-
|
|
2482
|
-
return localVarFp.
|
|
2419
|
+
issuerInitiateAuthOffer(walletId, initAuthOffer, options) {
|
|
2420
|
+
return localVarFp.issuerInitiateAuthOffer(walletId, initAuthOffer, options).then((request) => request(axios, basePath));
|
|
2483
2421
|
},
|
|
2484
2422
|
/**
|
|
2485
2423
|
* Initiates issuing of Verifiable Credentials using pre-authorized flow.
|
|
@@ -2488,8 +2426,8 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2488
2426
|
* @param {*} [options] Override http request option.
|
|
2489
2427
|
* @throws {RequiredError}
|
|
2490
2428
|
*/
|
|
2491
|
-
|
|
2492
|
-
return localVarFp.
|
|
2429
|
+
issuerInitiatePreauthOffer(walletId, initPreAuthOffer, options) {
|
|
2430
|
+
return localVarFp.issuerInitiatePreauthOffer(walletId, initPreAuthOffer, options).then((request) => request(axios, basePath));
|
|
2493
2431
|
},
|
|
2494
2432
|
/**
|
|
2495
2433
|
* Accredits a legal entity as RTAO or TAO.
|
|
@@ -2901,17 +2839,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2901
2839
|
issuerCredentialTypesList(url, options) {
|
|
2902
2840
|
return (0, exports.DefaultApiFp)(this.configuration).issuerCredentialTypesList(url, options).then((request) => request(this.axios, this.basePath));
|
|
2903
2841
|
}
|
|
2904
|
-
/**
|
|
2905
|
-
* Initiates issuing of Verifiable Credentials using the authorized deferred flow, in which the holder will receive credential asynchronously.
|
|
2906
|
-
* @param {string} walletId
|
|
2907
|
-
* @param {InitAuthOffer} [initAuthOffer]
|
|
2908
|
-
* @param {*} [options] Override http request option.
|
|
2909
|
-
* @throws {RequiredError}
|
|
2910
|
-
* @memberof DefaultApi
|
|
2911
|
-
*/
|
|
2912
|
-
issuerInitiateDeferred(walletId, initAuthOffer, options) {
|
|
2913
|
-
return (0, exports.DefaultApiFp)(this.configuration).issuerInitiateDeferred(walletId, initAuthOffer, options).then((request) => request(this.axios, this.basePath));
|
|
2914
|
-
}
|
|
2915
2842
|
/**
|
|
2916
2843
|
* Initiates issuing of Verifiable Credentials using authorized flow.
|
|
2917
2844
|
* @param {string} walletId
|
|
@@ -2920,8 +2847,8 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2920
2847
|
* @throws {RequiredError}
|
|
2921
2848
|
* @memberof DefaultApi
|
|
2922
2849
|
*/
|
|
2923
|
-
|
|
2924
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
2850
|
+
issuerInitiateAuthOffer(walletId, initAuthOffer, options) {
|
|
2851
|
+
return (0, exports.DefaultApiFp)(this.configuration).issuerInitiateAuthOffer(walletId, initAuthOffer, options).then((request) => request(this.axios, this.basePath));
|
|
2925
2852
|
}
|
|
2926
2853
|
/**
|
|
2927
2854
|
* Initiates issuing of Verifiable Credentials using pre-authorized flow.
|
|
@@ -2931,8 +2858,8 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2931
2858
|
* @throws {RequiredError}
|
|
2932
2859
|
* @memberof DefaultApi
|
|
2933
2860
|
*/
|
|
2934
|
-
|
|
2935
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
2861
|
+
issuerInitiatePreauthOffer(walletId, initPreAuthOffer, options) {
|
|
2862
|
+
return (0, exports.DefaultApiFp)(this.configuration).issuerInitiatePreauthOffer(walletId, initPreAuthOffer, options).then((request) => request(this.axios, this.basePath));
|
|
2936
2863
|
}
|
|
2937
2864
|
/**
|
|
2938
2865
|
* Accredits a legal entity as RTAO or TAO.
|