@finverse/sdk-typescript 0.0.53 → 0.0.56
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 +29 -22
- package/dist/api.js +21 -31
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -305,13 +305,13 @@ export interface AuthChecklistOptions {
|
|
|
305
305
|
* @type {string}
|
|
306
306
|
* @memberof AuthChecklistOptions
|
|
307
307
|
*/
|
|
308
|
-
submitted_at
|
|
308
|
+
submitted_at?: string | null;
|
|
309
309
|
/**
|
|
310
310
|
* Indicates who submitted the authorization factor to Finverse. Possible values are CUSTOMER_APP, FINVERSE_LINK
|
|
311
311
|
* @type {string}
|
|
312
312
|
* @memberof AuthChecklistOptions
|
|
313
313
|
*/
|
|
314
|
-
submitted_by
|
|
314
|
+
submitted_by?: AuthChecklistOptionsSubmittedByEnum;
|
|
315
315
|
}
|
|
316
316
|
export declare const AuthChecklistOptionsNameEnum: {
|
|
317
317
|
readonly CredentialsLogin: "INSTITUTION_CREDENTIALS_LOGIN";
|
|
@@ -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 PERSONAL, 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 Personal: "PERSONAL";
|
|
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
3557
|
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
3542
3558
|
* @param {*} [options] Override http request option.
|
|
3543
3559
|
* @throws {RequiredError}
|
|
3544
3560
|
*/
|
|
3545
|
-
getMandateAuth: (
|
|
3561
|
+
getMandateAuth: (institutionId: string, senderType?: 'PERSONAL' | '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
3674
|
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
3661
3675
|
* @param {*} [options] Override http request option.
|
|
3662
3676
|
* @throws {RequiredError}
|
|
3663
3677
|
*/
|
|
3664
|
-
getMandateAuth(
|
|
3678
|
+
getMandateAuth(institutionId: string, senderType?: 'PERSONAL' | '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
3791
|
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
3780
3792
|
* @param {*} [options] Override http request option.
|
|
3781
3793
|
* @throws {RequiredError}
|
|
3782
3794
|
*/
|
|
3783
|
-
getMandateAuth(
|
|
3795
|
+
getMandateAuth(institutionId: string, senderType?: 'PERSONAL' | '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
3917
|
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, 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?: 'PERSONAL' | '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
4051
|
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, 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?: 'PERSONAL' | '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
|
|
@@ -122,6 +122,10 @@ exports.PaymentScheduleFrequencyEnum = {
|
|
|
122
122
|
Quarterly: 'QUARTERLY',
|
|
123
123
|
Yearly: 'YEARLY',
|
|
124
124
|
};
|
|
125
|
+
exports.SubmitAuthChecklistRequestSenderTypeEnum = {
|
|
126
|
+
Personal: 'PERSONAL',
|
|
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
407
|
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, 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
750
|
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, 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
927
|
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, 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
1109
|
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, 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
|
}
|