@finverse/sdk-typescript 0.0.254 → 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 +82 -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
|
|
@@ -4833,6 +4846,43 @@ export interface NonSensitiveLinkStatusResponse {
|
|
|
4833
4846
|
* @memberof NonSensitiveLinkStatusResponse
|
|
4834
4847
|
*/
|
|
4835
4848
|
redirect_uri?: string;
|
|
4849
|
+
/**
|
|
4850
|
+
*
|
|
4851
|
+
* @type {NonSensitiveLinkStatusSuccessModel}
|
|
4852
|
+
* @memberof NonSensitiveLinkStatusResponse
|
|
4853
|
+
*/
|
|
4854
|
+
success?: NonSensitiveLinkStatusSuccessModel;
|
|
4855
|
+
/**
|
|
4856
|
+
*
|
|
4857
|
+
* @type {ErrBodyModelV2}
|
|
4858
|
+
* @memberof NonSensitiveLinkStatusResponse
|
|
4859
|
+
*/
|
|
4860
|
+
error?: ErrBodyModelV2;
|
|
4861
|
+
}
|
|
4862
|
+
/**
|
|
4863
|
+
*
|
|
4864
|
+
* @export
|
|
4865
|
+
* @interface NonSensitiveLinkStatusSuccessModel
|
|
4866
|
+
*/
|
|
4867
|
+
export interface NonSensitiveLinkStatusSuccessModel {
|
|
4868
|
+
/**
|
|
4869
|
+
*
|
|
4870
|
+
* @type {string}
|
|
4871
|
+
* @memberof NonSensitiveLinkStatusSuccessModel
|
|
4872
|
+
*/
|
|
4873
|
+
code?: string;
|
|
4874
|
+
/**
|
|
4875
|
+
*
|
|
4876
|
+
* @type {string}
|
|
4877
|
+
* @memberof NonSensitiveLinkStatusSuccessModel
|
|
4878
|
+
*/
|
|
4879
|
+
state?: string;
|
|
4880
|
+
/**
|
|
4881
|
+
*
|
|
4882
|
+
* @type {string}
|
|
4883
|
+
* @memberof NonSensitiveLinkStatusSuccessModel
|
|
4884
|
+
*/
|
|
4885
|
+
login_identity_id?: string;
|
|
4836
4886
|
}
|
|
4837
4887
|
/**
|
|
4838
4888
|
*
|
|
@@ -8378,6 +8428,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8378
8428
|
* @throws {RequiredError}
|
|
8379
8429
|
*/
|
|
8380
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>;
|
|
8381
8437
|
/**
|
|
8382
8438
|
* Get the FPS QR code
|
|
8383
8439
|
* @param {*} [options] Override http request option.
|
|
@@ -8570,6 +8626,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
8570
8626
|
* @throws {RequiredError}
|
|
8571
8627
|
*/
|
|
8572
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>>;
|
|
8573
8635
|
/**
|
|
8574
8636
|
* Get the FPS QR code
|
|
8575
8637
|
* @param {*} [options] Override http request option.
|
|
@@ -8762,6 +8824,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
8762
8824
|
* @throws {RequiredError}
|
|
8763
8825
|
*/
|
|
8764
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>;
|
|
8765
8833
|
/**
|
|
8766
8834
|
* Get the FPS QR code
|
|
8767
8835
|
* @param {*} [options] Override http request option.
|
|
@@ -8967,6 +9035,13 @@ export interface DefaultApiInterface {
|
|
|
8967
9035
|
* @memberof DefaultApiInterface
|
|
8968
9036
|
*/
|
|
8969
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>;
|
|
8970
9045
|
/**
|
|
8971
9046
|
* Get the FPS QR code
|
|
8972
9047
|
* @param {*} [options] Override http request option.
|
|
@@ -9185,6 +9260,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
9185
9260
|
* @memberof DefaultApi
|
|
9186
9261
|
*/
|
|
9187
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>>;
|
|
9188
9270
|
/**
|
|
9189
9271
|
* Get the FPS QR code
|
|
9190
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",
|