@finverse/sdk-typescript 0.0.120 → 0.0.122
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 +49 -13
- package/dist/api.js +7 -3
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -716,6 +716,12 @@ export interface CreateMandateResponse {
|
|
|
716
716
|
* @memberof CreateMandateResponse
|
|
717
717
|
*/
|
|
718
718
|
recipient: MandateRecipient;
|
|
719
|
+
/**
|
|
720
|
+
*
|
|
721
|
+
* @type {MandateRecipientAccount}
|
|
722
|
+
* @memberof CreateMandateResponse
|
|
723
|
+
*/
|
|
724
|
+
recipient_account?: MandateRecipientAccount;
|
|
719
725
|
/**
|
|
720
726
|
*
|
|
721
727
|
* @type {GetMandateSender}
|
|
@@ -782,19 +788,19 @@ export interface CreateMandateSender {
|
|
|
782
788
|
* @type {string}
|
|
783
789
|
* @memberof CreateMandateSender
|
|
784
790
|
*/
|
|
785
|
-
|
|
791
|
+
user_type?: CreateMandateSenderUserTypeEnum;
|
|
786
792
|
/**
|
|
787
793
|
* Sender details which will be used for fraud checking.
|
|
788
794
|
* @type {Array<SenderDetail>}
|
|
789
795
|
* @memberof CreateMandateSender
|
|
790
796
|
*/
|
|
791
|
-
|
|
797
|
+
user_details?: Array<SenderDetail>;
|
|
792
798
|
}
|
|
793
|
-
export declare const
|
|
799
|
+
export declare const CreateMandateSenderUserTypeEnum: {
|
|
794
800
|
readonly Individual: "INDIVIDUAL";
|
|
795
801
|
readonly Business: "BUSINESS";
|
|
796
802
|
};
|
|
797
|
-
export declare type
|
|
803
|
+
export declare type CreateMandateSenderUserTypeEnum = (typeof CreateMandateSenderUserTypeEnum)[keyof typeof CreateMandateSenderUserTypeEnum];
|
|
798
804
|
/**
|
|
799
805
|
*
|
|
800
806
|
* @export
|
|
@@ -1641,6 +1647,12 @@ export interface GetMandateResponse {
|
|
|
1641
1647
|
* @memberof GetMandateResponse
|
|
1642
1648
|
*/
|
|
1643
1649
|
recipient: MandateRecipient;
|
|
1650
|
+
/**
|
|
1651
|
+
*
|
|
1652
|
+
* @type {MandateRecipientAccount}
|
|
1653
|
+
* @memberof GetMandateResponse
|
|
1654
|
+
*/
|
|
1655
|
+
recipient_account?: MandateRecipientAccount;
|
|
1644
1656
|
/**
|
|
1645
1657
|
*
|
|
1646
1658
|
* @type {GetMandateSender}
|
|
@@ -1713,19 +1725,19 @@ export interface GetMandateSender {
|
|
|
1713
1725
|
* @type {string}
|
|
1714
1726
|
* @memberof GetMandateSender
|
|
1715
1727
|
*/
|
|
1716
|
-
|
|
1728
|
+
user_type: GetMandateSenderUserTypeEnum;
|
|
1717
1729
|
/**
|
|
1718
1730
|
* Sender details which will be used for fraud checking.
|
|
1719
1731
|
* @type {Array<SenderDetail>}
|
|
1720
1732
|
* @memberof GetMandateSender
|
|
1721
1733
|
*/
|
|
1722
|
-
|
|
1734
|
+
user_details?: Array<SenderDetail>;
|
|
1723
1735
|
}
|
|
1724
|
-
export declare const
|
|
1736
|
+
export declare const GetMandateSenderUserTypeEnum: {
|
|
1725
1737
|
readonly Individual: "INDIVIDUAL";
|
|
1726
1738
|
readonly Business: "BUSINESS";
|
|
1727
1739
|
};
|
|
1728
|
-
export declare type
|
|
1740
|
+
export declare type GetMandateSenderUserTypeEnum = (typeof GetMandateSenderUserTypeEnum)[keyof typeof GetMandateSenderUserTypeEnum];
|
|
1729
1741
|
/**
|
|
1730
1742
|
*
|
|
1731
1743
|
* @export
|
|
@@ -3376,13 +3388,31 @@ export interface MandateRecipient {
|
|
|
3376
3388
|
* @memberof MandateRecipient
|
|
3377
3389
|
*/
|
|
3378
3390
|
name: string;
|
|
3391
|
+
}
|
|
3392
|
+
/**
|
|
3393
|
+
*
|
|
3394
|
+
* @export
|
|
3395
|
+
* @interface MandateRecipientAccount
|
|
3396
|
+
*/
|
|
3397
|
+
export interface MandateRecipientAccount {
|
|
3379
3398
|
/**
|
|
3380
3399
|
* Merchant account ID assigned by Finverse
|
|
3381
3400
|
* @type {string}
|
|
3382
|
-
* @memberof
|
|
3401
|
+
* @memberof MandateRecipientAccount
|
|
3383
3402
|
*/
|
|
3384
|
-
|
|
3403
|
+
account_id: string;
|
|
3404
|
+
/**
|
|
3405
|
+
* Type of recipient account.
|
|
3406
|
+
* @type {string}
|
|
3407
|
+
* @memberof MandateRecipientAccount
|
|
3408
|
+
*/
|
|
3409
|
+
account_type: MandateRecipientAccountAccountTypeEnum;
|
|
3385
3410
|
}
|
|
3411
|
+
export declare const MandateRecipientAccountAccountTypeEnum: {
|
|
3412
|
+
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
3413
|
+
readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
|
|
3414
|
+
};
|
|
3415
|
+
export declare type MandateRecipientAccountAccountTypeEnum = (typeof MandateRecipientAccountAccountTypeEnum)[keyof typeof MandateRecipientAccountAccountTypeEnum];
|
|
3386
3416
|
/**
|
|
3387
3417
|
*
|
|
3388
3418
|
* @export
|
|
@@ -3394,7 +3424,7 @@ export interface MandateRecipientRequest {
|
|
|
3394
3424
|
* @type {string}
|
|
3395
3425
|
* @memberof MandateRecipientRequest
|
|
3396
3426
|
*/
|
|
3397
|
-
|
|
3427
|
+
account_id: string;
|
|
3398
3428
|
}
|
|
3399
3429
|
/**
|
|
3400
3430
|
*
|
|
@@ -3407,7 +3437,7 @@ export interface MandateSenderAccount {
|
|
|
3407
3437
|
* @type {string}
|
|
3408
3438
|
* @memberof MandateSenderAccount
|
|
3409
3439
|
*/
|
|
3410
|
-
|
|
3440
|
+
account_id?: string;
|
|
3411
3441
|
/**
|
|
3412
3442
|
* Accountholder name of the sender\'s account
|
|
3413
3443
|
* @type {string}
|
|
@@ -3845,6 +3875,12 @@ export interface PaymentResponse {
|
|
|
3845
3875
|
* @memberof PaymentResponse
|
|
3846
3876
|
*/
|
|
3847
3877
|
recipient?: MandateRecipient;
|
|
3878
|
+
/**
|
|
3879
|
+
*
|
|
3880
|
+
* @type {MandateRecipientAccount}
|
|
3881
|
+
* @memberof PaymentResponse
|
|
3882
|
+
*/
|
|
3883
|
+
recipient_account?: MandateRecipientAccount;
|
|
3848
3884
|
/**
|
|
3849
3885
|
*
|
|
3850
3886
|
* @type {GetMandateSender}
|
|
@@ -4064,7 +4100,7 @@ export interface PayoutRecipient {
|
|
|
4064
4100
|
* @type {string}
|
|
4065
4101
|
* @memberof PayoutRecipient
|
|
4066
4102
|
*/
|
|
4067
|
-
|
|
4103
|
+
account_id?: string;
|
|
4068
4104
|
}
|
|
4069
4105
|
/**
|
|
4070
4106
|
*
|
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.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = 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.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.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.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = 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
|
|
@@ -84,7 +84,7 @@ exports.CreateMandateResponseStatusEnum = {
|
|
|
84
84
|
Failed: 'FAILED',
|
|
85
85
|
Revoked: 'REVOKED',
|
|
86
86
|
};
|
|
87
|
-
exports.
|
|
87
|
+
exports.CreateMandateSenderUserTypeEnum = {
|
|
88
88
|
Individual: 'INDIVIDUAL',
|
|
89
89
|
Business: 'BUSINESS',
|
|
90
90
|
};
|
|
@@ -136,7 +136,7 @@ exports.GetMandateResponseStatusEnum = {
|
|
|
136
136
|
Failed: 'FAILED',
|
|
137
137
|
Revoked: 'REVOKED',
|
|
138
138
|
};
|
|
139
|
-
exports.
|
|
139
|
+
exports.GetMandateSenderUserTypeEnum = {
|
|
140
140
|
Individual: 'INDIVIDUAL',
|
|
141
141
|
Business: 'BUSINESS',
|
|
142
142
|
};
|
|
@@ -188,6 +188,10 @@ exports.MandateAuthLinkCustomizationsUiModeEnum = {
|
|
|
188
188
|
AutoRedirect: 'auto_redirect',
|
|
189
189
|
Standalone: 'standalone',
|
|
190
190
|
};
|
|
191
|
+
exports.MandateRecipientAccountAccountTypeEnum = {
|
|
192
|
+
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
193
|
+
SettlementAccount: 'SETTLEMENT_ACCOUNT',
|
|
194
|
+
};
|
|
191
195
|
exports.MandateSenderAccountAccountTypeEnum = {
|
|
192
196
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
193
197
|
};
|