@finverse/sdk-typescript 0.0.284 → 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 +108 -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
|
*
|
|
@@ -2054,6 +2068,18 @@ export interface FVCardDetails {
|
|
|
2054
2068
|
* @memberof FVCardDetails
|
|
2055
2069
|
*/
|
|
2056
2070
|
expiry_year?: number;
|
|
2071
|
+
/**
|
|
2072
|
+
*
|
|
2073
|
+
* @type {string}
|
|
2074
|
+
* @memberof FVCardDetails
|
|
2075
|
+
*/
|
|
2076
|
+
processor_entity_name?: string;
|
|
2077
|
+
/**
|
|
2078
|
+
*
|
|
2079
|
+
* @type {string}
|
|
2080
|
+
* @memberof FVCardDetails
|
|
2081
|
+
*/
|
|
2082
|
+
collection_entity_name?: string;
|
|
2057
2083
|
}
|
|
2058
2084
|
/**
|
|
2059
2085
|
*
|
|
@@ -3376,6 +3402,7 @@ export declare const InstitutionProductsSupportedEnum: {
|
|
|
3376
3402
|
readonly Statements: "STATEMENTS";
|
|
3377
3403
|
readonly AccountNumbers: "ACCOUNT_NUMBERS";
|
|
3378
3404
|
readonly Identity: "IDENTITY";
|
|
3405
|
+
readonly AutoDebitSetup: "AUTO_DEBIT_SETUP";
|
|
3379
3406
|
};
|
|
3380
3407
|
export declare type InstitutionProductsSupportedEnum = (typeof InstitutionProductsSupportedEnum)[keyof typeof InstitutionProductsSupportedEnum];
|
|
3381
3408
|
export declare const InstitutionUserTypeEnum: {
|
|
@@ -3828,6 +3855,12 @@ export interface LinkTokenRequest {
|
|
|
3828
3855
|
* @memberof LinkTokenRequest
|
|
3829
3856
|
*/
|
|
3830
3857
|
institution_status?: string;
|
|
3858
|
+
/**
|
|
3859
|
+
*
|
|
3860
|
+
* @type {LinkTokenUserConfigs}
|
|
3861
|
+
* @memberof LinkTokenRequest
|
|
3862
|
+
*/
|
|
3863
|
+
user_configs?: LinkTokenUserConfigs;
|
|
3831
3864
|
}
|
|
3832
3865
|
export declare const LinkTokenRequestUiModeEnum: {
|
|
3833
3866
|
readonly Iframe: "iframe";
|
|
@@ -3885,6 +3918,19 @@ export interface LinkTokenResponse {
|
|
|
3885
3918
|
*/
|
|
3886
3919
|
link_url: string;
|
|
3887
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
|
+
}
|
|
3888
3934
|
/**
|
|
3889
3935
|
*
|
|
3890
3936
|
* @export
|
|
@@ -4675,6 +4721,31 @@ export interface MandateDetailsResponse {
|
|
|
4675
4721
|
* @memberof MandateDetailsResponse
|
|
4676
4722
|
*/
|
|
4677
4723
|
mandate_bank_reference?: string;
|
|
4724
|
+
/**
|
|
4725
|
+
*
|
|
4726
|
+
* @type {string}
|
|
4727
|
+
* @memberof MandateDetailsResponse
|
|
4728
|
+
*/
|
|
4729
|
+
processor_entity_name?: string;
|
|
4730
|
+
/**
|
|
4731
|
+
*
|
|
4732
|
+
* @type {string}
|
|
4733
|
+
* @memberof MandateDetailsResponse
|
|
4734
|
+
*/
|
|
4735
|
+
collection_entity_name?: string;
|
|
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;
|
|
4678
4749
|
}
|
|
4679
4750
|
/**
|
|
4680
4751
|
*
|
|
@@ -4718,6 +4789,12 @@ export interface MandateFvLinkResponse {
|
|
|
4718
4789
|
* @memberof MandateFvLinkResponse
|
|
4719
4790
|
*/
|
|
4720
4791
|
error?: FvEmbeddedErrorModel;
|
|
4792
|
+
/**
|
|
4793
|
+
*
|
|
4794
|
+
* @type {MandateFvLinkDetails}
|
|
4795
|
+
* @memberof MandateFvLinkResponse
|
|
4796
|
+
*/
|
|
4797
|
+
mandate_details?: MandateFvLinkDetails;
|
|
4721
4798
|
}
|
|
4722
4799
|
/**
|
|
4723
4800
|
*
|
|
@@ -5205,6 +5282,18 @@ export interface PaymentDetails2 {
|
|
|
5205
5282
|
* @memberof PaymentDetails2
|
|
5206
5283
|
*/
|
|
5207
5284
|
references?: PaymentDetailsReferences;
|
|
5285
|
+
/**
|
|
5286
|
+
*
|
|
5287
|
+
* @type {string}
|
|
5288
|
+
* @memberof PaymentDetails2
|
|
5289
|
+
*/
|
|
5290
|
+
processor_entity_name?: string;
|
|
5291
|
+
/**
|
|
5292
|
+
*
|
|
5293
|
+
* @type {string}
|
|
5294
|
+
* @memberof PaymentDetails2
|
|
5295
|
+
*/
|
|
5296
|
+
collection_entity_name?: string;
|
|
5208
5297
|
}
|
|
5209
5298
|
/**
|
|
5210
5299
|
*
|
|
@@ -5225,6 +5314,19 @@ export interface PaymentDetailsReferences {
|
|
|
5225
5314
|
*/
|
|
5226
5315
|
dda_reference?: string;
|
|
5227
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
|
+
}
|
|
5228
5330
|
/**
|
|
5229
5331
|
*
|
|
5230
5332
|
* @export
|
|
@@ -5243,6 +5345,12 @@ export interface PaymentFvLinkResponse {
|
|
|
5243
5345
|
* @memberof PaymentFvLinkResponse
|
|
5244
5346
|
*/
|
|
5245
5347
|
status?: PaymentFvLinkResponseStatusEnum;
|
|
5348
|
+
/**
|
|
5349
|
+
*
|
|
5350
|
+
* @type {PaymentFvLinkDetails}
|
|
5351
|
+
* @memberof PaymentFvLinkResponse
|
|
5352
|
+
*/
|
|
5353
|
+
payment_details?: PaymentFvLinkDetails;
|
|
5246
5354
|
/**
|
|
5247
5355
|
*
|
|
5248
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: {
|