@finverse/sdk-typescript 0.0.285 → 0.0.287
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 +78 -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 +2 -2
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
|
*
|
|
@@ -5260,6 +5313,25 @@ export interface PaymentDetailsReferences {
|
|
|
5260
5313
|
* @memberof PaymentDetailsReferences
|
|
5261
5314
|
*/
|
|
5262
5315
|
dda_reference?: string;
|
|
5316
|
+
/**
|
|
5317
|
+
*
|
|
5318
|
+
* @type {string}
|
|
5319
|
+
* @memberof PaymentDetailsReferences
|
|
5320
|
+
*/
|
|
5321
|
+
bank_transaction_reference?: string;
|
|
5322
|
+
}
|
|
5323
|
+
/**
|
|
5324
|
+
*
|
|
5325
|
+
* @export
|
|
5326
|
+
* @interface PaymentFvLinkDetails
|
|
5327
|
+
*/
|
|
5328
|
+
export interface PaymentFvLinkDetails {
|
|
5329
|
+
/**
|
|
5330
|
+
*
|
|
5331
|
+
* @type {string}
|
|
5332
|
+
* @memberof PaymentFvLinkDetails
|
|
5333
|
+
*/
|
|
5334
|
+
collection_entity_name?: string;
|
|
5263
5335
|
}
|
|
5264
5336
|
/**
|
|
5265
5337
|
*
|
|
@@ -5279,6 +5351,12 @@ export interface PaymentFvLinkResponse {
|
|
|
5279
5351
|
* @memberof PaymentFvLinkResponse
|
|
5280
5352
|
*/
|
|
5281
5353
|
status?: PaymentFvLinkResponseStatusEnum;
|
|
5354
|
+
/**
|
|
5355
|
+
*
|
|
5356
|
+
* @type {PaymentFvLinkDetails}
|
|
5357
|
+
* @memberof PaymentFvLinkResponse
|
|
5358
|
+
*/
|
|
5359
|
+
payment_details?: PaymentFvLinkDetails;
|
|
5282
5360
|
/**
|
|
5283
5361
|
*
|
|
5284
5362
|
* @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: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finverse/sdk-typescript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.287",
|
|
4
4
|
"description": "OpenAPI client for @finverse/sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"axios": "^0.21.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@types/chai": "^5.0
|
|
24
|
+
"@types/chai": "^5.2.0",
|
|
25
25
|
"@types/mocha": "^10.0.10",
|
|
26
26
|
"@types/node": "^12.11.5",
|
|
27
27
|
"axios-mock-adapter": "^1.21.2",
|