@finverse/sdk-typescript 0.0.110 → 0.0.112
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 +102 -45
- package/dist/api.js +57 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -215,7 +215,7 @@ export declare const AccountTypeTypeEnum: {
|
|
|
215
215
|
readonly Loan: "LOAN";
|
|
216
216
|
readonly Unknown: "UNKNOWN";
|
|
217
217
|
};
|
|
218
|
-
export declare type AccountTypeTypeEnum = typeof AccountTypeTypeEnum[keyof typeof AccountTypeTypeEnum];
|
|
218
|
+
export declare type AccountTypeTypeEnum = (typeof AccountTypeTypeEnum)[keyof typeof AccountTypeTypeEnum];
|
|
219
219
|
export declare const AccountTypeSubtypeEnum: {
|
|
220
220
|
readonly Current: "CURRENT";
|
|
221
221
|
readonly Savings: "SAVINGS";
|
|
@@ -232,7 +232,7 @@ export declare const AccountTypeSubtypeEnum: {
|
|
|
232
232
|
readonly RevolvingLoan: "REVOLVING_LOAN";
|
|
233
233
|
readonly Unknown: "UNKNOWN";
|
|
234
234
|
};
|
|
235
|
-
export declare type AccountTypeSubtypeEnum = typeof AccountTypeSubtypeEnum[keyof typeof AccountTypeSubtypeEnum];
|
|
235
|
+
export declare type AccountTypeSubtypeEnum = (typeof AccountTypeSubtypeEnum)[keyof typeof AccountTypeSubtypeEnum];
|
|
236
236
|
/**
|
|
237
237
|
*
|
|
238
238
|
* @export
|
|
@@ -424,13 +424,13 @@ export declare const AuthChecklistFactorTypeEnum: {
|
|
|
424
424
|
readonly EnduserConsent: "ENDUSER_CONSENT";
|
|
425
425
|
readonly AccountholderAuthentication: "ACCOUNTHOLDER_AUTHENTICATION";
|
|
426
426
|
};
|
|
427
|
-
export declare type AuthChecklistFactorTypeEnum = typeof AuthChecklistFactorTypeEnum[keyof typeof AuthChecklistFactorTypeEnum];
|
|
427
|
+
export declare type AuthChecklistFactorTypeEnum = (typeof AuthChecklistFactorTypeEnum)[keyof typeof AuthChecklistFactorTypeEnum];
|
|
428
428
|
export declare const AuthChecklistFactorRequiredEnum: {
|
|
429
429
|
readonly Yes: "YES";
|
|
430
430
|
readonly No: "NO";
|
|
431
431
|
readonly Optional: "OPTIONAL";
|
|
432
432
|
};
|
|
433
|
-
export declare type AuthChecklistFactorRequiredEnum = typeof AuthChecklistFactorRequiredEnum[keyof typeof AuthChecklistFactorRequiredEnum];
|
|
433
|
+
export declare type AuthChecklistFactorRequiredEnum = (typeof AuthChecklistFactorRequiredEnum)[keyof typeof AuthChecklistFactorRequiredEnum];
|
|
434
434
|
/**
|
|
435
435
|
*
|
|
436
436
|
* @export
|
|
@@ -460,12 +460,12 @@ export declare const AuthChecklistOptionsNameEnum: {
|
|
|
460
460
|
readonly CredentialsLogin: "INSTITUTION_CREDENTIALS_LOGIN";
|
|
461
461
|
readonly OauthLogin: "INSTITUTION_OAUTH_LOGIN";
|
|
462
462
|
};
|
|
463
|
-
export declare type AuthChecklistOptionsNameEnum = typeof AuthChecklistOptionsNameEnum[keyof typeof AuthChecklistOptionsNameEnum];
|
|
463
|
+
export declare type AuthChecklistOptionsNameEnum = (typeof AuthChecklistOptionsNameEnum)[keyof typeof AuthChecklistOptionsNameEnum];
|
|
464
464
|
export declare const AuthChecklistOptionsSubmittedByEnum: {
|
|
465
465
|
readonly CustomerApp: "CUSTOMER_APP";
|
|
466
466
|
readonly FinverseLink: "FINVERSE_LINK";
|
|
467
467
|
};
|
|
468
|
-
export declare type AuthChecklistOptionsSubmittedByEnum = typeof AuthChecklistOptionsSubmittedByEnum[keyof typeof AuthChecklistOptionsSubmittedByEnum];
|
|
468
|
+
export declare type AuthChecklistOptionsSubmittedByEnum = (typeof AuthChecklistOptionsSubmittedByEnum)[keyof typeof AuthChecklistOptionsSubmittedByEnum];
|
|
469
469
|
/**
|
|
470
470
|
*
|
|
471
471
|
* @export
|
|
@@ -570,7 +570,7 @@ export declare const BadRequestModelV2ErrorTypeEnum: {
|
|
|
570
570
|
readonly LinkError: "LINK_ERROR";
|
|
571
571
|
readonly ApiError: "API_ERROR";
|
|
572
572
|
};
|
|
573
|
-
export declare type BadRequestModelV2ErrorTypeEnum = typeof BadRequestModelV2ErrorTypeEnum[keyof typeof BadRequestModelV2ErrorTypeEnum];
|
|
573
|
+
export declare type BadRequestModelV2ErrorTypeEnum = (typeof BadRequestModelV2ErrorTypeEnum)[keyof typeof BadRequestModelV2ErrorTypeEnum];
|
|
574
574
|
/**
|
|
575
575
|
*
|
|
576
576
|
* @export
|
|
@@ -640,6 +640,19 @@ export interface CompositeStatementLink {
|
|
|
640
640
|
*/
|
|
641
641
|
expiry: string;
|
|
642
642
|
}
|
|
643
|
+
/**
|
|
644
|
+
*
|
|
645
|
+
* @export
|
|
646
|
+
* @interface ConfirmPaymentResponse
|
|
647
|
+
*/
|
|
648
|
+
export interface ConfirmPaymentResponse {
|
|
649
|
+
/**
|
|
650
|
+
*
|
|
651
|
+
* @type {boolean}
|
|
652
|
+
* @memberof ConfirmPaymentResponse
|
|
653
|
+
*/
|
|
654
|
+
success: boolean;
|
|
655
|
+
}
|
|
643
656
|
/**
|
|
644
657
|
*
|
|
645
658
|
* @export
|
|
@@ -751,7 +764,7 @@ export declare const CreateMandateResponseStatusEnum: {
|
|
|
751
764
|
readonly Failed: "FAILED";
|
|
752
765
|
readonly Revoked: "REVOKED";
|
|
753
766
|
};
|
|
754
|
-
export declare type CreateMandateResponseStatusEnum = typeof CreateMandateResponseStatusEnum[keyof typeof CreateMandateResponseStatusEnum];
|
|
767
|
+
export declare type CreateMandateResponseStatusEnum = (typeof CreateMandateResponseStatusEnum)[keyof typeof CreateMandateResponseStatusEnum];
|
|
755
768
|
/**
|
|
756
769
|
*
|
|
757
770
|
* @export
|
|
@@ -799,7 +812,7 @@ export declare const CreateMandateSenderSenderTypeEnum: {
|
|
|
799
812
|
readonly Individual: "INDIVIDUAL";
|
|
800
813
|
readonly Business: "BUSINESS";
|
|
801
814
|
};
|
|
802
|
-
export declare type CreateMandateSenderSenderTypeEnum = typeof CreateMandateSenderSenderTypeEnum[keyof typeof CreateMandateSenderSenderTypeEnum];
|
|
815
|
+
export declare type CreateMandateSenderSenderTypeEnum = (typeof CreateMandateSenderSenderTypeEnum)[keyof typeof CreateMandateSenderSenderTypeEnum];
|
|
803
816
|
/**
|
|
804
817
|
*
|
|
805
818
|
* @export
|
|
@@ -869,7 +882,7 @@ export declare const CreatePaymentRequestTypeEnum: {
|
|
|
869
882
|
readonly Mandate: "MANDATE";
|
|
870
883
|
readonly Single: "SINGLE";
|
|
871
884
|
};
|
|
872
|
-
export declare type CreatePaymentRequestTypeEnum = typeof CreatePaymentRequestTypeEnum[keyof typeof CreatePaymentRequestTypeEnum];
|
|
885
|
+
export declare type CreatePaymentRequestTypeEnum = (typeof CreatePaymentRequestTypeEnum)[keyof typeof CreatePaymentRequestTypeEnum];
|
|
873
886
|
/**
|
|
874
887
|
*
|
|
875
888
|
* @export
|
|
@@ -949,7 +962,7 @@ export interface CreateRecipientAccount {
|
|
|
949
962
|
export declare const CreateRecipientAccountAccountTypeEnum: {
|
|
950
963
|
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
951
964
|
};
|
|
952
|
-
export declare type CreateRecipientAccountAccountTypeEnum = typeof CreateRecipientAccountAccountTypeEnum[keyof typeof CreateRecipientAccountAccountTypeEnum];
|
|
965
|
+
export declare type CreateRecipientAccountAccountTypeEnum = (typeof CreateRecipientAccountAccountTypeEnum)[keyof typeof CreateRecipientAccountAccountTypeEnum];
|
|
953
966
|
/**
|
|
954
967
|
*
|
|
955
968
|
* @export
|
|
@@ -1031,7 +1044,7 @@ export interface CreateSenderAccountRequest {
|
|
|
1031
1044
|
export declare const CreateSenderAccountRequestAccountTypeEnum: {
|
|
1032
1045
|
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
1033
1046
|
};
|
|
1034
|
-
export declare type CreateSenderAccountRequestAccountTypeEnum = typeof CreateSenderAccountRequestAccountTypeEnum[keyof typeof CreateSenderAccountRequestAccountTypeEnum];
|
|
1047
|
+
export declare type CreateSenderAccountRequestAccountTypeEnum = (typeof CreateSenderAccountRequestAccountTypeEnum)[keyof typeof CreateSenderAccountRequestAccountTypeEnum];
|
|
1035
1048
|
/**
|
|
1036
1049
|
*
|
|
1037
1050
|
* @export
|
|
@@ -1081,7 +1094,7 @@ export declare const CreateSenderRequestSenderTypeEnum: {
|
|
|
1081
1094
|
readonly Individual: "INDIVIDUAL";
|
|
1082
1095
|
readonly Business: "BUSINESS";
|
|
1083
1096
|
};
|
|
1084
|
-
export declare type CreateSenderRequestSenderTypeEnum = typeof CreateSenderRequestSenderTypeEnum[keyof typeof CreateSenderRequestSenderTypeEnum];
|
|
1097
|
+
export declare type CreateSenderRequestSenderTypeEnum = (typeof CreateSenderRequestSenderTypeEnum)[keyof typeof CreateSenderRequestSenderTypeEnum];
|
|
1085
1098
|
/**
|
|
1086
1099
|
*
|
|
1087
1100
|
* @export
|
|
@@ -1189,7 +1202,7 @@ export interface CustomerPaymentInstruction {
|
|
|
1189
1202
|
export declare const CustomerPaymentInstructionTypeEnum: {
|
|
1190
1203
|
readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
|
|
1191
1204
|
};
|
|
1192
|
-
export declare type CustomerPaymentInstructionTypeEnum = typeof CustomerPaymentInstructionTypeEnum[keyof typeof CustomerPaymentInstructionTypeEnum];
|
|
1205
|
+
export declare type CustomerPaymentInstructionTypeEnum = (typeof CustomerPaymentInstructionTypeEnum)[keyof typeof CustomerPaymentInstructionTypeEnum];
|
|
1193
1206
|
/**
|
|
1194
1207
|
*
|
|
1195
1208
|
* @export
|
|
@@ -1362,7 +1375,7 @@ export declare const FvErrorModelTypeEnum: {
|
|
|
1362
1375
|
readonly LinkError: "LINK_ERROR";
|
|
1363
1376
|
readonly ApiError: "API_ERROR";
|
|
1364
1377
|
};
|
|
1365
|
-
export declare type FvErrorModelTypeEnum = typeof FvErrorModelTypeEnum[keyof typeof FvErrorModelTypeEnum];
|
|
1378
|
+
export declare type FvErrorModelTypeEnum = (typeof FvErrorModelTypeEnum)[keyof typeof FvErrorModelTypeEnum];
|
|
1366
1379
|
/**
|
|
1367
1380
|
*
|
|
1368
1381
|
* @export
|
|
@@ -1404,7 +1417,7 @@ export declare const FvErrorModelV2TypeEnum: {
|
|
|
1404
1417
|
readonly LinkError: "LINK_ERROR";
|
|
1405
1418
|
readonly ApiError: "API_ERROR";
|
|
1406
1419
|
};
|
|
1407
|
-
export declare type FvErrorModelV2TypeEnum = typeof FvErrorModelV2TypeEnum[keyof typeof FvErrorModelV2TypeEnum];
|
|
1420
|
+
export declare type FvErrorModelV2TypeEnum = (typeof FvErrorModelV2TypeEnum)[keyof typeof FvErrorModelV2TypeEnum];
|
|
1408
1421
|
/**
|
|
1409
1422
|
*
|
|
1410
1423
|
* @export
|
|
@@ -1508,7 +1521,7 @@ export declare const GetBalanceHistoryResponseSourceEnum: {
|
|
|
1508
1521
|
readonly Institution: "INSTITUTION";
|
|
1509
1522
|
readonly Computed: "COMPUTED";
|
|
1510
1523
|
};
|
|
1511
|
-
export declare type GetBalanceHistoryResponseSourceEnum = typeof GetBalanceHistoryResponseSourceEnum[keyof typeof GetBalanceHistoryResponseSourceEnum];
|
|
1524
|
+
export declare type GetBalanceHistoryResponseSourceEnum = (typeof GetBalanceHistoryResponseSourceEnum)[keyof typeof GetBalanceHistoryResponseSourceEnum];
|
|
1512
1525
|
/**
|
|
1513
1526
|
*
|
|
1514
1527
|
* @export
|
|
@@ -1638,7 +1651,7 @@ export interface GetMandateAuthLinkResponse {
|
|
|
1638
1651
|
export declare const GetMandateAuthLinkResponseTokenTypeEnum: {
|
|
1639
1652
|
readonly Bearer: "Bearer";
|
|
1640
1653
|
};
|
|
1641
|
-
export declare type GetMandateAuthLinkResponseTokenTypeEnum = typeof GetMandateAuthLinkResponseTokenTypeEnum[keyof typeof GetMandateAuthLinkResponseTokenTypeEnum];
|
|
1654
|
+
export declare type GetMandateAuthLinkResponseTokenTypeEnum = (typeof GetMandateAuthLinkResponseTokenTypeEnum)[keyof typeof GetMandateAuthLinkResponseTokenTypeEnum];
|
|
1642
1655
|
/**
|
|
1643
1656
|
*
|
|
1644
1657
|
* @export
|
|
@@ -1706,12 +1719,12 @@ export declare const GetMandateAuthResponseMandateStatusEnum: {
|
|
|
1706
1719
|
readonly Submitted: "SUBMITTED";
|
|
1707
1720
|
readonly Error: "ERROR";
|
|
1708
1721
|
};
|
|
1709
|
-
export declare type GetMandateAuthResponseMandateStatusEnum = typeof GetMandateAuthResponseMandateStatusEnum[keyof typeof GetMandateAuthResponseMandateStatusEnum];
|
|
1722
|
+
export declare type GetMandateAuthResponseMandateStatusEnum = (typeof GetMandateAuthResponseMandateStatusEnum)[keyof typeof GetMandateAuthResponseMandateStatusEnum];
|
|
1710
1723
|
export declare const GetMandateAuthResponseSenderTypeEnum: {
|
|
1711
1724
|
readonly Individual: "INDIVIDUAL";
|
|
1712
1725
|
readonly Business: "BUSINESS";
|
|
1713
1726
|
};
|
|
1714
|
-
export declare type GetMandateAuthResponseSenderTypeEnum = typeof GetMandateAuthResponseSenderTypeEnum[keyof typeof GetMandateAuthResponseSenderTypeEnum];
|
|
1727
|
+
export declare type GetMandateAuthResponseSenderTypeEnum = (typeof GetMandateAuthResponseSenderTypeEnum)[keyof typeof GetMandateAuthResponseSenderTypeEnum];
|
|
1715
1728
|
/**
|
|
1716
1729
|
*
|
|
1717
1730
|
* @export
|
|
@@ -1784,7 +1797,7 @@ export declare const GetMandateResponseStatusEnum: {
|
|
|
1784
1797
|
readonly Failed: "FAILED";
|
|
1785
1798
|
readonly Revoked: "REVOKED";
|
|
1786
1799
|
};
|
|
1787
|
-
export declare type GetMandateResponseStatusEnum = typeof GetMandateResponseStatusEnum[keyof typeof GetMandateResponseStatusEnum];
|
|
1800
|
+
export declare type GetMandateResponseStatusEnum = (typeof GetMandateResponseStatusEnum)[keyof typeof GetMandateResponseStatusEnum];
|
|
1788
1801
|
/**
|
|
1789
1802
|
*
|
|
1790
1803
|
* @export
|
|
@@ -1832,7 +1845,7 @@ export declare const GetMandateSenderSenderTypeEnum: {
|
|
|
1832
1845
|
readonly Individual: "INDIVIDUAL";
|
|
1833
1846
|
readonly Business: "BUSINESS";
|
|
1834
1847
|
};
|
|
1835
|
-
export declare type GetMandateSenderSenderTypeEnum = typeof GetMandateSenderSenderTypeEnum[keyof typeof GetMandateSenderSenderTypeEnum];
|
|
1848
|
+
export declare type GetMandateSenderSenderTypeEnum = (typeof GetMandateSenderSenderTypeEnum)[keyof typeof GetMandateSenderSenderTypeEnum];
|
|
1836
1849
|
/**
|
|
1837
1850
|
*
|
|
1838
1851
|
* @export
|
|
@@ -2439,13 +2452,13 @@ export declare const InstitutionTagsEnum: {
|
|
|
2439
2452
|
readonly Real: "real";
|
|
2440
2453
|
readonly Test: "test";
|
|
2441
2454
|
};
|
|
2442
|
-
export declare type InstitutionTagsEnum = typeof InstitutionTagsEnum[keyof typeof InstitutionTagsEnum];
|
|
2455
|
+
export declare type InstitutionTagsEnum = (typeof InstitutionTagsEnum)[keyof typeof InstitutionTagsEnum];
|
|
2443
2456
|
export declare const InstitutionInstitutionTypeEnum: {
|
|
2444
2457
|
readonly Bank: "BANK";
|
|
2445
2458
|
readonly Wallet: "WALLET";
|
|
2446
2459
|
readonly Test: "TEST";
|
|
2447
2460
|
};
|
|
2448
|
-
export declare type InstitutionInstitutionTypeEnum = typeof InstitutionInstitutionTypeEnum[keyof typeof InstitutionInstitutionTypeEnum];
|
|
2461
|
+
export declare type InstitutionInstitutionTypeEnum = (typeof InstitutionInstitutionTypeEnum)[keyof typeof InstitutionInstitutionTypeEnum];
|
|
2449
2462
|
export declare const InstitutionProductsSupportedEnum: {
|
|
2450
2463
|
readonly Accounts: "ACCOUNTS";
|
|
2451
2464
|
readonly Transactions: "TRANSACTIONS";
|
|
@@ -2453,19 +2466,19 @@ export declare const InstitutionProductsSupportedEnum: {
|
|
|
2453
2466
|
readonly AccountNumbers: "ACCOUNT_NUMBERS";
|
|
2454
2467
|
readonly Identity: "IDENTITY";
|
|
2455
2468
|
};
|
|
2456
|
-
export declare type InstitutionProductsSupportedEnum = typeof InstitutionProductsSupportedEnum[keyof typeof InstitutionProductsSupportedEnum];
|
|
2469
|
+
export declare type InstitutionProductsSupportedEnum = (typeof InstitutionProductsSupportedEnum)[keyof typeof InstitutionProductsSupportedEnum];
|
|
2457
2470
|
export declare const InstitutionUserTypeEnum: {
|
|
2458
2471
|
readonly Personal: "PERSONAL";
|
|
2459
2472
|
readonly Individual: "INDIVIDUAL";
|
|
2460
2473
|
readonly Business: "BUSINESS";
|
|
2461
2474
|
};
|
|
2462
|
-
export declare type InstitutionUserTypeEnum = typeof InstitutionUserTypeEnum[keyof typeof InstitutionUserTypeEnum];
|
|
2475
|
+
export declare type InstitutionUserTypeEnum = (typeof InstitutionUserTypeEnum)[keyof typeof InstitutionUserTypeEnum];
|
|
2463
2476
|
export declare const InstitutionStatusEnum: {
|
|
2464
2477
|
readonly Supported: "SUPPORTED";
|
|
2465
2478
|
readonly Alpha: "ALPHA";
|
|
2466
2479
|
readonly Beta: "BETA";
|
|
2467
2480
|
};
|
|
2468
|
-
export declare type InstitutionStatusEnum = typeof InstitutionStatusEnum[keyof typeof InstitutionStatusEnum];
|
|
2481
|
+
export declare type InstitutionStatusEnum = (typeof InstitutionStatusEnum)[keyof typeof InstitutionStatusEnum];
|
|
2469
2482
|
/**
|
|
2470
2483
|
*
|
|
2471
2484
|
* @export
|
|
@@ -2834,13 +2847,13 @@ export declare const LinkTokenRequestUiModeEnum: {
|
|
|
2834
2847
|
readonly AutoRedirect: "auto_redirect";
|
|
2835
2848
|
readonly Standalone: "standalone";
|
|
2836
2849
|
};
|
|
2837
|
-
export declare type LinkTokenRequestUiModeEnum = typeof LinkTokenRequestUiModeEnum[keyof typeof LinkTokenRequestUiModeEnum];
|
|
2850
|
+
export declare type LinkTokenRequestUiModeEnum = (typeof LinkTokenRequestUiModeEnum)[keyof typeof LinkTokenRequestUiModeEnum];
|
|
2838
2851
|
export declare const LinkTokenRequestAutomaticDataRefreshEnum: {
|
|
2839
2852
|
readonly On: "ON";
|
|
2840
2853
|
readonly Off: "OFF";
|
|
2841
2854
|
readonly ForcedOn: "FORCED_ON";
|
|
2842
2855
|
};
|
|
2843
|
-
export declare type LinkTokenRequestAutomaticDataRefreshEnum = typeof LinkTokenRequestAutomaticDataRefreshEnum[keyof typeof LinkTokenRequestAutomaticDataRefreshEnum];
|
|
2856
|
+
export declare type LinkTokenRequestAutomaticDataRefreshEnum = (typeof LinkTokenRequestAutomaticDataRefreshEnum)[keyof typeof LinkTokenRequestAutomaticDataRefreshEnum];
|
|
2844
2857
|
/**
|
|
2845
2858
|
*
|
|
2846
2859
|
* @export
|
|
@@ -3340,7 +3353,7 @@ export declare const LoginMethodStatusEnum: {
|
|
|
3340
3353
|
readonly Alpha: "ALPHA";
|
|
3341
3354
|
readonly Beta: "BETA";
|
|
3342
3355
|
};
|
|
3343
|
-
export declare type LoginMethodStatusEnum = typeof LoginMethodStatusEnum[keyof typeof LoginMethodStatusEnum];
|
|
3356
|
+
export declare type LoginMethodStatusEnum = (typeof LoginMethodStatusEnum)[keyof typeof LoginMethodStatusEnum];
|
|
3344
3357
|
/**
|
|
3345
3358
|
*
|
|
3346
3359
|
* @export
|
|
@@ -3427,7 +3440,7 @@ export declare const MandateAuthLinkCustomizationsUiModeEnum: {
|
|
|
3427
3440
|
readonly AutoRedirect: "auto_redirect";
|
|
3428
3441
|
readonly Standalone: "standalone";
|
|
3429
3442
|
};
|
|
3430
|
-
export declare type MandateAuthLinkCustomizationsUiModeEnum = typeof MandateAuthLinkCustomizationsUiModeEnum[keyof typeof MandateAuthLinkCustomizationsUiModeEnum];
|
|
3443
|
+
export declare type MandateAuthLinkCustomizationsUiModeEnum = (typeof MandateAuthLinkCustomizationsUiModeEnum)[keyof typeof MandateAuthLinkCustomizationsUiModeEnum];
|
|
3431
3444
|
/**
|
|
3432
3445
|
*
|
|
3433
3446
|
* @export
|
|
@@ -3557,7 +3570,7 @@ export interface MandateSenderAccount {
|
|
|
3557
3570
|
export declare const MandateSenderAccountAccountTypeEnum: {
|
|
3558
3571
|
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
3559
3572
|
};
|
|
3560
|
-
export declare type MandateSenderAccountAccountTypeEnum = typeof MandateSenderAccountAccountTypeEnum[keyof typeof MandateSenderAccountAccountTypeEnum];
|
|
3573
|
+
export declare type MandateSenderAccountAccountTypeEnum = (typeof MandateSenderAccountAccountTypeEnum)[keyof typeof MandateSenderAccountAccountTypeEnum];
|
|
3561
3574
|
/**
|
|
3562
3575
|
*
|
|
3563
3576
|
* @export
|
|
@@ -3737,7 +3750,7 @@ export declare const PaymentInfoPaymentsSupportedEnum: {
|
|
|
3737
3750
|
readonly Mandate: "MANDATE";
|
|
3738
3751
|
readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
|
|
3739
3752
|
};
|
|
3740
|
-
export declare type PaymentInfoPaymentsSupportedEnum = typeof PaymentInfoPaymentsSupportedEnum[keyof typeof PaymentInfoPaymentsSupportedEnum];
|
|
3753
|
+
export declare type PaymentInfoPaymentsSupportedEnum = (typeof PaymentInfoPaymentsSupportedEnum)[keyof typeof PaymentInfoPaymentsSupportedEnum];
|
|
3741
3754
|
/**
|
|
3742
3755
|
*
|
|
3743
3756
|
* @export
|
|
@@ -3862,7 +3875,7 @@ export interface PaymentInstruction {
|
|
|
3862
3875
|
export declare const PaymentInstructionTypeEnum: {
|
|
3863
3876
|
readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
|
|
3864
3877
|
};
|
|
3865
|
-
export declare type PaymentInstructionTypeEnum = typeof PaymentInstructionTypeEnum[keyof typeof PaymentInstructionTypeEnum];
|
|
3878
|
+
export declare type PaymentInstructionTypeEnum = (typeof PaymentInstructionTypeEnum)[keyof typeof PaymentInstructionTypeEnum];
|
|
3866
3879
|
/**
|
|
3867
3880
|
*
|
|
3868
3881
|
* @export
|
|
@@ -3948,7 +3961,7 @@ export declare const PaymentResponseTypeEnum: {
|
|
|
3948
3961
|
readonly Mandate: "MANDATE";
|
|
3949
3962
|
readonly Single: "SINGLE";
|
|
3950
3963
|
};
|
|
3951
|
-
export declare type PaymentResponseTypeEnum = typeof PaymentResponseTypeEnum[keyof typeof PaymentResponseTypeEnum];
|
|
3964
|
+
export declare type PaymentResponseTypeEnum = (typeof PaymentResponseTypeEnum)[keyof typeof PaymentResponseTypeEnum];
|
|
3952
3965
|
export declare const PaymentResponseStatusEnum: {
|
|
3953
3966
|
readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
|
|
3954
3967
|
readonly Authorizing: "AUTHORIZING";
|
|
@@ -3958,7 +3971,7 @@ export declare const PaymentResponseStatusEnum: {
|
|
|
3958
3971
|
readonly Failed: "FAILED";
|
|
3959
3972
|
readonly Revoked: "REVOKED";
|
|
3960
3973
|
};
|
|
3961
|
-
export declare type PaymentResponseStatusEnum = typeof PaymentResponseStatusEnum[keyof typeof PaymentResponseStatusEnum];
|
|
3974
|
+
export declare type PaymentResponseStatusEnum = (typeof PaymentResponseStatusEnum)[keyof typeof PaymentResponseStatusEnum];
|
|
3962
3975
|
/**
|
|
3963
3976
|
*
|
|
3964
3977
|
* @export
|
|
@@ -3985,7 +3998,7 @@ export declare const PaymentScheduleFrequencyEnum: {
|
|
|
3985
3998
|
readonly Quarterly: "QUARTERLY";
|
|
3986
3999
|
readonly Yearly: "YEARLY";
|
|
3987
4000
|
};
|
|
3988
|
-
export declare type PaymentScheduleFrequencyEnum = typeof PaymentScheduleFrequencyEnum[keyof typeof PaymentScheduleFrequencyEnum];
|
|
4001
|
+
export declare type PaymentScheduleFrequencyEnum = (typeof PaymentScheduleFrequencyEnum)[keyof typeof PaymentScheduleFrequencyEnum];
|
|
3989
4002
|
/**
|
|
3990
4003
|
*
|
|
3991
4004
|
* @export
|
|
@@ -4118,7 +4131,7 @@ export declare const PayoutInstructionResponseStatusEnum: {
|
|
|
4118
4131
|
readonly Cancelled: "CANCELLED";
|
|
4119
4132
|
readonly Failed: "FAILED";
|
|
4120
4133
|
};
|
|
4121
|
-
export declare type PayoutInstructionResponseStatusEnum = typeof PayoutInstructionResponseStatusEnum[keyof typeof PayoutInstructionResponseStatusEnum];
|
|
4134
|
+
export declare type PayoutInstructionResponseStatusEnum = (typeof PayoutInstructionResponseStatusEnum)[keyof typeof PayoutInstructionResponseStatusEnum];
|
|
4122
4135
|
/**
|
|
4123
4136
|
*
|
|
4124
4137
|
* @export
|
|
@@ -4272,7 +4285,7 @@ export declare const RecipientAccountNumberTypeEnum: {
|
|
|
4272
4285
|
readonly Local: "LOCAL";
|
|
4273
4286
|
readonly Iban: "IBAN";
|
|
4274
4287
|
};
|
|
4275
|
-
export declare type RecipientAccountNumberTypeEnum = typeof RecipientAccountNumberTypeEnum[keyof typeof RecipientAccountNumberTypeEnum];
|
|
4288
|
+
export declare type RecipientAccountNumberTypeEnum = (typeof RecipientAccountNumberTypeEnum)[keyof typeof RecipientAccountNumberTypeEnum];
|
|
4276
4289
|
/**
|
|
4277
4290
|
*
|
|
4278
4291
|
* @export
|
|
@@ -4315,12 +4328,24 @@ export interface RecipientAccountResponse {
|
|
|
4315
4328
|
* @memberof RecipientAccountResponse
|
|
4316
4329
|
*/
|
|
4317
4330
|
institution_id?: string;
|
|
4331
|
+
/**
|
|
4332
|
+
* 3-digit code associated with bank
|
|
4333
|
+
* @type {string}
|
|
4334
|
+
* @memberof RecipientAccountResponse
|
|
4335
|
+
*/
|
|
4336
|
+
bank_code?: string;
|
|
4337
|
+
/**
|
|
4338
|
+
* 3-digit code used to identify specific bank branch
|
|
4339
|
+
* @type {string}
|
|
4340
|
+
* @memberof RecipientAccountResponse
|
|
4341
|
+
*/
|
|
4342
|
+
branch_code?: string;
|
|
4318
4343
|
}
|
|
4319
4344
|
export declare const RecipientAccountResponseAccountTypeEnum: {
|
|
4320
4345
|
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
4321
4346
|
readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
|
|
4322
4347
|
};
|
|
4323
|
-
export declare type RecipientAccountResponseAccountTypeEnum = typeof RecipientAccountResponseAccountTypeEnum[keyof typeof RecipientAccountResponseAccountTypeEnum];
|
|
4348
|
+
export declare type RecipientAccountResponseAccountTypeEnum = (typeof RecipientAccountResponseAccountTypeEnum)[keyof typeof RecipientAccountResponseAccountTypeEnum];
|
|
4324
4349
|
/**
|
|
4325
4350
|
*
|
|
4326
4351
|
* @export
|
|
@@ -4494,7 +4519,7 @@ export interface SenderAccountResponse {
|
|
|
4494
4519
|
export declare const SenderAccountResponseAccountTypeEnum: {
|
|
4495
4520
|
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
4496
4521
|
};
|
|
4497
|
-
export declare type SenderAccountResponseAccountTypeEnum = typeof SenderAccountResponseAccountTypeEnum[keyof typeof SenderAccountResponseAccountTypeEnum];
|
|
4522
|
+
export declare type SenderAccountResponseAccountTypeEnum = (typeof SenderAccountResponseAccountTypeEnum)[keyof typeof SenderAccountResponseAccountTypeEnum];
|
|
4498
4523
|
/**
|
|
4499
4524
|
*
|
|
4500
4525
|
* @export
|
|
@@ -4533,7 +4558,7 @@ export declare const SenderDetailDetailsTypeEnum: {
|
|
|
4533
4558
|
readonly HkBusinessRegistration: "HK_BUSINESS_REGISTRATION";
|
|
4534
4559
|
readonly HkCertificateOfIncorporation: "HK_CERTIFICATE_OF_INCORPORATION";
|
|
4535
4560
|
};
|
|
4536
|
-
export declare type SenderDetailDetailsTypeEnum = typeof SenderDetailDetailsTypeEnum[keyof typeof SenderDetailDetailsTypeEnum];
|
|
4561
|
+
export declare type SenderDetailDetailsTypeEnum = (typeof SenderDetailDetailsTypeEnum)[keyof typeof SenderDetailDetailsTypeEnum];
|
|
4537
4562
|
/**
|
|
4538
4563
|
*
|
|
4539
4564
|
* @export
|
|
@@ -4601,7 +4626,7 @@ export declare const SenderResponseSenderTypeEnum: {
|
|
|
4601
4626
|
readonly Individual: "INDIVIDUAL";
|
|
4602
4627
|
readonly Business: "BUSINESS";
|
|
4603
4628
|
};
|
|
4604
|
-
export declare type SenderResponseSenderTypeEnum = typeof SenderResponseSenderTypeEnum[keyof typeof SenderResponseSenderTypeEnum];
|
|
4629
|
+
export declare type SenderResponseSenderTypeEnum = (typeof SenderResponseSenderTypeEnum)[keyof typeof SenderResponseSenderTypeEnum];
|
|
4605
4630
|
/**
|
|
4606
4631
|
*
|
|
4607
4632
|
* @export
|
|
@@ -4789,7 +4814,7 @@ export declare const SubmitAuthChecklistResponseMandateStatusEnum: {
|
|
|
4789
4814
|
readonly Submitted: "SUBMITTED";
|
|
4790
4815
|
readonly Error: "ERROR";
|
|
4791
4816
|
};
|
|
4792
|
-
export declare type SubmitAuthChecklistResponseMandateStatusEnum = typeof SubmitAuthChecklistResponseMandateStatusEnum[keyof typeof SubmitAuthChecklistResponseMandateStatusEnum];
|
|
4817
|
+
export declare type SubmitAuthChecklistResponseMandateStatusEnum = (typeof SubmitAuthChecklistResponseMandateStatusEnum)[keyof typeof SubmitAuthChecklistResponseMandateStatusEnum];
|
|
4793
4818
|
/**
|
|
4794
4819
|
*
|
|
4795
4820
|
* @export
|
|
@@ -5024,7 +5049,7 @@ export declare const TransactionLimitsPeriodEnum: {
|
|
|
5024
5049
|
readonly Quarterly: "QUARTERLY";
|
|
5025
5050
|
readonly Yearly: "YEARLY";
|
|
5026
5051
|
};
|
|
5027
|
-
export declare type TransactionLimitsPeriodEnum = typeof TransactionLimitsPeriodEnum[keyof typeof TransactionLimitsPeriodEnum];
|
|
5052
|
+
export declare type TransactionLimitsPeriodEnum = (typeof TransactionLimitsPeriodEnum)[keyof typeof TransactionLimitsPeriodEnum];
|
|
5028
5053
|
/**
|
|
5029
5054
|
*
|
|
5030
5055
|
* @export
|
|
@@ -6193,6 +6218,12 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
6193
6218
|
* @export
|
|
6194
6219
|
*/
|
|
6195
6220
|
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6221
|
+
/**
|
|
6222
|
+
* Confirm a payment against a payment Link
|
|
6223
|
+
* @param {*} [options] Override http request option.
|
|
6224
|
+
* @throws {RequiredError}
|
|
6225
|
+
*/
|
|
6226
|
+
confirmPayment: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6196
6227
|
/**
|
|
6197
6228
|
* List mandates
|
|
6198
6229
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -6230,6 +6261,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
6230
6261
|
* @export
|
|
6231
6262
|
*/
|
|
6232
6263
|
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
6264
|
+
/**
|
|
6265
|
+
* Confirm a payment against a payment Link
|
|
6266
|
+
* @param {*} [options] Override http request option.
|
|
6267
|
+
* @throws {RequiredError}
|
|
6268
|
+
*/
|
|
6269
|
+
confirmPayment(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmPaymentResponse>>;
|
|
6233
6270
|
/**
|
|
6234
6271
|
* List mandates
|
|
6235
6272
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -6267,6 +6304,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
6267
6304
|
* @export
|
|
6268
6305
|
*/
|
|
6269
6306
|
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6307
|
+
/**
|
|
6308
|
+
* Confirm a payment against a payment Link
|
|
6309
|
+
* @param {*} [options] Override http request option.
|
|
6310
|
+
* @throws {RequiredError}
|
|
6311
|
+
*/
|
|
6312
|
+
confirmPayment(options?: any): AxiosPromise<ConfirmPaymentResponse>;
|
|
6270
6313
|
/**
|
|
6271
6314
|
* List mandates
|
|
6272
6315
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -6305,6 +6348,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
6305
6348
|
* @interface DefaultApi
|
|
6306
6349
|
*/
|
|
6307
6350
|
export interface DefaultApiInterface {
|
|
6351
|
+
/**
|
|
6352
|
+
* Confirm a payment against a payment Link
|
|
6353
|
+
* @param {*} [options] Override http request option.
|
|
6354
|
+
* @throws {RequiredError}
|
|
6355
|
+
* @memberof DefaultApiInterface
|
|
6356
|
+
*/
|
|
6357
|
+
confirmPayment(options?: AxiosRequestConfig): AxiosPromise<ConfirmPaymentResponse>;
|
|
6308
6358
|
/**
|
|
6309
6359
|
* List mandates
|
|
6310
6360
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -6346,6 +6396,13 @@ export interface DefaultApiInterface {
|
|
|
6346
6396
|
* @extends {BaseAPI}
|
|
6347
6397
|
*/
|
|
6348
6398
|
export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
6399
|
+
/**
|
|
6400
|
+
* Confirm a payment against a payment Link
|
|
6401
|
+
* @param {*} [options] Override http request option.
|
|
6402
|
+
* @throws {RequiredError}
|
|
6403
|
+
* @memberof DefaultApi
|
|
6404
|
+
*/
|
|
6405
|
+
confirmPayment(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfirmPaymentResponse>>;
|
|
6349
6406
|
/**
|
|
6350
6407
|
* List mandates
|
|
6351
6408
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
package/dist/api.js
CHANGED
|
@@ -2085,6 +2085,33 @@ exports.CustomerApi = CustomerApi;
|
|
|
2085
2085
|
*/
|
|
2086
2086
|
exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
2087
2087
|
return {
|
|
2088
|
+
/**
|
|
2089
|
+
* Confirm a payment against a payment Link
|
|
2090
|
+
* @param {*} [options] Override http request option.
|
|
2091
|
+
* @throws {RequiredError}
|
|
2092
|
+
*/
|
|
2093
|
+
confirmPayment: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2094
|
+
const localVarPath = `/payments/confirm`;
|
|
2095
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2096
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2097
|
+
let baseOptions;
|
|
2098
|
+
if (configuration) {
|
|
2099
|
+
baseOptions = configuration.baseOptions;
|
|
2100
|
+
}
|
|
2101
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2102
|
+
const localVarHeaderParameter = {};
|
|
2103
|
+
const localVarQueryParameter = {};
|
|
2104
|
+
// authentication Oauth2 required
|
|
2105
|
+
// oauth required
|
|
2106
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2107
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2109
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2110
|
+
return {
|
|
2111
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
2112
|
+
options: localVarRequestOptions,
|
|
2113
|
+
};
|
|
2114
|
+
}),
|
|
2088
2115
|
/**
|
|
2089
2116
|
* List mandates
|
|
2090
2117
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -2228,6 +2255,17 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2228
2255
|
exports.DefaultApiFp = function (configuration) {
|
|
2229
2256
|
const localVarAxiosParamCreator = exports.DefaultApiAxiosParamCreator(configuration);
|
|
2230
2257
|
return {
|
|
2258
|
+
/**
|
|
2259
|
+
* Confirm a payment against a payment Link
|
|
2260
|
+
* @param {*} [options] Override http request option.
|
|
2261
|
+
* @throws {RequiredError}
|
|
2262
|
+
*/
|
|
2263
|
+
confirmPayment(options) {
|
|
2264
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2265
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmPayment(options);
|
|
2266
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2267
|
+
});
|
|
2268
|
+
},
|
|
2231
2269
|
/**
|
|
2232
2270
|
* List mandates
|
|
2233
2271
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -2278,6 +2316,14 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
2278
2316
|
exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
2279
2317
|
const localVarFp = exports.DefaultApiFp(configuration);
|
|
2280
2318
|
return {
|
|
2319
|
+
/**
|
|
2320
|
+
* Confirm a payment against a payment Link
|
|
2321
|
+
* @param {*} [options] Override http request option.
|
|
2322
|
+
* @throws {RequiredError}
|
|
2323
|
+
*/
|
|
2324
|
+
confirmPayment(options) {
|
|
2325
|
+
return localVarFp.confirmPayment(options).then((request) => request(axios, basePath));
|
|
2326
|
+
},
|
|
2281
2327
|
/**
|
|
2282
2328
|
* List mandates
|
|
2283
2329
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -2326,6 +2372,17 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2326
2372
|
* @extends {BaseAPI}
|
|
2327
2373
|
*/
|
|
2328
2374
|
class DefaultApi extends base_1.BaseAPI {
|
|
2375
|
+
/**
|
|
2376
|
+
* Confirm a payment against a payment Link
|
|
2377
|
+
* @param {*} [options] Override http request option.
|
|
2378
|
+
* @throws {RequiredError}
|
|
2379
|
+
* @memberof DefaultApi
|
|
2380
|
+
*/
|
|
2381
|
+
confirmPayment(options) {
|
|
2382
|
+
return exports.DefaultApiFp(this.configuration)
|
|
2383
|
+
.confirmPayment(options)
|
|
2384
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2385
|
+
}
|
|
2329
2386
|
/**
|
|
2330
2387
|
* List mandates
|
|
2331
2388
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|