@finverse/sdk-typescript 0.0.9 → 0.0.10
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 +63 -0
- package/dist/api.js +57 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1491,6 +1491,31 @@ export interface ListAccountsResponse {
|
|
|
1491
1491
|
*/
|
|
1492
1492
|
institution?: InstitutionShort;
|
|
1493
1493
|
}
|
|
1494
|
+
/**
|
|
1495
|
+
*
|
|
1496
|
+
* @export
|
|
1497
|
+
* @interface ListPaymentInstructionsResponse
|
|
1498
|
+
*/
|
|
1499
|
+
export interface ListPaymentInstructionsResponse {
|
|
1500
|
+
/**
|
|
1501
|
+
*
|
|
1502
|
+
* @type {Array<PaymentInstruction>}
|
|
1503
|
+
* @memberof ListPaymentInstructionsResponse
|
|
1504
|
+
*/
|
|
1505
|
+
payment_instructions?: Array<PaymentInstruction>;
|
|
1506
|
+
/**
|
|
1507
|
+
*
|
|
1508
|
+
* @type {LoginIdentityShort}
|
|
1509
|
+
* @memberof ListPaymentInstructionsResponse
|
|
1510
|
+
*/
|
|
1511
|
+
login_identity?: LoginIdentityShort;
|
|
1512
|
+
/**
|
|
1513
|
+
*
|
|
1514
|
+
* @type {InstitutionShort}
|
|
1515
|
+
* @memberof ListPaymentInstructionsResponse
|
|
1516
|
+
*/
|
|
1517
|
+
institution?: InstitutionShort;
|
|
1518
|
+
}
|
|
1494
1519
|
/**
|
|
1495
1520
|
*
|
|
1496
1521
|
* @export
|
|
@@ -1935,6 +1960,12 @@ export interface PaymentInstruction {
|
|
|
1935
1960
|
* @memberof PaymentInstruction
|
|
1936
1961
|
*/
|
|
1937
1962
|
recipient_name?: string;
|
|
1963
|
+
/**
|
|
1964
|
+
* The recipient account Id
|
|
1965
|
+
* @type {string}
|
|
1966
|
+
* @memberof PaymentInstruction
|
|
1967
|
+
*/
|
|
1968
|
+
recipient_account_id?: string;
|
|
1938
1969
|
/**
|
|
1939
1970
|
* The sender name
|
|
1940
1971
|
* @type {string}
|
|
@@ -3029,6 +3060,12 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
|
|
|
3029
3060
|
* @throws {RequiredError}
|
|
3030
3061
|
*/
|
|
3031
3062
|
listAccounts: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3063
|
+
/**
|
|
3064
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3065
|
+
* @param {*} [options] Override http request option.
|
|
3066
|
+
* @throws {RequiredError}
|
|
3067
|
+
*/
|
|
3068
|
+
listPaymentInstructions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3032
3069
|
/**
|
|
3033
3070
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
3034
3071
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -3136,6 +3173,12 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
|
|
|
3136
3173
|
* @throws {RequiredError}
|
|
3137
3174
|
*/
|
|
3138
3175
|
listAccounts(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountsResponse>>;
|
|
3176
|
+
/**
|
|
3177
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3178
|
+
* @param {*} [options] Override http request option.
|
|
3179
|
+
* @throws {RequiredError}
|
|
3180
|
+
*/
|
|
3181
|
+
listPaymentInstructions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentInstructionsResponse>>;
|
|
3139
3182
|
/**
|
|
3140
3183
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
3141
3184
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -3243,6 +3286,12 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
|
|
|
3243
3286
|
* @throws {RequiredError}
|
|
3244
3287
|
*/
|
|
3245
3288
|
listAccounts(options?: any): AxiosPromise<ListAccountsResponse>;
|
|
3289
|
+
/**
|
|
3290
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3291
|
+
* @param {*} [options] Override http request option.
|
|
3292
|
+
* @throws {RequiredError}
|
|
3293
|
+
*/
|
|
3294
|
+
listPaymentInstructions(options?: any): AxiosPromise<ListPaymentInstructionsResponse>;
|
|
3246
3295
|
/**
|
|
3247
3296
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
3248
3297
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -3363,6 +3412,13 @@ export interface LoginIdentityApiInterface {
|
|
|
3363
3412
|
* @memberof LoginIdentityApiInterface
|
|
3364
3413
|
*/
|
|
3365
3414
|
listAccounts(options?: AxiosRequestConfig): AxiosPromise<ListAccountsResponse>;
|
|
3415
|
+
/**
|
|
3416
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3417
|
+
* @param {*} [options] Override http request option.
|
|
3418
|
+
* @throws {RequiredError}
|
|
3419
|
+
* @memberof LoginIdentityApiInterface
|
|
3420
|
+
*/
|
|
3421
|
+
listPaymentInstructions(options?: AxiosRequestConfig): AxiosPromise<ListPaymentInstructionsResponse>;
|
|
3366
3422
|
/**
|
|
3367
3423
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
3368
3424
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -3487,6 +3543,13 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
|
|
|
3487
3543
|
* @memberof LoginIdentityApi
|
|
3488
3544
|
*/
|
|
3489
3545
|
listAccounts(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAccountsResponse>>;
|
|
3546
|
+
/**
|
|
3547
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
3548
|
+
* @param {*} [options] Override http request option.
|
|
3549
|
+
* @throws {RequiredError}
|
|
3550
|
+
* @memberof LoginIdentityApi
|
|
3551
|
+
*/
|
|
3552
|
+
listPaymentInstructions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentInstructionsResponse>>;
|
|
3490
3553
|
/**
|
|
3491
3554
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
3492
3555
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
package/dist/api.js
CHANGED
|
@@ -1302,6 +1302,33 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1302
1302
|
options: localVarRequestOptions,
|
|
1303
1303
|
};
|
|
1304
1304
|
}),
|
|
1305
|
+
/**
|
|
1306
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
1307
|
+
* @param {*} [options] Override http request option.
|
|
1308
|
+
* @throws {RequiredError}
|
|
1309
|
+
*/
|
|
1310
|
+
listPaymentInstructions: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1311
|
+
const localVarPath = `/payments/instruction/`;
|
|
1312
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1313
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1314
|
+
let baseOptions;
|
|
1315
|
+
if (configuration) {
|
|
1316
|
+
baseOptions = configuration.baseOptions;
|
|
1317
|
+
}
|
|
1318
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1319
|
+
const localVarHeaderParameter = {};
|
|
1320
|
+
const localVarQueryParameter = {};
|
|
1321
|
+
// authentication Oauth2 required
|
|
1322
|
+
// oauth required
|
|
1323
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1324
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1325
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1326
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1327
|
+
return {
|
|
1328
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
1329
|
+
options: localVarRequestOptions,
|
|
1330
|
+
};
|
|
1331
|
+
}),
|
|
1305
1332
|
/**
|
|
1306
1333
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
1307
1334
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -1549,6 +1576,17 @@ exports.LoginIdentityApiFp = function (configuration) {
|
|
|
1549
1576
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1550
1577
|
});
|
|
1551
1578
|
},
|
|
1579
|
+
/**
|
|
1580
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
1581
|
+
* @param {*} [options] Override http request option.
|
|
1582
|
+
* @throws {RequiredError}
|
|
1583
|
+
*/
|
|
1584
|
+
listPaymentInstructions(options) {
|
|
1585
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1586
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPaymentInstructions(options);
|
|
1587
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1588
|
+
});
|
|
1589
|
+
},
|
|
1552
1590
|
/**
|
|
1553
1591
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
1554
1592
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -1698,6 +1736,14 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
|
|
|
1698
1736
|
listAccounts(options) {
|
|
1699
1737
|
return localVarFp.listAccounts(options).then((request) => request(axios, basePath));
|
|
1700
1738
|
},
|
|
1739
|
+
/**
|
|
1740
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
1741
|
+
* @param {*} [options] Override http request option.
|
|
1742
|
+
* @throws {RequiredError}
|
|
1743
|
+
*/
|
|
1744
|
+
listPaymentInstructions(options) {
|
|
1745
|
+
return localVarFp.listPaymentInstructions(options).then((request) => request(axios, basePath));
|
|
1746
|
+
},
|
|
1701
1747
|
/**
|
|
1702
1748
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
1703
1749
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
@@ -1878,6 +1924,17 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
1878
1924
|
.listAccounts(options)
|
|
1879
1925
|
.then((request) => request(this.axios, this.basePath));
|
|
1880
1926
|
}
|
|
1927
|
+
/**
|
|
1928
|
+
* Get list of payment instructions to be used when linking to perfom debit authorization
|
|
1929
|
+
* @param {*} [options] Override http request option.
|
|
1930
|
+
* @throws {RequiredError}
|
|
1931
|
+
* @memberof LoginIdentityApi
|
|
1932
|
+
*/
|
|
1933
|
+
listPaymentInstructions(options) {
|
|
1934
|
+
return exports.LoginIdentityApiFp(this.configuration)
|
|
1935
|
+
.listPaymentInstructions(options)
|
|
1936
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1937
|
+
}
|
|
1881
1938
|
/**
|
|
1882
1939
|
* Get a list of transactions for a particular account. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
1883
1940
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|