@finverse/sdk-typescript 0.0.401 → 0.0.403
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 +103 -166
- package/dist/api.js +38 -85
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -204,6 +204,16 @@ export interface AccountNumber {
|
|
|
204
204
|
*/
|
|
205
205
|
raw: string;
|
|
206
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* Type of account number. Possible values: LOCAL, IBAN
|
|
209
|
+
* @export
|
|
210
|
+
* @enum {string}
|
|
211
|
+
*/
|
|
212
|
+
export declare const AccountNumberType: {
|
|
213
|
+
readonly Local: "LOCAL";
|
|
214
|
+
readonly Iban: "IBAN";
|
|
215
|
+
};
|
|
216
|
+
export type AccountNumberType = (typeof AccountNumberType)[keyof typeof AccountNumberType];
|
|
207
217
|
/**
|
|
208
218
|
*
|
|
209
219
|
* @export
|
|
@@ -676,11 +686,11 @@ export interface BadRequestModelV2 {
|
|
|
676
686
|
*/
|
|
677
687
|
export interface BadRequestModelV2Error {
|
|
678
688
|
/**
|
|
679
|
-
*
|
|
680
|
-
* @type {
|
|
689
|
+
*
|
|
690
|
+
* @type {FinverseErrorCategory}
|
|
681
691
|
* @memberof BadRequestModelV2Error
|
|
682
692
|
*/
|
|
683
|
-
type:
|
|
693
|
+
type: FinverseErrorCategory;
|
|
684
694
|
/**
|
|
685
695
|
*
|
|
686
696
|
* @type {string}
|
|
@@ -712,11 +722,6 @@ export interface BadRequestModelV2Error {
|
|
|
712
722
|
*/
|
|
713
723
|
request_id: string;
|
|
714
724
|
}
|
|
715
|
-
export declare const BadRequestModelV2ErrorTypeEnum: {
|
|
716
|
-
readonly LinkError: "LINK_ERROR";
|
|
717
|
-
readonly ApiError: "API_ERROR";
|
|
718
|
-
};
|
|
719
|
-
export type BadRequestModelV2ErrorTypeEnum = (typeof BadRequestModelV2ErrorTypeEnum)[keyof typeof BadRequestModelV2ErrorTypeEnum];
|
|
720
725
|
/**
|
|
721
726
|
*
|
|
722
727
|
* @export
|
|
@@ -1662,11 +1667,11 @@ export interface CreateMandateSender {
|
|
|
1662
1667
|
*/
|
|
1663
1668
|
external_user_id?: string;
|
|
1664
1669
|
/**
|
|
1665
|
-
*
|
|
1666
|
-
* @type {
|
|
1670
|
+
*
|
|
1671
|
+
* @type {PaymentUserType}
|
|
1667
1672
|
* @memberof CreateMandateSender
|
|
1668
1673
|
*/
|
|
1669
|
-
user_type?:
|
|
1674
|
+
user_type?: PaymentUserType;
|
|
1670
1675
|
/**
|
|
1671
1676
|
* Sender details which will be used for fraud checking.
|
|
1672
1677
|
* @type {Array<SenderDetail>}
|
|
@@ -1674,11 +1679,6 @@ export interface CreateMandateSender {
|
|
|
1674
1679
|
*/
|
|
1675
1680
|
user_details?: Array<SenderDetail>;
|
|
1676
1681
|
}
|
|
1677
|
-
export declare const CreateMandateSenderUserTypeEnum: {
|
|
1678
|
-
readonly Individual: "INDIVIDUAL";
|
|
1679
|
-
readonly Business: "BUSINESS";
|
|
1680
|
-
};
|
|
1681
|
-
export type CreateMandateSenderUserTypeEnum = (typeof CreateMandateSenderUserTypeEnum)[keyof typeof CreateMandateSenderUserTypeEnum];
|
|
1682
1682
|
/**
|
|
1683
1683
|
*
|
|
1684
1684
|
* @export
|
|
@@ -1710,11 +1710,11 @@ export interface CreateMandateSenderResponse {
|
|
|
1710
1710
|
*/
|
|
1711
1711
|
external_user_id: string;
|
|
1712
1712
|
/**
|
|
1713
|
-
*
|
|
1714
|
-
* @type {
|
|
1713
|
+
*
|
|
1714
|
+
* @type {PaymentUserType}
|
|
1715
1715
|
* @memberof CreateMandateSenderResponse
|
|
1716
1716
|
*/
|
|
1717
|
-
user_type:
|
|
1717
|
+
user_type: PaymentUserType;
|
|
1718
1718
|
/**
|
|
1719
1719
|
* Sender details which will be used for fraud checking.
|
|
1720
1720
|
* @type {Array<SenderDetail>}
|
|
@@ -1722,11 +1722,6 @@ export interface CreateMandateSenderResponse {
|
|
|
1722
1722
|
*/
|
|
1723
1723
|
user_details?: Array<SenderDetail>;
|
|
1724
1724
|
}
|
|
1725
|
-
export declare const CreateMandateSenderResponseUserTypeEnum: {
|
|
1726
|
-
readonly Individual: "INDIVIDUAL";
|
|
1727
|
-
readonly Business: "BUSINESS";
|
|
1728
|
-
};
|
|
1729
|
-
export type CreateMandateSenderResponseUserTypeEnum = (typeof CreateMandateSenderResponseUserTypeEnum)[keyof typeof CreateMandateSenderResponseUserTypeEnum];
|
|
1730
1725
|
/**
|
|
1731
1726
|
*
|
|
1732
1727
|
* @export
|
|
@@ -1988,10 +1983,10 @@ export interface CreatePaymentUserRequest {
|
|
|
1988
1983
|
external_user_id: string;
|
|
1989
1984
|
/**
|
|
1990
1985
|
*
|
|
1991
|
-
* @type {
|
|
1986
|
+
* @type {PaymentUserType}
|
|
1992
1987
|
* @memberof CreatePaymentUserRequest
|
|
1993
1988
|
*/
|
|
1994
|
-
user_type?:
|
|
1989
|
+
user_type?: PaymentUserType;
|
|
1995
1990
|
/**
|
|
1996
1991
|
*
|
|
1997
1992
|
* @type {string}
|
|
@@ -2025,11 +2020,6 @@ export interface CreatePaymentUserRequest {
|
|
|
2025
2020
|
*/
|
|
2026
2021
|
integration_metadata?: IntegrationMetadataPaymentUserRequest;
|
|
2027
2022
|
}
|
|
2028
|
-
export declare const CreatePaymentUserRequestUserTypeEnum: {
|
|
2029
|
-
readonly Individual: "INDIVIDUAL";
|
|
2030
|
-
readonly Business: "BUSINESS";
|
|
2031
|
-
};
|
|
2032
|
-
export type CreatePaymentUserRequestUserTypeEnum = (typeof CreatePaymentUserRequestUserTypeEnum)[keyof typeof CreatePaymentUserRequestUserTypeEnum];
|
|
2033
2023
|
/**
|
|
2034
2024
|
*
|
|
2035
2025
|
* @export
|
|
@@ -2812,10 +2802,10 @@ export interface Fee {
|
|
|
2812
2802
|
currency?: string;
|
|
2813
2803
|
/**
|
|
2814
2804
|
*
|
|
2815
|
-
* @type {
|
|
2805
|
+
* @type {FeePaidBy}
|
|
2816
2806
|
* @memberof Fee
|
|
2817
2807
|
*/
|
|
2818
|
-
paid_by?:
|
|
2808
|
+
paid_by?: FeePaidBy;
|
|
2819
2809
|
/**
|
|
2820
2810
|
* The payment account Id
|
|
2821
2811
|
* @type {string}
|
|
@@ -2823,11 +2813,26 @@ export interface Fee {
|
|
|
2823
2813
|
*/
|
|
2824
2814
|
paid_by_account_id?: string;
|
|
2825
2815
|
}
|
|
2826
|
-
|
|
2816
|
+
/**
|
|
2817
|
+
* Who pays the fee
|
|
2818
|
+
* @export
|
|
2819
|
+
* @enum {string}
|
|
2820
|
+
*/
|
|
2821
|
+
export declare const FeePaidBy: {
|
|
2827
2822
|
readonly Recipient: "RECIPIENT";
|
|
2828
2823
|
readonly Sender: "SENDER";
|
|
2829
2824
|
};
|
|
2830
|
-
export type
|
|
2825
|
+
export type FeePaidBy = (typeof FeePaidBy)[keyof typeof FeePaidBy];
|
|
2826
|
+
/**
|
|
2827
|
+
* The error type
|
|
2828
|
+
* @export
|
|
2829
|
+
* @enum {string}
|
|
2830
|
+
*/
|
|
2831
|
+
export declare const FinverseErrorCategory: {
|
|
2832
|
+
readonly LinkError: "LINK_ERROR";
|
|
2833
|
+
readonly ApiError: "API_ERROR";
|
|
2834
|
+
};
|
|
2835
|
+
export type FinverseErrorCategory = (typeof FinverseErrorCategory)[keyof typeof FinverseErrorCategory];
|
|
2831
2836
|
/**
|
|
2832
2837
|
*
|
|
2833
2838
|
* @export
|
|
@@ -2883,11 +2888,11 @@ export type FuturePaymentsMode = (typeof FuturePaymentsMode)[keyof typeof Future
|
|
|
2883
2888
|
*/
|
|
2884
2889
|
export interface FvEmbeddedErrorModel {
|
|
2885
2890
|
/**
|
|
2886
|
-
*
|
|
2887
|
-
* @type {
|
|
2891
|
+
*
|
|
2892
|
+
* @type {FinverseErrorCategory}
|
|
2888
2893
|
* @memberof FvEmbeddedErrorModel
|
|
2889
2894
|
*/
|
|
2890
|
-
type:
|
|
2895
|
+
type: FinverseErrorCategory;
|
|
2891
2896
|
/**
|
|
2892
2897
|
*
|
|
2893
2898
|
* @type {string}
|
|
@@ -2907,11 +2912,6 @@ export interface FvEmbeddedErrorModel {
|
|
|
2907
2912
|
*/
|
|
2908
2913
|
details: string;
|
|
2909
2914
|
}
|
|
2910
|
-
export declare const FvEmbeddedErrorModelTypeEnum: {
|
|
2911
|
-
readonly LinkError: "LINK_ERROR";
|
|
2912
|
-
readonly ApiError: "API_ERROR";
|
|
2913
|
-
};
|
|
2914
|
-
export type FvEmbeddedErrorModelTypeEnum = (typeof FvEmbeddedErrorModelTypeEnum)[keyof typeof FvEmbeddedErrorModelTypeEnum];
|
|
2915
2915
|
/**
|
|
2916
2916
|
*
|
|
2917
2917
|
* @export
|
|
@@ -2919,11 +2919,11 @@ export type FvEmbeddedErrorModelTypeEnum = (typeof FvEmbeddedErrorModelTypeEnum)
|
|
|
2919
2919
|
*/
|
|
2920
2920
|
export interface FvErrorModel {
|
|
2921
2921
|
/**
|
|
2922
|
-
*
|
|
2923
|
-
* @type {
|
|
2922
|
+
*
|
|
2923
|
+
* @type {FinverseErrorCategory}
|
|
2924
2924
|
* @memberof FvErrorModel
|
|
2925
2925
|
*/
|
|
2926
|
-
type:
|
|
2926
|
+
type: FinverseErrorCategory;
|
|
2927
2927
|
/**
|
|
2928
2928
|
*
|
|
2929
2929
|
* @type {string}
|
|
@@ -2955,11 +2955,6 @@ export interface FvErrorModel {
|
|
|
2955
2955
|
*/
|
|
2956
2956
|
request_id: string;
|
|
2957
2957
|
}
|
|
2958
|
-
export declare const FvErrorModelTypeEnum: {
|
|
2959
|
-
readonly LinkError: "LINK_ERROR";
|
|
2960
|
-
readonly ApiError: "API_ERROR";
|
|
2961
|
-
};
|
|
2962
|
-
export type FvErrorModelTypeEnum = (typeof FvErrorModelTypeEnum)[keyof typeof FvErrorModelTypeEnum];
|
|
2963
2958
|
/**
|
|
2964
2959
|
*
|
|
2965
2960
|
* @export
|
|
@@ -2967,11 +2962,11 @@ export type FvErrorModelTypeEnum = (typeof FvErrorModelTypeEnum)[keyof typeof Fv
|
|
|
2967
2962
|
*/
|
|
2968
2963
|
export interface FvErrorModelV2 {
|
|
2969
2964
|
/**
|
|
2970
|
-
*
|
|
2971
|
-
* @type {
|
|
2965
|
+
*
|
|
2966
|
+
* @type {FinverseErrorCategory}
|
|
2972
2967
|
* @memberof FvErrorModelV2
|
|
2973
2968
|
*/
|
|
2974
|
-
type:
|
|
2969
|
+
type: FinverseErrorCategory;
|
|
2975
2970
|
/**
|
|
2976
2971
|
*
|
|
2977
2972
|
* @type {string}
|
|
@@ -2997,11 +2992,6 @@ export interface FvErrorModelV2 {
|
|
|
2997
2992
|
*/
|
|
2998
2993
|
request_id: string;
|
|
2999
2994
|
}
|
|
3000
|
-
export declare const FvErrorModelV2TypeEnum: {
|
|
3001
|
-
readonly LinkError: "LINK_ERROR";
|
|
3002
|
-
readonly ApiError: "API_ERROR";
|
|
3003
|
-
};
|
|
3004
|
-
export type FvErrorModelV2TypeEnum = (typeof FvErrorModelV2TypeEnum)[keyof typeof FvErrorModelV2TypeEnum];
|
|
3005
2995
|
/**
|
|
3006
2996
|
*
|
|
3007
2997
|
* @export
|
|
@@ -3398,11 +3388,11 @@ export interface GetMandateAuthResponse {
|
|
|
3398
3388
|
*/
|
|
3399
3389
|
mandate_id: string;
|
|
3400
3390
|
/**
|
|
3401
|
-
*
|
|
3402
|
-
* @type {
|
|
3391
|
+
*
|
|
3392
|
+
* @type {MandateStatus}
|
|
3403
3393
|
* @memberof GetMandateAuthResponse
|
|
3404
3394
|
*/
|
|
3405
|
-
mandate_status:
|
|
3395
|
+
mandate_status: MandateStatus;
|
|
3406
3396
|
/**
|
|
3407
3397
|
* Merchant account ID assigned by Finverse
|
|
3408
3398
|
* @type {string}
|
|
@@ -3416,11 +3406,11 @@ export interface GetMandateAuthResponse {
|
|
|
3416
3406
|
*/
|
|
3417
3407
|
institution_id: string;
|
|
3418
3408
|
/**
|
|
3419
|
-
*
|
|
3420
|
-
* @type {
|
|
3409
|
+
*
|
|
3410
|
+
* @type {PaymentUserType}
|
|
3421
3411
|
* @memberof GetMandateAuthResponse
|
|
3422
3412
|
*/
|
|
3423
|
-
sender_type?:
|
|
3413
|
+
sender_type?: PaymentUserType;
|
|
3424
3414
|
/**
|
|
3425
3415
|
* Checklist of the authorization factors needed to complete Mandate authorization
|
|
3426
3416
|
* @type {Array<AuthChecklistFactor>}
|
|
@@ -3458,18 +3448,6 @@ export interface GetMandateAuthResponse {
|
|
|
3458
3448
|
*/
|
|
3459
3449
|
recipient?: MandateRecipient;
|
|
3460
3450
|
}
|
|
3461
|
-
export declare const GetMandateAuthResponseMandateStatusEnum: {
|
|
3462
|
-
readonly Created: "CREATED";
|
|
3463
|
-
readonly Processing: "PROCESSING";
|
|
3464
|
-
readonly Submitted: "SUBMITTED";
|
|
3465
|
-
readonly Error: "ERROR";
|
|
3466
|
-
};
|
|
3467
|
-
export type GetMandateAuthResponseMandateStatusEnum = (typeof GetMandateAuthResponseMandateStatusEnum)[keyof typeof GetMandateAuthResponseMandateStatusEnum];
|
|
3468
|
-
export declare const GetMandateAuthResponseSenderTypeEnum: {
|
|
3469
|
-
readonly Individual: "INDIVIDUAL";
|
|
3470
|
-
readonly Business: "BUSINESS";
|
|
3471
|
-
};
|
|
3472
|
-
export type GetMandateAuthResponseSenderTypeEnum = (typeof GetMandateAuthResponseSenderTypeEnum)[keyof typeof GetMandateAuthResponseSenderTypeEnum];
|
|
3473
3451
|
/**
|
|
3474
3452
|
*
|
|
3475
3453
|
* @export
|
|
@@ -3582,11 +3560,11 @@ export interface GetMandateSender {
|
|
|
3582
3560
|
*/
|
|
3583
3561
|
external_user_id: string;
|
|
3584
3562
|
/**
|
|
3585
|
-
*
|
|
3586
|
-
* @type {
|
|
3563
|
+
*
|
|
3564
|
+
* @type {PaymentUserType}
|
|
3587
3565
|
* @memberof GetMandateSender
|
|
3588
3566
|
*/
|
|
3589
|
-
user_type:
|
|
3567
|
+
user_type: PaymentUserType;
|
|
3590
3568
|
/**
|
|
3591
3569
|
* Sender details which will be used for fraud checking.
|
|
3592
3570
|
* @type {Array<SenderDetail>}
|
|
@@ -3594,11 +3572,6 @@ export interface GetMandateSender {
|
|
|
3594
3572
|
*/
|
|
3595
3573
|
user_details?: Array<SenderDetail>;
|
|
3596
3574
|
}
|
|
3597
|
-
export declare const GetMandateSenderUserTypeEnum: {
|
|
3598
|
-
readonly Individual: "INDIVIDUAL";
|
|
3599
|
-
readonly Business: "BUSINESS";
|
|
3600
|
-
};
|
|
3601
|
-
export type GetMandateSenderUserTypeEnum = (typeof GetMandateSenderUserTypeEnum)[keyof typeof GetMandateSenderUserTypeEnum];
|
|
3602
3575
|
/**
|
|
3603
3576
|
*
|
|
3604
3577
|
* @export
|
|
@@ -5788,10 +5761,10 @@ export interface MandateFvLinkResponse {
|
|
|
5788
5761
|
institution_id?: string;
|
|
5789
5762
|
/**
|
|
5790
5763
|
*
|
|
5791
|
-
* @type {
|
|
5764
|
+
* @type {MandateStatus}
|
|
5792
5765
|
* @memberof MandateFvLinkResponse
|
|
5793
5766
|
*/
|
|
5794
|
-
mandate_status?:
|
|
5767
|
+
mandate_status?: MandateStatus;
|
|
5795
5768
|
/**
|
|
5796
5769
|
*
|
|
5797
5770
|
* @type {MandateRecipient}
|
|
@@ -5843,11 +5816,11 @@ export interface MandateRecipientAccount {
|
|
|
5843
5816
|
*/
|
|
5844
5817
|
account_id: string;
|
|
5845
5818
|
/**
|
|
5846
|
-
*
|
|
5847
|
-
* @type {
|
|
5819
|
+
*
|
|
5820
|
+
* @type {PaymentAccountType}
|
|
5848
5821
|
* @memberof MandateRecipientAccount
|
|
5849
5822
|
*/
|
|
5850
|
-
account_type:
|
|
5823
|
+
account_type: PaymentAccountType;
|
|
5851
5824
|
/**
|
|
5852
5825
|
* Optional reference identifier for the settlement account. Only applicable to settlement accounts.
|
|
5853
5826
|
* @type {string}
|
|
@@ -5855,11 +5828,6 @@ export interface MandateRecipientAccount {
|
|
|
5855
5828
|
*/
|
|
5856
5829
|
settlement_account_reference?: string;
|
|
5857
5830
|
}
|
|
5858
|
-
export declare const MandateRecipientAccountAccountTypeEnum: {
|
|
5859
|
-
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
5860
|
-
readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
|
|
5861
|
-
};
|
|
5862
|
-
export type MandateRecipientAccountAccountTypeEnum = (typeof MandateRecipientAccountAccountTypeEnum)[keyof typeof MandateRecipientAccountAccountTypeEnum];
|
|
5863
5831
|
/**
|
|
5864
5832
|
*
|
|
5865
5833
|
* @export
|
|
@@ -5910,11 +5878,11 @@ export interface MandateSenderAccount {
|
|
|
5910
5878
|
*/
|
|
5911
5879
|
account_number_masked?: string;
|
|
5912
5880
|
/**
|
|
5913
|
-
*
|
|
5914
|
-
* @type {
|
|
5881
|
+
*
|
|
5882
|
+
* @type {PaymentAccountType}
|
|
5915
5883
|
* @memberof MandateSenderAccount
|
|
5916
5884
|
*/
|
|
5917
|
-
account_type?:
|
|
5885
|
+
account_type?: PaymentAccountType;
|
|
5918
5886
|
/**
|
|
5919
5887
|
* Finverse Institution ID for the sender’s institution.
|
|
5920
5888
|
* @type {string}
|
|
@@ -5948,10 +5916,6 @@ export interface MandateSenderAccount {
|
|
|
5948
5916
|
[key: string]: string;
|
|
5949
5917
|
};
|
|
5950
5918
|
}
|
|
5951
|
-
export declare const MandateSenderAccountAccountTypeEnum: {
|
|
5952
|
-
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
5953
|
-
};
|
|
5954
|
-
export type MandateSenderAccountAccountTypeEnum = (typeof MandateSenderAccountAccountTypeEnum)[keyof typeof MandateSenderAccountAccountTypeEnum];
|
|
5955
5919
|
/**
|
|
5956
5920
|
*
|
|
5957
5921
|
* @export
|
|
@@ -6153,11 +6117,11 @@ export interface PaymentAccountDetails {
|
|
|
6153
6117
|
*/
|
|
6154
6118
|
account_number_masked?: string;
|
|
6155
6119
|
/**
|
|
6156
|
-
*
|
|
6157
|
-
* @type {
|
|
6120
|
+
*
|
|
6121
|
+
* @type {PaymentAccountType}
|
|
6158
6122
|
* @memberof PaymentAccountDetails
|
|
6159
6123
|
*/
|
|
6160
|
-
account_type?:
|
|
6124
|
+
account_type?: PaymentAccountType;
|
|
6161
6125
|
/**
|
|
6162
6126
|
* Accountholder name of the payment account
|
|
6163
6127
|
* @type {string}
|
|
@@ -6245,11 +6209,6 @@ export interface PaymentAccountDetails {
|
|
|
6245
6209
|
*/
|
|
6246
6210
|
updated_at?: string;
|
|
6247
6211
|
}
|
|
6248
|
-
export declare const PaymentAccountDetailsAccountTypeEnum: {
|
|
6249
|
-
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
6250
|
-
readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
|
|
6251
|
-
};
|
|
6252
|
-
export type PaymentAccountDetailsAccountTypeEnum = (typeof PaymentAccountDetailsAccountTypeEnum)[keyof typeof PaymentAccountDetailsAccountTypeEnum];
|
|
6253
6212
|
/**
|
|
6254
6213
|
*
|
|
6255
6214
|
* @export
|
|
@@ -6275,11 +6234,11 @@ export interface PaymentAccountDetailsWithEnrichedData {
|
|
|
6275
6234
|
*/
|
|
6276
6235
|
account_number_masked?: string;
|
|
6277
6236
|
/**
|
|
6278
|
-
*
|
|
6279
|
-
* @type {
|
|
6237
|
+
*
|
|
6238
|
+
* @type {PaymentAccountType}
|
|
6280
6239
|
* @memberof PaymentAccountDetailsWithEnrichedData
|
|
6281
6240
|
*/
|
|
6282
|
-
account_type?:
|
|
6241
|
+
account_type?: PaymentAccountType;
|
|
6283
6242
|
/**
|
|
6284
6243
|
* Accountholder name of the payment account
|
|
6285
6244
|
* @type {string}
|
|
@@ -6373,11 +6332,16 @@ export interface PaymentAccountDetailsWithEnrichedData {
|
|
|
6373
6332
|
*/
|
|
6374
6333
|
payment_method_overview?: PaymentMethodOverview;
|
|
6375
6334
|
}
|
|
6376
|
-
|
|
6335
|
+
/**
|
|
6336
|
+
* Type of payment account
|
|
6337
|
+
* @export
|
|
6338
|
+
* @enum {string}
|
|
6339
|
+
*/
|
|
6340
|
+
export declare const PaymentAccountType: {
|
|
6377
6341
|
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
6378
6342
|
readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
|
|
6379
6343
|
};
|
|
6380
|
-
export type
|
|
6344
|
+
export type PaymentAccountType = (typeof PaymentAccountType)[keyof typeof PaymentAccountType];
|
|
6381
6345
|
/**
|
|
6382
6346
|
*
|
|
6383
6347
|
* @export
|
|
@@ -7962,10 +7926,10 @@ export interface PaymentUser {
|
|
|
7962
7926
|
user_id?: string;
|
|
7963
7927
|
/**
|
|
7964
7928
|
*
|
|
7965
|
-
* @type {
|
|
7929
|
+
* @type {PaymentUserType}
|
|
7966
7930
|
* @memberof PaymentUser
|
|
7967
7931
|
*/
|
|
7968
|
-
user_type?:
|
|
7932
|
+
user_type?: PaymentUserType;
|
|
7969
7933
|
/**
|
|
7970
7934
|
* Whether the user has given consent for autopay
|
|
7971
7935
|
* @type {boolean}
|
|
@@ -7979,11 +7943,16 @@ export interface PaymentUser {
|
|
|
7979
7943
|
*/
|
|
7980
7944
|
integration_metadata?: IntegrationMetadataResponse;
|
|
7981
7945
|
}
|
|
7982
|
-
|
|
7946
|
+
/**
|
|
7947
|
+
* Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
|
|
7948
|
+
* @export
|
|
7949
|
+
* @enum {string}
|
|
7950
|
+
*/
|
|
7951
|
+
export declare const PaymentUserType: {
|
|
7983
7952
|
readonly Individual: "INDIVIDUAL";
|
|
7984
7953
|
readonly Business: "BUSINESS";
|
|
7985
7954
|
};
|
|
7986
|
-
export type
|
|
7955
|
+
export type PaymentUserType = (typeof PaymentUserType)[keyof typeof PaymentUserType];
|
|
7987
7956
|
/**
|
|
7988
7957
|
*
|
|
7989
7958
|
* @export
|
|
@@ -8048,10 +8017,10 @@ export interface PaymentUserWithoutEmail {
|
|
|
8048
8017
|
user_id?: string;
|
|
8049
8018
|
/**
|
|
8050
8019
|
*
|
|
8051
|
-
* @type {
|
|
8020
|
+
* @type {PaymentUserType}
|
|
8052
8021
|
* @memberof PaymentUserWithoutEmail
|
|
8053
8022
|
*/
|
|
8054
|
-
user_type?:
|
|
8023
|
+
user_type?: PaymentUserType;
|
|
8055
8024
|
/**
|
|
8056
8025
|
* Whether the user has given consent for autopay
|
|
8057
8026
|
* @type {boolean}
|
|
@@ -8065,11 +8034,6 @@ export interface PaymentUserWithoutEmail {
|
|
|
8065
8034
|
*/
|
|
8066
8035
|
integration_metadata?: IntegrationMetadataResponse;
|
|
8067
8036
|
}
|
|
8068
|
-
export declare const PaymentUserWithoutEmailUserTypeEnum: {
|
|
8069
|
-
readonly Individual: "INDIVIDUAL";
|
|
8070
|
-
readonly Business: "BUSINESS";
|
|
8071
|
-
};
|
|
8072
|
-
export type PaymentUserWithoutEmailUserTypeEnum = (typeof PaymentUserWithoutEmailUserTypeEnum)[keyof typeof PaymentUserWithoutEmailUserTypeEnum];
|
|
8073
8037
|
/**
|
|
8074
8038
|
*
|
|
8075
8039
|
* @export
|
|
@@ -8744,11 +8708,11 @@ export interface RecipientAccountFilters {
|
|
|
8744
8708
|
*/
|
|
8745
8709
|
export interface RecipientAccountNumber {
|
|
8746
8710
|
/**
|
|
8747
|
-
*
|
|
8748
|
-
* @type {
|
|
8711
|
+
*
|
|
8712
|
+
* @type {AccountNumberType}
|
|
8749
8713
|
* @memberof RecipientAccountNumber
|
|
8750
8714
|
*/
|
|
8751
|
-
type:
|
|
8715
|
+
type: AccountNumberType;
|
|
8752
8716
|
/**
|
|
8753
8717
|
* Account number value
|
|
8754
8718
|
* @type {string}
|
|
@@ -8762,11 +8726,6 @@ export interface RecipientAccountNumber {
|
|
|
8762
8726
|
*/
|
|
8763
8727
|
number_plaintext?: string | null;
|
|
8764
8728
|
}
|
|
8765
|
-
export declare const RecipientAccountNumberTypeEnum: {
|
|
8766
|
-
readonly Local: "LOCAL";
|
|
8767
|
-
readonly Iban: "IBAN";
|
|
8768
|
-
};
|
|
8769
|
-
export type RecipientAccountNumberTypeEnum = (typeof RecipientAccountNumberTypeEnum)[keyof typeof RecipientAccountNumberTypeEnum];
|
|
8770
8729
|
/**
|
|
8771
8730
|
*
|
|
8772
8731
|
* @export
|
|
@@ -8792,11 +8751,11 @@ export interface RecipientAccountResponse {
|
|
|
8792
8751
|
*/
|
|
8793
8752
|
account_number?: RecipientAccountNumber;
|
|
8794
8753
|
/**
|
|
8795
|
-
*
|
|
8796
|
-
* @type {
|
|
8754
|
+
*
|
|
8755
|
+
* @type {PaymentAccountType}
|
|
8797
8756
|
* @memberof RecipientAccountResponse
|
|
8798
8757
|
*/
|
|
8799
|
-
account_type?:
|
|
8758
|
+
account_type?: PaymentAccountType;
|
|
8800
8759
|
/**
|
|
8801
8760
|
* List of currencies supported by the recipient account
|
|
8802
8761
|
* @type {Array<string>}
|
|
@@ -8828,11 +8787,6 @@ export interface RecipientAccountResponse {
|
|
|
8828
8787
|
*/
|
|
8829
8788
|
branch_code?: string;
|
|
8830
8789
|
}
|
|
8831
|
-
export declare const RecipientAccountResponseAccountTypeEnum: {
|
|
8832
|
-
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
8833
|
-
readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
|
|
8834
|
-
};
|
|
8835
|
-
export type RecipientAccountResponseAccountTypeEnum = (typeof RecipientAccountResponseAccountTypeEnum)[keyof typeof RecipientAccountResponseAccountTypeEnum];
|
|
8836
8790
|
/**
|
|
8837
8791
|
*
|
|
8838
8792
|
* @export
|
|
@@ -9056,10 +9010,10 @@ export interface SelectPaymentMethodRequest {
|
|
|
9056
9010
|
payment_method_type: PaymentType;
|
|
9057
9011
|
/**
|
|
9058
9012
|
*
|
|
9059
|
-
* @type {
|
|
9013
|
+
* @type {PaymentUserType}
|
|
9060
9014
|
* @memberof SelectPaymentMethodRequest
|
|
9061
9015
|
*/
|
|
9062
|
-
sender_type?:
|
|
9016
|
+
sender_type?: PaymentUserType;
|
|
9063
9017
|
/**
|
|
9064
9018
|
* Whether the user is on mobile device (only makes a difference if payment_method_provider is KCP)
|
|
9065
9019
|
* @type {boolean}
|
|
@@ -9085,11 +9039,6 @@ export interface SelectPaymentMethodRequest {
|
|
|
9085
9039
|
*/
|
|
9086
9040
|
locale?: string;
|
|
9087
9041
|
}
|
|
9088
|
-
export declare const SelectPaymentMethodRequestSenderTypeEnum: {
|
|
9089
|
-
readonly Individual: "INDIVIDUAL";
|
|
9090
|
-
readonly Business: "BUSINESS";
|
|
9091
|
-
};
|
|
9092
|
-
export type SelectPaymentMethodRequestSenderTypeEnum = (typeof SelectPaymentMethodRequestSenderTypeEnum)[keyof typeof SelectPaymentMethodRequestSenderTypeEnum];
|
|
9093
9042
|
/**
|
|
9094
9043
|
*
|
|
9095
9044
|
* @export
|
|
@@ -9354,11 +9303,11 @@ export interface SubmitAuthChecklistResponse {
|
|
|
9354
9303
|
*/
|
|
9355
9304
|
auth_checklist: Array<AuthChecklistFactor>;
|
|
9356
9305
|
/**
|
|
9357
|
-
*
|
|
9358
|
-
* @type {
|
|
9306
|
+
*
|
|
9307
|
+
* @type {MandateStatus}
|
|
9359
9308
|
* @memberof SubmitAuthChecklistResponse
|
|
9360
9309
|
*/
|
|
9361
|
-
mandate_status:
|
|
9310
|
+
mandate_status: MandateStatus;
|
|
9362
9311
|
/**
|
|
9363
9312
|
* Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
9364
9313
|
* @type {string}
|
|
@@ -9366,13 +9315,6 @@ export interface SubmitAuthChecklistResponse {
|
|
|
9366
9315
|
*/
|
|
9367
9316
|
last_update: string;
|
|
9368
9317
|
}
|
|
9369
|
-
export declare const SubmitAuthChecklistResponseMandateStatusEnum: {
|
|
9370
|
-
readonly Created: "CREATED";
|
|
9371
|
-
readonly Processing: "PROCESSING";
|
|
9372
|
-
readonly Submitted: "SUBMITTED";
|
|
9373
|
-
readonly Error: "ERROR";
|
|
9374
|
-
};
|
|
9375
|
-
export type SubmitAuthChecklistResponseMandateStatusEnum = (typeof SubmitAuthChecklistResponseMandateStatusEnum)[keyof typeof SubmitAuthChecklistResponseMandateStatusEnum];
|
|
9376
9318
|
/**
|
|
9377
9319
|
*
|
|
9378
9320
|
* @export
|
|
@@ -9728,16 +9670,11 @@ export interface UpdatePaymentUserRequest {
|
|
|
9728
9670
|
next_bill_update?: string | null;
|
|
9729
9671
|
/**
|
|
9730
9672
|
*
|
|
9731
|
-
* @type {
|
|
9673
|
+
* @type {PaymentUserType}
|
|
9732
9674
|
* @memberof UpdatePaymentUserRequest
|
|
9733
9675
|
*/
|
|
9734
|
-
user_type?:
|
|
9676
|
+
user_type?: PaymentUserType;
|
|
9735
9677
|
}
|
|
9736
|
-
export declare const UpdatePaymentUserRequestUserTypeEnum: {
|
|
9737
|
-
readonly Individual: "INDIVIDUAL";
|
|
9738
|
-
readonly Business: "BUSINESS";
|
|
9739
|
-
};
|
|
9740
|
-
export type UpdatePaymentUserRequestUserTypeEnum = (typeof UpdatePaymentUserRequestUserTypeEnum)[keyof typeof UpdatePaymentUserRequestUserTypeEnum];
|
|
9741
9678
|
/**
|
|
9742
9679
|
*
|
|
9743
9680
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -22,15 +22,23 @@ 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 = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = 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 = void 0;
|
|
25
|
+
exports.PaymentMethodIntegrationMetadataGocardlessMetadataStatusEnum = exports.PaymentMethodIntegrationMetadataAdyenMetadataRecurringProcessingModelEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = 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.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.AccountTypeTypeEnum = exports.AccountNumberType = void 0;
|
|
26
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = 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.PayoutType = exports.PayoutStatus = exports.PaymentUserType = exports.PaymentType = exports.PaymentStatus = exports.PaymentScheduleFrequencyEnum = exports.PaymentMethodType = exports.PaymentMethodIntegrationMetadataGocardlessMetadataFundsSettlementEnum = void 0;
|
|
28
27
|
const axios_1 = require("axios");
|
|
29
28
|
// Some imports not used depending on template conditions
|
|
30
29
|
// @ts-ignore
|
|
31
30
|
const common_1 = require("./common");
|
|
32
31
|
// @ts-ignore
|
|
33
32
|
const base_1 = require("./base");
|
|
33
|
+
/**
|
|
34
|
+
* Type of account number. Possible values: LOCAL, IBAN
|
|
35
|
+
* @export
|
|
36
|
+
* @enum {string}
|
|
37
|
+
*/
|
|
38
|
+
exports.AccountNumberType = {
|
|
39
|
+
Local: 'LOCAL',
|
|
40
|
+
Iban: 'IBAN',
|
|
41
|
+
};
|
|
34
42
|
exports.AccountTypeTypeEnum = {
|
|
35
43
|
Deposit: 'DEPOSIT',
|
|
36
44
|
Card: 'CARD',
|
|
@@ -77,10 +85,6 @@ exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = {
|
|
|
77
85
|
Yes: 'YES',
|
|
78
86
|
No: 'NO',
|
|
79
87
|
};
|
|
80
|
-
exports.BadRequestModelV2ErrorTypeEnum = {
|
|
81
|
-
LinkError: 'LINK_ERROR',
|
|
82
|
-
ApiError: 'API_ERROR',
|
|
83
|
-
};
|
|
84
88
|
/**
|
|
85
89
|
* Bill status
|
|
86
90
|
* @export
|
|
@@ -126,21 +130,9 @@ exports.CreateCardRequestStatusEnum = {
|
|
|
126
130
|
exports.CreateMandateRequestWithDdaReferenceStatusEnum = {
|
|
127
131
|
Succeeded: 'SUCCEEDED',
|
|
128
132
|
};
|
|
129
|
-
exports.CreateMandateSenderUserTypeEnum = {
|
|
130
|
-
Individual: 'INDIVIDUAL',
|
|
131
|
-
Business: 'BUSINESS',
|
|
132
|
-
};
|
|
133
|
-
exports.CreateMandateSenderResponseUserTypeEnum = {
|
|
134
|
-
Individual: 'INDIVIDUAL',
|
|
135
|
-
Business: 'BUSINESS',
|
|
136
|
-
};
|
|
137
133
|
exports.CreatePaymentAccountRequestAccountTypeEnum = {
|
|
138
134
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
139
135
|
};
|
|
140
|
-
exports.CreatePaymentUserRequestUserTypeEnum = {
|
|
141
|
-
Individual: 'INDIVIDUAL',
|
|
142
|
-
Business: 'BUSINESS',
|
|
143
|
-
};
|
|
144
136
|
exports.CreateRecipientAccountAccountTypeEnum = {
|
|
145
137
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
146
138
|
};
|
|
@@ -158,10 +150,24 @@ exports.DisputeStatus = {
|
|
|
158
150
|
Lost: 'LOST',
|
|
159
151
|
Won: 'WON',
|
|
160
152
|
};
|
|
161
|
-
|
|
153
|
+
/**
|
|
154
|
+
* Who pays the fee
|
|
155
|
+
* @export
|
|
156
|
+
* @enum {string}
|
|
157
|
+
*/
|
|
158
|
+
exports.FeePaidBy = {
|
|
162
159
|
Recipient: 'RECIPIENT',
|
|
163
160
|
Sender: 'SENDER',
|
|
164
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* The error type
|
|
164
|
+
* @export
|
|
165
|
+
* @enum {string}
|
|
166
|
+
*/
|
|
167
|
+
exports.FinverseErrorCategory = {
|
|
168
|
+
LinkError: 'LINK_ERROR',
|
|
169
|
+
ApiError: 'API_ERROR',
|
|
170
|
+
};
|
|
165
171
|
/**
|
|
166
172
|
* The type of future_payments that customer want to use. Possible values: AUTOPAY or CLICK_TO_PAY
|
|
167
173
|
* @export
|
|
@@ -171,18 +177,6 @@ exports.FuturePaymentsMode = {
|
|
|
171
177
|
Autopay: 'AUTOPAY',
|
|
172
178
|
ClickToPay: 'CLICK_TO_PAY',
|
|
173
179
|
};
|
|
174
|
-
exports.FvEmbeddedErrorModelTypeEnum = {
|
|
175
|
-
LinkError: 'LINK_ERROR',
|
|
176
|
-
ApiError: 'API_ERROR',
|
|
177
|
-
};
|
|
178
|
-
exports.FvErrorModelTypeEnum = {
|
|
179
|
-
LinkError: 'LINK_ERROR',
|
|
180
|
-
ApiError: 'API_ERROR',
|
|
181
|
-
};
|
|
182
|
-
exports.FvErrorModelV2TypeEnum = {
|
|
183
|
-
LinkError: 'LINK_ERROR',
|
|
184
|
-
ApiError: 'API_ERROR',
|
|
185
|
-
};
|
|
186
180
|
exports.GetBalanceHistoryResponseSourceEnum = {
|
|
187
181
|
Institution: 'INSTITUTION',
|
|
188
182
|
Computed: 'COMPUTED',
|
|
@@ -190,20 +184,6 @@ exports.GetBalanceHistoryResponseSourceEnum = {
|
|
|
190
184
|
exports.GetMandateAuthLinkResponseTokenTypeEnum = {
|
|
191
185
|
Bearer: 'Bearer',
|
|
192
186
|
};
|
|
193
|
-
exports.GetMandateAuthResponseMandateStatusEnum = {
|
|
194
|
-
Created: 'CREATED',
|
|
195
|
-
Processing: 'PROCESSING',
|
|
196
|
-
Submitted: 'SUBMITTED',
|
|
197
|
-
Error: 'ERROR',
|
|
198
|
-
};
|
|
199
|
-
exports.GetMandateAuthResponseSenderTypeEnum = {
|
|
200
|
-
Individual: 'INDIVIDUAL',
|
|
201
|
-
Business: 'BUSINESS',
|
|
202
|
-
};
|
|
203
|
-
exports.GetMandateSenderUserTypeEnum = {
|
|
204
|
-
Individual: 'INDIVIDUAL',
|
|
205
|
-
Business: 'BUSINESS',
|
|
206
|
-
};
|
|
207
187
|
exports.InstitutionTagsEnum = {
|
|
208
188
|
Real: 'real',
|
|
209
189
|
Test: 'test',
|
|
@@ -283,13 +263,6 @@ exports.MandateAuthLinkCustomizationsUiModeEnum = {
|
|
|
283
263
|
AutoRedirect: 'auto_redirect',
|
|
284
264
|
Standalone: 'standalone',
|
|
285
265
|
};
|
|
286
|
-
exports.MandateRecipientAccountAccountTypeEnum = {
|
|
287
|
-
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
288
|
-
SettlementAccount: 'SETTLEMENT_ACCOUNT',
|
|
289
|
-
};
|
|
290
|
-
exports.MandateSenderAccountAccountTypeEnum = {
|
|
291
|
-
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
292
|
-
};
|
|
293
266
|
/**
|
|
294
267
|
* Mandate status
|
|
295
268
|
* @export
|
|
@@ -307,11 +280,12 @@ exports.MandateStatus = {
|
|
|
307
280
|
Closed: 'CLOSED',
|
|
308
281
|
Cancelled: 'CANCELLED',
|
|
309
282
|
};
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
}
|
|
314
|
-
|
|
283
|
+
/**
|
|
284
|
+
* Type of payment account
|
|
285
|
+
* @export
|
|
286
|
+
* @enum {string}
|
|
287
|
+
*/
|
|
288
|
+
exports.PaymentAccountType = {
|
|
315
289
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
316
290
|
SettlementAccount: 'SETTLEMENT_ACCOUNT',
|
|
317
291
|
};
|
|
@@ -426,11 +400,12 @@ exports.PaymentType = {
|
|
|
426
400
|
Manual: 'MANUAL',
|
|
427
401
|
Wallet: 'WALLET',
|
|
428
402
|
};
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
}
|
|
433
|
-
|
|
403
|
+
/**
|
|
404
|
+
* Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
|
|
405
|
+
* @export
|
|
406
|
+
* @enum {string}
|
|
407
|
+
*/
|
|
408
|
+
exports.PaymentUserType = {
|
|
434
409
|
Individual: 'INDIVIDUAL',
|
|
435
410
|
Business: 'BUSINESS',
|
|
436
411
|
};
|
|
@@ -460,14 +435,6 @@ exports.PayoutType = {
|
|
|
460
435
|
Settlement: 'SETTLEMENT',
|
|
461
436
|
OnDemand: 'ON_DEMAND',
|
|
462
437
|
};
|
|
463
|
-
exports.RecipientAccountNumberTypeEnum = {
|
|
464
|
-
Local: 'LOCAL',
|
|
465
|
-
Iban: 'IBAN',
|
|
466
|
-
};
|
|
467
|
-
exports.RecipientAccountResponseAccountTypeEnum = {
|
|
468
|
-
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
469
|
-
SettlementAccount: 'SETTLEMENT_ACCOUNT',
|
|
470
|
-
};
|
|
471
438
|
exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = {
|
|
472
439
|
En: 'en',
|
|
473
440
|
Vi: 'vi',
|
|
@@ -480,22 +447,12 @@ exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = {
|
|
|
480
447
|
AutoRedirect: 'auto_redirect',
|
|
481
448
|
Standalone: 'standalone',
|
|
482
449
|
};
|
|
483
|
-
exports.SelectPaymentMethodRequestSenderTypeEnum = {
|
|
484
|
-
Individual: 'INDIVIDUAL',
|
|
485
|
-
Business: 'BUSINESS',
|
|
486
|
-
};
|
|
487
450
|
exports.SenderDetailDetailsTypeEnum = {
|
|
488
451
|
HkId: 'HK_ID',
|
|
489
452
|
Passport: 'PASSPORT',
|
|
490
453
|
HkBusinessRegistration: 'HK_BUSINESS_REGISTRATION',
|
|
491
454
|
HkCertificateOfIncorporation: 'HK_CERTIFICATE_OF_INCORPORATION',
|
|
492
455
|
};
|
|
493
|
-
exports.SubmitAuthChecklistResponseMandateStatusEnum = {
|
|
494
|
-
Created: 'CREATED',
|
|
495
|
-
Processing: 'PROCESSING',
|
|
496
|
-
Submitted: 'SUBMITTED',
|
|
497
|
-
Error: 'ERROR',
|
|
498
|
-
};
|
|
499
456
|
exports.TransactionLimitsRequestPeriodEnum = {
|
|
500
457
|
Daily: 'DAILY',
|
|
501
458
|
Weekly: 'WEEKLY',
|
|
@@ -510,10 +467,6 @@ exports.TransactionLimitsResponsePeriodEnum = {
|
|
|
510
467
|
Quarterly: 'QUARTERLY',
|
|
511
468
|
Yearly: 'YEARLY',
|
|
512
469
|
};
|
|
513
|
-
exports.UpdatePaymentUserRequestUserTypeEnum = {
|
|
514
|
-
Individual: 'INDIVIDUAL',
|
|
515
|
-
Business: 'BUSINESS',
|
|
516
|
-
};
|
|
517
470
|
exports.UpdateTestPaymentStatusRequestStatusEnum = {
|
|
518
471
|
Executed: 'EXECUTED',
|
|
519
472
|
};
|