@finverse/sdk-typescript 0.0.60 → 0.0.63
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 +55 -53
- package/dist/api.js +34 -17
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -559,18 +559,7 @@ export interface CreateMandateSender {
|
|
|
559
559
|
* @memberof CreateMandateSender
|
|
560
560
|
*/
|
|
561
561
|
sender_reference_id?: string;
|
|
562
|
-
/**
|
|
563
|
-
* Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
564
|
-
* @type {string}
|
|
565
|
-
* @memberof CreateMandateSender
|
|
566
|
-
*/
|
|
567
|
-
sender_type?: CreateMandateSenderSenderTypeEnum;
|
|
568
562
|
}
|
|
569
|
-
export declare const CreateMandateSenderSenderTypeEnum: {
|
|
570
|
-
readonly Individual: "INDIVIDUAL";
|
|
571
|
-
readonly Business: "BUSINESS";
|
|
572
|
-
};
|
|
573
|
-
export declare type CreateMandateSenderSenderTypeEnum = typeof CreateMandateSenderSenderTypeEnum[keyof typeof CreateMandateSenderSenderTypeEnum];
|
|
574
563
|
/**
|
|
575
564
|
*
|
|
576
565
|
* @export
|
|
@@ -1186,18 +1175,7 @@ export interface GetMandateSender {
|
|
|
1186
1175
|
* @memberof GetMandateSender
|
|
1187
1176
|
*/
|
|
1188
1177
|
sender_account: PaymentAccount;
|
|
1189
|
-
/**
|
|
1190
|
-
* Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
1191
|
-
* @type {string}
|
|
1192
|
-
* @memberof GetMandateSender
|
|
1193
|
-
*/
|
|
1194
|
-
sender_type?: GetMandateSenderSenderTypeEnum;
|
|
1195
1178
|
}
|
|
1196
|
-
export declare const GetMandateSenderSenderTypeEnum: {
|
|
1197
|
-
readonly Individual: "INDIVIDUAL";
|
|
1198
|
-
readonly Business: "BUSINESS";
|
|
1199
|
-
};
|
|
1200
|
-
export declare type GetMandateSenderSenderTypeEnum = typeof GetMandateSenderSenderTypeEnum[keyof typeof GetMandateSenderSenderTypeEnum];
|
|
1201
1179
|
/**
|
|
1202
1180
|
*
|
|
1203
1181
|
* @export
|
|
@@ -1766,19 +1744,19 @@ export interface Institution {
|
|
|
1766
1744
|
* @type {Array<string>}
|
|
1767
1745
|
* @memberof Institution
|
|
1768
1746
|
*/
|
|
1769
|
-
tags?: Array<
|
|
1747
|
+
tags?: Array<InstitutionTagsEnum>;
|
|
1770
1748
|
/**
|
|
1771
1749
|
*
|
|
1772
1750
|
* @type {string}
|
|
1773
1751
|
* @memberof Institution
|
|
1774
1752
|
*/
|
|
1775
|
-
institution_type:
|
|
1753
|
+
institution_type: InstitutionInstitutionTypeEnum;
|
|
1776
1754
|
/**
|
|
1777
1755
|
*
|
|
1778
1756
|
* @type {Array<string>}
|
|
1779
1757
|
* @memberof Institution
|
|
1780
1758
|
*/
|
|
1781
|
-
products_supported: Array<
|
|
1759
|
+
products_supported: Array<InstitutionProductsSupportedEnum>;
|
|
1782
1760
|
/**
|
|
1783
1761
|
*
|
|
1784
1762
|
* @type {string}
|
|
@@ -1802,13 +1780,13 @@ export interface Institution {
|
|
|
1802
1780
|
* @type {string}
|
|
1803
1781
|
* @memberof Institution
|
|
1804
1782
|
*/
|
|
1805
|
-
user_type:
|
|
1783
|
+
user_type: InstitutionUserTypeEnum;
|
|
1806
1784
|
/**
|
|
1807
1785
|
*
|
|
1808
1786
|
* @type {string}
|
|
1809
1787
|
* @memberof Institution
|
|
1810
1788
|
*/
|
|
1811
|
-
status:
|
|
1789
|
+
status: InstitutionStatusEnum;
|
|
1812
1790
|
/**
|
|
1813
1791
|
*
|
|
1814
1792
|
* @type {object}
|
|
@@ -1845,13 +1823,37 @@ export interface Institution {
|
|
|
1845
1823
|
* @memberof Institution
|
|
1846
1824
|
*/
|
|
1847
1825
|
updated_at?: string;
|
|
1848
|
-
/**
|
|
1849
|
-
*
|
|
1850
|
-
* @type {Array<string>}
|
|
1851
|
-
* @memberof Institution
|
|
1852
|
-
*/
|
|
1853
|
-
payment_rails?: Array<string>;
|
|
1854
1826
|
}
|
|
1827
|
+
export declare const InstitutionTagsEnum: {
|
|
1828
|
+
readonly Real: "real";
|
|
1829
|
+
readonly Test: "test";
|
|
1830
|
+
};
|
|
1831
|
+
export declare type InstitutionTagsEnum = typeof InstitutionTagsEnum[keyof typeof InstitutionTagsEnum];
|
|
1832
|
+
export declare const InstitutionInstitutionTypeEnum: {
|
|
1833
|
+
readonly Bank: "BANK";
|
|
1834
|
+
readonly Wallet: "WALLET";
|
|
1835
|
+
readonly Test: "TEST";
|
|
1836
|
+
};
|
|
1837
|
+
export declare type InstitutionInstitutionTypeEnum = typeof InstitutionInstitutionTypeEnum[keyof typeof InstitutionInstitutionTypeEnum];
|
|
1838
|
+
export declare const InstitutionProductsSupportedEnum: {
|
|
1839
|
+
readonly Accounts: "ACCOUNTS";
|
|
1840
|
+
readonly Transactions: "TRANSACTIONS";
|
|
1841
|
+
readonly Statements: "STATEMENTS";
|
|
1842
|
+
readonly AccountNumbers: "ACCOUNT_NUMBERS";
|
|
1843
|
+
readonly Identity: "IDENTITY";
|
|
1844
|
+
};
|
|
1845
|
+
export declare type InstitutionProductsSupportedEnum = typeof InstitutionProductsSupportedEnum[keyof typeof InstitutionProductsSupportedEnum];
|
|
1846
|
+
export declare const InstitutionUserTypeEnum: {
|
|
1847
|
+
readonly Personal: "PERSONAL";
|
|
1848
|
+
readonly Business: "BUSINESS";
|
|
1849
|
+
};
|
|
1850
|
+
export declare type InstitutionUserTypeEnum = typeof InstitutionUserTypeEnum[keyof typeof InstitutionUserTypeEnum];
|
|
1851
|
+
export declare const InstitutionStatusEnum: {
|
|
1852
|
+
readonly Supported: "SUPPORTED";
|
|
1853
|
+
readonly Alpha: "ALPHA";
|
|
1854
|
+
readonly Beta: "BETA";
|
|
1855
|
+
};
|
|
1856
|
+
export declare type InstitutionStatusEnum = typeof InstitutionStatusEnum[keyof typeof InstitutionStatusEnum];
|
|
1855
1857
|
/**
|
|
1856
1858
|
*
|
|
1857
1859
|
* @export
|
|
@@ -3540,11 +3542,11 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3540
3542
|
* @param {string} [country] The country the institution belongs to
|
|
3541
3543
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
3542
3544
|
* @param {string} [productsSupported] The products that this institution supports
|
|
3543
|
-
* @param {
|
|
3545
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
3544
3546
|
* @param {*} [options] Override http request option.
|
|
3545
3547
|
* @throws {RequiredError}
|
|
3546
3548
|
*/
|
|
3547
|
-
listInstitutions: (country?: string, countries?: Array<string>, productsSupported?: string, institutionType?:
|
|
3549
|
+
listInstitutions: (country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3548
3550
|
/**
|
|
3549
3551
|
* Refresh an access token
|
|
3550
3552
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
@@ -3605,11 +3607,11 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3605
3607
|
* @param {string} [country] The country the institution belongs to
|
|
3606
3608
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
3607
3609
|
* @param {string} [productsSupported] The products that this institution supports
|
|
3608
|
-
* @param {
|
|
3610
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
3609
3611
|
* @param {*} [options] Override http request option.
|
|
3610
3612
|
* @throws {RequiredError}
|
|
3611
3613
|
*/
|
|
3612
|
-
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?:
|
|
3614
|
+
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Institution>>>;
|
|
3613
3615
|
/**
|
|
3614
3616
|
* Refresh an access token
|
|
3615
3617
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
@@ -3670,11 +3672,11 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3670
3672
|
* @param {string} [country] The country the institution belongs to
|
|
3671
3673
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
3672
3674
|
* @param {string} [productsSupported] The products that this institution supports
|
|
3673
|
-
* @param {
|
|
3675
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
3674
3676
|
* @param {*} [options] Override http request option.
|
|
3675
3677
|
* @throws {RequiredError}
|
|
3676
3678
|
*/
|
|
3677
|
-
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?:
|
|
3679
|
+
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: any): AxiosPromise<Array<Institution>>;
|
|
3678
3680
|
/**
|
|
3679
3681
|
* Refresh an access token
|
|
3680
3682
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
@@ -3742,12 +3744,12 @@ export interface CustomerApiInterface {
|
|
|
3742
3744
|
* @param {string} [country] The country the institution belongs to
|
|
3743
3745
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
3744
3746
|
* @param {string} [productsSupported] The products that this institution supports
|
|
3745
|
-
* @param {
|
|
3747
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
3746
3748
|
* @param {*} [options] Override http request option.
|
|
3747
3749
|
* @throws {RequiredError}
|
|
3748
3750
|
* @memberof CustomerApiInterface
|
|
3749
3751
|
*/
|
|
3750
|
-
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?:
|
|
3752
|
+
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig): AxiosPromise<Array<Institution>>;
|
|
3751
3753
|
/**
|
|
3752
3754
|
* Refresh an access token
|
|
3753
3755
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
@@ -3817,12 +3819,12 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
3817
3819
|
* @param {string} [country] The country the institution belongs to
|
|
3818
3820
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
3819
3821
|
* @param {string} [productsSupported] The products that this institution supports
|
|
3820
|
-
* @param {
|
|
3822
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
3821
3823
|
* @param {*} [options] Override http request option.
|
|
3822
3824
|
* @throws {RequiredError}
|
|
3823
3825
|
* @memberof CustomerApi
|
|
3824
3826
|
*/
|
|
3825
|
-
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?:
|
|
3827
|
+
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Institution[]>>;
|
|
3826
3828
|
/**
|
|
3827
3829
|
* Refresh an access token
|
|
3828
3830
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
@@ -3855,11 +3857,11 @@ export declare const LinkApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
3855
3857
|
* @param {string} [country] The country the institution belongs to
|
|
3856
3858
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
3857
3859
|
* @param {string} [productsSupported] The products that this institution supports
|
|
3858
|
-
* @param {
|
|
3860
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
3859
3861
|
* @param {*} [options] Override http request option.
|
|
3860
3862
|
* @throws {RequiredError}
|
|
3861
3863
|
*/
|
|
3862
|
-
listInstitutions: (country?: string, countries?: Array<string>, productsSupported?: string, institutionType?:
|
|
3864
|
+
listInstitutions: (country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3863
3865
|
/**
|
|
3864
3866
|
* Update an existing link
|
|
3865
3867
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -3901,11 +3903,11 @@ export declare const LinkApiFp: (configuration?: Configuration) => {
|
|
|
3901
3903
|
* @param {string} [country] The country the institution belongs to
|
|
3902
3904
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
3903
3905
|
* @param {string} [productsSupported] The products that this institution supports
|
|
3904
|
-
* @param {
|
|
3906
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
3905
3907
|
* @param {*} [options] Override http request option.
|
|
3906
3908
|
* @throws {RequiredError}
|
|
3907
3909
|
*/
|
|
3908
|
-
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?:
|
|
3910
|
+
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Institution>>>;
|
|
3909
3911
|
/**
|
|
3910
3912
|
* Update an existing link
|
|
3911
3913
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -3947,11 +3949,11 @@ export declare const LinkApiFactory: (configuration?: Configuration, basePath?:
|
|
|
3947
3949
|
* @param {string} [country] The country the institution belongs to
|
|
3948
3950
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
3949
3951
|
* @param {string} [productsSupported] The products that this institution supports
|
|
3950
|
-
* @param {
|
|
3952
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
3951
3953
|
* @param {*} [options] Override http request option.
|
|
3952
3954
|
* @throws {RequiredError}
|
|
3953
3955
|
*/
|
|
3954
|
-
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?:
|
|
3956
|
+
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: any): AxiosPromise<Array<Institution>>;
|
|
3955
3957
|
/**
|
|
3956
3958
|
* Update an existing link
|
|
3957
3959
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -3996,12 +3998,12 @@ export interface LinkApiInterface {
|
|
|
3996
3998
|
* @param {string} [country] The country the institution belongs to
|
|
3997
3999
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
3998
4000
|
* @param {string} [productsSupported] The products that this institution supports
|
|
3999
|
-
* @param {
|
|
4001
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
4000
4002
|
* @param {*} [options] Override http request option.
|
|
4001
4003
|
* @throws {RequiredError}
|
|
4002
4004
|
* @memberof LinkApiInterface
|
|
4003
4005
|
*/
|
|
4004
|
-
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?:
|
|
4006
|
+
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig): AxiosPromise<Array<Institution>>;
|
|
4005
4007
|
/**
|
|
4006
4008
|
* Update an existing link
|
|
4007
4009
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -4049,12 +4051,12 @@ export declare class LinkApi extends BaseAPI implements LinkApiInterface {
|
|
|
4049
4051
|
* @param {string} [country] The country the institution belongs to
|
|
4050
4052
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
4051
4053
|
* @param {string} [productsSupported] The products that this institution supports
|
|
4052
|
-
* @param {
|
|
4054
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
4053
4055
|
* @param {*} [options] Override http request option.
|
|
4054
4056
|
* @throws {RequiredError}
|
|
4055
4057
|
* @memberof LinkApi
|
|
4056
4058
|
*/
|
|
4057
|
-
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?:
|
|
4059
|
+
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Institution[]>>;
|
|
4058
4060
|
/**
|
|
4059
4061
|
* Update an existing link
|
|
4060
4062
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
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.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SubmitAuthChecklistRequestSenderTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentInstructionTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.
|
|
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.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SubmitAuthChecklistRequestSenderTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentInstructionTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetPaymentResponseStatusEnum = exports.GetPaymentResponseTypeEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -48,10 +48,6 @@ exports.AuthChecklistOptionsSubmittedByEnum = {
|
|
|
48
48
|
CustomerApp: 'CUSTOMER_APP',
|
|
49
49
|
FinverseLink: 'FINVERSE_LINK',
|
|
50
50
|
};
|
|
51
|
-
exports.CreateMandateSenderSenderTypeEnum = {
|
|
52
|
-
Individual: 'INDIVIDUAL',
|
|
53
|
-
Business: 'BUSINESS',
|
|
54
|
-
};
|
|
55
51
|
exports.CreatePaymentRequestTypeEnum = {
|
|
56
52
|
Mandate: 'MANDATE',
|
|
57
53
|
Single: 'SINGLE',
|
|
@@ -78,10 +74,6 @@ exports.GetMandateResponseMandateStatusEnum = {
|
|
|
78
74
|
Submitted: 'SUBMITTED',
|
|
79
75
|
Error: 'ERROR',
|
|
80
76
|
};
|
|
81
|
-
exports.GetMandateSenderSenderTypeEnum = {
|
|
82
|
-
Individual: 'INDIVIDUAL',
|
|
83
|
-
Business: 'BUSINESS',
|
|
84
|
-
};
|
|
85
77
|
exports.GetPaymentResponseTypeEnum = {
|
|
86
78
|
Mandate: 'MANDATE',
|
|
87
79
|
Single: 'SINGLE',
|
|
@@ -95,6 +87,31 @@ exports.GetPaymentResponseStatusEnum = {
|
|
|
95
87
|
Rejected: 'REJECTED',
|
|
96
88
|
Cancelled: 'CANCELLED',
|
|
97
89
|
};
|
|
90
|
+
exports.InstitutionTagsEnum = {
|
|
91
|
+
Real: 'real',
|
|
92
|
+
Test: 'test',
|
|
93
|
+
};
|
|
94
|
+
exports.InstitutionInstitutionTypeEnum = {
|
|
95
|
+
Bank: 'BANK',
|
|
96
|
+
Wallet: 'WALLET',
|
|
97
|
+
Test: 'TEST',
|
|
98
|
+
};
|
|
99
|
+
exports.InstitutionProductsSupportedEnum = {
|
|
100
|
+
Accounts: 'ACCOUNTS',
|
|
101
|
+
Transactions: 'TRANSACTIONS',
|
|
102
|
+
Statements: 'STATEMENTS',
|
|
103
|
+
AccountNumbers: 'ACCOUNT_NUMBERS',
|
|
104
|
+
Identity: 'IDENTITY',
|
|
105
|
+
};
|
|
106
|
+
exports.InstitutionUserTypeEnum = {
|
|
107
|
+
Personal: 'PERSONAL',
|
|
108
|
+
Business: 'BUSINESS',
|
|
109
|
+
};
|
|
110
|
+
exports.InstitutionStatusEnum = {
|
|
111
|
+
Supported: 'SUPPORTED',
|
|
112
|
+
Alpha: 'ALPHA',
|
|
113
|
+
Beta: 'BETA',
|
|
114
|
+
};
|
|
98
115
|
exports.LinkTokenRequestUiModeEnum = {
|
|
99
116
|
Iframe: 'iframe',
|
|
100
117
|
Redirect: 'redirect',
|
|
@@ -334,7 +351,7 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
334
351
|
* @param {string} [country] The country the institution belongs to
|
|
335
352
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
336
353
|
* @param {string} [productsSupported] The products that this institution supports
|
|
337
|
-
* @param {
|
|
354
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
338
355
|
* @param {*} [options] Override http request option.
|
|
339
356
|
* @throws {RequiredError}
|
|
340
357
|
*/
|
|
@@ -490,7 +507,7 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
490
507
|
* @param {string} [country] The country the institution belongs to
|
|
491
508
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
492
509
|
* @param {string} [productsSupported] The products that this institution supports
|
|
493
|
-
* @param {
|
|
510
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
494
511
|
* @param {*} [options] Override http request option.
|
|
495
512
|
* @throws {RequiredError}
|
|
496
513
|
*/
|
|
@@ -584,7 +601,7 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
584
601
|
* @param {string} [country] The country the institution belongs to
|
|
585
602
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
586
603
|
* @param {string} [productsSupported] The products that this institution supports
|
|
587
|
-
* @param {
|
|
604
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
588
605
|
* @param {*} [options] Override http request option.
|
|
589
606
|
* @throws {RequiredError}
|
|
590
607
|
*/
|
|
@@ -688,7 +705,7 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
688
705
|
* @param {string} [country] The country the institution belongs to
|
|
689
706
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
690
707
|
* @param {string} [productsSupported] The products that this institution supports
|
|
691
|
-
* @param {
|
|
708
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
692
709
|
* @param {*} [options] Override http request option.
|
|
693
710
|
* @throws {RequiredError}
|
|
694
711
|
* @memberof CustomerApi
|
|
@@ -782,7 +799,7 @@ exports.LinkApiAxiosParamCreator = function (configuration) {
|
|
|
782
799
|
* @param {string} [country] The country the institution belongs to
|
|
783
800
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
784
801
|
* @param {string} [productsSupported] The products that this institution supports
|
|
785
|
-
* @param {
|
|
802
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
786
803
|
* @param {*} [options] Override http request option.
|
|
787
804
|
* @throws {RequiredError}
|
|
788
805
|
*/
|
|
@@ -943,7 +960,7 @@ exports.LinkApiFp = function (configuration) {
|
|
|
943
960
|
* @param {string} [country] The country the institution belongs to
|
|
944
961
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
945
962
|
* @param {string} [productsSupported] The products that this institution supports
|
|
946
|
-
* @param {
|
|
963
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
947
964
|
* @param {*} [options] Override http request option.
|
|
948
965
|
* @throws {RequiredError}
|
|
949
966
|
*/
|
|
@@ -1011,7 +1028,7 @@ exports.LinkApiFactory = function (configuration, basePath, axios) {
|
|
|
1011
1028
|
* @param {string} [country] The country the institution belongs to
|
|
1012
1029
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
1013
1030
|
* @param {string} [productsSupported] The products that this institution supports
|
|
1014
|
-
* @param {
|
|
1031
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
1015
1032
|
* @param {*} [options] Override http request option.
|
|
1016
1033
|
* @throws {RequiredError}
|
|
1017
1034
|
*/
|
|
@@ -1080,7 +1097,7 @@ class LinkApi extends base_1.BaseAPI {
|
|
|
1080
1097
|
* @param {string} [country] The country the institution belongs to
|
|
1081
1098
|
* @param {Array<string>} [countries] The countries the institution belongs to
|
|
1082
1099
|
* @param {string} [productsSupported] The products that this institution supports
|
|
1083
|
-
* @param {
|
|
1100
|
+
* @param {'BANK' | 'WALLET' | 'TEST'} [institutionType] The type of institution
|
|
1084
1101
|
* @param {*} [options] Override http request option.
|
|
1085
1102
|
* @throws {RequiredError}
|
|
1086
1103
|
* @memberof LinkApi
|