@finverse/sdk-typescript 0.0.120 → 0.0.121
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 +39 -3
- package/dist/api.js +5 -1
- 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}
|
|
@@ -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}
|
|
@@ -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
|
|
@@ -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}
|
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.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreateMandateSenderSenderTypeEnum = 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.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.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreateMandateSenderSenderTypeEnum = 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
|
|
@@ -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
|
};
|