@finverse/sdk-typescript 0.0.68 → 0.0.69
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 -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
|
*
|
|
@@ -1415,6 +1421,12 @@ export interface GetMandateResponse {
|
|
|
1415
1421
|
* @memberof GetMandateResponse
|
|
1416
1422
|
*/
|
|
1417
1423
|
mandate_details: MandateDetails;
|
|
1424
|
+
/**
|
|
1425
|
+
* Sender details which will be used for fraud checking.
|
|
1426
|
+
* @type {Array<SenderDetail>}
|
|
1427
|
+
* @memberof GetMandateResponse
|
|
1428
|
+
*/
|
|
1429
|
+
sender_details?: Array<SenderDetail>;
|
|
1418
1430
|
/**
|
|
1419
1431
|
*
|
|
1420
1432
|
* @type {FvErrorModel}
|
|
@@ -3659,6 +3671,33 @@ export interface RelinkRequest {
|
|
|
3659
3671
|
*/
|
|
3660
3672
|
consent?: boolean | null;
|
|
3661
3673
|
}
|
|
3674
|
+
/**
|
|
3675
|
+
*
|
|
3676
|
+
* @export
|
|
3677
|
+
* @interface SenderDetail
|
|
3678
|
+
*/
|
|
3679
|
+
export interface SenderDetail {
|
|
3680
|
+
/**
|
|
3681
|
+
* The type of the details. For e.g. HK_ID, PASSPORT, ACCOUNTHOLDER_NAME etc
|
|
3682
|
+
* @type {string}
|
|
3683
|
+
* @memberof SenderDetail
|
|
3684
|
+
*/
|
|
3685
|
+
details_type?: SenderDetailDetailsTypeEnum;
|
|
3686
|
+
/**
|
|
3687
|
+
* The possible values of the detail. For e.g. \"John Wick Adams\" for ACCOUNTHOLDER_NAME or A123456 for HK_ID
|
|
3688
|
+
* @type {Array<string>}
|
|
3689
|
+
* @memberof SenderDetail
|
|
3690
|
+
*/
|
|
3691
|
+
values?: Array<string>;
|
|
3692
|
+
}
|
|
3693
|
+
export declare const SenderDetailDetailsTypeEnum: {
|
|
3694
|
+
readonly HkId: "HK_ID";
|
|
3695
|
+
readonly Passport: "PASSPORT";
|
|
3696
|
+
readonly HkBusinessRegistration: "HK_BUSINESS_REGISTRATION";
|
|
3697
|
+
readonly HkCertificateOfIncorporation: "HK_CERTIFICATE_OF_INCORPORATION";
|
|
3698
|
+
readonly AccountholderName: "ACCOUNTHOLDER_NAME";
|
|
3699
|
+
};
|
|
3700
|
+
export declare type SenderDetailDetailsTypeEnum = typeof SenderDetailDetailsTypeEnum[keyof typeof SenderDetailDetailsTypeEnum];
|
|
3662
3701
|
/**
|
|
3663
3702
|
*
|
|
3664
3703
|
* @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',
|