@finverse/sdk-typescript 0.0.39 → 0.0.40
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/dist/api.d.ts +25 -47
- package/dist/api.js +31 -74
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -3796,16 +3796,11 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
|
|
|
3796
3796
|
getBalanceHistory: (accountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3797
3797
|
/**
|
|
3798
3798
|
* Download composite statement
|
|
3799
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
3799
3800
|
* @param {*} [options] Override http request option.
|
|
3800
3801
|
* @throws {RequiredError}
|
|
3801
3802
|
*/
|
|
3802
|
-
getCompositeStatement: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3803
|
-
/**
|
|
3804
|
-
* Get composite statement link for download
|
|
3805
|
-
* @param {*} [options] Override http request option.
|
|
3806
|
-
* @throws {RequiredError}
|
|
3807
|
-
*/
|
|
3808
|
-
getCompositeStatementLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3803
|
+
getCompositeStatement: (redirect?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3809
3804
|
/**
|
|
3810
3805
|
* \\[BETA] Get a list of identity data for a given login identity
|
|
3811
3806
|
* @param {*} [options] Override http request option.
|
|
@@ -3827,12 +3822,13 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
|
|
|
3827
3822
|
/**
|
|
3828
3823
|
* Download statement
|
|
3829
3824
|
* @param {string} statementId The statement id
|
|
3825
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
3830
3826
|
* @param {*} [options] Override http request option.
|
|
3831
3827
|
* @throws {RequiredError}
|
|
3832
3828
|
*/
|
|
3833
|
-
getStatement: (statementId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3829
|
+
getStatement: (statementId: string, redirect?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3834
3830
|
/**
|
|
3835
|
-
* Get statement link for download
|
|
3831
|
+
* (Deprecated) Get statement link for download
|
|
3836
3832
|
* @param {string} statementId The statement id
|
|
3837
3833
|
* @param {*} [options] Override http request option.
|
|
3838
3834
|
* @throws {RequiredError}
|
|
@@ -3915,16 +3911,11 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
|
|
|
3915
3911
|
getBalanceHistory(accountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBalanceHistoryResponse>>;
|
|
3916
3912
|
/**
|
|
3917
3913
|
* Download composite statement
|
|
3914
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
3918
3915
|
* @param {*} [options] Override http request option.
|
|
3919
3916
|
* @throws {RequiredError}
|
|
3920
3917
|
*/
|
|
3921
|
-
getCompositeStatement(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3922
|
-
/**
|
|
3923
|
-
* Get composite statement link for download
|
|
3924
|
-
* @param {*} [options] Override http request option.
|
|
3925
|
-
* @throws {RequiredError}
|
|
3926
|
-
*/
|
|
3927
|
-
getCompositeStatementLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompositeStatementLink>>;
|
|
3918
|
+
getCompositeStatement(redirect?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompositeStatementLink>>;
|
|
3928
3919
|
/**
|
|
3929
3920
|
* \\[BETA] Get a list of identity data for a given login identity
|
|
3930
3921
|
* @param {*} [options] Override http request option.
|
|
@@ -3946,12 +3937,13 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
|
|
|
3946
3937
|
/**
|
|
3947
3938
|
* Download statement
|
|
3948
3939
|
* @param {string} statementId The statement id
|
|
3940
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
3949
3941
|
* @param {*} [options] Override http request option.
|
|
3950
3942
|
* @throws {RequiredError}
|
|
3951
3943
|
*/
|
|
3952
|
-
getStatement(statementId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3944
|
+
getStatement(statementId: string, redirect?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStatementLinkResponse>>;
|
|
3953
3945
|
/**
|
|
3954
|
-
* Get statement link for download
|
|
3946
|
+
* (Deprecated) Get statement link for download
|
|
3955
3947
|
* @param {string} statementId The statement id
|
|
3956
3948
|
* @param {*} [options] Override http request option.
|
|
3957
3949
|
* @throws {RequiredError}
|
|
@@ -4034,16 +4026,11 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
|
|
|
4034
4026
|
getBalanceHistory(accountId: string, options?: any): AxiosPromise<GetBalanceHistoryResponse>;
|
|
4035
4027
|
/**
|
|
4036
4028
|
* Download composite statement
|
|
4029
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
4037
4030
|
* @param {*} [options] Override http request option.
|
|
4038
4031
|
* @throws {RequiredError}
|
|
4039
4032
|
*/
|
|
4040
|
-
getCompositeStatement(options?: any): AxiosPromise<
|
|
4041
|
-
/**
|
|
4042
|
-
* Get composite statement link for download
|
|
4043
|
-
* @param {*} [options] Override http request option.
|
|
4044
|
-
* @throws {RequiredError}
|
|
4045
|
-
*/
|
|
4046
|
-
getCompositeStatementLink(options?: any): AxiosPromise<CompositeStatementLink>;
|
|
4033
|
+
getCompositeStatement(redirect?: boolean, options?: any): AxiosPromise<CompositeStatementLink>;
|
|
4047
4034
|
/**
|
|
4048
4035
|
* \\[BETA] Get a list of identity data for a given login identity
|
|
4049
4036
|
* @param {*} [options] Override http request option.
|
|
@@ -4065,12 +4052,13 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
|
|
|
4065
4052
|
/**
|
|
4066
4053
|
* Download statement
|
|
4067
4054
|
* @param {string} statementId The statement id
|
|
4055
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
4068
4056
|
* @param {*} [options] Override http request option.
|
|
4069
4057
|
* @throws {RequiredError}
|
|
4070
4058
|
*/
|
|
4071
|
-
getStatement(statementId: string, options?: any): AxiosPromise<
|
|
4059
|
+
getStatement(statementId: string, redirect?: boolean, options?: any): AxiosPromise<GetStatementLinkResponse>;
|
|
4072
4060
|
/**
|
|
4073
|
-
* Get statement link for download
|
|
4061
|
+
* (Deprecated) Get statement link for download
|
|
4074
4062
|
* @param {string} statementId The statement id
|
|
4075
4063
|
* @param {*} [options] Override http request option.
|
|
4076
4064
|
* @throws {RequiredError}
|
|
@@ -4159,18 +4147,12 @@ export interface LoginIdentityApiInterface {
|
|
|
4159
4147
|
getBalanceHistory(accountId: string, options?: AxiosRequestConfig): AxiosPromise<GetBalanceHistoryResponse>;
|
|
4160
4148
|
/**
|
|
4161
4149
|
* Download composite statement
|
|
4150
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
4162
4151
|
* @param {*} [options] Override http request option.
|
|
4163
4152
|
* @throws {RequiredError}
|
|
4164
4153
|
* @memberof LoginIdentityApiInterface
|
|
4165
4154
|
*/
|
|
4166
|
-
getCompositeStatement(options?: AxiosRequestConfig): AxiosPromise<
|
|
4167
|
-
/**
|
|
4168
|
-
* Get composite statement link for download
|
|
4169
|
-
* @param {*} [options] Override http request option.
|
|
4170
|
-
* @throws {RequiredError}
|
|
4171
|
-
* @memberof LoginIdentityApiInterface
|
|
4172
|
-
*/
|
|
4173
|
-
getCompositeStatementLink(options?: AxiosRequestConfig): AxiosPromise<CompositeStatementLink>;
|
|
4155
|
+
getCompositeStatement(redirect?: boolean, options?: AxiosRequestConfig): AxiosPromise<CompositeStatementLink>;
|
|
4174
4156
|
/**
|
|
4175
4157
|
* \\[BETA] Get a list of identity data for a given login identity
|
|
4176
4158
|
* @param {*} [options] Override http request option.
|
|
@@ -4195,13 +4177,14 @@ export interface LoginIdentityApiInterface {
|
|
|
4195
4177
|
/**
|
|
4196
4178
|
* Download statement
|
|
4197
4179
|
* @param {string} statementId The statement id
|
|
4180
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
4198
4181
|
* @param {*} [options] Override http request option.
|
|
4199
4182
|
* @throws {RequiredError}
|
|
4200
4183
|
* @memberof LoginIdentityApiInterface
|
|
4201
4184
|
*/
|
|
4202
|
-
getStatement(statementId: string, options?: AxiosRequestConfig): AxiosPromise<
|
|
4185
|
+
getStatement(statementId: string, redirect?: boolean, options?: AxiosRequestConfig): AxiosPromise<GetStatementLinkResponse>;
|
|
4203
4186
|
/**
|
|
4204
|
-
* Get statement link for download
|
|
4187
|
+
* (Deprecated) Get statement link for download
|
|
4205
4188
|
* @param {string} statementId The statement id
|
|
4206
4189
|
* @param {*} [options] Override http request option.
|
|
4207
4190
|
* @throws {RequiredError}
|
|
@@ -4297,18 +4280,12 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
|
|
|
4297
4280
|
getBalanceHistory(accountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBalanceHistoryResponse>>;
|
|
4298
4281
|
/**
|
|
4299
4282
|
* Download composite statement
|
|
4283
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
4300
4284
|
* @param {*} [options] Override http request option.
|
|
4301
4285
|
* @throws {RequiredError}
|
|
4302
4286
|
* @memberof LoginIdentityApi
|
|
4303
4287
|
*/
|
|
4304
|
-
getCompositeStatement(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4305
|
-
/**
|
|
4306
|
-
* Get composite statement link for download
|
|
4307
|
-
* @param {*} [options] Override http request option.
|
|
4308
|
-
* @throws {RequiredError}
|
|
4309
|
-
* @memberof LoginIdentityApi
|
|
4310
|
-
*/
|
|
4311
|
-
getCompositeStatementLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompositeStatementLink>>;
|
|
4288
|
+
getCompositeStatement(redirect?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompositeStatementLink>>;
|
|
4312
4289
|
/**
|
|
4313
4290
|
* \\[BETA] Get a list of identity data for a given login identity
|
|
4314
4291
|
* @param {*} [options] Override http request option.
|
|
@@ -4333,13 +4310,14 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
|
|
|
4333
4310
|
/**
|
|
4334
4311
|
* Download statement
|
|
4335
4312
|
* @param {string} statementId The statement id
|
|
4313
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
4336
4314
|
* @param {*} [options] Override http request option.
|
|
4337
4315
|
* @throws {RequiredError}
|
|
4338
4316
|
* @memberof LoginIdentityApi
|
|
4339
4317
|
*/
|
|
4340
|
-
getStatement(statementId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4318
|
+
getStatement(statementId: string, redirect?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStatementLinkResponse>>;
|
|
4341
4319
|
/**
|
|
4342
|
-
* Get statement link for download
|
|
4320
|
+
* (Deprecated) Get statement link for download
|
|
4343
4321
|
* @param {string} statementId The statement id
|
|
4344
4322
|
* @param {*} [options] Override http request option.
|
|
4345
4323
|
* @throws {RequiredError}
|
package/dist/api.js
CHANGED
|
@@ -1476,10 +1476,11 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1476
1476
|
}),
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Download composite statement
|
|
1479
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
1479
1480
|
* @param {*} [options] Override http request option.
|
|
1480
1481
|
* @throws {RequiredError}
|
|
1481
1482
|
*/
|
|
1482
|
-
getCompositeStatement: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1483
|
+
getCompositeStatement: (redirect, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1483
1484
|
const localVarPath = `/composite_statement`;
|
|
1484
1485
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1485
1486
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1493,33 +1494,9 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1493
1494
|
// authentication Oauth2 required
|
|
1494
1495
|
// oauth required
|
|
1495
1496
|
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1499
|
-
return {
|
|
1500
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1501
|
-
options: localVarRequestOptions,
|
|
1502
|
-
};
|
|
1503
|
-
}),
|
|
1504
|
-
/**
|
|
1505
|
-
* Get composite statement link for download
|
|
1506
|
-
* @param {*} [options] Override http request option.
|
|
1507
|
-
* @throws {RequiredError}
|
|
1508
|
-
*/
|
|
1509
|
-
getCompositeStatementLink: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1510
|
-
const localVarPath = `/composite_statement_link`;
|
|
1511
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1512
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1513
|
-
let baseOptions;
|
|
1514
|
-
if (configuration) {
|
|
1515
|
-
baseOptions = configuration.baseOptions;
|
|
1497
|
+
if (redirect !== undefined) {
|
|
1498
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
1516
1499
|
}
|
|
1517
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1518
|
-
const localVarHeaderParameter = {};
|
|
1519
|
-
const localVarQueryParameter = {};
|
|
1520
|
-
// authentication Oauth2 required
|
|
1521
|
-
// oauth required
|
|
1522
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1523
1500
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1524
1501
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1525
1502
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1612,10 +1589,11 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1612
1589
|
/**
|
|
1613
1590
|
* Download statement
|
|
1614
1591
|
* @param {string} statementId The statement id
|
|
1592
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
1615
1593
|
* @param {*} [options] Override http request option.
|
|
1616
1594
|
* @throws {RequiredError}
|
|
1617
1595
|
*/
|
|
1618
|
-
getStatement: (statementId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1596
|
+
getStatement: (statementId, redirect, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1619
1597
|
// verify required parameter 'statementId' is not null or undefined
|
|
1620
1598
|
common_1.assertParamExists('getStatement', 'statementId', statementId);
|
|
1621
1599
|
const localVarPath = `/statements/{statementId}`.replace(`{${'statementId'}}`, encodeURIComponent(String(statementId)));
|
|
@@ -1631,6 +1609,9 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1631
1609
|
// authentication Oauth2 required
|
|
1632
1610
|
// oauth required
|
|
1633
1611
|
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1612
|
+
if (redirect !== undefined) {
|
|
1613
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
1614
|
+
}
|
|
1634
1615
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1635
1616
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1636
1617
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1640,7 +1621,7 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1640
1621
|
};
|
|
1641
1622
|
}),
|
|
1642
1623
|
/**
|
|
1643
|
-
* Get statement link for download
|
|
1624
|
+
* (Deprecated) Get statement link for download
|
|
1644
1625
|
* @param {string} statementId The statement id
|
|
1645
1626
|
* @param {*} [options] Override http request option.
|
|
1646
1627
|
* @throws {RequiredError}
|
|
@@ -1893,23 +1874,13 @@ exports.LoginIdentityApiFp = function (configuration) {
|
|
|
1893
1874
|
},
|
|
1894
1875
|
/**
|
|
1895
1876
|
* Download composite statement
|
|
1877
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
1896
1878
|
* @param {*} [options] Override http request option.
|
|
1897
1879
|
* @throws {RequiredError}
|
|
1898
1880
|
*/
|
|
1899
|
-
getCompositeStatement(options) {
|
|
1881
|
+
getCompositeStatement(redirect, options) {
|
|
1900
1882
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1901
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCompositeStatement(options);
|
|
1902
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1903
|
-
});
|
|
1904
|
-
},
|
|
1905
|
-
/**
|
|
1906
|
-
* Get composite statement link for download
|
|
1907
|
-
* @param {*} [options] Override http request option.
|
|
1908
|
-
* @throws {RequiredError}
|
|
1909
|
-
*/
|
|
1910
|
-
getCompositeStatementLink(options) {
|
|
1911
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1912
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCompositeStatementLink(options);
|
|
1883
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCompositeStatement(redirect, options);
|
|
1913
1884
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1914
1885
|
});
|
|
1915
1886
|
},
|
|
@@ -1949,17 +1920,18 @@ exports.LoginIdentityApiFp = function (configuration) {
|
|
|
1949
1920
|
/**
|
|
1950
1921
|
* Download statement
|
|
1951
1922
|
* @param {string} statementId The statement id
|
|
1923
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
1952
1924
|
* @param {*} [options] Override http request option.
|
|
1953
1925
|
* @throws {RequiredError}
|
|
1954
1926
|
*/
|
|
1955
|
-
getStatement(statementId, options) {
|
|
1927
|
+
getStatement(statementId, redirect, options) {
|
|
1956
1928
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1957
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getStatement(statementId, options);
|
|
1929
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getStatement(statementId, redirect, options);
|
|
1958
1930
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1959
1931
|
});
|
|
1960
1932
|
},
|
|
1961
1933
|
/**
|
|
1962
|
-
* Get statement link for download
|
|
1934
|
+
* (Deprecated) Get statement link for download
|
|
1963
1935
|
* @param {string} statementId The statement id
|
|
1964
1936
|
* @param {*} [options] Override http request option.
|
|
1965
1937
|
* @throws {RequiredError}
|
|
@@ -2085,19 +2057,12 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
|
|
|
2085
2057
|
},
|
|
2086
2058
|
/**
|
|
2087
2059
|
* Download composite statement
|
|
2060
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
2088
2061
|
* @param {*} [options] Override http request option.
|
|
2089
2062
|
* @throws {RequiredError}
|
|
2090
2063
|
*/
|
|
2091
|
-
getCompositeStatement(options) {
|
|
2092
|
-
return localVarFp.getCompositeStatement(options).then((request) => request(axios, basePath));
|
|
2093
|
-
},
|
|
2094
|
-
/**
|
|
2095
|
-
* Get composite statement link for download
|
|
2096
|
-
* @param {*} [options] Override http request option.
|
|
2097
|
-
* @throws {RequiredError}
|
|
2098
|
-
*/
|
|
2099
|
-
getCompositeStatementLink(options) {
|
|
2100
|
-
return localVarFp.getCompositeStatementLink(options).then((request) => request(axios, basePath));
|
|
2064
|
+
getCompositeStatement(redirect, options) {
|
|
2065
|
+
return localVarFp.getCompositeStatement(redirect, options).then((request) => request(axios, basePath));
|
|
2101
2066
|
},
|
|
2102
2067
|
/**
|
|
2103
2068
|
* \\[BETA] Get a list of identity data for a given login identity
|
|
@@ -2126,14 +2091,15 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
|
|
|
2126
2091
|
/**
|
|
2127
2092
|
* Download statement
|
|
2128
2093
|
* @param {string} statementId The statement id
|
|
2094
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
2129
2095
|
* @param {*} [options] Override http request option.
|
|
2130
2096
|
* @throws {RequiredError}
|
|
2131
2097
|
*/
|
|
2132
|
-
getStatement(statementId, options) {
|
|
2133
|
-
return localVarFp.getStatement(statementId, options).then((request) => request(axios, basePath));
|
|
2098
|
+
getStatement(statementId, redirect, options) {
|
|
2099
|
+
return localVarFp.getStatement(statementId, redirect, options).then((request) => request(axios, basePath));
|
|
2134
2100
|
},
|
|
2135
2101
|
/**
|
|
2136
|
-
* Get statement link for download
|
|
2102
|
+
* (Deprecated) Get statement link for download
|
|
2137
2103
|
* @param {string} statementId The statement id
|
|
2138
2104
|
* @param {*} [options] Override http request option.
|
|
2139
2105
|
* @throws {RequiredError}
|
|
@@ -2260,24 +2226,14 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2260
2226
|
}
|
|
2261
2227
|
/**
|
|
2262
2228
|
* Download composite statement
|
|
2229
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
2263
2230
|
* @param {*} [options] Override http request option.
|
|
2264
2231
|
* @throws {RequiredError}
|
|
2265
2232
|
* @memberof LoginIdentityApi
|
|
2266
2233
|
*/
|
|
2267
|
-
getCompositeStatement(options) {
|
|
2268
|
-
return exports.LoginIdentityApiFp(this.configuration)
|
|
2269
|
-
.getCompositeStatement(options)
|
|
2270
|
-
.then((request) => request(this.axios, this.basePath));
|
|
2271
|
-
}
|
|
2272
|
-
/**
|
|
2273
|
-
* Get composite statement link for download
|
|
2274
|
-
* @param {*} [options] Override http request option.
|
|
2275
|
-
* @throws {RequiredError}
|
|
2276
|
-
* @memberof LoginIdentityApi
|
|
2277
|
-
*/
|
|
2278
|
-
getCompositeStatementLink(options) {
|
|
2234
|
+
getCompositeStatement(redirect, options) {
|
|
2279
2235
|
return exports.LoginIdentityApiFp(this.configuration)
|
|
2280
|
-
.
|
|
2236
|
+
.getCompositeStatement(redirect, options)
|
|
2281
2237
|
.then((request) => request(this.axios, this.basePath));
|
|
2282
2238
|
}
|
|
2283
2239
|
/**
|
|
@@ -2316,17 +2272,18 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2316
2272
|
/**
|
|
2317
2273
|
* Download statement
|
|
2318
2274
|
* @param {string} statementId The statement id
|
|
2275
|
+
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
2319
2276
|
* @param {*} [options] Override http request option.
|
|
2320
2277
|
* @throws {RequiredError}
|
|
2321
2278
|
* @memberof LoginIdentityApi
|
|
2322
2279
|
*/
|
|
2323
|
-
getStatement(statementId, options) {
|
|
2280
|
+
getStatement(statementId, redirect, options) {
|
|
2324
2281
|
return exports.LoginIdentityApiFp(this.configuration)
|
|
2325
|
-
.getStatement(statementId, options)
|
|
2282
|
+
.getStatement(statementId, redirect, options)
|
|
2326
2283
|
.then((request) => request(this.axios, this.basePath));
|
|
2327
2284
|
}
|
|
2328
2285
|
/**
|
|
2329
|
-
* Get statement link for download
|
|
2286
|
+
* (Deprecated) Get statement link for download
|
|
2330
2287
|
* @param {string} statementId The statement id
|
|
2331
2288
|
* @param {*} [options] Override http request option.
|
|
2332
2289
|
* @throws {RequiredError}
|