@finverse/sdk-typescript 0.0.285 → 0.0.286
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 +72 -0
- package/dist/api.js +1 -0
- package/dist/test/responses/account.d.ts +34 -2
- package/dist/test/responses/account.js +4 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -163,6 +163,14 @@ export interface Account {
|
|
|
163
163
|
* @memberof Account
|
|
164
164
|
*/
|
|
165
165
|
account_type?: AccountType;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {{ [key: string]: string; }}
|
|
169
|
+
* @memberof Account
|
|
170
|
+
*/
|
|
171
|
+
metadata: {
|
|
172
|
+
[key: string]: string;
|
|
173
|
+
};
|
|
166
174
|
}
|
|
167
175
|
/**
|
|
168
176
|
*
|
|
@@ -809,6 +817,12 @@ export interface CardFvLinkDetails {
|
|
|
809
817
|
* @memberof CardFvLinkDetails
|
|
810
818
|
*/
|
|
811
819
|
expiry_year?: number;
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @type {string}
|
|
823
|
+
* @memberof CardFvLinkDetails
|
|
824
|
+
*/
|
|
825
|
+
collection_entity_name?: string;
|
|
812
826
|
}
|
|
813
827
|
/**
|
|
814
828
|
*
|
|
@@ -3388,6 +3402,7 @@ export declare const InstitutionProductsSupportedEnum: {
|
|
|
3388
3402
|
readonly Statements: "STATEMENTS";
|
|
3389
3403
|
readonly AccountNumbers: "ACCOUNT_NUMBERS";
|
|
3390
3404
|
readonly Identity: "IDENTITY";
|
|
3405
|
+
readonly AutoDebitSetup: "AUTO_DEBIT_SETUP";
|
|
3391
3406
|
};
|
|
3392
3407
|
export declare type InstitutionProductsSupportedEnum = (typeof InstitutionProductsSupportedEnum)[keyof typeof InstitutionProductsSupportedEnum];
|
|
3393
3408
|
export declare const InstitutionUserTypeEnum: {
|
|
@@ -3840,6 +3855,12 @@ export interface LinkTokenRequest {
|
|
|
3840
3855
|
* @memberof LinkTokenRequest
|
|
3841
3856
|
*/
|
|
3842
3857
|
institution_status?: string;
|
|
3858
|
+
/**
|
|
3859
|
+
*
|
|
3860
|
+
* @type {LinkTokenUserConfigs}
|
|
3861
|
+
* @memberof LinkTokenRequest
|
|
3862
|
+
*/
|
|
3863
|
+
user_configs?: LinkTokenUserConfigs;
|
|
3843
3864
|
}
|
|
3844
3865
|
export declare const LinkTokenRequestUiModeEnum: {
|
|
3845
3866
|
readonly Iframe: "iframe";
|
|
@@ -3897,6 +3918,19 @@ export interface LinkTokenResponse {
|
|
|
3897
3918
|
*/
|
|
3898
3919
|
link_url: string;
|
|
3899
3920
|
}
|
|
3921
|
+
/**
|
|
3922
|
+
*
|
|
3923
|
+
* @export
|
|
3924
|
+
* @interface LinkTokenUserConfigs
|
|
3925
|
+
*/
|
|
3926
|
+
export interface LinkTokenUserConfigs {
|
|
3927
|
+
/**
|
|
3928
|
+
* Account Number to use for ADA setup
|
|
3929
|
+
* @type {string}
|
|
3930
|
+
* @memberof LinkTokenUserConfigs
|
|
3931
|
+
*/
|
|
3932
|
+
ada_account_number?: string;
|
|
3933
|
+
}
|
|
3900
3934
|
/**
|
|
3901
3935
|
*
|
|
3902
3936
|
* @export
|
|
@@ -4700,6 +4734,19 @@ export interface MandateDetailsResponse {
|
|
|
4700
4734
|
*/
|
|
4701
4735
|
collection_entity_name?: string;
|
|
4702
4736
|
}
|
|
4737
|
+
/**
|
|
4738
|
+
*
|
|
4739
|
+
* @export
|
|
4740
|
+
* @interface MandateFvLinkDetails
|
|
4741
|
+
*/
|
|
4742
|
+
export interface MandateFvLinkDetails {
|
|
4743
|
+
/**
|
|
4744
|
+
*
|
|
4745
|
+
* @type {string}
|
|
4746
|
+
* @memberof MandateFvLinkDetails
|
|
4747
|
+
*/
|
|
4748
|
+
collection_entity_name?: string;
|
|
4749
|
+
}
|
|
4703
4750
|
/**
|
|
4704
4751
|
*
|
|
4705
4752
|
* @export
|
|
@@ -4742,6 +4789,12 @@ export interface MandateFvLinkResponse {
|
|
|
4742
4789
|
* @memberof MandateFvLinkResponse
|
|
4743
4790
|
*/
|
|
4744
4791
|
error?: FvEmbeddedErrorModel;
|
|
4792
|
+
/**
|
|
4793
|
+
*
|
|
4794
|
+
* @type {MandateFvLinkDetails}
|
|
4795
|
+
* @memberof MandateFvLinkResponse
|
|
4796
|
+
*/
|
|
4797
|
+
mandate_details?: MandateFvLinkDetails;
|
|
4745
4798
|
}
|
|
4746
4799
|
/**
|
|
4747
4800
|
*
|
|
@@ -5261,6 +5314,19 @@ export interface PaymentDetailsReferences {
|
|
|
5261
5314
|
*/
|
|
5262
5315
|
dda_reference?: string;
|
|
5263
5316
|
}
|
|
5317
|
+
/**
|
|
5318
|
+
*
|
|
5319
|
+
* @export
|
|
5320
|
+
* @interface PaymentFvLinkDetails
|
|
5321
|
+
*/
|
|
5322
|
+
export interface PaymentFvLinkDetails {
|
|
5323
|
+
/**
|
|
5324
|
+
*
|
|
5325
|
+
* @type {string}
|
|
5326
|
+
* @memberof PaymentFvLinkDetails
|
|
5327
|
+
*/
|
|
5328
|
+
collection_entity_name?: string;
|
|
5329
|
+
}
|
|
5264
5330
|
/**
|
|
5265
5331
|
*
|
|
5266
5332
|
* @export
|
|
@@ -5279,6 +5345,12 @@ export interface PaymentFvLinkResponse {
|
|
|
5279
5345
|
* @memberof PaymentFvLinkResponse
|
|
5280
5346
|
*/
|
|
5281
5347
|
status?: PaymentFvLinkResponseStatusEnum;
|
|
5348
|
+
/**
|
|
5349
|
+
*
|
|
5350
|
+
* @type {PaymentFvLinkDetails}
|
|
5351
|
+
* @memberof PaymentFvLinkResponse
|
|
5352
|
+
*/
|
|
5353
|
+
payment_details?: PaymentFvLinkDetails;
|
|
5282
5354
|
/**
|
|
5283
5355
|
*
|
|
5284
5356
|
* @type {FvEmbeddedErrorModel}
|
package/dist/api.js
CHANGED
|
@@ -1,2 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare function getAccounts(): {
|
|
2
|
+
accounts: {
|
|
3
|
+
account_currency: string;
|
|
4
|
+
account_id: string;
|
|
5
|
+
account_name: string;
|
|
6
|
+
balance: {
|
|
7
|
+
currency: string;
|
|
8
|
+
raw: string;
|
|
9
|
+
value: number;
|
|
10
|
+
};
|
|
11
|
+
created_at: string;
|
|
12
|
+
group_id: string;
|
|
13
|
+
is_closed: boolean;
|
|
14
|
+
is_excluded: boolean;
|
|
15
|
+
is_parent: boolean;
|
|
16
|
+
statement_balance: {
|
|
17
|
+
currency: string;
|
|
18
|
+
raw: string;
|
|
19
|
+
value: number;
|
|
20
|
+
};
|
|
21
|
+
updated_at: string;
|
|
22
|
+
metadata: {};
|
|
23
|
+
}[];
|
|
24
|
+
institution: {
|
|
25
|
+
countries: string[];
|
|
26
|
+
institution_id: string;
|
|
27
|
+
institution_name: string;
|
|
28
|
+
portal_name: string;
|
|
29
|
+
};
|
|
30
|
+
login_identity: {
|
|
31
|
+
login_identity_id: string;
|
|
32
|
+
status: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -24,6 +24,7 @@ function getAccounts() {
|
|
|
24
24
|
value: 70013.12,
|
|
25
25
|
},
|
|
26
26
|
updated_at: '2021-06-08T02:09:42.000Z',
|
|
27
|
+
metadata: {},
|
|
27
28
|
},
|
|
28
29
|
{
|
|
29
30
|
account_currency: 'HKD',
|
|
@@ -45,6 +46,7 @@ function getAccounts() {
|
|
|
45
46
|
value: -1833.22,
|
|
46
47
|
},
|
|
47
48
|
updated_at: '2021-06-08T02:09:42.000Z',
|
|
49
|
+
metadata: {},
|
|
48
50
|
},
|
|
49
51
|
{
|
|
50
52
|
account_currency: 'USD',
|
|
@@ -66,6 +68,7 @@ function getAccounts() {
|
|
|
66
68
|
value: 15001.116,
|
|
67
69
|
},
|
|
68
70
|
updated_at: '2021-06-08T02:09:42.000Z',
|
|
71
|
+
metadata: {},
|
|
69
72
|
},
|
|
70
73
|
{
|
|
71
74
|
account_currency: 'BTC',
|
|
@@ -87,6 +90,7 @@ function getAccounts() {
|
|
|
87
90
|
value: 106468292.05,
|
|
88
91
|
},
|
|
89
92
|
updated_at: '2021-06-08T02:09:42.000Z',
|
|
93
|
+
metadata: {},
|
|
90
94
|
},
|
|
91
95
|
],
|
|
92
96
|
institution: {
|