@finverse/sdk-typescript 0.0.402 → 0.0.404
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 +188 -94
- package/dist/api.js +77 -22
- package/dist/test/responses/account.d.ts +1 -1
- package/dist/test/responses/account.js +2 -1
- package/dist/test/responses/balanceHistory.js +2 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -179,6 +179,20 @@ export interface Account {
|
|
|
179
179
|
[key: string]: string;
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* Account category
|
|
184
|
+
* @export
|
|
185
|
+
* @enum {string}
|
|
186
|
+
*/
|
|
187
|
+
export declare const AccountCategory: {
|
|
188
|
+
readonly Unknown: "UNKNOWN";
|
|
189
|
+
readonly Deposit: "DEPOSIT";
|
|
190
|
+
readonly Card: "CARD";
|
|
191
|
+
readonly Investment: "INVESTMENT";
|
|
192
|
+
readonly Loan: "LOAN";
|
|
193
|
+
readonly Other: "OTHER";
|
|
194
|
+
};
|
|
195
|
+
export type AccountCategory = (typeof AccountCategory)[keyof typeof AccountCategory];
|
|
182
196
|
/**
|
|
183
197
|
*
|
|
184
198
|
* @export
|
|
@@ -222,10 +236,10 @@ export type AccountNumberType = (typeof AccountNumberType)[keyof typeof AccountN
|
|
|
222
236
|
export interface AccountType {
|
|
223
237
|
/**
|
|
224
238
|
*
|
|
225
|
-
* @type {
|
|
239
|
+
* @type {AccountCategory}
|
|
226
240
|
* @memberof AccountType
|
|
227
241
|
*/
|
|
228
|
-
type?:
|
|
242
|
+
type?: AccountCategory;
|
|
229
243
|
/**
|
|
230
244
|
*
|
|
231
245
|
* @type {string}
|
|
@@ -233,14 +247,6 @@ export interface AccountType {
|
|
|
233
247
|
*/
|
|
234
248
|
subtype?: AccountTypeSubtypeEnum;
|
|
235
249
|
}
|
|
236
|
-
export declare const AccountTypeTypeEnum: {
|
|
237
|
-
readonly Deposit: "DEPOSIT";
|
|
238
|
-
readonly Card: "CARD";
|
|
239
|
-
readonly Investment: "INVESTMENT";
|
|
240
|
-
readonly Loan: "LOAN";
|
|
241
|
-
readonly Unknown: "UNKNOWN";
|
|
242
|
-
};
|
|
243
|
-
export type AccountTypeTypeEnum = (typeof AccountTypeTypeEnum)[keyof typeof AccountTypeTypeEnum];
|
|
244
250
|
export declare const AccountTypeSubtypeEnum: {
|
|
245
251
|
readonly Current: "CURRENT";
|
|
246
252
|
readonly Savings: "SAVINGS";
|
|
@@ -523,6 +529,37 @@ export declare const AuthChecklistOptionsSubmittedByEnum: {
|
|
|
523
529
|
readonly FinverseLink: "FINVERSE_LINK";
|
|
524
530
|
};
|
|
525
531
|
export type AuthChecklistOptionsSubmittedByEnum = (typeof AuthChecklistOptionsSubmittedByEnum)[keyof typeof AuthChecklistOptionsSubmittedByEnum];
|
|
532
|
+
/**
|
|
533
|
+
*
|
|
534
|
+
* @export
|
|
535
|
+
* @interface AuthenticationStatus
|
|
536
|
+
*/
|
|
537
|
+
export interface AuthenticationStatus {
|
|
538
|
+
/**
|
|
539
|
+
*
|
|
540
|
+
* @type {LoginIdentityAuthStatus}
|
|
541
|
+
* @memberof AuthenticationStatus
|
|
542
|
+
*/
|
|
543
|
+
status?: LoginIdentityAuthStatus;
|
|
544
|
+
/**
|
|
545
|
+
* The detailed event name
|
|
546
|
+
* @type {string}
|
|
547
|
+
* @memberof AuthenticationStatus
|
|
548
|
+
*/
|
|
549
|
+
status_details?: string;
|
|
550
|
+
/**
|
|
551
|
+
*
|
|
552
|
+
* @type {string}
|
|
553
|
+
* @memberof AuthenticationStatus
|
|
554
|
+
*/
|
|
555
|
+
last_update?: string | null;
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @type {string}
|
|
559
|
+
* @memberof AuthenticationStatus
|
|
560
|
+
*/
|
|
561
|
+
last_successful_update?: string | null;
|
|
562
|
+
}
|
|
526
563
|
/**
|
|
527
564
|
*
|
|
528
565
|
* @export
|
|
@@ -577,7 +614,7 @@ export interface AvailablePaymentMethod {
|
|
|
577
614
|
* @type {PaymentType}
|
|
578
615
|
* @memberof AvailablePaymentMethod
|
|
579
616
|
*/
|
|
580
|
-
payment_method_type
|
|
617
|
+
payment_method_type: PaymentType;
|
|
581
618
|
/**
|
|
582
619
|
* The payment method subtype, e.g., EDDA_HK, CARD_GENERIC etc
|
|
583
620
|
* @type {string}
|
|
@@ -926,7 +963,7 @@ export interface CardAccount {
|
|
|
926
963
|
* @type {string}
|
|
927
964
|
* @memberof CardAccount
|
|
928
965
|
*/
|
|
929
|
-
account_id
|
|
966
|
+
account_id: string;
|
|
930
967
|
/**
|
|
931
968
|
*
|
|
932
969
|
* @type {string}
|
|
@@ -1103,7 +1140,7 @@ export interface CardFvLinkResponse {
|
|
|
1103
1140
|
* @type {CardStatus}
|
|
1104
1141
|
* @memberof CardFvLinkResponse
|
|
1105
1142
|
*/
|
|
1106
|
-
status
|
|
1143
|
+
status: CardStatus;
|
|
1107
1144
|
/**
|
|
1108
1145
|
*
|
|
1109
1146
|
* @type {CardFvLinkDetails}
|
|
@@ -1134,7 +1171,7 @@ export interface CardRecipient {
|
|
|
1134
1171
|
* @type {string}
|
|
1135
1172
|
* @memberof CardRecipient
|
|
1136
1173
|
*/
|
|
1137
|
-
name
|
|
1174
|
+
name: string;
|
|
1138
1175
|
}
|
|
1139
1176
|
/**
|
|
1140
1177
|
* Card status
|
|
@@ -2167,7 +2204,7 @@ export interface DeleteLoginIdentityResponse {
|
|
|
2167
2204
|
* @type {boolean}
|
|
2168
2205
|
* @memberof DeleteLoginIdentityResponse
|
|
2169
2206
|
*/
|
|
2170
|
-
success
|
|
2207
|
+
success: boolean;
|
|
2171
2208
|
}
|
|
2172
2209
|
/**
|
|
2173
2210
|
*
|
|
@@ -2180,19 +2217,19 @@ export interface DisputeResponse {
|
|
|
2180
2217
|
* @type {string}
|
|
2181
2218
|
* @memberof DisputeResponse
|
|
2182
2219
|
*/
|
|
2183
|
-
dispute_id
|
|
2220
|
+
dispute_id: string;
|
|
2184
2221
|
/**
|
|
2185
2222
|
* Amount to be disputed, in currency\'s smallest unit or “minor unit”, as defined in ISO 4217. For example, HKD 100.01 is represented as amount = 10001 (minor unit = cents). For currencies without minor units (e.g. VND, JPY), the amount is represented as is, without modification. For example, VND 15101 is represented as amount = 15101.
|
|
2186
2223
|
* @type {number}
|
|
2187
2224
|
* @memberof DisputeResponse
|
|
2188
2225
|
*/
|
|
2189
|
-
amount
|
|
2226
|
+
amount: number;
|
|
2190
2227
|
/**
|
|
2191
2228
|
* The currency of the balance
|
|
2192
2229
|
* @type {string}
|
|
2193
2230
|
* @memberof DisputeResponse
|
|
2194
2231
|
*/
|
|
2195
|
-
currency
|
|
2232
|
+
currency: string;
|
|
2196
2233
|
/**
|
|
2197
2234
|
* The name of the last event for this dispute
|
|
2198
2235
|
* @type {string}
|
|
@@ -2270,7 +2307,7 @@ export interface DisputeResponse {
|
|
|
2270
2307
|
* @type {DisputeStatus}
|
|
2271
2308
|
* @memberof DisputeResponse
|
|
2272
2309
|
*/
|
|
2273
|
-
dispute_status
|
|
2310
|
+
dispute_status: DisputeStatus;
|
|
2274
2311
|
/**
|
|
2275
2312
|
* The status of the dispute at the payment processor
|
|
2276
2313
|
* @type {string}
|
|
@@ -2591,7 +2628,7 @@ export interface FVCard {
|
|
|
2591
2628
|
* @type {CardStatus}
|
|
2592
2629
|
* @memberof FVCard
|
|
2593
2630
|
*/
|
|
2594
|
-
status
|
|
2631
|
+
status: CardStatus;
|
|
2595
2632
|
/**
|
|
2596
2633
|
*
|
|
2597
2634
|
* @type {FvEmbeddedErrorModel}
|
|
@@ -2799,7 +2836,7 @@ export interface Fee {
|
|
|
2799
2836
|
* @type {string}
|
|
2800
2837
|
* @memberof Fee
|
|
2801
2838
|
*/
|
|
2802
|
-
currency
|
|
2839
|
+
currency: string;
|
|
2803
2840
|
/**
|
|
2804
2841
|
*
|
|
2805
2842
|
* @type {FeePaidBy}
|
|
@@ -3114,7 +3151,7 @@ export interface GetBalanceHistoryResponse {
|
|
|
3114
3151
|
* @type {string}
|
|
3115
3152
|
* @memberof GetBalanceHistoryResponse
|
|
3116
3153
|
*/
|
|
3117
|
-
source
|
|
3154
|
+
source: GetBalanceHistoryResponseSourceEnum;
|
|
3118
3155
|
}
|
|
3119
3156
|
export declare const GetBalanceHistoryResponseSourceEnum: {
|
|
3120
3157
|
readonly Institution: "INSTITUTION";
|
|
@@ -3388,11 +3425,11 @@ export interface GetMandateAuthResponse {
|
|
|
3388
3425
|
*/
|
|
3389
3426
|
mandate_id: string;
|
|
3390
3427
|
/**
|
|
3391
|
-
*
|
|
3392
|
-
* @type {
|
|
3428
|
+
*
|
|
3429
|
+
* @type {MandateStatus}
|
|
3393
3430
|
* @memberof GetMandateAuthResponse
|
|
3394
3431
|
*/
|
|
3395
|
-
mandate_status:
|
|
3432
|
+
mandate_status: MandateStatus;
|
|
3396
3433
|
/**
|
|
3397
3434
|
* Merchant account ID assigned by Finverse
|
|
3398
3435
|
* @type {string}
|
|
@@ -3448,13 +3485,6 @@ export interface GetMandateAuthResponse {
|
|
|
3448
3485
|
*/
|
|
3449
3486
|
recipient?: MandateRecipient;
|
|
3450
3487
|
}
|
|
3451
|
-
export declare const GetMandateAuthResponseMandateStatusEnum: {
|
|
3452
|
-
readonly Created: "CREATED";
|
|
3453
|
-
readonly Processing: "PROCESSING";
|
|
3454
|
-
readonly Submitted: "SUBMITTED";
|
|
3455
|
-
readonly Error: "ERROR";
|
|
3456
|
-
};
|
|
3457
|
-
export type GetMandateAuthResponseMandateStatusEnum = (typeof GetMandateAuthResponseMandateStatusEnum)[keyof typeof GetMandateAuthResponseMandateStatusEnum];
|
|
3458
3488
|
/**
|
|
3459
3489
|
*
|
|
3460
3490
|
* @export
|
|
@@ -4242,7 +4272,7 @@ export interface InstitutionShort {
|
|
|
4242
4272
|
* @type {string}
|
|
4243
4273
|
* @memberof InstitutionShort
|
|
4244
4274
|
*/
|
|
4245
|
-
institution_id
|
|
4275
|
+
institution_id: string;
|
|
4246
4276
|
/**
|
|
4247
4277
|
*
|
|
4248
4278
|
* @type {Array<string>}
|
|
@@ -4968,7 +4998,7 @@ export interface ListPaymentsResponse {
|
|
|
4968
4998
|
* @type {Array<PaymentResponse>}
|
|
4969
4999
|
* @memberof ListPaymentsResponse
|
|
4970
5000
|
*/
|
|
4971
|
-
payments
|
|
5001
|
+
payments: Array<PaymentResponse>;
|
|
4972
5002
|
/**
|
|
4973
5003
|
*
|
|
4974
5004
|
* @type {number}
|
|
@@ -5130,7 +5160,7 @@ export interface LoginIdentity {
|
|
|
5130
5160
|
* @type {string}
|
|
5131
5161
|
* @memberof LoginIdentity
|
|
5132
5162
|
*/
|
|
5133
|
-
login_identity_id
|
|
5163
|
+
login_identity_id: string;
|
|
5134
5164
|
/**
|
|
5135
5165
|
*
|
|
5136
5166
|
* @type {string}
|
|
@@ -5175,10 +5205,10 @@ export interface LoginIdentity {
|
|
|
5175
5205
|
billing_details?: LoginIdentityBillingDetails;
|
|
5176
5206
|
/**
|
|
5177
5207
|
*
|
|
5178
|
-
* @type {
|
|
5208
|
+
* @type {LoginIdentityStatus}
|
|
5179
5209
|
* @memberof LoginIdentity
|
|
5180
5210
|
*/
|
|
5181
|
-
status
|
|
5211
|
+
status: LoginIdentityStatus;
|
|
5182
5212
|
/**
|
|
5183
5213
|
*
|
|
5184
5214
|
* @type {LoginIdentityStatusDetails}
|
|
@@ -5193,10 +5223,10 @@ export interface LoginIdentity {
|
|
|
5193
5223
|
product_status?: AllProductStatus;
|
|
5194
5224
|
/**
|
|
5195
5225
|
*
|
|
5196
|
-
* @type {
|
|
5226
|
+
* @type {AuthenticationStatus}
|
|
5197
5227
|
* @memberof LoginIdentity
|
|
5198
5228
|
*/
|
|
5199
|
-
authentication_status?:
|
|
5229
|
+
authentication_status?: AuthenticationStatus;
|
|
5200
5230
|
/**
|
|
5201
5231
|
*
|
|
5202
5232
|
* @type {LoginIdentityError}
|
|
@@ -5223,10 +5253,10 @@ export interface LoginIdentity {
|
|
|
5223
5253
|
webhook?: string;
|
|
5224
5254
|
/**
|
|
5225
5255
|
*
|
|
5226
|
-
* @type {
|
|
5256
|
+
* @type {LoginIdentitySessionStatus}
|
|
5227
5257
|
* @memberof LoginIdentity
|
|
5228
5258
|
*/
|
|
5229
|
-
session_status?:
|
|
5259
|
+
session_status?: LoginIdentitySessionStatus;
|
|
5230
5260
|
/**
|
|
5231
5261
|
*
|
|
5232
5262
|
* @type {string}
|
|
@@ -5276,6 +5306,21 @@ export interface LoginIdentity {
|
|
|
5276
5306
|
*/
|
|
5277
5307
|
refresh?: RefreshData;
|
|
5278
5308
|
}
|
|
5309
|
+
/**
|
|
5310
|
+
* Login identity authentication status
|
|
5311
|
+
* @export
|
|
5312
|
+
* @enum {string}
|
|
5313
|
+
*/
|
|
5314
|
+
export declare const LoginIdentityAuthStatus: {
|
|
5315
|
+
readonly Unknown: "UNKNOWN";
|
|
5316
|
+
readonly Linking: "LINKING";
|
|
5317
|
+
readonly Authenticating: "AUTHENTICATING";
|
|
5318
|
+
readonly Authenticated: "AUTHENTICATED";
|
|
5319
|
+
readonly AuthenticateFailed: "AUTHENTICATE_FAILED";
|
|
5320
|
+
readonly AuthenticationTemporarilyUnavailableForInstitution: "AUTHENTICATION_TEMPORARILY_UNAVAILABLE_FOR_INSTITUTION";
|
|
5321
|
+
readonly AuthenticationTooManyAttempts: "AUTHENTICATION_TOO_MANY_ATTEMPTS";
|
|
5322
|
+
};
|
|
5323
|
+
export type LoginIdentityAuthStatus = (typeof LoginIdentityAuthStatus)[keyof typeof LoginIdentityAuthStatus];
|
|
5279
5324
|
/**
|
|
5280
5325
|
*
|
|
5281
5326
|
* @export
|
|
@@ -5339,6 +5384,18 @@ export interface LoginIdentityLoginMethodsAvailable {
|
|
|
5339
5384
|
*/
|
|
5340
5385
|
haveSecret?: boolean;
|
|
5341
5386
|
}
|
|
5387
|
+
/**
|
|
5388
|
+
* Login identity session status
|
|
5389
|
+
* @export
|
|
5390
|
+
* @enum {string}
|
|
5391
|
+
*/
|
|
5392
|
+
export declare const LoginIdentitySessionStatus: {
|
|
5393
|
+
readonly Unknown: "UNKNOWN";
|
|
5394
|
+
readonly InProgress: "IN_PROGRESS";
|
|
5395
|
+
readonly Completed: "COMPLETED";
|
|
5396
|
+
readonly Unlinked: "UNLINKED";
|
|
5397
|
+
};
|
|
5398
|
+
export type LoginIdentitySessionStatus = (typeof LoginIdentitySessionStatus)[keyof typeof LoginIdentitySessionStatus];
|
|
5342
5399
|
/**
|
|
5343
5400
|
*
|
|
5344
5401
|
* @export
|
|
@@ -5350,13 +5407,13 @@ export interface LoginIdentityShort {
|
|
|
5350
5407
|
* @type {string}
|
|
5351
5408
|
* @memberof LoginIdentityShort
|
|
5352
5409
|
*/
|
|
5353
|
-
login_identity_id
|
|
5410
|
+
login_identity_id: string;
|
|
5354
5411
|
/**
|
|
5355
5412
|
*
|
|
5356
|
-
* @type {
|
|
5413
|
+
* @type {LoginIdentityStatus}
|
|
5357
5414
|
* @memberof LoginIdentityShort
|
|
5358
5415
|
*/
|
|
5359
|
-
status
|
|
5416
|
+
status: LoginIdentityStatus;
|
|
5360
5417
|
/**
|
|
5361
5418
|
*
|
|
5362
5419
|
* @type {string}
|
|
@@ -5364,6 +5421,28 @@ export interface LoginIdentityShort {
|
|
|
5364
5421
|
*/
|
|
5365
5422
|
last_session_id?: string;
|
|
5366
5423
|
}
|
|
5424
|
+
/**
|
|
5425
|
+
* Login identity status
|
|
5426
|
+
* @export
|
|
5427
|
+
* @enum {string}
|
|
5428
|
+
*/
|
|
5429
|
+
export declare const LoginIdentityStatus: {
|
|
5430
|
+
readonly Unknown: "UNKNOWN";
|
|
5431
|
+
readonly Error: "ERROR";
|
|
5432
|
+
readonly Linking: "LINKING";
|
|
5433
|
+
readonly Authenticating: "AUTHENTICATING";
|
|
5434
|
+
readonly ConnectionComplete: "CONNECTION_COMPLETE";
|
|
5435
|
+
readonly ConnectionInProgress: "CONNECTION_IN_PROGRESS";
|
|
5436
|
+
readonly DataRetrievalInProgress: "DATA_RETRIEVAL_IN_PROGRESS";
|
|
5437
|
+
readonly DataAvailable: "DATA_AVAILABLE";
|
|
5438
|
+
readonly DataRetrievalPartiallySuccessful: "DATA_RETRIEVAL_PARTIALLY_SUCCESSFUL";
|
|
5439
|
+
readonly DataRetrievalComplete: "DATA_RETRIEVAL_COMPLETE";
|
|
5440
|
+
readonly Refreshing: "REFRESHING";
|
|
5441
|
+
readonly Unlinked: "UNLINKED";
|
|
5442
|
+
readonly UnlinkSucceeded: "UNLINK_SUCCEEDED";
|
|
5443
|
+
readonly UnlinkFailed: "UNLINK_FAILED";
|
|
5444
|
+
};
|
|
5445
|
+
export type LoginIdentityStatus = (typeof LoginIdentityStatus)[keyof typeof LoginIdentityStatus];
|
|
5367
5446
|
/**
|
|
5368
5447
|
*
|
|
5369
5448
|
* @export
|
|
@@ -5768,10 +5847,10 @@ export interface MandateFvLinkResponse {
|
|
|
5768
5847
|
institution_id?: string;
|
|
5769
5848
|
/**
|
|
5770
5849
|
*
|
|
5771
|
-
* @type {
|
|
5850
|
+
* @type {MandateStatus}
|
|
5772
5851
|
* @memberof MandateFvLinkResponse
|
|
5773
5852
|
*/
|
|
5774
|
-
mandate_status
|
|
5853
|
+
mandate_status: MandateStatus;
|
|
5775
5854
|
/**
|
|
5776
5855
|
*
|
|
5777
5856
|
* @type {MandateRecipient}
|
|
@@ -6110,7 +6189,7 @@ export interface PaymentAccountDetails {
|
|
|
6110
6189
|
* @type {string}
|
|
6111
6190
|
* @memberof PaymentAccountDetails
|
|
6112
6191
|
*/
|
|
6113
|
-
account_id
|
|
6192
|
+
account_id: string;
|
|
6114
6193
|
/**
|
|
6115
6194
|
*
|
|
6116
6195
|
* @type {RecipientAccountNumber}
|
|
@@ -6128,7 +6207,7 @@ export interface PaymentAccountDetails {
|
|
|
6128
6207
|
* @type {PaymentAccountType}
|
|
6129
6208
|
* @memberof PaymentAccountDetails
|
|
6130
6209
|
*/
|
|
6131
|
-
account_type
|
|
6210
|
+
account_type: PaymentAccountType;
|
|
6132
6211
|
/**
|
|
6133
6212
|
* Accountholder name of the payment account
|
|
6134
6213
|
* @type {string}
|
|
@@ -6227,7 +6306,7 @@ export interface PaymentAccountDetailsWithEnrichedData {
|
|
|
6227
6306
|
* @type {string}
|
|
6228
6307
|
* @memberof PaymentAccountDetailsWithEnrichedData
|
|
6229
6308
|
*/
|
|
6230
|
-
account_id
|
|
6309
|
+
account_id: string;
|
|
6231
6310
|
/**
|
|
6232
6311
|
*
|
|
6233
6312
|
* @type {RecipientAccountNumber}
|
|
@@ -6245,7 +6324,7 @@ export interface PaymentAccountDetailsWithEnrichedData {
|
|
|
6245
6324
|
* @type {PaymentAccountType}
|
|
6246
6325
|
* @memberof PaymentAccountDetailsWithEnrichedData
|
|
6247
6326
|
*/
|
|
6248
|
-
account_type
|
|
6327
|
+
account_type: PaymentAccountType;
|
|
6249
6328
|
/**
|
|
6250
6329
|
* Accountholder name of the payment account
|
|
6251
6330
|
* @type {string}
|
|
@@ -6551,13 +6630,13 @@ export interface PaymentFvLinkResponse {
|
|
|
6551
6630
|
* @type {PaymentStatus}
|
|
6552
6631
|
* @memberof PaymentFvLinkResponse
|
|
6553
6632
|
*/
|
|
6554
|
-
status
|
|
6633
|
+
status: PaymentStatus;
|
|
6555
6634
|
/**
|
|
6556
6635
|
*
|
|
6557
6636
|
* @type {PaymentType}
|
|
6558
6637
|
* @memberof PaymentFvLinkResponse
|
|
6559
6638
|
*/
|
|
6560
|
-
type
|
|
6639
|
+
type: PaymentType;
|
|
6561
6640
|
/**
|
|
6562
6641
|
*
|
|
6563
6642
|
* @type {PaymentFvLinkDetails}
|
|
@@ -6686,19 +6765,19 @@ export interface PaymentLinkResponse {
|
|
|
6686
6765
|
* @type {string}
|
|
6687
6766
|
* @memberof PaymentLinkResponse
|
|
6688
6767
|
*/
|
|
6689
|
-
payment_link_id
|
|
6768
|
+
payment_link_id: string;
|
|
6690
6769
|
/**
|
|
6691
6770
|
* The amount of the payment. Expressed in currency\'s smallest unit or “minor unit”, as defined in ISO 4217.
|
|
6692
6771
|
* @type {number}
|
|
6693
6772
|
* @memberof PaymentLinkResponse
|
|
6694
6773
|
*/
|
|
6695
|
-
amount
|
|
6774
|
+
amount: number;
|
|
6696
6775
|
/**
|
|
6697
6776
|
*
|
|
6698
6777
|
* @type {string}
|
|
6699
6778
|
* @memberof PaymentLinkResponse
|
|
6700
6779
|
*/
|
|
6701
|
-
currency
|
|
6780
|
+
currency: string;
|
|
6702
6781
|
/**
|
|
6703
6782
|
*
|
|
6704
6783
|
* @type {PaymentLinkCustomizations}
|
|
@@ -6710,7 +6789,7 @@ export interface PaymentLinkResponse {
|
|
|
6710
6789
|
* @type {PaymentLinkMode}
|
|
6711
6790
|
* @memberof PaymentLinkResponse
|
|
6712
6791
|
*/
|
|
6713
|
-
mode
|
|
6792
|
+
mode: PaymentLinkMode;
|
|
6714
6793
|
/**
|
|
6715
6794
|
*
|
|
6716
6795
|
* @type {PaymentLinkDetails}
|
|
@@ -6756,13 +6835,13 @@ export interface PaymentLinkResponse {
|
|
|
6756
6835
|
* @type {PaymentLinkStatus}
|
|
6757
6836
|
* @memberof PaymentLinkResponse
|
|
6758
6837
|
*/
|
|
6759
|
-
status
|
|
6838
|
+
status: PaymentLinkStatus;
|
|
6760
6839
|
/**
|
|
6761
6840
|
*
|
|
6762
6841
|
* @type {PaymentLinkSessionStatus}
|
|
6763
6842
|
* @memberof PaymentLinkResponse
|
|
6764
6843
|
*/
|
|
6765
|
-
session_status
|
|
6844
|
+
session_status: PaymentLinkSessionStatus;
|
|
6766
6845
|
/**
|
|
6767
6846
|
* Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
6768
6847
|
* @type {string}
|
|
@@ -6925,13 +7004,13 @@ export interface PaymentMethodFvLinkResponse {
|
|
|
6925
7004
|
* @type {string}
|
|
6926
7005
|
* @memberof PaymentMethodFvLinkResponse
|
|
6927
7006
|
*/
|
|
6928
|
-
payment_method_id
|
|
7007
|
+
payment_method_id: string;
|
|
6929
7008
|
/**
|
|
6930
7009
|
*
|
|
6931
7010
|
* @type {PaymentMethodType}
|
|
6932
7011
|
* @memberof PaymentMethodFvLinkResponse
|
|
6933
7012
|
*/
|
|
6934
|
-
payment_method_type
|
|
7013
|
+
payment_method_type: PaymentMethodType;
|
|
6935
7014
|
/**
|
|
6936
7015
|
*
|
|
6937
7016
|
* @type {string}
|
|
@@ -7393,13 +7472,13 @@ export interface PaymentMethodResponse {
|
|
|
7393
7472
|
* @type {string}
|
|
7394
7473
|
* @memberof PaymentMethodResponse
|
|
7395
7474
|
*/
|
|
7396
|
-
payment_method_id
|
|
7475
|
+
payment_method_id: string;
|
|
7397
7476
|
/**
|
|
7398
7477
|
*
|
|
7399
7478
|
* @type {PaymentMethodType}
|
|
7400
7479
|
* @memberof PaymentMethodResponse
|
|
7401
7480
|
*/
|
|
7402
|
-
payment_method_type
|
|
7481
|
+
payment_method_type: PaymentMethodType;
|
|
7403
7482
|
/**
|
|
7404
7483
|
* Whether the payment method is live (true) or a test payment method (false), based on its payment rail. Absent if the payment rail is unknown.
|
|
7405
7484
|
* @type {boolean}
|
|
@@ -7466,17 +7545,23 @@ export interface PaymentProcessorDetails {
|
|
|
7466
7545
|
*/
|
|
7467
7546
|
scheme?: string;
|
|
7468
7547
|
/**
|
|
7469
|
-
* Virtual account number issued by the processor (
|
|
7548
|
+
* Virtual account number issued by the processor (applicable to KCP manual virtual account payments).
|
|
7470
7549
|
* @type {string}
|
|
7471
7550
|
* @memberof PaymentProcessorDetails
|
|
7472
7551
|
*/
|
|
7473
7552
|
virtual_account_number?: string;
|
|
7474
7553
|
/**
|
|
7475
|
-
* Bank code for the virtual account without a BK prefix (
|
|
7554
|
+
* Bank code for the virtual account without a \"BK\"/\"B\" prefix (applicable to KCP manual virtual account payments).
|
|
7476
7555
|
* @type {string}
|
|
7477
7556
|
* @memberof PaymentProcessorDetails
|
|
7478
7557
|
*/
|
|
7479
7558
|
virtual_account_bank_code?: string;
|
|
7559
|
+
/**
|
|
7560
|
+
* Bank code of the payer\'s bank without a \"BK\"/\"B\" prefix (applicable to KCP bank transfer payments).
|
|
7561
|
+
* @type {string}
|
|
7562
|
+
* @memberof PaymentProcessorDetails
|
|
7563
|
+
*/
|
|
7564
|
+
bank_code?: string;
|
|
7480
7565
|
/**
|
|
7481
7566
|
*
|
|
7482
7567
|
* @type {PaymentProcessorResult}
|
|
@@ -7532,7 +7617,7 @@ export interface PaymentResponse {
|
|
|
7532
7617
|
* @type {string}
|
|
7533
7618
|
* @memberof PaymentResponse
|
|
7534
7619
|
*/
|
|
7535
|
-
payment_id
|
|
7620
|
+
payment_id: string;
|
|
7536
7621
|
/**
|
|
7537
7622
|
* Whether the payment is live (true) or a test payment (false), based on its payment rail. Absent if the payment rail is unknown.
|
|
7538
7623
|
* @type {boolean}
|
|
@@ -7562,13 +7647,13 @@ export interface PaymentResponse {
|
|
|
7562
7647
|
* @type {string}
|
|
7563
7648
|
* @memberof PaymentResponse
|
|
7564
7649
|
*/
|
|
7565
|
-
currency
|
|
7650
|
+
currency: string;
|
|
7566
7651
|
/**
|
|
7567
7652
|
*
|
|
7568
7653
|
* @type {PaymentType}
|
|
7569
7654
|
* @memberof PaymentResponse
|
|
7570
7655
|
*/
|
|
7571
|
-
type
|
|
7656
|
+
type: PaymentType;
|
|
7572
7657
|
/**
|
|
7573
7658
|
* Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
7574
7659
|
* @type {string}
|
|
@@ -7580,7 +7665,7 @@ export interface PaymentResponse {
|
|
|
7580
7665
|
* @type {PaymentStatus}
|
|
7581
7666
|
* @memberof PaymentResponse
|
|
7582
7667
|
*/
|
|
7583
|
-
status
|
|
7668
|
+
status: PaymentStatus;
|
|
7584
7669
|
/**
|
|
7585
7670
|
* ID of the payment method this pament is referring to.
|
|
7586
7671
|
* @type {string}
|
|
@@ -7930,7 +8015,7 @@ export interface PaymentUser {
|
|
|
7930
8015
|
* @type {string}
|
|
7931
8016
|
* @memberof PaymentUser
|
|
7932
8017
|
*/
|
|
7933
|
-
user_id
|
|
8018
|
+
user_id: string;
|
|
7934
8019
|
/**
|
|
7935
8020
|
*
|
|
7936
8021
|
* @type {PaymentUserType}
|
|
@@ -8021,7 +8106,7 @@ export interface PaymentUserWithoutEmail {
|
|
|
8021
8106
|
* @type {string}
|
|
8022
8107
|
* @memberof PaymentUserWithoutEmail
|
|
8023
8108
|
*/
|
|
8024
|
-
user_id
|
|
8109
|
+
user_id: string;
|
|
8025
8110
|
/**
|
|
8026
8111
|
*
|
|
8027
8112
|
* @type {PaymentUserType}
|
|
@@ -8189,19 +8274,19 @@ export interface PayoutSnapshotResponse {
|
|
|
8189
8274
|
* @type {string}
|
|
8190
8275
|
* @memberof PayoutSnapshotResponse
|
|
8191
8276
|
*/
|
|
8192
|
-
payout_id
|
|
8277
|
+
payout_id: string;
|
|
8193
8278
|
/**
|
|
8194
8279
|
*
|
|
8195
8280
|
* @type {PayoutStatus}
|
|
8196
8281
|
* @memberof PayoutSnapshotResponse
|
|
8197
8282
|
*/
|
|
8198
|
-
status
|
|
8283
|
+
status: PayoutStatus;
|
|
8199
8284
|
/**
|
|
8200
8285
|
*
|
|
8201
8286
|
* @type {PayoutType}
|
|
8202
8287
|
* @memberof PayoutSnapshotResponse
|
|
8203
8288
|
*/
|
|
8204
|
-
type
|
|
8289
|
+
type: PayoutType;
|
|
8205
8290
|
/**
|
|
8206
8291
|
*
|
|
8207
8292
|
* @type {string}
|
|
@@ -8245,13 +8330,13 @@ export interface PayoutSnapshotResponse {
|
|
|
8245
8330
|
* @type {number}
|
|
8246
8331
|
* @memberof PayoutSnapshotResponse
|
|
8247
8332
|
*/
|
|
8248
|
-
amount
|
|
8333
|
+
amount: number;
|
|
8249
8334
|
/**
|
|
8250
8335
|
*
|
|
8251
8336
|
* @type {string}
|
|
8252
8337
|
* @memberof PayoutSnapshotResponse
|
|
8253
8338
|
*/
|
|
8254
|
-
currency
|
|
8339
|
+
currency: string;
|
|
8255
8340
|
/**
|
|
8256
8341
|
*
|
|
8257
8342
|
* @type {MandateRecipient}
|
|
@@ -8523,6 +8608,22 @@ export interface ProcessorRiskData {
|
|
|
8523
8608
|
*/
|
|
8524
8609
|
shopper_locale?: string;
|
|
8525
8610
|
}
|
|
8611
|
+
/**
|
|
8612
|
+
* Health status of a login identity product
|
|
8613
|
+
* @export
|
|
8614
|
+
* @enum {string}
|
|
8615
|
+
*/
|
|
8616
|
+
export declare const ProductHealthStatus: {
|
|
8617
|
+
readonly Unknown: "UNKNOWN";
|
|
8618
|
+
readonly InProgress: "IN_PROGRESS";
|
|
8619
|
+
readonly Success: "SUCCESS";
|
|
8620
|
+
readonly Warning: "WARNING";
|
|
8621
|
+
readonly Error: "ERROR";
|
|
8622
|
+
readonly NotSupported: "NOT_SUPPORTED";
|
|
8623
|
+
readonly NotAvailable: "NOT_AVAILABLE";
|
|
8624
|
+
readonly TemporarilyUnavailableForInstitution: "TEMPORARILY_UNAVAILABLE_FOR_INSTITUTION";
|
|
8625
|
+
};
|
|
8626
|
+
export type ProductHealthStatus = (typeof ProductHealthStatus)[keyof typeof ProductHealthStatus];
|
|
8526
8627
|
/**
|
|
8527
8628
|
*
|
|
8528
8629
|
* @export
|
|
@@ -8530,11 +8631,11 @@ export interface ProcessorRiskData {
|
|
|
8530
8631
|
*/
|
|
8531
8632
|
export interface ProductStatus {
|
|
8532
8633
|
/**
|
|
8533
|
-
*
|
|
8534
|
-
* @type {
|
|
8634
|
+
*
|
|
8635
|
+
* @type {ProductHealthStatus}
|
|
8535
8636
|
* @memberof ProductStatus
|
|
8536
8637
|
*/
|
|
8537
|
-
status
|
|
8638
|
+
status: ProductHealthStatus;
|
|
8538
8639
|
/**
|
|
8539
8640
|
* The detailed event name
|
|
8540
8641
|
* @type {string}
|
|
@@ -9209,7 +9310,7 @@ export interface Statement {
|
|
|
9209
9310
|
* @type {string}
|
|
9210
9311
|
* @memberof Statement
|
|
9211
9312
|
*/
|
|
9212
|
-
id
|
|
9313
|
+
id: string;
|
|
9213
9314
|
/**
|
|
9214
9315
|
* YYYY-MM-DD
|
|
9215
9316
|
* @type {string}
|
|
@@ -9240,7 +9341,7 @@ export interface StatementLink {
|
|
|
9240
9341
|
* @type {string}
|
|
9241
9342
|
* @memberof StatementLink
|
|
9242
9343
|
*/
|
|
9243
|
-
url
|
|
9344
|
+
url: string;
|
|
9244
9345
|
/**
|
|
9245
9346
|
* expiry of the signedURL
|
|
9246
9347
|
* @type {string}
|
|
@@ -9252,7 +9353,7 @@ export interface StatementLink {
|
|
|
9252
9353
|
* @type {string}
|
|
9253
9354
|
* @memberof StatementLink
|
|
9254
9355
|
*/
|
|
9255
|
-
statement_id
|
|
9356
|
+
statement_id: string;
|
|
9256
9357
|
}
|
|
9257
9358
|
/**
|
|
9258
9359
|
*
|
|
@@ -9310,11 +9411,11 @@ export interface SubmitAuthChecklistResponse {
|
|
|
9310
9411
|
*/
|
|
9311
9412
|
auth_checklist: Array<AuthChecklistFactor>;
|
|
9312
9413
|
/**
|
|
9313
|
-
*
|
|
9314
|
-
* @type {
|
|
9414
|
+
*
|
|
9415
|
+
* @type {MandateStatus}
|
|
9315
9416
|
* @memberof SubmitAuthChecklistResponse
|
|
9316
9417
|
*/
|
|
9317
|
-
mandate_status:
|
|
9418
|
+
mandate_status: MandateStatus;
|
|
9318
9419
|
/**
|
|
9319
9420
|
* Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
9320
9421
|
* @type {string}
|
|
@@ -9322,13 +9423,6 @@ export interface SubmitAuthChecklistResponse {
|
|
|
9322
9423
|
*/
|
|
9323
9424
|
last_update: string;
|
|
9324
9425
|
}
|
|
9325
|
-
export declare const SubmitAuthChecklistResponseMandateStatusEnum: {
|
|
9326
|
-
readonly Created: "CREATED";
|
|
9327
|
-
readonly Processing: "PROCESSING";
|
|
9328
|
-
readonly Submitted: "SUBMITTED";
|
|
9329
|
-
readonly Error: "ERROR";
|
|
9330
|
-
};
|
|
9331
|
-
export type SubmitAuthChecklistResponseMandateStatusEnum = (typeof SubmitAuthChecklistResponseMandateStatusEnum)[keyof typeof SubmitAuthChecklistResponseMandateStatusEnum];
|
|
9332
9426
|
/**
|
|
9333
9427
|
*
|
|
9334
9428
|
* @export
|
|
@@ -9421,13 +9515,13 @@ export interface Transaction {
|
|
|
9421
9515
|
* @type {string}
|
|
9422
9516
|
* @memberof Transaction
|
|
9423
9517
|
*/
|
|
9424
|
-
transaction_id
|
|
9518
|
+
transaction_id: string;
|
|
9425
9519
|
/**
|
|
9426
9520
|
*
|
|
9427
9521
|
* @type {string}
|
|
9428
9522
|
* @memberof Transaction
|
|
9429
9523
|
*/
|
|
9430
|
-
account_id
|
|
9524
|
+
account_id: string;
|
|
9431
9525
|
/**
|
|
9432
9526
|
*
|
|
9433
9527
|
* @type {string}
|
|
@@ -9605,7 +9699,7 @@ export interface TransactionLimitsResponse {
|
|
|
9605
9699
|
* @type {number}
|
|
9606
9700
|
* @memberof TransactionLimitsResponse
|
|
9607
9701
|
*/
|
|
9608
|
-
max_transaction_amount
|
|
9702
|
+
max_transaction_amount: number;
|
|
9609
9703
|
/**
|
|
9610
9704
|
* The maximum amount of money that can be transferred in a single transaction under this mandate set by the payer. Expressed in currency\'s smallest unit or “minor unit”, as defined in ISO 4217.
|
|
9611
9705
|
* @type {number}
|
package/dist/api.js
CHANGED
|
@@ -22,9 +22,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.PublicApi = exports.PublicApiFactory = void 0;
|
|
25
|
+
exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkStatus = exports.PaymentLinkSessionStatus = exports.PaymentLinkMode = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentAccountType = exports.MandateStatus = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.MandateAuthLinkCustomizationsLanguageEnum = exports.LoginMethodStatusEnum = exports.LoginIdentityStatus = exports.LoginIdentitySessionStatus = exports.LoginIdentityAuthStatus = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestLanguageEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.KcpVaMetadataVaReceiptGubnEnum = exports.IntegrationMetadataResponseIntegrationIdEnum = exports.IntegrationMetadataRequestIntegrationIdEnum = exports.IntegrationMetadataPaymentUserRequestIntegrationIdEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FuturePaymentsMode = exports.FinverseErrorCategory = exports.FeePaidBy = exports.DisputeStatus = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CompleteKcpPaymentRequestCardPointUseEnum = exports.CardStatus = exports.CardFundingType = exports.BillStatus = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountNumberType = exports.AccountCategory = void 0;
|
|
26
|
+
exports.ListPayoutsPayoutTypesEnum = exports.ListPayoutsStatusesEnum = exports.ListPaymentsPaymentTypesEnum = exports.ListPaymentsPaymentTypeEnum = exports.ListPaymentsSenderTypeEnum = exports.ListPaymentsStatusesEnum = exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = exports.ListMandatesSenderTypeEnum = exports.ListMandatesStatusesEnum = exports.ListDisputesStatusesEnum = exports.ListDetokenizedMandatesSenderTypeEnum = exports.ListDetokenizedMandatesStatusesEnum = exports.ListBillsStatusesEnum = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.ListInstitutionsInstitutionTypeEnum = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.TransactionLimitsResponsePeriodEnum = exports.TransactionLimitsRequestPeriodEnum = exports.SenderDetailDetailsTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.ProductHealthStatus = exports.PayoutType = exports.PayoutStatus = exports.PaymentUserType = exports.PaymentType = exports.PaymentStatus = exports.PaymentScheduleFrequencyEnum = exports.PaymentMethodType = exports.PaymentMethodIntegrationMetadataGocardlessMetadataFundsSettlementEnum = exports.PaymentMethodIntegrationMetadataGocardlessMetadataStatusEnum = exports.PaymentMethodIntegrationMetadataAdyenMetadataRecurringProcessingModelEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = void 0;
|
|
27
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -32,20 +32,26 @@ const common_1 = require("./common");
|
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
const base_1 = require("./base");
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Account category
|
|
36
36
|
* @export
|
|
37
37
|
* @enum {string}
|
|
38
38
|
*/
|
|
39
|
-
exports.
|
|
40
|
-
|
|
41
|
-
Iban: 'IBAN',
|
|
42
|
-
};
|
|
43
|
-
exports.AccountTypeTypeEnum = {
|
|
39
|
+
exports.AccountCategory = {
|
|
40
|
+
Unknown: 'UNKNOWN',
|
|
44
41
|
Deposit: 'DEPOSIT',
|
|
45
42
|
Card: 'CARD',
|
|
46
43
|
Investment: 'INVESTMENT',
|
|
47
44
|
Loan: 'LOAN',
|
|
48
|
-
|
|
45
|
+
Other: 'OTHER',
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Type of account number. Possible values: LOCAL, IBAN
|
|
49
|
+
* @export
|
|
50
|
+
* @enum {string}
|
|
51
|
+
*/
|
|
52
|
+
exports.AccountNumberType = {
|
|
53
|
+
Local: 'LOCAL',
|
|
54
|
+
Iban: 'IBAN',
|
|
49
55
|
};
|
|
50
56
|
exports.AccountTypeSubtypeEnum = {
|
|
51
57
|
Current: 'CURRENT',
|
|
@@ -185,12 +191,6 @@ exports.GetBalanceHistoryResponseSourceEnum = {
|
|
|
185
191
|
exports.GetMandateAuthLinkResponseTokenTypeEnum = {
|
|
186
192
|
Bearer: 'Bearer',
|
|
187
193
|
};
|
|
188
|
-
exports.GetMandateAuthResponseMandateStatusEnum = {
|
|
189
|
-
Created: 'CREATED',
|
|
190
|
-
Processing: 'PROCESSING',
|
|
191
|
-
Submitted: 'SUBMITTED',
|
|
192
|
-
Error: 'ERROR',
|
|
193
|
-
};
|
|
194
194
|
exports.InstitutionTagsEnum = {
|
|
195
195
|
Real: 'real',
|
|
196
196
|
Test: 'test',
|
|
@@ -253,6 +253,52 @@ exports.LinkTokenRequestAutomaticDataRefreshEnum = {
|
|
|
253
253
|
Off: 'OFF',
|
|
254
254
|
ForcedOn: 'FORCED_ON',
|
|
255
255
|
};
|
|
256
|
+
/**
|
|
257
|
+
* Login identity authentication status
|
|
258
|
+
* @export
|
|
259
|
+
* @enum {string}
|
|
260
|
+
*/
|
|
261
|
+
exports.LoginIdentityAuthStatus = {
|
|
262
|
+
Unknown: 'UNKNOWN',
|
|
263
|
+
Linking: 'LINKING',
|
|
264
|
+
Authenticating: 'AUTHENTICATING',
|
|
265
|
+
Authenticated: 'AUTHENTICATED',
|
|
266
|
+
AuthenticateFailed: 'AUTHENTICATE_FAILED',
|
|
267
|
+
AuthenticationTemporarilyUnavailableForInstitution: 'AUTHENTICATION_TEMPORARILY_UNAVAILABLE_FOR_INSTITUTION',
|
|
268
|
+
AuthenticationTooManyAttempts: 'AUTHENTICATION_TOO_MANY_ATTEMPTS',
|
|
269
|
+
};
|
|
270
|
+
/**
|
|
271
|
+
* Login identity session status
|
|
272
|
+
* @export
|
|
273
|
+
* @enum {string}
|
|
274
|
+
*/
|
|
275
|
+
exports.LoginIdentitySessionStatus = {
|
|
276
|
+
Unknown: 'UNKNOWN',
|
|
277
|
+
InProgress: 'IN_PROGRESS',
|
|
278
|
+
Completed: 'COMPLETED',
|
|
279
|
+
Unlinked: 'UNLINKED',
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Login identity status
|
|
283
|
+
* @export
|
|
284
|
+
* @enum {string}
|
|
285
|
+
*/
|
|
286
|
+
exports.LoginIdentityStatus = {
|
|
287
|
+
Unknown: 'UNKNOWN',
|
|
288
|
+
Error: 'ERROR',
|
|
289
|
+
Linking: 'LINKING',
|
|
290
|
+
Authenticating: 'AUTHENTICATING',
|
|
291
|
+
ConnectionComplete: 'CONNECTION_COMPLETE',
|
|
292
|
+
ConnectionInProgress: 'CONNECTION_IN_PROGRESS',
|
|
293
|
+
DataRetrievalInProgress: 'DATA_RETRIEVAL_IN_PROGRESS',
|
|
294
|
+
DataAvailable: 'DATA_AVAILABLE',
|
|
295
|
+
DataRetrievalPartiallySuccessful: 'DATA_RETRIEVAL_PARTIALLY_SUCCESSFUL',
|
|
296
|
+
DataRetrievalComplete: 'DATA_RETRIEVAL_COMPLETE',
|
|
297
|
+
Refreshing: 'REFRESHING',
|
|
298
|
+
Unlinked: 'UNLINKED',
|
|
299
|
+
UnlinkSucceeded: 'UNLINK_SUCCEEDED',
|
|
300
|
+
UnlinkFailed: 'UNLINK_FAILED',
|
|
301
|
+
};
|
|
256
302
|
exports.LoginMethodStatusEnum = {
|
|
257
303
|
Supported: 'SUPPORTED',
|
|
258
304
|
Alpha: 'ALPHA',
|
|
@@ -442,6 +488,21 @@ exports.PayoutType = {
|
|
|
442
488
|
Settlement: 'SETTLEMENT',
|
|
443
489
|
OnDemand: 'ON_DEMAND',
|
|
444
490
|
};
|
|
491
|
+
/**
|
|
492
|
+
* Health status of a login identity product
|
|
493
|
+
* @export
|
|
494
|
+
* @enum {string}
|
|
495
|
+
*/
|
|
496
|
+
exports.ProductHealthStatus = {
|
|
497
|
+
Unknown: 'UNKNOWN',
|
|
498
|
+
InProgress: 'IN_PROGRESS',
|
|
499
|
+
Success: 'SUCCESS',
|
|
500
|
+
Warning: 'WARNING',
|
|
501
|
+
Error: 'ERROR',
|
|
502
|
+
NotSupported: 'NOT_SUPPORTED',
|
|
503
|
+
NotAvailable: 'NOT_AVAILABLE',
|
|
504
|
+
TemporarilyUnavailableForInstitution: 'TEMPORARILY_UNAVAILABLE_FOR_INSTITUTION',
|
|
505
|
+
};
|
|
445
506
|
exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = {
|
|
446
507
|
En: 'en',
|
|
447
508
|
Vi: 'vi',
|
|
@@ -460,12 +521,6 @@ exports.SenderDetailDetailsTypeEnum = {
|
|
|
460
521
|
HkBusinessRegistration: 'HK_BUSINESS_REGISTRATION',
|
|
461
522
|
HkCertificateOfIncorporation: 'HK_CERTIFICATE_OF_INCORPORATION',
|
|
462
523
|
};
|
|
463
|
-
exports.SubmitAuthChecklistResponseMandateStatusEnum = {
|
|
464
|
-
Created: 'CREATED',
|
|
465
|
-
Processing: 'PROCESSING',
|
|
466
|
-
Submitted: 'SUBMITTED',
|
|
467
|
-
Error: 'ERROR',
|
|
468
|
-
};
|
|
469
524
|
exports.TransactionLimitsRequestPeriodEnum = {
|
|
470
525
|
Daily: 'DAILY',
|
|
471
526
|
Weekly: 'WEEKLY',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getAccounts = getAccounts;
|
|
4
|
+
const api_1 = require("../../api");
|
|
4
5
|
function getAccounts() {
|
|
5
6
|
return {
|
|
6
7
|
accounts: [
|
|
@@ -101,7 +102,7 @@ function getAccounts() {
|
|
|
101
102
|
},
|
|
102
103
|
login_identity: {
|
|
103
104
|
login_identity_id: '01F7MP3J3H485QSDQC0FS15KE7',
|
|
104
|
-
status:
|
|
105
|
+
status: api_1.LoginIdentityStatus.DataRetrievalComplete,
|
|
105
106
|
},
|
|
106
107
|
};
|
|
107
108
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getBalanceHistory = getBalanceHistory;
|
|
4
|
+
const api_1 = require("../../api");
|
|
4
5
|
const account_1 = require("./account");
|
|
5
6
|
function getBalanceHistory() {
|
|
6
7
|
var _a;
|
|
@@ -16,5 +17,6 @@ function getBalanceHistory() {
|
|
|
16
17
|
],
|
|
17
18
|
institution: accountData.institution,
|
|
18
19
|
login_identity: accountData.login_identity,
|
|
20
|
+
source: api_1.GetBalanceHistoryResponseSourceEnum.Institution,
|
|
19
21
|
};
|
|
20
22
|
}
|