@finverse/sdk-typescript 0.0.68 → 0.0.70
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 +45 -0
- package/dist/api.js +8 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -664,6 +664,12 @@ export interface CreateMandateRequest {
|
|
|
664
664
|
* @memberof CreateMandateRequest
|
|
665
665
|
*/
|
|
666
666
|
mandate_details: MandateDetails;
|
|
667
|
+
/**
|
|
668
|
+
* Sender details which will be used for fraud checking.
|
|
669
|
+
* @type {Array<SenderDetail>}
|
|
670
|
+
* @memberof CreateMandateRequest
|
|
671
|
+
*/
|
|
672
|
+
sender_details: Array<SenderDetail>;
|
|
667
673
|
}
|
|
668
674
|
/**
|
|
669
675
|
*
|
|
@@ -707,6 +713,12 @@ export interface CreateMandateResponse {
|
|
|
707
713
|
* @memberof CreateMandateResponse
|
|
708
714
|
*/
|
|
709
715
|
mandate_details: MandateDetails;
|
|
716
|
+
/**
|
|
717
|
+
* Sender details which will be used for fraud checking.
|
|
718
|
+
* @type {Array<SenderDetail>}
|
|
719
|
+
* @memberof CreateMandateResponse
|
|
720
|
+
*/
|
|
721
|
+
sender_details?: Array<SenderDetail>;
|
|
710
722
|
/**
|
|
711
723
|
*
|
|
712
724
|
* @type {FvErrorModel}
|
|
@@ -1415,6 +1427,12 @@ export interface GetMandateResponse {
|
|
|
1415
1427
|
* @memberof GetMandateResponse
|
|
1416
1428
|
*/
|
|
1417
1429
|
mandate_details: MandateDetails;
|
|
1430
|
+
/**
|
|
1431
|
+
* Sender details which will be used for fraud checking.
|
|
1432
|
+
* @type {Array<SenderDetail>}
|
|
1433
|
+
* @memberof GetMandateResponse
|
|
1434
|
+
*/
|
|
1435
|
+
sender_details?: Array<SenderDetail>;
|
|
1418
1436
|
/**
|
|
1419
1437
|
*
|
|
1420
1438
|
* @type {FvErrorModel}
|
|
@@ -3659,6 +3677,33 @@ export interface RelinkRequest {
|
|
|
3659
3677
|
*/
|
|
3660
3678
|
consent?: boolean | null;
|
|
3661
3679
|
}
|
|
3680
|
+
/**
|
|
3681
|
+
*
|
|
3682
|
+
* @export
|
|
3683
|
+
* @interface SenderDetail
|
|
3684
|
+
*/
|
|
3685
|
+
export interface SenderDetail {
|
|
3686
|
+
/**
|
|
3687
|
+
* The type of the details. For e.g. HK_ID, PASSPORT, ACCOUNTHOLDER_NAME etc
|
|
3688
|
+
* @type {string}
|
|
3689
|
+
* @memberof SenderDetail
|
|
3690
|
+
*/
|
|
3691
|
+
details_type?: SenderDetailDetailsTypeEnum;
|
|
3692
|
+
/**
|
|
3693
|
+
* The possible values of the detail. For e.g. \"John Wick Adams\" for ACCOUNTHOLDER_NAME or A123456 for HK_ID
|
|
3694
|
+
* @type {Array<string>}
|
|
3695
|
+
* @memberof SenderDetail
|
|
3696
|
+
*/
|
|
3697
|
+
values?: Array<string>;
|
|
3698
|
+
}
|
|
3699
|
+
export declare const SenderDetailDetailsTypeEnum: {
|
|
3700
|
+
readonly HkId: "HK_ID";
|
|
3701
|
+
readonly Passport: "PASSPORT";
|
|
3702
|
+
readonly HkBusinessRegistration: "HK_BUSINESS_REGISTRATION";
|
|
3703
|
+
readonly HkCertificateOfIncorporation: "HK_CERTIFICATE_OF_INCORPORATION";
|
|
3704
|
+
readonly AccountholderName: "ACCOUNTHOLDER_NAME";
|
|
3705
|
+
};
|
|
3706
|
+
export declare type SenderDetailDetailsTypeEnum = typeof SenderDetailDetailsTypeEnum[keyof typeof SenderDetailDetailsTypeEnum];
|
|
3662
3707
|
/**
|
|
3663
3708
|
*
|
|
3664
3709
|
* @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.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.MandateDetailsSenderTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateResponseMandateStatusEnum = 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.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.MandateDetailsSenderTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateResponseMandateStatusEnum = 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
|
|
@@ -196,6 +196,13 @@ exports.PaymentScheduleFrequencyEnum = {
|
|
|
196
196
|
Quarterly: 'QUARTERLY',
|
|
197
197
|
Yearly: 'YEARLY',
|
|
198
198
|
};
|
|
199
|
+
exports.SenderDetailDetailsTypeEnum = {
|
|
200
|
+
HkId: 'HK_ID',
|
|
201
|
+
Passport: 'PASSPORT',
|
|
202
|
+
HkBusinessRegistration: 'HK_BUSINESS_REGISTRATION',
|
|
203
|
+
HkCertificateOfIncorporation: 'HK_CERTIFICATE_OF_INCORPORATION',
|
|
204
|
+
AccountholderName: 'ACCOUNTHOLDER_NAME',
|
|
205
|
+
};
|
|
199
206
|
exports.SubmitAuthChecklistResponseMandateStatusEnum = {
|
|
200
207
|
Created: 'CREATED',
|
|
201
208
|
Processing: 'PROCESSING',
|