@finverse/sdk-typescript 0.0.148 → 0.0.150
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 +46 -8
- package/dist/api.js +7 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -920,11 +920,11 @@ export interface CreatePaymentLinkRequest {
|
|
|
920
920
|
*/
|
|
921
921
|
currency: string;
|
|
922
922
|
/**
|
|
923
|
-
*
|
|
924
|
-
* @type {
|
|
923
|
+
*
|
|
924
|
+
* @type {PaymentLinkCustomizations}
|
|
925
925
|
* @memberof CreatePaymentLinkRequest
|
|
926
926
|
*/
|
|
927
|
-
|
|
927
|
+
link_customizations?: PaymentLinkCustomizations;
|
|
928
928
|
/**
|
|
929
929
|
* The payment link mode
|
|
930
930
|
* @type {string}
|
|
@@ -957,6 +957,12 @@ export interface CreatePaymentLinkRequest {
|
|
|
957
957
|
metadata?: {
|
|
958
958
|
[key: string]: string;
|
|
959
959
|
};
|
|
960
|
+
/**
|
|
961
|
+
* URI to redirect to. Only needed if ui_mode = redirect
|
|
962
|
+
* @type {string}
|
|
963
|
+
* @memberof CreatePaymentLinkRequest
|
|
964
|
+
*/
|
|
965
|
+
redirect_uri?: string;
|
|
960
966
|
}
|
|
961
967
|
export declare const CreatePaymentLinkRequestModeEnum: {
|
|
962
968
|
readonly Payment: "PAYMENT";
|
|
@@ -2827,7 +2833,7 @@ export interface LinkTokenRequest {
|
|
|
2827
2833
|
*/
|
|
2828
2834
|
link_mode?: string;
|
|
2829
2835
|
/**
|
|
2830
|
-
* The UI mode link is intended to be used in - \"iframe\"
|
|
2836
|
+
* The UI mode link is intended to be used in - \"iframe\", \"auto_redirect\", \"redirect\" or \"standalone\"
|
|
2831
2837
|
* @type {string}
|
|
2832
2838
|
* @memberof LinkTokenRequest
|
|
2833
2839
|
*/
|
|
@@ -3486,7 +3492,7 @@ export interface MandateAuthLinkCustomizations {
|
|
|
3486
3492
|
*/
|
|
3487
3493
|
products_supported?: Array<string>;
|
|
3488
3494
|
/**
|
|
3489
|
-
* The UI mode link is intended to be used in - \"iframe\"
|
|
3495
|
+
* The UI mode link is intended to be used in - \"iframe\", \"auto_redirect\", \"redirect\" or \"standalone\"
|
|
3490
3496
|
* @type {string}
|
|
3491
3497
|
* @memberof MandateAuthLinkCustomizations
|
|
3492
3498
|
*/
|
|
@@ -4002,6 +4008,32 @@ export declare const PaymentInstructionTypeEnum: {
|
|
|
4002
4008
|
readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
|
|
4003
4009
|
};
|
|
4004
4010
|
export declare type PaymentInstructionTypeEnum = (typeof PaymentInstructionTypeEnum)[keyof typeof PaymentInstructionTypeEnum];
|
|
4011
|
+
/**
|
|
4012
|
+
*
|
|
4013
|
+
* @export
|
|
4014
|
+
* @interface PaymentLinkCustomizations
|
|
4015
|
+
*/
|
|
4016
|
+
export interface PaymentLinkCustomizations {
|
|
4017
|
+
/**
|
|
4018
|
+
* ISO639-1 language code. Language to display when user open the link, default to English (en) if not specified
|
|
4019
|
+
* @type {string}
|
|
4020
|
+
* @memberof PaymentLinkCustomizations
|
|
4021
|
+
*/
|
|
4022
|
+
language?: string;
|
|
4023
|
+
/**
|
|
4024
|
+
* The UI mode link is intended to be used in - \"iframe\", \"auto_redirect\", \"redirect\" or \"standalone\"
|
|
4025
|
+
* @type {string}
|
|
4026
|
+
* @memberof PaymentLinkCustomizations
|
|
4027
|
+
*/
|
|
4028
|
+
ui_mode?: PaymentLinkCustomizationsUiModeEnum;
|
|
4029
|
+
}
|
|
4030
|
+
export declare const PaymentLinkCustomizationsUiModeEnum: {
|
|
4031
|
+
readonly Iframe: "iframe";
|
|
4032
|
+
readonly Redirect: "redirect";
|
|
4033
|
+
readonly AutoRedirect: "auto_redirect";
|
|
4034
|
+
readonly Standalone: "standalone";
|
|
4035
|
+
};
|
|
4036
|
+
export declare type PaymentLinkCustomizationsUiModeEnum = (typeof PaymentLinkCustomizationsUiModeEnum)[keyof typeof PaymentLinkCustomizationsUiModeEnum];
|
|
4005
4037
|
/**
|
|
4006
4038
|
*
|
|
4007
4039
|
* @export
|
|
@@ -4046,11 +4078,11 @@ export interface PaymentLinkResponse {
|
|
|
4046
4078
|
*/
|
|
4047
4079
|
currency?: string;
|
|
4048
4080
|
/**
|
|
4049
|
-
*
|
|
4050
|
-
* @type {
|
|
4081
|
+
*
|
|
4082
|
+
* @type {PaymentLinkCustomizations}
|
|
4051
4083
|
* @memberof PaymentLinkResponse
|
|
4052
4084
|
*/
|
|
4053
|
-
|
|
4085
|
+
link_customizations?: PaymentLinkCustomizations;
|
|
4054
4086
|
/**
|
|
4055
4087
|
* The payment link mode
|
|
4056
4088
|
* @type {string}
|
|
@@ -4125,6 +4157,12 @@ export interface PaymentLinkResponse {
|
|
|
4125
4157
|
* @memberof PaymentLinkResponse
|
|
4126
4158
|
*/
|
|
4127
4159
|
sender?: PaymentLinkSenderResponse;
|
|
4160
|
+
/**
|
|
4161
|
+
*
|
|
4162
|
+
* @type {string}
|
|
4163
|
+
* @memberof PaymentLinkResponse
|
|
4164
|
+
*/
|
|
4165
|
+
redirect_uri?: string;
|
|
4128
4166
|
}
|
|
4129
4167
|
export declare const PaymentLinkResponseModeEnum: {
|
|
4130
4168
|
readonly Payment: "PAYMENT";
|
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.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutInstructionResponseStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderUserTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.FeePaidByEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = 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.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutInstructionResponseStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderUserTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.FeePaidByEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = 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
|
|
@@ -209,6 +209,12 @@ exports.PaymentInfoPaymentsSupportedEnum = {
|
|
|
209
209
|
exports.PaymentInstructionTypeEnum = {
|
|
210
210
|
DebitAuthorization: 'DEBIT_AUTHORIZATION',
|
|
211
211
|
};
|
|
212
|
+
exports.PaymentLinkCustomizationsUiModeEnum = {
|
|
213
|
+
Iframe: 'iframe',
|
|
214
|
+
Redirect: 'redirect',
|
|
215
|
+
AutoRedirect: 'auto_redirect',
|
|
216
|
+
Standalone: 'standalone',
|
|
217
|
+
};
|
|
212
218
|
exports.PaymentLinkResponseModeEnum = {
|
|
213
219
|
Payment: 'PAYMENT',
|
|
214
220
|
};
|