@finverse/sdk-typescript 0.0.255 → 0.0.256
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 +45 -0
- package/dist/api.js +57 -0
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -1814,6 +1814,19 @@ export interface DeleteLoginIdentityResponse {
|
|
|
1814
1814
|
*/
|
|
1815
1815
|
success?: boolean;
|
|
1816
1816
|
}
|
|
1817
|
+
/**
|
|
1818
|
+
*
|
|
1819
|
+
* @export
|
|
1820
|
+
* @interface DownloadBalanceStatementResponse
|
|
1821
|
+
*/
|
|
1822
|
+
export interface DownloadBalanceStatementResponse {
|
|
1823
|
+
/**
|
|
1824
|
+
* Signed URL to download the CSV from
|
|
1825
|
+
* @type {string}
|
|
1826
|
+
* @memberof DownloadBalanceStatementResponse
|
|
1827
|
+
*/
|
|
1828
|
+
download_url: string;
|
|
1829
|
+
}
|
|
1817
1830
|
/**
|
|
1818
1831
|
*
|
|
1819
1832
|
* @export
|
|
@@ -8415,6 +8428,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8415
8428
|
* @throws {RequiredError}
|
|
8416
8429
|
*/
|
|
8417
8430
|
createScheduledPayout: (idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8431
|
+
/**
|
|
8432
|
+
* Download the balance statement for the ledger (CSV)
|
|
8433
|
+
* @param {*} [options] Override http request option.
|
|
8434
|
+
* @throws {RequiredError}
|
|
8435
|
+
*/
|
|
8436
|
+
downloadBalanceStatement: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8418
8437
|
/**
|
|
8419
8438
|
* Get the FPS QR code
|
|
8420
8439
|
* @param {*} [options] Override http request option.
|
|
@@ -8607,6 +8626,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
8607
8626
|
* @throws {RequiredError}
|
|
8608
8627
|
*/
|
|
8609
8628
|
createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
|
|
8629
|
+
/**
|
|
8630
|
+
* Download the balance statement for the ledger (CSV)
|
|
8631
|
+
* @param {*} [options] Override http request option.
|
|
8632
|
+
* @throws {RequiredError}
|
|
8633
|
+
*/
|
|
8634
|
+
downloadBalanceStatement(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadBalanceStatementResponse>>;
|
|
8610
8635
|
/**
|
|
8611
8636
|
* Get the FPS QR code
|
|
8612
8637
|
* @param {*} [options] Override http request option.
|
|
@@ -8799,6 +8824,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
8799
8824
|
* @throws {RequiredError}
|
|
8800
8825
|
*/
|
|
8801
8826
|
createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: any): AxiosPromise<PayoutSnapshotResponse>;
|
|
8827
|
+
/**
|
|
8828
|
+
* Download the balance statement for the ledger (CSV)
|
|
8829
|
+
* @param {*} [options] Override http request option.
|
|
8830
|
+
* @throws {RequiredError}
|
|
8831
|
+
*/
|
|
8832
|
+
downloadBalanceStatement(options?: any): AxiosPromise<DownloadBalanceStatementResponse>;
|
|
8802
8833
|
/**
|
|
8803
8834
|
* Get the FPS QR code
|
|
8804
8835
|
* @param {*} [options] Override http request option.
|
|
@@ -9004,6 +9035,13 @@ export interface DefaultApiInterface {
|
|
|
9004
9035
|
* @memberof DefaultApiInterface
|
|
9005
9036
|
*/
|
|
9006
9037
|
createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: AxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
|
|
9038
|
+
/**
|
|
9039
|
+
* Download the balance statement for the ledger (CSV)
|
|
9040
|
+
* @param {*} [options] Override http request option.
|
|
9041
|
+
* @throws {RequiredError}
|
|
9042
|
+
* @memberof DefaultApiInterface
|
|
9043
|
+
*/
|
|
9044
|
+
downloadBalanceStatement(options?: AxiosRequestConfig): AxiosPromise<DownloadBalanceStatementResponse>;
|
|
9007
9045
|
/**
|
|
9008
9046
|
* Get the FPS QR code
|
|
9009
9047
|
* @param {*} [options] Override http request option.
|
|
@@ -9222,6 +9260,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
9222
9260
|
* @memberof DefaultApi
|
|
9223
9261
|
*/
|
|
9224
9262
|
createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse>>;
|
|
9263
|
+
/**
|
|
9264
|
+
* Download the balance statement for the ledger (CSV)
|
|
9265
|
+
* @param {*} [options] Override http request option.
|
|
9266
|
+
* @throws {RequiredError}
|
|
9267
|
+
* @memberof DefaultApi
|
|
9268
|
+
*/
|
|
9269
|
+
downloadBalanceStatement(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DownloadBalanceStatementResponse>>;
|
|
9225
9270
|
/**
|
|
9226
9271
|
* Get the FPS QR code
|
|
9227
9272
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -2386,6 +2386,33 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2386
2386
|
options: localVarRequestOptions,
|
|
2387
2387
|
};
|
|
2388
2388
|
}),
|
|
2389
|
+
/**
|
|
2390
|
+
* Download the balance statement for the ledger (CSV)
|
|
2391
|
+
* @param {*} [options] Override http request option.
|
|
2392
|
+
* @throws {RequiredError}
|
|
2393
|
+
*/
|
|
2394
|
+
downloadBalanceStatement: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2395
|
+
const localVarPath = `/ledger/statement`;
|
|
2396
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2397
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2398
|
+
let baseOptions;
|
|
2399
|
+
if (configuration) {
|
|
2400
|
+
baseOptions = configuration.baseOptions;
|
|
2401
|
+
}
|
|
2402
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2403
|
+
const localVarHeaderParameter = {};
|
|
2404
|
+
const localVarQueryParameter = {};
|
|
2405
|
+
// authentication Oauth2 required
|
|
2406
|
+
// oauth required
|
|
2407
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2408
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2409
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2410
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2411
|
+
return {
|
|
2412
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
2413
|
+
options: localVarRequestOptions,
|
|
2414
|
+
};
|
|
2415
|
+
}),
|
|
2389
2416
|
/**
|
|
2390
2417
|
* Get the FPS QR code
|
|
2391
2418
|
* @param {*} [options] Override http request option.
|
|
@@ -2990,6 +3017,17 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
2990
3017
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2991
3018
|
});
|
|
2992
3019
|
},
|
|
3020
|
+
/**
|
|
3021
|
+
* Download the balance statement for the ledger (CSV)
|
|
3022
|
+
* @param {*} [options] Override http request option.
|
|
3023
|
+
* @throws {RequiredError}
|
|
3024
|
+
*/
|
|
3025
|
+
downloadBalanceStatement(options) {
|
|
3026
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3027
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.downloadBalanceStatement(options);
|
|
3028
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3029
|
+
});
|
|
3030
|
+
},
|
|
2993
3031
|
/**
|
|
2994
3032
|
* Get the FPS QR code
|
|
2995
3033
|
* @param {*} [options] Override http request option.
|
|
@@ -3281,6 +3319,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3281
3319
|
.createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
|
|
3282
3320
|
.then((request) => request(axios, basePath));
|
|
3283
3321
|
},
|
|
3322
|
+
/**
|
|
3323
|
+
* Download the balance statement for the ledger (CSV)
|
|
3324
|
+
* @param {*} [options] Override http request option.
|
|
3325
|
+
* @throws {RequiredError}
|
|
3326
|
+
*/
|
|
3327
|
+
downloadBalanceStatement(options) {
|
|
3328
|
+
return localVarFp.downloadBalanceStatement(options).then((request) => request(axios, basePath));
|
|
3329
|
+
},
|
|
3284
3330
|
/**
|
|
3285
3331
|
* Get the FPS QR code
|
|
3286
3332
|
* @param {*} [options] Override http request option.
|
|
@@ -3568,6 +3614,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3568
3614
|
.createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
|
|
3569
3615
|
.then((request) => request(this.axios, this.basePath));
|
|
3570
3616
|
}
|
|
3617
|
+
/**
|
|
3618
|
+
* Download the balance statement for the ledger (CSV)
|
|
3619
|
+
* @param {*} [options] Override http request option.
|
|
3620
|
+
* @throws {RequiredError}
|
|
3621
|
+
* @memberof DefaultApi
|
|
3622
|
+
*/
|
|
3623
|
+
downloadBalanceStatement(options) {
|
|
3624
|
+
return exports.DefaultApiFp(this.configuration)
|
|
3625
|
+
.downloadBalanceStatement(options)
|
|
3626
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3627
|
+
}
|
|
3571
3628
|
/**
|
|
3572
3629
|
* Get the FPS QR code
|
|
3573
3630
|
* @param {*} [options] Override http request option.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finverse/sdk-typescript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.256",
|
|
4
4
|
"description": "OpenAPI client for @finverse/sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/chai": "^4.3.19",
|
|
25
|
-
"@types/mocha": "^10.0.
|
|
25
|
+
"@types/mocha": "^10.0.8",
|
|
26
26
|
"@types/node": "^12.11.5",
|
|
27
27
|
"axios-mock-adapter": "^1.21.2",
|
|
28
28
|
"chai": "^5.1.1",
|