@finverse/sdk-typescript 0.0.106 → 0.0.108
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 +90 -4
- package/dist/api.js +4 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -658,6 +658,12 @@ export interface CreateMandateRequest {
|
|
|
658
658
|
* @memberof CreateMandateRequest
|
|
659
659
|
*/
|
|
660
660
|
sender: CreateMandateSender;
|
|
661
|
+
/**
|
|
662
|
+
*
|
|
663
|
+
* @type {CreateMandateSenderAccount}
|
|
664
|
+
* @memberof CreateMandateRequest
|
|
665
|
+
*/
|
|
666
|
+
sender_account?: CreateMandateSenderAccount;
|
|
661
667
|
/**
|
|
662
668
|
*
|
|
663
669
|
* @type {MandateDetails}
|
|
@@ -709,6 +715,12 @@ export interface CreateMandateResponse {
|
|
|
709
715
|
* @memberof CreateMandateResponse
|
|
710
716
|
*/
|
|
711
717
|
sender: GetMandateSender;
|
|
718
|
+
/**
|
|
719
|
+
*
|
|
720
|
+
* @type {MandateSenderAccount}
|
|
721
|
+
* @memberof CreateMandateResponse
|
|
722
|
+
*/
|
|
723
|
+
sender_account?: MandateSenderAccount;
|
|
712
724
|
/**
|
|
713
725
|
*
|
|
714
726
|
* @type {MandateDetails}
|
|
@@ -746,6 +758,12 @@ export declare type CreateMandateResponseStatusEnum = typeof CreateMandateRespon
|
|
|
746
758
|
* @interface CreateMandateSender
|
|
747
759
|
*/
|
|
748
760
|
export interface CreateMandateSender {
|
|
761
|
+
/**
|
|
762
|
+
* A unique identifier generated after creating sender
|
|
763
|
+
* @type {string}
|
|
764
|
+
* @memberof CreateMandateSender
|
|
765
|
+
*/
|
|
766
|
+
sender_id?: string;
|
|
749
767
|
/**
|
|
750
768
|
*
|
|
751
769
|
* @type {string}
|
|
@@ -757,7 +775,7 @@ export interface CreateMandateSender {
|
|
|
757
775
|
* @type {string}
|
|
758
776
|
* @memberof CreateMandateSender
|
|
759
777
|
*/
|
|
760
|
-
user_id
|
|
778
|
+
user_id?: string;
|
|
761
779
|
/**
|
|
762
780
|
* Customer App\'s reference ID, representing the sender\'s account or billing reference number.
|
|
763
781
|
* @type {string}
|
|
@@ -769,7 +787,7 @@ export interface CreateMandateSender {
|
|
|
769
787
|
* @type {string}
|
|
770
788
|
* @memberof CreateMandateSender
|
|
771
789
|
*/
|
|
772
|
-
sender_type
|
|
790
|
+
sender_type?: CreateMandateSenderSenderTypeEnum;
|
|
773
791
|
/**
|
|
774
792
|
* Sender details which will be used for fraud checking.
|
|
775
793
|
* @type {Array<SenderDetail>}
|
|
@@ -782,6 +800,19 @@ export declare const CreateMandateSenderSenderTypeEnum: {
|
|
|
782
800
|
readonly Business: "BUSINESS";
|
|
783
801
|
};
|
|
784
802
|
export declare type CreateMandateSenderSenderTypeEnum = typeof CreateMandateSenderSenderTypeEnum[keyof typeof CreateMandateSenderSenderTypeEnum];
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @export
|
|
806
|
+
* @interface CreateMandateSenderAccount
|
|
807
|
+
*/
|
|
808
|
+
export interface CreateMandateSenderAccount {
|
|
809
|
+
/**
|
|
810
|
+
* A unique identifier generated after creating sender account
|
|
811
|
+
* @type {string}
|
|
812
|
+
* @memberof CreateMandateSenderAccount
|
|
813
|
+
*/
|
|
814
|
+
sender_account_id?: string;
|
|
815
|
+
}
|
|
785
816
|
/**
|
|
786
817
|
*
|
|
787
818
|
* @export
|
|
@@ -1719,10 +1750,10 @@ export interface GetMandateResponse {
|
|
|
1719
1750
|
sender: GetMandateSender;
|
|
1720
1751
|
/**
|
|
1721
1752
|
*
|
|
1722
|
-
* @type {
|
|
1753
|
+
* @type {MandateSenderAccount}
|
|
1723
1754
|
* @memberof GetMandateResponse
|
|
1724
1755
|
*/
|
|
1725
|
-
sender_account?:
|
|
1756
|
+
sender_account?: MandateSenderAccount;
|
|
1726
1757
|
/**
|
|
1727
1758
|
*
|
|
1728
1759
|
* @type {MandateDetails}
|
|
@@ -3478,6 +3509,61 @@ export interface MandateRecipientRequest {
|
|
|
3478
3509
|
*/
|
|
3479
3510
|
recipient_account_id: string;
|
|
3480
3511
|
}
|
|
3512
|
+
/**
|
|
3513
|
+
*
|
|
3514
|
+
* @export
|
|
3515
|
+
* @interface MandateSenderAccount
|
|
3516
|
+
*/
|
|
3517
|
+
export interface MandateSenderAccount {
|
|
3518
|
+
/**
|
|
3519
|
+
* A unique identifier generated after creating sender account
|
|
3520
|
+
* @type {string}
|
|
3521
|
+
* @memberof MandateSenderAccount
|
|
3522
|
+
*/
|
|
3523
|
+
sender_account_id?: string;
|
|
3524
|
+
/**
|
|
3525
|
+
* Accountholder name of the sender\'s account
|
|
3526
|
+
* @type {string}
|
|
3527
|
+
* @memberof MandateSenderAccount
|
|
3528
|
+
*/
|
|
3529
|
+
accountholder_name?: string;
|
|
3530
|
+
/**
|
|
3531
|
+
*
|
|
3532
|
+
* @type {RecipientAccountNumber}
|
|
3533
|
+
* @memberof MandateSenderAccount
|
|
3534
|
+
*/
|
|
3535
|
+
account_number?: RecipientAccountNumber;
|
|
3536
|
+
/**
|
|
3537
|
+
* Type of sender account.
|
|
3538
|
+
* @type {string}
|
|
3539
|
+
* @memberof MandateSenderAccount
|
|
3540
|
+
*/
|
|
3541
|
+
account_type?: MandateSenderAccountAccountTypeEnum;
|
|
3542
|
+
/**
|
|
3543
|
+
* Finverse Institution ID for the sender’s institution.
|
|
3544
|
+
* @type {string}
|
|
3545
|
+
* @memberof MandateSenderAccount
|
|
3546
|
+
*/
|
|
3547
|
+
institution_id?: string;
|
|
3548
|
+
/**
|
|
3549
|
+
* A unique identifier generated after creating sender
|
|
3550
|
+
* @type {string}
|
|
3551
|
+
* @memberof MandateSenderAccount
|
|
3552
|
+
*/
|
|
3553
|
+
sender_id?: string;
|
|
3554
|
+
/**
|
|
3555
|
+
* Additional attributes of the sender account in key:value format (e.g. sender_id: 1234). It supports up to 10 key:value pairs, whereas the key and value supports up to 50 and 500 characters respectively.
|
|
3556
|
+
* @type {{ [key: string]: string; }}
|
|
3557
|
+
* @memberof MandateSenderAccount
|
|
3558
|
+
*/
|
|
3559
|
+
metadata?: {
|
|
3560
|
+
[key: string]: string;
|
|
3561
|
+
};
|
|
3562
|
+
}
|
|
3563
|
+
export declare const MandateSenderAccountAccountTypeEnum: {
|
|
3564
|
+
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
3565
|
+
};
|
|
3566
|
+
export declare type MandateSenderAccountAccountTypeEnum = typeof MandateSenderAccountAccountTypeEnum[keyof typeof MandateSenderAccountAccountTypeEnum];
|
|
3481
3567
|
/**
|
|
3482
3568
|
*
|
|
3483
3569
|
* @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.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderResponseSenderTypeEnum = exports.SenderDetailDetailsTypeEnum = exports.SenderAccountResponseAccountTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutInstructionResponseStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = 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.CreateSenderRequestSenderTypeEnum = exports.CreateSenderAccountRequestAccountTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = 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.SenderResponseSenderTypeEnum = exports.SenderDetailDetailsTypeEnum = exports.SenderAccountResponseAccountTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutInstructionResponseStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = 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.CreateSenderRequestSenderTypeEnum = exports.CreateSenderAccountRequestAccountTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = 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
|
|
@@ -191,6 +191,9 @@ exports.MandateAuthLinkCustomizationsUiModeEnum = {
|
|
|
191
191
|
AutoRedirect: 'auto_redirect',
|
|
192
192
|
Standalone: 'standalone',
|
|
193
193
|
};
|
|
194
|
+
exports.MandateSenderAccountAccountTypeEnum = {
|
|
195
|
+
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
196
|
+
};
|
|
194
197
|
exports.PaymentInfoPaymentsSupportedEnum = {
|
|
195
198
|
Mandate: 'MANDATE',
|
|
196
199
|
DebitAuthorization: 'DEBIT_AUTHORIZATION',
|