@finverse/sdk-typescript 0.0.157 → 0.0.159
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 +154 -0
- package/dist/api.js +68 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -3049,6 +3049,19 @@ export interface ListMandatesResponse {
|
|
|
3049
3049
|
*/
|
|
3050
3050
|
total_mandates: number;
|
|
3051
3051
|
}
|
|
3052
|
+
/**
|
|
3053
|
+
*
|
|
3054
|
+
* @export
|
|
3055
|
+
* @interface ListPaymentAccountsResponse
|
|
3056
|
+
*/
|
|
3057
|
+
export interface ListPaymentAccountsResponse {
|
|
3058
|
+
/**
|
|
3059
|
+
*
|
|
3060
|
+
* @type {Array<PaymentAccountDetails>}
|
|
3061
|
+
* @memberof ListPaymentAccountsResponse
|
|
3062
|
+
*/
|
|
3063
|
+
payment_accounts?: Array<PaymentAccountDetails>;
|
|
3064
|
+
}
|
|
3052
3065
|
/**
|
|
3053
3066
|
*
|
|
3054
3067
|
* @export
|
|
@@ -3678,6 +3691,12 @@ export interface MandateSenderAccount {
|
|
|
3678
3691
|
* @memberof MandateSenderAccount
|
|
3679
3692
|
*/
|
|
3680
3693
|
account_number?: RecipientAccountNumber;
|
|
3694
|
+
/**
|
|
3695
|
+
* Masked Account number of the sender’s account
|
|
3696
|
+
* @type {string}
|
|
3697
|
+
* @memberof MandateSenderAccount
|
|
3698
|
+
*/
|
|
3699
|
+
account_number_masked?: string;
|
|
3681
3700
|
/**
|
|
3682
3701
|
* Type of sender account.
|
|
3683
3702
|
* @type {string}
|
|
@@ -3817,6 +3836,98 @@ export interface PaymentAccount {
|
|
|
3817
3836
|
*/
|
|
3818
3837
|
institution_id?: string;
|
|
3819
3838
|
}
|
|
3839
|
+
/**
|
|
3840
|
+
*
|
|
3841
|
+
* @export
|
|
3842
|
+
* @interface PaymentAccountDetails
|
|
3843
|
+
*/
|
|
3844
|
+
export interface PaymentAccountDetails {
|
|
3845
|
+
/**
|
|
3846
|
+
* Payment account id
|
|
3847
|
+
* @type {string}
|
|
3848
|
+
* @memberof PaymentAccountDetails
|
|
3849
|
+
*/
|
|
3850
|
+
account_id?: string;
|
|
3851
|
+
/**
|
|
3852
|
+
*
|
|
3853
|
+
* @type {RecipientAccountNumber}
|
|
3854
|
+
* @memberof PaymentAccountDetails
|
|
3855
|
+
*/
|
|
3856
|
+
account_number?: RecipientAccountNumber;
|
|
3857
|
+
/**
|
|
3858
|
+
* Masked Account number of the payment account
|
|
3859
|
+
* @type {string}
|
|
3860
|
+
* @memberof PaymentAccountDetails
|
|
3861
|
+
*/
|
|
3862
|
+
account_number_masked?: string;
|
|
3863
|
+
/**
|
|
3864
|
+
* Type of payment account.
|
|
3865
|
+
* @type {string}
|
|
3866
|
+
* @memberof PaymentAccountDetails
|
|
3867
|
+
*/
|
|
3868
|
+
account_type?: PaymentAccountDetailsAccountTypeEnum;
|
|
3869
|
+
/**
|
|
3870
|
+
* Accountholder name of the payment account
|
|
3871
|
+
* @type {string}
|
|
3872
|
+
* @memberof PaymentAccountDetails
|
|
3873
|
+
*/
|
|
3874
|
+
accountholder_name?: string;
|
|
3875
|
+
/**
|
|
3876
|
+
* Finverse Institution ID for the payment institution.
|
|
3877
|
+
* @type {string}
|
|
3878
|
+
* @memberof PaymentAccountDetails
|
|
3879
|
+
*/
|
|
3880
|
+
institution_id?: string;
|
|
3881
|
+
/**
|
|
3882
|
+
* A unique identifier generated after creating user (Finverse Payment User ID)
|
|
3883
|
+
* @type {string}
|
|
3884
|
+
* @memberof PaymentAccountDetails
|
|
3885
|
+
*/
|
|
3886
|
+
user_id?: string;
|
|
3887
|
+
/**
|
|
3888
|
+
* 3-digit code associated with bank
|
|
3889
|
+
* @type {string}
|
|
3890
|
+
* @memberof PaymentAccountDetails
|
|
3891
|
+
*/
|
|
3892
|
+
bank_code?: string;
|
|
3893
|
+
/**
|
|
3894
|
+
* 3-digit code used to identify specific bank branch
|
|
3895
|
+
* @type {string}
|
|
3896
|
+
* @memberof PaymentAccountDetails
|
|
3897
|
+
*/
|
|
3898
|
+
branch_code?: string;
|
|
3899
|
+
/**
|
|
3900
|
+
* List of currencies supported by the payment account
|
|
3901
|
+
* @type {Array<string>}
|
|
3902
|
+
* @memberof PaymentAccountDetails
|
|
3903
|
+
*/
|
|
3904
|
+
currencies?: Array<string>;
|
|
3905
|
+
/**
|
|
3906
|
+
* Additional attributes of the sender account in key:value format (e.g. sender_id: 1234). It supports up to 10 key:value pairs, whereas the key and value supports up to 50 and 500 characters respectively.
|
|
3907
|
+
* @type {{ [key: string]: string; }}
|
|
3908
|
+
* @memberof PaymentAccountDetails
|
|
3909
|
+
*/
|
|
3910
|
+
metadata?: {
|
|
3911
|
+
[key: string]: string;
|
|
3912
|
+
};
|
|
3913
|
+
/**
|
|
3914
|
+
* Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
3915
|
+
* @type {string}
|
|
3916
|
+
* @memberof PaymentAccountDetails
|
|
3917
|
+
*/
|
|
3918
|
+
created_at?: string;
|
|
3919
|
+
/**
|
|
3920
|
+
* Timestamp of when the payment link was last updated in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
3921
|
+
* @type {string}
|
|
3922
|
+
* @memberof PaymentAccountDetails
|
|
3923
|
+
*/
|
|
3924
|
+
updated_at?: string;
|
|
3925
|
+
}
|
|
3926
|
+
export declare const PaymentAccountDetailsAccountTypeEnum: {
|
|
3927
|
+
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
3928
|
+
readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
|
|
3929
|
+
};
|
|
3930
|
+
export declare type PaymentAccountDetailsAccountTypeEnum = (typeof PaymentAccountDetailsAccountTypeEnum)[keyof typeof PaymentAccountDetailsAccountTypeEnum];
|
|
3820
3931
|
/**
|
|
3821
3932
|
*
|
|
3822
3933
|
* @export
|
|
@@ -4369,6 +4480,12 @@ export interface PaymentResponse {
|
|
|
4369
4480
|
* @memberof PaymentResponse
|
|
4370
4481
|
*/
|
|
4371
4482
|
sender?: GetMandateSender;
|
|
4483
|
+
/**
|
|
4484
|
+
*
|
|
4485
|
+
* @type {MandateSenderAccount}
|
|
4486
|
+
* @memberof PaymentResponse
|
|
4487
|
+
*/
|
|
4488
|
+
sender_account?: MandateSenderAccount;
|
|
4372
4489
|
/**
|
|
4373
4490
|
*
|
|
4374
4491
|
* @type {Array<Fee>}
|
|
@@ -5588,6 +5705,13 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
5588
5705
|
* @throws {RequiredError}
|
|
5589
5706
|
*/
|
|
5590
5707
|
listInstitutions: (country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5708
|
+
/**
|
|
5709
|
+
* Get payment account by user id
|
|
5710
|
+
* @param {string} paymentUserId The payment user id
|
|
5711
|
+
* @param {*} [options] Override http request option.
|
|
5712
|
+
* @throws {RequiredError}
|
|
5713
|
+
*/
|
|
5714
|
+
listPaymentAccount: (paymentUserId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5591
5715
|
/**
|
|
5592
5716
|
* Refresh an access token
|
|
5593
5717
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
@@ -5739,6 +5863,13 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
5739
5863
|
* @throws {RequiredError}
|
|
5740
5864
|
*/
|
|
5741
5865
|
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Institution>>>;
|
|
5866
|
+
/**
|
|
5867
|
+
* Get payment account by user id
|
|
5868
|
+
* @param {string} paymentUserId The payment user id
|
|
5869
|
+
* @param {*} [options] Override http request option.
|
|
5870
|
+
* @throws {RequiredError}
|
|
5871
|
+
*/
|
|
5872
|
+
listPaymentAccount(paymentUserId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentAccountsResponse>>;
|
|
5742
5873
|
/**
|
|
5743
5874
|
* Refresh an access token
|
|
5744
5875
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
@@ -5890,6 +6021,13 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
5890
6021
|
* @throws {RequiredError}
|
|
5891
6022
|
*/
|
|
5892
6023
|
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: any): AxiosPromise<Array<Institution>>;
|
|
6024
|
+
/**
|
|
6025
|
+
* Get payment account by user id
|
|
6026
|
+
* @param {string} paymentUserId The payment user id
|
|
6027
|
+
* @param {*} [options] Override http request option.
|
|
6028
|
+
* @throws {RequiredError}
|
|
6029
|
+
*/
|
|
6030
|
+
listPaymentAccount(paymentUserId: string, options?: any): AxiosPromise<ListPaymentAccountsResponse>;
|
|
5893
6031
|
/**
|
|
5894
6032
|
* Refresh an access token
|
|
5895
6033
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
@@ -6059,6 +6197,14 @@ export interface CustomerApiInterface {
|
|
|
6059
6197
|
* @memberof CustomerApiInterface
|
|
6060
6198
|
*/
|
|
6061
6199
|
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig): AxiosPromise<Array<Institution>>;
|
|
6200
|
+
/**
|
|
6201
|
+
* Get payment account by user id
|
|
6202
|
+
* @param {string} paymentUserId The payment user id
|
|
6203
|
+
* @param {*} [options] Override http request option.
|
|
6204
|
+
* @throws {RequiredError}
|
|
6205
|
+
* @memberof CustomerApiInterface
|
|
6206
|
+
*/
|
|
6207
|
+
listPaymentAccount(paymentUserId: string, options?: AxiosRequestConfig): AxiosPromise<ListPaymentAccountsResponse>;
|
|
6062
6208
|
/**
|
|
6063
6209
|
* Refresh an access token
|
|
6064
6210
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
@@ -6232,6 +6378,14 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
6232
6378
|
* @memberof CustomerApi
|
|
6233
6379
|
*/
|
|
6234
6380
|
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Institution[]>>;
|
|
6381
|
+
/**
|
|
6382
|
+
* Get payment account by user id
|
|
6383
|
+
* @param {string} paymentUserId The payment user id
|
|
6384
|
+
* @param {*} [options] Override http request option.
|
|
6385
|
+
* @throws {RequiredError}
|
|
6386
|
+
* @memberof CustomerApi
|
|
6387
|
+
*/
|
|
6388
|
+
listPaymentAccount(paymentUserId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentAccountsResponse>>;
|
|
6235
6389
|
/**
|
|
6236
6390
|
* Refresh an access token
|
|
6237
6391
|
* @param {RefreshRequest} refreshRequest The refresh token
|
package/dist/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutInstructionResponseStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderUserTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.FeePaidByEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
25
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutInstructionResponseStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentAccountDetailsAccountTypeEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderUserTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.FeePaidByEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -207,6 +207,10 @@ exports.MandateRecipientAccountAccountTypeEnum = {
|
|
|
207
207
|
exports.MandateSenderAccountAccountTypeEnum = {
|
|
208
208
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
209
209
|
};
|
|
210
|
+
exports.PaymentAccountDetailsAccountTypeEnum = {
|
|
211
|
+
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
212
|
+
SettlementAccount: 'SETTLEMENT_ACCOUNT',
|
|
213
|
+
};
|
|
210
214
|
exports.PaymentInfoPaymentsSupportedEnum = {
|
|
211
215
|
Mandate: 'MANDATE',
|
|
212
216
|
DebitAuthorization: 'DEBIT_AUTHORIZATION',
|
|
@@ -835,6 +839,36 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
835
839
|
options: localVarRequestOptions,
|
|
836
840
|
};
|
|
837
841
|
}),
|
|
842
|
+
/**
|
|
843
|
+
* Get payment account by user id
|
|
844
|
+
* @param {string} paymentUserId The payment user id
|
|
845
|
+
* @param {*} [options] Override http request option.
|
|
846
|
+
* @throws {RequiredError}
|
|
847
|
+
*/
|
|
848
|
+
listPaymentAccount: (paymentUserId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
849
|
+
// verify required parameter 'paymentUserId' is not null or undefined
|
|
850
|
+
common_1.assertParamExists('listPaymentAccount', 'paymentUserId', paymentUserId);
|
|
851
|
+
const localVarPath = `/payment_users/{paymentUserId}/payment_accounts`.replace(`{${'paymentUserId'}}`, encodeURIComponent(String(paymentUserId)));
|
|
852
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
853
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
854
|
+
let baseOptions;
|
|
855
|
+
if (configuration) {
|
|
856
|
+
baseOptions = configuration.baseOptions;
|
|
857
|
+
}
|
|
858
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
859
|
+
const localVarHeaderParameter = {};
|
|
860
|
+
const localVarQueryParameter = {};
|
|
861
|
+
// authentication Oauth2 required
|
|
862
|
+
// oauth required
|
|
863
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
864
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
865
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
866
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
867
|
+
return {
|
|
868
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
869
|
+
options: localVarRequestOptions,
|
|
870
|
+
};
|
|
871
|
+
}),
|
|
838
872
|
/**
|
|
839
873
|
* Refresh an access token
|
|
840
874
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
@@ -1149,6 +1183,18 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
1149
1183
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1150
1184
|
});
|
|
1151
1185
|
},
|
|
1186
|
+
/**
|
|
1187
|
+
* Get payment account by user id
|
|
1188
|
+
* @param {string} paymentUserId The payment user id
|
|
1189
|
+
* @param {*} [options] Override http request option.
|
|
1190
|
+
* @throws {RequiredError}
|
|
1191
|
+
*/
|
|
1192
|
+
listPaymentAccount(paymentUserId, options) {
|
|
1193
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1194
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPaymentAccount(paymentUserId, options);
|
|
1195
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1196
|
+
});
|
|
1197
|
+
},
|
|
1152
1198
|
/**
|
|
1153
1199
|
* Refresh an access token
|
|
1154
1200
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
@@ -1368,6 +1414,15 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
1368
1414
|
.listInstitutions(country, countries, productsSupported, institutionType, options)
|
|
1369
1415
|
.then((request) => request(axios, basePath));
|
|
1370
1416
|
},
|
|
1417
|
+
/**
|
|
1418
|
+
* Get payment account by user id
|
|
1419
|
+
* @param {string} paymentUserId The payment user id
|
|
1420
|
+
* @param {*} [options] Override http request option.
|
|
1421
|
+
* @throws {RequiredError}
|
|
1422
|
+
*/
|
|
1423
|
+
listPaymentAccount(paymentUserId, options) {
|
|
1424
|
+
return localVarFp.listPaymentAccount(paymentUserId, options).then((request) => request(axios, basePath));
|
|
1425
|
+
},
|
|
1371
1426
|
/**
|
|
1372
1427
|
* Refresh an access token
|
|
1373
1428
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
@@ -1615,6 +1670,18 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1615
1670
|
.listInstitutions(country, countries, productsSupported, institutionType, options)
|
|
1616
1671
|
.then((request) => request(this.axios, this.basePath));
|
|
1617
1672
|
}
|
|
1673
|
+
/**
|
|
1674
|
+
* Get payment account by user id
|
|
1675
|
+
* @param {string} paymentUserId The payment user id
|
|
1676
|
+
* @param {*} [options] Override http request option.
|
|
1677
|
+
* @throws {RequiredError}
|
|
1678
|
+
* @memberof CustomerApi
|
|
1679
|
+
*/
|
|
1680
|
+
listPaymentAccount(paymentUserId, options) {
|
|
1681
|
+
return exports.CustomerApiFp(this.configuration)
|
|
1682
|
+
.listPaymentAccount(paymentUserId, options)
|
|
1683
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1684
|
+
}
|
|
1618
1685
|
/**
|
|
1619
1686
|
* Refresh an access token
|
|
1620
1687
|
* @param {RefreshRequest} refreshRequest The refresh token
|