@finverse/sdk-typescript 0.0.55 → 0.0.58
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 +28 -17
- package/dist/api.js +12 -8
- 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];
|
|
@@ -2591,7 +2591,7 @@ export interface MandateAuthLinkCustomizations {
|
|
|
2591
2591
|
*/
|
|
2592
2592
|
link_mode?: string;
|
|
2593
2593
|
/**
|
|
2594
|
-
* institution\'s supported product filter
|
|
2594
|
+
* institution\'s supported product filter. For mandate authorization, this field should contain [\"MANDATE\"]
|
|
2595
2595
|
* @type {Array<string>}
|
|
2596
2596
|
* @memberof MandateAuthLinkCustomizations
|
|
2597
2597
|
*/
|
|
@@ -3216,6 +3216,12 @@ export interface SubmitAuthChecklistRequest {
|
|
|
3216
3216
|
* @memberof SubmitAuthChecklistRequest
|
|
3217
3217
|
*/
|
|
3218
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;
|
|
3219
3225
|
/**
|
|
3220
3226
|
* The encrypted envelope key
|
|
3221
3227
|
* @type {string}
|
|
@@ -3241,6 +3247,11 @@ export interface SubmitAuthChecklistRequest {
|
|
|
3241
3247
|
*/
|
|
3242
3248
|
ciphertext: string;
|
|
3243
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];
|
|
3244
3255
|
/**
|
|
3245
3256
|
*
|
|
3246
3257
|
* @export
|
|
@@ -3543,11 +3554,11 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3543
3554
|
/**
|
|
3544
3555
|
* Get Mandate Authorization by mandate id
|
|
3545
3556
|
* @param {string} institutionId Finverse Institution ID
|
|
3546
|
-
* @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
|
|
3547
3558
|
* @param {*} [options] Override http request option.
|
|
3548
3559
|
* @throws {RequiredError}
|
|
3549
3560
|
*/
|
|
3550
|
-
getMandateAuth: (institutionId: string, senderType?: '
|
|
3561
|
+
getMandateAuth: (institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3551
3562
|
/**
|
|
3552
3563
|
* Get link to launch FV Link UI in mandate authorization mode
|
|
3553
3564
|
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
@@ -3660,11 +3671,11 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3660
3671
|
/**
|
|
3661
3672
|
* Get Mandate Authorization by mandate id
|
|
3662
3673
|
* @param {string} institutionId Finverse Institution ID
|
|
3663
|
-
* @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
|
|
3664
3675
|
* @param {*} [options] Override http request option.
|
|
3665
3676
|
* @throws {RequiredError}
|
|
3666
3677
|
*/
|
|
3667
|
-
getMandateAuth(institutionId: string, senderType?: '
|
|
3678
|
+
getMandateAuth(institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateAuthResponse>>;
|
|
3668
3679
|
/**
|
|
3669
3680
|
* Get link to launch FV Link UI in mandate authorization mode
|
|
3670
3681
|
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
@@ -3777,11 +3788,11 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3777
3788
|
/**
|
|
3778
3789
|
* Get Mandate Authorization by mandate id
|
|
3779
3790
|
* @param {string} institutionId Finverse Institution ID
|
|
3780
|
-
* @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
|
|
3781
3792
|
* @param {*} [options] Override http request option.
|
|
3782
3793
|
* @throws {RequiredError}
|
|
3783
3794
|
*/
|
|
3784
|
-
getMandateAuth(institutionId: string, senderType?: '
|
|
3795
|
+
getMandateAuth(institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: any): AxiosPromise<GetMandateAuthResponse>;
|
|
3785
3796
|
/**
|
|
3786
3797
|
* Get link to launch FV Link UI in mandate authorization mode
|
|
3787
3798
|
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
@@ -3903,12 +3914,12 @@ export interface CustomerApiInterface {
|
|
|
3903
3914
|
/**
|
|
3904
3915
|
* Get Mandate Authorization by mandate id
|
|
3905
3916
|
* @param {string} institutionId Finverse Institution ID
|
|
3906
|
-
* @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
|
|
3907
3918
|
* @param {*} [options] Override http request option.
|
|
3908
3919
|
* @throws {RequiredError}
|
|
3909
3920
|
* @memberof CustomerApiInterface
|
|
3910
3921
|
*/
|
|
3911
|
-
getMandateAuth(institutionId: string, senderType?: '
|
|
3922
|
+
getMandateAuth(institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: AxiosRequestConfig): AxiosPromise<GetMandateAuthResponse>;
|
|
3912
3923
|
/**
|
|
3913
3924
|
* Get link to launch FV Link UI in mandate authorization mode
|
|
3914
3925
|
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
@@ -4037,12 +4048,12 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
4037
4048
|
/**
|
|
4038
4049
|
* Get Mandate Authorization by mandate id
|
|
4039
4050
|
* @param {string} institutionId Finverse Institution ID
|
|
4040
|
-
* @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
|
|
4041
4052
|
* @param {*} [options] Override http request option.
|
|
4042
4053
|
* @throws {RequiredError}
|
|
4043
4054
|
* @memberof CustomerApi
|
|
4044
4055
|
*/
|
|
4045
|
-
getMandateAuth(institutionId: string, senderType?: '
|
|
4056
|
+
getMandateAuth(institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateAuthResponse>>;
|
|
4046
4057
|
/**
|
|
4047
4058
|
* Get link to launch FV Link UI in mandate authorization mode
|
|
4048
4059
|
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
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',
|
|
@@ -400,7 +404,7 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
400
404
|
/**
|
|
401
405
|
* Get Mandate Authorization by mandate id
|
|
402
406
|
* @param {string} institutionId Finverse Institution ID
|
|
403
|
-
* @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
|
|
404
408
|
* @param {*} [options] Override http request option.
|
|
405
409
|
* @throws {RequiredError}
|
|
406
410
|
*/
|
|
@@ -743,7 +747,7 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
743
747
|
/**
|
|
744
748
|
* Get Mandate Authorization by mandate id
|
|
745
749
|
* @param {string} institutionId Finverse Institution ID
|
|
746
|
-
* @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
|
|
747
751
|
* @param {*} [options] Override http request option.
|
|
748
752
|
* @throws {RequiredError}
|
|
749
753
|
*/
|
|
@@ -920,7 +924,7 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
920
924
|
/**
|
|
921
925
|
* Get Mandate Authorization by mandate id
|
|
922
926
|
* @param {string} institutionId Finverse Institution ID
|
|
923
|
-
* @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
|
|
924
928
|
* @param {*} [options] Override http request option.
|
|
925
929
|
* @throws {RequiredError}
|
|
926
930
|
*/
|
|
@@ -1102,7 +1106,7 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1102
1106
|
/**
|
|
1103
1107
|
* Get Mandate Authorization by mandate id
|
|
1104
1108
|
* @param {string} institutionId Finverse Institution ID
|
|
1105
|
-
* @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
|
|
1106
1110
|
* @param {*} [options] Override http request option.
|
|
1107
1111
|
* @throws {RequiredError}
|
|
1108
1112
|
* @memberof CustomerApi
|