@finverse/sdk-typescript 0.0.70 → 0.0.72
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 +40 -29
- package/dist/api.js +9 -5
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -664,12 +664,6 @@ export interface CreateMandateRequest {
|
|
|
664
664
|
* @memberof CreateMandateRequest
|
|
665
665
|
*/
|
|
666
666
|
mandate_details: MandateDetails;
|
|
667
|
-
/**
|
|
668
|
-
* Sender details which will be used for fraud checking.
|
|
669
|
-
* @type {Array<SenderDetail>}
|
|
670
|
-
* @memberof CreateMandateRequest
|
|
671
|
-
*/
|
|
672
|
-
sender_details: Array<SenderDetail>;
|
|
673
667
|
}
|
|
674
668
|
/**
|
|
675
669
|
*
|
|
@@ -713,12 +707,6 @@ export interface CreateMandateResponse {
|
|
|
713
707
|
* @memberof CreateMandateResponse
|
|
714
708
|
*/
|
|
715
709
|
mandate_details: MandateDetails;
|
|
716
|
-
/**
|
|
717
|
-
* Sender details which will be used for fraud checking.
|
|
718
|
-
* @type {Array<SenderDetail>}
|
|
719
|
-
* @memberof CreateMandateResponse
|
|
720
|
-
*/
|
|
721
|
-
sender_details?: Array<SenderDetail>;
|
|
722
710
|
/**
|
|
723
711
|
*
|
|
724
712
|
* @type {FvErrorModel}
|
|
@@ -760,7 +748,24 @@ export interface CreateMandateSender {
|
|
|
760
748
|
* @memberof CreateMandateSender
|
|
761
749
|
*/
|
|
762
750
|
sender_reference_id?: string;
|
|
751
|
+
/**
|
|
752
|
+
* Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
|
|
753
|
+
* @type {string}
|
|
754
|
+
* @memberof CreateMandateSender
|
|
755
|
+
*/
|
|
756
|
+
sender_type: CreateMandateSenderSenderTypeEnum;
|
|
757
|
+
/**
|
|
758
|
+
* Sender details which will be used for fraud checking.
|
|
759
|
+
* @type {Array<SenderDetail>}
|
|
760
|
+
* @memberof CreateMandateSender
|
|
761
|
+
*/
|
|
762
|
+
sender_details: Array<SenderDetail>;
|
|
763
763
|
}
|
|
764
|
+
export declare const CreateMandateSenderSenderTypeEnum: {
|
|
765
|
+
readonly Individual: "INDIVIDUAL";
|
|
766
|
+
readonly Business: "BUSINESS";
|
|
767
|
+
};
|
|
768
|
+
export declare type CreateMandateSenderSenderTypeEnum = typeof CreateMandateSenderSenderTypeEnum[keyof typeof CreateMandateSenderSenderTypeEnum];
|
|
764
769
|
/**
|
|
765
770
|
*
|
|
766
771
|
* @export
|
|
@@ -1427,12 +1432,6 @@ export interface GetMandateResponse {
|
|
|
1427
1432
|
* @memberof GetMandateResponse
|
|
1428
1433
|
*/
|
|
1429
1434
|
mandate_details: MandateDetails;
|
|
1430
|
-
/**
|
|
1431
|
-
* Sender details which will be used for fraud checking.
|
|
1432
|
-
* @type {Array<SenderDetail>}
|
|
1433
|
-
* @memberof GetMandateResponse
|
|
1434
|
-
*/
|
|
1435
|
-
sender_details?: Array<SenderDetail>;
|
|
1436
1435
|
/**
|
|
1437
1436
|
*
|
|
1438
1437
|
* @type {FvErrorModel}
|
|
@@ -1480,7 +1479,24 @@ export interface GetMandateSender {
|
|
|
1480
1479
|
* @memberof GetMandateSender
|
|
1481
1480
|
*/
|
|
1482
1481
|
sender_account: PaymentAccount;
|
|
1482
|
+
/**
|
|
1483
|
+
* Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
|
|
1484
|
+
* @type {string}
|
|
1485
|
+
* @memberof GetMandateSender
|
|
1486
|
+
*/
|
|
1487
|
+
sender_type: GetMandateSenderSenderTypeEnum;
|
|
1488
|
+
/**
|
|
1489
|
+
* Sender details which will be used for fraud checking.
|
|
1490
|
+
* @type {Array<SenderDetail>}
|
|
1491
|
+
* @memberof GetMandateSender
|
|
1492
|
+
*/
|
|
1493
|
+
sender_details?: Array<SenderDetail>;
|
|
1483
1494
|
}
|
|
1495
|
+
export declare const GetMandateSenderSenderTypeEnum: {
|
|
1496
|
+
readonly Individual: "INDIVIDUAL";
|
|
1497
|
+
readonly Business: "BUSINESS";
|
|
1498
|
+
};
|
|
1499
|
+
export declare type GetMandateSenderSenderTypeEnum = typeof GetMandateSenderSenderTypeEnum[keyof typeof GetMandateSenderSenderTypeEnum];
|
|
1484
1500
|
/**
|
|
1485
1501
|
*
|
|
1486
1502
|
* @export
|
|
@@ -3018,6 +3034,12 @@ export interface MandateAuthLinkCustomizations {
|
|
|
3018
3034
|
* @memberof MandateAuthLinkCustomizations
|
|
3019
3035
|
*/
|
|
3020
3036
|
ui_mode?: MandateAuthLinkCustomizationsUiModeEnum;
|
|
3037
|
+
/**
|
|
3038
|
+
* The URI to redirect to. Required if ui_mode is \"redirect\" or \"auto_redirect\"
|
|
3039
|
+
* @type {string}
|
|
3040
|
+
* @memberof MandateAuthLinkCustomizations
|
|
3041
|
+
*/
|
|
3042
|
+
redirect_uri?: string;
|
|
3021
3043
|
/**
|
|
3022
3044
|
* institution\'s supported user_type filter
|
|
3023
3045
|
* @type {Array<string>}
|
|
@@ -3074,18 +3096,7 @@ export interface MandateDetails {
|
|
|
3074
3096
|
* @memberof MandateDetails
|
|
3075
3097
|
*/
|
|
3076
3098
|
description?: string;
|
|
3077
|
-
/**
|
|
3078
|
-
* Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
|
|
3079
|
-
* @type {string}
|
|
3080
|
-
* @memberof MandateDetails
|
|
3081
|
-
*/
|
|
3082
|
-
sender_type: MandateDetailsSenderTypeEnum;
|
|
3083
3099
|
}
|
|
3084
|
-
export declare const MandateDetailsSenderTypeEnum: {
|
|
3085
|
-
readonly Individual: "INDIVIDUAL";
|
|
3086
|
-
readonly Business: "BUSINESS";
|
|
3087
|
-
};
|
|
3088
|
-
export declare type MandateDetailsSenderTypeEnum = typeof MandateDetailsSenderTypeEnum[keyof typeof MandateDetailsSenderTypeEnum];
|
|
3089
3100
|
/**
|
|
3090
3101
|
*
|
|
3091
3102
|
* @export
|
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.SenderDetailDetailsTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.
|
|
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.SenderDetailDetailsTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.CreateMandateResponseMandateStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -84,6 +84,10 @@ exports.CreateMandateResponseMandateStatusEnum = {
|
|
|
84
84
|
Failed: 'FAILED',
|
|
85
85
|
Revoked: 'REVOKED',
|
|
86
86
|
};
|
|
87
|
+
exports.CreateMandateSenderSenderTypeEnum = {
|
|
88
|
+
Individual: 'INDIVIDUAL',
|
|
89
|
+
Business: 'BUSINESS',
|
|
90
|
+
};
|
|
87
91
|
exports.CreatePaymentRequestTypeEnum = {
|
|
88
92
|
Mandate: 'MANDATE',
|
|
89
93
|
Single: 'SINGLE',
|
|
@@ -121,6 +125,10 @@ exports.GetMandateResponseMandateStatusEnum = {
|
|
|
121
125
|
Failed: 'FAILED',
|
|
122
126
|
Revoked: 'REVOKED',
|
|
123
127
|
};
|
|
128
|
+
exports.GetMandateSenderSenderTypeEnum = {
|
|
129
|
+
Individual: 'INDIVIDUAL',
|
|
130
|
+
Business: 'BUSINESS',
|
|
131
|
+
};
|
|
124
132
|
exports.InstitutionTagsEnum = {
|
|
125
133
|
Real: 'real',
|
|
126
134
|
Test: 'test',
|
|
@@ -169,10 +177,6 @@ exports.MandateAuthLinkCustomizationsUiModeEnum = {
|
|
|
169
177
|
AutoRedirect: 'auto_redirect',
|
|
170
178
|
Standalone: 'standalone',
|
|
171
179
|
};
|
|
172
|
-
exports.MandateDetailsSenderTypeEnum = {
|
|
173
|
-
Individual: 'INDIVIDUAL',
|
|
174
|
-
Business: 'BUSINESS',
|
|
175
|
-
};
|
|
176
180
|
exports.PaymentInstructionTypeEnum = {
|
|
177
181
|
DebitAuthorization: 'DEBIT_AUTHORIZATION',
|
|
178
182
|
};
|