@finverse/sdk-typescript 0.0.106 → 0.0.107
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 +57 -2
- package/dist/api.js +4 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1719,10 +1719,10 @@ export interface GetMandateResponse {
|
|
|
1719
1719
|
sender: GetMandateSender;
|
|
1720
1720
|
/**
|
|
1721
1721
|
*
|
|
1722
|
-
* @type {
|
|
1722
|
+
* @type {MandateSenderAccount}
|
|
1723
1723
|
* @memberof GetMandateResponse
|
|
1724
1724
|
*/
|
|
1725
|
-
sender_account?:
|
|
1725
|
+
sender_account?: MandateSenderAccount;
|
|
1726
1726
|
/**
|
|
1727
1727
|
*
|
|
1728
1728
|
* @type {MandateDetails}
|
|
@@ -3478,6 +3478,61 @@ export interface MandateRecipientRequest {
|
|
|
3478
3478
|
*/
|
|
3479
3479
|
recipient_account_id: string;
|
|
3480
3480
|
}
|
|
3481
|
+
/**
|
|
3482
|
+
*
|
|
3483
|
+
* @export
|
|
3484
|
+
* @interface MandateSenderAccount
|
|
3485
|
+
*/
|
|
3486
|
+
export interface MandateSenderAccount {
|
|
3487
|
+
/**
|
|
3488
|
+
* A unique identifier generated after creating sender account
|
|
3489
|
+
* @type {string}
|
|
3490
|
+
* @memberof MandateSenderAccount
|
|
3491
|
+
*/
|
|
3492
|
+
sender_account_id?: string;
|
|
3493
|
+
/**
|
|
3494
|
+
* Accountholder name of the sender\'s account
|
|
3495
|
+
* @type {string}
|
|
3496
|
+
* @memberof MandateSenderAccount
|
|
3497
|
+
*/
|
|
3498
|
+
accountholder_name?: string;
|
|
3499
|
+
/**
|
|
3500
|
+
*
|
|
3501
|
+
* @type {RecipientAccountNumber}
|
|
3502
|
+
* @memberof MandateSenderAccount
|
|
3503
|
+
*/
|
|
3504
|
+
account_number?: RecipientAccountNumber;
|
|
3505
|
+
/**
|
|
3506
|
+
* Type of sender account.
|
|
3507
|
+
* @type {string}
|
|
3508
|
+
* @memberof MandateSenderAccount
|
|
3509
|
+
*/
|
|
3510
|
+
account_type?: MandateSenderAccountAccountTypeEnum;
|
|
3511
|
+
/**
|
|
3512
|
+
* Finverse Institution ID for the sender’s institution.
|
|
3513
|
+
* @type {string}
|
|
3514
|
+
* @memberof MandateSenderAccount
|
|
3515
|
+
*/
|
|
3516
|
+
institution_id?: string;
|
|
3517
|
+
/**
|
|
3518
|
+
* A unique identifier generated after creating sender
|
|
3519
|
+
* @type {string}
|
|
3520
|
+
* @memberof MandateSenderAccount
|
|
3521
|
+
*/
|
|
3522
|
+
sender_id?: string;
|
|
3523
|
+
/**
|
|
3524
|
+
* 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.
|
|
3525
|
+
* @type {{ [key: string]: string; }}
|
|
3526
|
+
* @memberof MandateSenderAccount
|
|
3527
|
+
*/
|
|
3528
|
+
metadata?: {
|
|
3529
|
+
[key: string]: string;
|
|
3530
|
+
};
|
|
3531
|
+
}
|
|
3532
|
+
export declare const MandateSenderAccountAccountTypeEnum: {
|
|
3533
|
+
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
3534
|
+
};
|
|
3535
|
+
export declare type MandateSenderAccountAccountTypeEnum = typeof MandateSenderAccountAccountTypeEnum[keyof typeof MandateSenderAccountAccountTypeEnum];
|
|
3481
3536
|
/**
|
|
3482
3537
|
*
|
|
3483
3538
|
* @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',
|