@finverse/sdk-typescript 0.0.54 → 0.0.57
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 +38 -31
- package/dist/api.js +28 -38
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -560,14 +560,14 @@ export interface CreateMandateSender {
|
|
|
560
560
|
*/
|
|
561
561
|
sender_reference_id?: string;
|
|
562
562
|
/**
|
|
563
|
-
* Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are
|
|
563
|
+
* Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
564
564
|
* @type {string}
|
|
565
565
|
* @memberof CreateMandateSender
|
|
566
566
|
*/
|
|
567
567
|
sender_type?: CreateMandateSenderSenderTypeEnum;
|
|
568
568
|
}
|
|
569
569
|
export declare const CreateMandateSenderSenderTypeEnum: {
|
|
570
|
-
readonly
|
|
570
|
+
readonly Individual: "INDIVIDUAL";
|
|
571
571
|
readonly Business: "BUSINESS";
|
|
572
572
|
};
|
|
573
573
|
export declare type CreateMandateSenderSenderTypeEnum = typeof CreateMandateSenderSenderTypeEnum[keyof typeof CreateMandateSenderSenderTypeEnum];
|
|
@@ -1070,7 +1070,7 @@ export interface GetMandateAuthResponse {
|
|
|
1070
1070
|
*/
|
|
1071
1071
|
institution_id: string;
|
|
1072
1072
|
/**
|
|
1073
|
-
* Type of account held by the Sender at the Institution. Possible values are
|
|
1073
|
+
* Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
|
|
1074
1074
|
* @type {string}
|
|
1075
1075
|
* @memberof GetMandateAuthResponse
|
|
1076
1076
|
*/
|
|
@@ -1102,7 +1102,7 @@ export declare const GetMandateAuthResponseMandateStatusEnum: {
|
|
|
1102
1102
|
};
|
|
1103
1103
|
export declare type GetMandateAuthResponseMandateStatusEnum = typeof GetMandateAuthResponseMandateStatusEnum[keyof typeof GetMandateAuthResponseMandateStatusEnum];
|
|
1104
1104
|
export declare const GetMandateAuthResponseSenderTypeEnum: {
|
|
1105
|
-
readonly
|
|
1105
|
+
readonly Individual: "INDIVIDUAL";
|
|
1106
1106
|
readonly Business: "BUSINESS";
|
|
1107
1107
|
};
|
|
1108
1108
|
export declare type GetMandateAuthResponseSenderTypeEnum = typeof GetMandateAuthResponseSenderTypeEnum[keyof typeof GetMandateAuthResponseSenderTypeEnum];
|
|
@@ -1187,14 +1187,14 @@ export interface GetMandateSender {
|
|
|
1187
1187
|
*/
|
|
1188
1188
|
sender_account: PaymentAccount;
|
|
1189
1189
|
/**
|
|
1190
|
-
* Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are
|
|
1190
|
+
* Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
1191
1191
|
* @type {string}
|
|
1192
1192
|
* @memberof GetMandateSender
|
|
1193
1193
|
*/
|
|
1194
1194
|
sender_type?: GetMandateSenderSenderTypeEnum;
|
|
1195
1195
|
}
|
|
1196
1196
|
export declare const GetMandateSenderSenderTypeEnum: {
|
|
1197
|
-
readonly
|
|
1197
|
+
readonly Individual: "INDIVIDUAL";
|
|
1198
1198
|
readonly Business: "BUSINESS";
|
|
1199
1199
|
};
|
|
1200
1200
|
export declare type GetMandateSenderSenderTypeEnum = typeof GetMandateSenderSenderTypeEnum[keyof typeof GetMandateSenderSenderTypeEnum];
|
|
@@ -2991,6 +2991,12 @@ export interface Principal {
|
|
|
2991
2991
|
* @memberof Principal
|
|
2992
2992
|
*/
|
|
2993
2993
|
customization_id?: string;
|
|
2994
|
+
/**
|
|
2995
|
+
*
|
|
2996
|
+
* @type {string}
|
|
2997
|
+
* @memberof Principal
|
|
2998
|
+
*/
|
|
2999
|
+
mandate_id?: string;
|
|
2994
3000
|
/**
|
|
2995
3001
|
*
|
|
2996
3002
|
* @type {number}
|
|
@@ -3210,6 +3216,12 @@ export interface SubmitAuthChecklistRequest {
|
|
|
3210
3216
|
* @memberof SubmitAuthChecklistRequest
|
|
3211
3217
|
*/
|
|
3212
3218
|
institution_id: string;
|
|
3219
|
+
/**
|
|
3220
|
+
* Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
|
|
3221
|
+
* @type {string}
|
|
3222
|
+
* @memberof SubmitAuthChecklistRequest
|
|
3223
|
+
*/
|
|
3224
|
+
sender_type?: SubmitAuthChecklistRequestSenderTypeEnum;
|
|
3213
3225
|
/**
|
|
3214
3226
|
* The encrypted envelope key
|
|
3215
3227
|
* @type {string}
|
|
@@ -3235,6 +3247,11 @@ export interface SubmitAuthChecklistRequest {
|
|
|
3235
3247
|
*/
|
|
3236
3248
|
ciphertext: string;
|
|
3237
3249
|
}
|
|
3250
|
+
export declare const SubmitAuthChecklistRequestSenderTypeEnum: {
|
|
3251
|
+
readonly Individual: "INDIVIDUAL";
|
|
3252
|
+
readonly Business: "BUSINESS";
|
|
3253
|
+
};
|
|
3254
|
+
export declare type SubmitAuthChecklistRequestSenderTypeEnum = typeof SubmitAuthChecklistRequestSenderTypeEnum[keyof typeof SubmitAuthChecklistRequestSenderTypeEnum];
|
|
3238
3255
|
/**
|
|
3239
3256
|
*
|
|
3240
3257
|
* @export
|
|
@@ -3536,13 +3553,12 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3536
3553
|
getMandate: (mandateId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3537
3554
|
/**
|
|
3538
3555
|
* Get Mandate Authorization by mandate id
|
|
3539
|
-
* @param {string} mandateId Finverse Mandate ID
|
|
3540
3556
|
* @param {string} institutionId Finverse Institution ID
|
|
3541
|
-
* @param {'
|
|
3557
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
3542
3558
|
* @param {*} [options] Override http request option.
|
|
3543
3559
|
* @throws {RequiredError}
|
|
3544
3560
|
*/
|
|
3545
|
-
getMandateAuth: (
|
|
3561
|
+
getMandateAuth: (institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3546
3562
|
/**
|
|
3547
3563
|
* Get link to launch FV Link UI in mandate authorization mode
|
|
3548
3564
|
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
@@ -3583,12 +3599,11 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3583
3599
|
refreshToken: (refreshRequest: RefreshRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3584
3600
|
/**
|
|
3585
3601
|
* Submit authorization checklist items
|
|
3586
|
-
* @param {string} mandateId mandate id
|
|
3587
3602
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
3588
3603
|
* @param {*} [options] Override http request option.
|
|
3589
3604
|
* @throws {RequiredError}
|
|
3590
3605
|
*/
|
|
3591
|
-
submitAuthChecklist: (
|
|
3606
|
+
submitAuthChecklist: (submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3592
3607
|
};
|
|
3593
3608
|
/**
|
|
3594
3609
|
* CustomerApi - functional programming interface
|
|
@@ -3655,13 +3670,12 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3655
3670
|
getMandate(mandateId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateResponse>>;
|
|
3656
3671
|
/**
|
|
3657
3672
|
* Get Mandate Authorization by mandate id
|
|
3658
|
-
* @param {string} mandateId Finverse Mandate ID
|
|
3659
3673
|
* @param {string} institutionId Finverse Institution ID
|
|
3660
|
-
* @param {'
|
|
3674
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
3661
3675
|
* @param {*} [options] Override http request option.
|
|
3662
3676
|
* @throws {RequiredError}
|
|
3663
3677
|
*/
|
|
3664
|
-
getMandateAuth(
|
|
3678
|
+
getMandateAuth(institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateAuthResponse>>;
|
|
3665
3679
|
/**
|
|
3666
3680
|
* Get link to launch FV Link UI in mandate authorization mode
|
|
3667
3681
|
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
@@ -3702,12 +3716,11 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3702
3716
|
refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessTokenResponse>>;
|
|
3703
3717
|
/**
|
|
3704
3718
|
* Submit authorization checklist items
|
|
3705
|
-
* @param {string} mandateId mandate id
|
|
3706
3719
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
3707
3720
|
* @param {*} [options] Override http request option.
|
|
3708
3721
|
* @throws {RequiredError}
|
|
3709
3722
|
*/
|
|
3710
|
-
submitAuthChecklist(
|
|
3723
|
+
submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitAuthChecklistResponse>>;
|
|
3711
3724
|
};
|
|
3712
3725
|
/**
|
|
3713
3726
|
* CustomerApi - factory interface
|
|
@@ -3774,13 +3787,12 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3774
3787
|
getMandate(mandateId: string, options?: any): AxiosPromise<GetMandateResponse>;
|
|
3775
3788
|
/**
|
|
3776
3789
|
* Get Mandate Authorization by mandate id
|
|
3777
|
-
* @param {string} mandateId Finverse Mandate ID
|
|
3778
3790
|
* @param {string} institutionId Finverse Institution ID
|
|
3779
|
-
* @param {'
|
|
3791
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
3780
3792
|
* @param {*} [options] Override http request option.
|
|
3781
3793
|
* @throws {RequiredError}
|
|
3782
3794
|
*/
|
|
3783
|
-
getMandateAuth(
|
|
3795
|
+
getMandateAuth(institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: any): AxiosPromise<GetMandateAuthResponse>;
|
|
3784
3796
|
/**
|
|
3785
3797
|
* Get link to launch FV Link UI in mandate authorization mode
|
|
3786
3798
|
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
@@ -3821,12 +3833,11 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3821
3833
|
refreshToken(refreshRequest: RefreshRequest, options?: any): AxiosPromise<AccessTokenResponse>;
|
|
3822
3834
|
/**
|
|
3823
3835
|
* Submit authorization checklist items
|
|
3824
|
-
* @param {string} mandateId mandate id
|
|
3825
3836
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
3826
3837
|
* @param {*} [options] Override http request option.
|
|
3827
3838
|
* @throws {RequiredError}
|
|
3828
3839
|
*/
|
|
3829
|
-
submitAuthChecklist(
|
|
3840
|
+
submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: any): AxiosPromise<SubmitAuthChecklistResponse>;
|
|
3830
3841
|
};
|
|
3831
3842
|
/**
|
|
3832
3843
|
* CustomerApi - interface
|
|
@@ -3902,14 +3913,13 @@ export interface CustomerApiInterface {
|
|
|
3902
3913
|
getMandate(mandateId: string, options?: AxiosRequestConfig): AxiosPromise<GetMandateResponse>;
|
|
3903
3914
|
/**
|
|
3904
3915
|
* Get Mandate Authorization by mandate id
|
|
3905
|
-
* @param {string} mandateId Finverse Mandate ID
|
|
3906
3916
|
* @param {string} institutionId Finverse Institution ID
|
|
3907
|
-
* @param {'
|
|
3917
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
3908
3918
|
* @param {*} [options] Override http request option.
|
|
3909
3919
|
* @throws {RequiredError}
|
|
3910
3920
|
* @memberof CustomerApiInterface
|
|
3911
3921
|
*/
|
|
3912
|
-
getMandateAuth(
|
|
3922
|
+
getMandateAuth(institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: AxiosRequestConfig): AxiosPromise<GetMandateAuthResponse>;
|
|
3913
3923
|
/**
|
|
3914
3924
|
* Get link to launch FV Link UI in mandate authorization mode
|
|
3915
3925
|
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
@@ -3955,13 +3965,12 @@ export interface CustomerApiInterface {
|
|
|
3955
3965
|
refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): AxiosPromise<AccessTokenResponse>;
|
|
3956
3966
|
/**
|
|
3957
3967
|
* Submit authorization checklist items
|
|
3958
|
-
* @param {string} mandateId mandate id
|
|
3959
3968
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
3960
3969
|
* @param {*} [options] Override http request option.
|
|
3961
3970
|
* @throws {RequiredError}
|
|
3962
3971
|
* @memberof CustomerApiInterface
|
|
3963
3972
|
*/
|
|
3964
|
-
submitAuthChecklist(
|
|
3973
|
+
submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): AxiosPromise<SubmitAuthChecklistResponse>;
|
|
3965
3974
|
}
|
|
3966
3975
|
/**
|
|
3967
3976
|
* CustomerApi - object-oriented interface
|
|
@@ -4038,14 +4047,13 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
4038
4047
|
getMandate(mandateId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateResponse>>;
|
|
4039
4048
|
/**
|
|
4040
4049
|
* Get Mandate Authorization by mandate id
|
|
4041
|
-
* @param {string} mandateId Finverse Mandate ID
|
|
4042
4050
|
* @param {string} institutionId Finverse Institution ID
|
|
4043
|
-
* @param {'
|
|
4051
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
4044
4052
|
* @param {*} [options] Override http request option.
|
|
4045
4053
|
* @throws {RequiredError}
|
|
4046
4054
|
* @memberof CustomerApi
|
|
4047
4055
|
*/
|
|
4048
|
-
getMandateAuth(
|
|
4056
|
+
getMandateAuth(institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateAuthResponse>>;
|
|
4049
4057
|
/**
|
|
4050
4058
|
* Get link to launch FV Link UI in mandate authorization mode
|
|
4051
4059
|
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
@@ -4091,13 +4099,12 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
4091
4099
|
refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessTokenResponse>>;
|
|
4092
4100
|
/**
|
|
4093
4101
|
* Submit authorization checklist items
|
|
4094
|
-
* @param {string} mandateId mandate id
|
|
4095
4102
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
4096
4103
|
* @param {*} [options] Override http request option.
|
|
4097
4104
|
* @throws {RequiredError}
|
|
4098
4105
|
* @memberof CustomerApi
|
|
4099
4106
|
*/
|
|
4100
|
-
submitAuthChecklist(
|
|
4107
|
+
submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitAuthChecklistResponse>>;
|
|
4101
4108
|
}
|
|
4102
4109
|
/**
|
|
4103
4110
|
* LinkApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentInstructionTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.GetPaymentResponseStatusEnum = exports.GetPaymentResponseTypeEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = void 0;
|
|
25
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SubmitAuthChecklistRequestSenderTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentInstructionTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.GetPaymentResponseStatusEnum = exports.GetPaymentResponseTypeEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -49,7 +49,7 @@ exports.AuthChecklistOptionsSubmittedByEnum = {
|
|
|
49
49
|
FinverseLink: 'FINVERSE_LINK',
|
|
50
50
|
};
|
|
51
51
|
exports.CreateMandateSenderSenderTypeEnum = {
|
|
52
|
-
|
|
52
|
+
Individual: 'INDIVIDUAL',
|
|
53
53
|
Business: 'BUSINESS',
|
|
54
54
|
};
|
|
55
55
|
exports.CreatePaymentRequestTypeEnum = {
|
|
@@ -69,7 +69,7 @@ exports.GetMandateAuthResponseMandateStatusEnum = {
|
|
|
69
69
|
Error: 'ERROR',
|
|
70
70
|
};
|
|
71
71
|
exports.GetMandateAuthResponseSenderTypeEnum = {
|
|
72
|
-
|
|
72
|
+
Individual: 'INDIVIDUAL',
|
|
73
73
|
Business: 'BUSINESS',
|
|
74
74
|
};
|
|
75
75
|
exports.GetMandateResponseMandateStatusEnum = {
|
|
@@ -79,7 +79,7 @@ exports.GetMandateResponseMandateStatusEnum = {
|
|
|
79
79
|
Error: 'ERROR',
|
|
80
80
|
};
|
|
81
81
|
exports.GetMandateSenderSenderTypeEnum = {
|
|
82
|
-
|
|
82
|
+
Individual: 'INDIVIDUAL',
|
|
83
83
|
Business: 'BUSINESS',
|
|
84
84
|
};
|
|
85
85
|
exports.GetPaymentResponseTypeEnum = {
|
|
@@ -122,6 +122,10 @@ exports.PaymentScheduleFrequencyEnum = {
|
|
|
122
122
|
Quarterly: 'QUARTERLY',
|
|
123
123
|
Yearly: 'YEARLY',
|
|
124
124
|
};
|
|
125
|
+
exports.SubmitAuthChecklistRequestSenderTypeEnum = {
|
|
126
|
+
Individual: 'INDIVIDUAL',
|
|
127
|
+
Business: 'BUSINESS',
|
|
128
|
+
};
|
|
125
129
|
exports.SubmitAuthChecklistResponseMandateStatusEnum = {
|
|
126
130
|
Created: 'CREATED',
|
|
127
131
|
Processing: 'PROCESSING',
|
|
@@ -399,18 +403,15 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
399
403
|
}),
|
|
400
404
|
/**
|
|
401
405
|
* Get Mandate Authorization by mandate id
|
|
402
|
-
* @param {string} mandateId Finverse Mandate ID
|
|
403
406
|
* @param {string} institutionId Finverse Institution ID
|
|
404
|
-
* @param {'
|
|
407
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
405
408
|
* @param {*} [options] Override http request option.
|
|
406
409
|
* @throws {RequiredError}
|
|
407
410
|
*/
|
|
408
|
-
getMandateAuth: (
|
|
409
|
-
// verify required parameter 'mandateId' is not null or undefined
|
|
410
|
-
common_1.assertParamExists('getMandateAuth', 'mandateId', mandateId);
|
|
411
|
+
getMandateAuth: (institutionId, senderType, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
411
412
|
// verify required parameter 'institutionId' is not null or undefined
|
|
412
413
|
common_1.assertParamExists('getMandateAuth', 'institutionId', institutionId);
|
|
413
|
-
const localVarPath = `/mandates/
|
|
414
|
+
const localVarPath = `/mandates/auth`;
|
|
414
415
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
415
416
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
416
417
|
let baseOptions;
|
|
@@ -606,17 +607,14 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
606
607
|
}),
|
|
607
608
|
/**
|
|
608
609
|
* Submit authorization checklist items
|
|
609
|
-
* @param {string} mandateId mandate id
|
|
610
610
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
611
611
|
* @param {*} [options] Override http request option.
|
|
612
612
|
* @throws {RequiredError}
|
|
613
613
|
*/
|
|
614
|
-
submitAuthChecklist: (
|
|
615
|
-
// verify required parameter 'mandateId' is not null or undefined
|
|
616
|
-
common_1.assertParamExists('submitAuthChecklist', 'mandateId', mandateId);
|
|
614
|
+
submitAuthChecklist: (submitAuthChecklistRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
617
615
|
// verify required parameter 'submitAuthChecklistRequest' is not null or undefined
|
|
618
616
|
common_1.assertParamExists('submitAuthChecklist', 'submitAuthChecklistRequest', submitAuthChecklistRequest);
|
|
619
|
-
const localVarPath = `/mandates/
|
|
617
|
+
const localVarPath = `/mandates/auth`;
|
|
620
618
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
621
619
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
622
620
|
let baseOptions;
|
|
@@ -748,15 +746,14 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
748
746
|
},
|
|
749
747
|
/**
|
|
750
748
|
* Get Mandate Authorization by mandate id
|
|
751
|
-
* @param {string} mandateId Finverse Mandate ID
|
|
752
749
|
* @param {string} institutionId Finverse Institution ID
|
|
753
|
-
* @param {'
|
|
750
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
754
751
|
* @param {*} [options] Override http request option.
|
|
755
752
|
* @throws {RequiredError}
|
|
756
753
|
*/
|
|
757
|
-
getMandateAuth(
|
|
754
|
+
getMandateAuth(institutionId, senderType, options) {
|
|
758
755
|
return __awaiter(this, void 0, void 0, function* () {
|
|
759
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMandateAuth(
|
|
756
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMandateAuth(institutionId, senderType, options);
|
|
760
757
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
761
758
|
});
|
|
762
759
|
},
|
|
@@ -825,14 +822,13 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
825
822
|
},
|
|
826
823
|
/**
|
|
827
824
|
* Submit authorization checklist items
|
|
828
|
-
* @param {string} mandateId mandate id
|
|
829
825
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
830
826
|
* @param {*} [options] Override http request option.
|
|
831
827
|
* @throws {RequiredError}
|
|
832
828
|
*/
|
|
833
|
-
submitAuthChecklist(
|
|
829
|
+
submitAuthChecklist(submitAuthChecklistRequest, options) {
|
|
834
830
|
return __awaiter(this, void 0, void 0, function* () {
|
|
835
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.submitAuthChecklist(
|
|
831
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.submitAuthChecklist(submitAuthChecklistRequest, options);
|
|
836
832
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
837
833
|
});
|
|
838
834
|
},
|
|
@@ -927,16 +923,13 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
927
923
|
},
|
|
928
924
|
/**
|
|
929
925
|
* Get Mandate Authorization by mandate id
|
|
930
|
-
* @param {string} mandateId Finverse Mandate ID
|
|
931
926
|
* @param {string} institutionId Finverse Institution ID
|
|
932
|
-
* @param {'
|
|
927
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
933
928
|
* @param {*} [options] Override http request option.
|
|
934
929
|
* @throws {RequiredError}
|
|
935
930
|
*/
|
|
936
|
-
getMandateAuth(
|
|
937
|
-
return localVarFp
|
|
938
|
-
.getMandateAuth(mandateId, institutionId, senderType, options)
|
|
939
|
-
.then((request) => request(axios, basePath));
|
|
931
|
+
getMandateAuth(institutionId, senderType, options) {
|
|
932
|
+
return localVarFp.getMandateAuth(institutionId, senderType, options).then((request) => request(axios, basePath));
|
|
940
933
|
},
|
|
941
934
|
/**
|
|
942
935
|
* Get link to launch FV Link UI in mandate authorization mode
|
|
@@ -994,14 +987,13 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
994
987
|
},
|
|
995
988
|
/**
|
|
996
989
|
* Submit authorization checklist items
|
|
997
|
-
* @param {string} mandateId mandate id
|
|
998
990
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
999
991
|
* @param {*} [options] Override http request option.
|
|
1000
992
|
* @throws {RequiredError}
|
|
1001
993
|
*/
|
|
1002
|
-
submitAuthChecklist(
|
|
994
|
+
submitAuthChecklist(submitAuthChecklistRequest, options) {
|
|
1003
995
|
return localVarFp
|
|
1004
|
-
.submitAuthChecklist(
|
|
996
|
+
.submitAuthChecklist(submitAuthChecklistRequest, options)
|
|
1005
997
|
.then((request) => request(axios, basePath));
|
|
1006
998
|
},
|
|
1007
999
|
};
|
|
@@ -1113,16 +1105,15 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1113
1105
|
}
|
|
1114
1106
|
/**
|
|
1115
1107
|
* Get Mandate Authorization by mandate id
|
|
1116
|
-
* @param {string} mandateId Finverse Mandate ID
|
|
1117
1108
|
* @param {string} institutionId Finverse Institution ID
|
|
1118
|
-
* @param {'
|
|
1109
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
1119
1110
|
* @param {*} [options] Override http request option.
|
|
1120
1111
|
* @throws {RequiredError}
|
|
1121
1112
|
* @memberof CustomerApi
|
|
1122
1113
|
*/
|
|
1123
|
-
getMandateAuth(
|
|
1114
|
+
getMandateAuth(institutionId, senderType, options) {
|
|
1124
1115
|
return exports.CustomerApiFp(this.configuration)
|
|
1125
|
-
.getMandateAuth(
|
|
1116
|
+
.getMandateAuth(institutionId, senderType, options)
|
|
1126
1117
|
.then((request) => request(this.axios, this.basePath));
|
|
1127
1118
|
}
|
|
1128
1119
|
/**
|
|
@@ -1190,15 +1181,14 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1190
1181
|
}
|
|
1191
1182
|
/**
|
|
1192
1183
|
* Submit authorization checklist items
|
|
1193
|
-
* @param {string} mandateId mandate id
|
|
1194
1184
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
1195
1185
|
* @param {*} [options] Override http request option.
|
|
1196
1186
|
* @throws {RequiredError}
|
|
1197
1187
|
* @memberof CustomerApi
|
|
1198
1188
|
*/
|
|
1199
|
-
submitAuthChecklist(
|
|
1189
|
+
submitAuthChecklist(submitAuthChecklistRequest, options) {
|
|
1200
1190
|
return exports.CustomerApiFp(this.configuration)
|
|
1201
|
-
.submitAuthChecklist(
|
|
1191
|
+
.submitAuthChecklist(submitAuthChecklistRequest, options)
|
|
1202
1192
|
.then((request) => request(this.axios, this.basePath));
|
|
1203
1193
|
}
|
|
1204
1194
|
}
|