@finverse/sdk-typescript 0.0.408 → 0.0.410
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 +49 -0
- package/dist/api.js +34 -3
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -799,6 +799,46 @@ export interface CurrencyAmount {
|
|
|
799
799
|
export interface DeleteLoginIdentityResponse {
|
|
800
800
|
success: boolean;
|
|
801
801
|
}
|
|
802
|
+
export interface DisplayConfigs {
|
|
803
|
+
display_status?: DisplayConfigsDisplayStatusEnum;
|
|
804
|
+
/**
|
|
805
|
+
* Ordered list of payment method brands
|
|
806
|
+
*/
|
|
807
|
+
payment_methods_list?: Array<DisplayConfigsPaymentMethodsListEnum>;
|
|
808
|
+
}
|
|
809
|
+
export declare const DisplayConfigsDisplayStatusEnum: {
|
|
810
|
+
readonly Active: "ACTIVE";
|
|
811
|
+
readonly Inactive: "INACTIVE";
|
|
812
|
+
};
|
|
813
|
+
export type DisplayConfigsDisplayStatusEnum = (typeof DisplayConfigsDisplayStatusEnum)[keyof typeof DisplayConfigsDisplayStatusEnum];
|
|
814
|
+
export declare const DisplayConfigsPaymentMethodsListEnum: {
|
|
815
|
+
readonly Alipay: "ALIPAY";
|
|
816
|
+
readonly AlipayHk: "ALIPAY_HK";
|
|
817
|
+
readonly Amex: "AMEX";
|
|
818
|
+
readonly Applepay: "APPLEPAY";
|
|
819
|
+
readonly Diners: "DINERS";
|
|
820
|
+
readonly Discover: "DISCOVER";
|
|
821
|
+
readonly Eftpos: "EFTPOS";
|
|
822
|
+
readonly EgiroSg: "EGIRO_SG";
|
|
823
|
+
readonly FpsHk: "FPS_HK";
|
|
824
|
+
readonly Googlepay: "GOOGLEPAY";
|
|
825
|
+
readonly Grabpay: "GRABPAY";
|
|
826
|
+
readonly Jcb: "JCB";
|
|
827
|
+
readonly Maestro: "MAESTRO";
|
|
828
|
+
readonly Mastercard: "MASTERCARD";
|
|
829
|
+
readonly Payme: "PAYME";
|
|
830
|
+
readonly PaynowSg: "PAYNOW_SG";
|
|
831
|
+
readonly Paypal: "PAYPAL";
|
|
832
|
+
readonly PaytoAu: "PAYTO_AU";
|
|
833
|
+
readonly Unionpay: "UNIONPAY";
|
|
834
|
+
readonly Visa: "VISA";
|
|
835
|
+
readonly WechatPay: "WECHAT_PAY";
|
|
836
|
+
readonly EddaHk: "EDDA_HK";
|
|
837
|
+
readonly BankpayKr: "BANKPAY_KR";
|
|
838
|
+
readonly CardGeneric: "CARD_GENERIC";
|
|
839
|
+
readonly BankGeneric: "BANK_GENERIC";
|
|
840
|
+
};
|
|
841
|
+
export type DisplayConfigsPaymentMethodsListEnum = (typeof DisplayConfigsPaymentMethodsListEnum)[keyof typeof DisplayConfigsPaymentMethodsListEnum];
|
|
802
842
|
export interface DisputeResponse {
|
|
803
843
|
/**
|
|
804
844
|
* The dispute id
|
|
@@ -2142,6 +2182,10 @@ export interface MandateSenderAccount {
|
|
|
2142
2182
|
*/
|
|
2143
2183
|
user_id?: string;
|
|
2144
2184
|
bank_code?: string;
|
|
2185
|
+
/**
|
|
2186
|
+
* BIC (SWIFT code) of the sender’s institution. Only returned when account_type is EXTERNAL_ACCOUNT and the institution has a registered BIC.
|
|
2187
|
+
*/
|
|
2188
|
+
bic?: string;
|
|
2145
2189
|
/**
|
|
2146
2190
|
* Additional attributes of the sender account in key:value format (e.g. sender_id: 1234). It supports up to 20 key:value pairs, whereas the key and value supports up to 50 and 1000 characters respectively.
|
|
2147
2191
|
*/
|
|
@@ -2271,6 +2315,7 @@ export interface PaymentAccountDetails {
|
|
|
2271
2315
|
* Optional reference identifier for the settlement account. Only applicable to settlement accounts.
|
|
2272
2316
|
*/
|
|
2273
2317
|
settlement_account_reference?: string;
|
|
2318
|
+
payment_link_configs?: PaymentLinkConfigs;
|
|
2274
2319
|
/**
|
|
2275
2320
|
* Additional attributes of the sender account in key:value format (e.g. sender_id: 1234). It supports up to 20 key:value pairs, whereas the key and value supports up to 50 and 1000 characters respectively.
|
|
2276
2321
|
*/
|
|
@@ -2341,6 +2386,7 @@ export interface PaymentAccountDetailsWithEnrichedData {
|
|
|
2341
2386
|
* Optional reference identifier for the settlement account. Only applicable to settlement accounts.
|
|
2342
2387
|
*/
|
|
2343
2388
|
settlement_account_reference?: string;
|
|
2389
|
+
payment_link_configs?: PaymentLinkConfigs;
|
|
2344
2390
|
/**
|
|
2345
2391
|
* Additional attributes of the sender account in key:value format (e.g. sender_id: 1234). It supports up to 20 key:value pairs, whereas the key and value supports up to 50 and 1000 characters respectively.
|
|
2346
2392
|
*/
|
|
@@ -2451,6 +2497,9 @@ export declare const PaymentInfoPaymentsSupportedEnum: {
|
|
|
2451
2497
|
readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
|
|
2452
2498
|
};
|
|
2453
2499
|
export type PaymentInfoPaymentsSupportedEnum = (typeof PaymentInfoPaymentsSupportedEnum)[keyof typeof PaymentInfoPaymentsSupportedEnum];
|
|
2500
|
+
export interface PaymentLinkConfigs {
|
|
2501
|
+
display_configs?: DisplayConfigs;
|
|
2502
|
+
}
|
|
2454
2503
|
export interface PaymentLinkCustomizations {
|
|
2455
2504
|
/**
|
|
2456
2505
|
* ISO639-1 language code. Language to display when user open the link, default to English (en) if not specified
|
package/dist/api.js
CHANGED
|
@@ -22,9 +22,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.ListPayoutsPayoutTypesEnum = void 0;
|
|
25
|
+
exports.PaymentLinkSessionStatus = exports.PaymentLinkMode = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentAccountType = exports.MandateStatus = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.MandateAuthLinkCustomizationsLanguageEnum = exports.LoginMethodStatusEnum = exports.LoginIdentityStatus = exports.LoginIdentitySessionStatus = exports.LoginIdentityAuthStatus = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestLanguageEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.KcpVaMetadataVaReceiptGubnEnum = exports.IntegrationMetadataResponseIntegrationIdEnum = exports.IntegrationMetadataRequestIntegrationIdEnum = exports.IntegrationMetadataPaymentUserRequestIntegrationIdEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FuturePaymentsMode = exports.FinverseErrorCategory = exports.FeePaidBy = exports.DisputeStatus = exports.DisplayConfigsPaymentMethodsListEnum = exports.DisplayConfigsDisplayStatusEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CompleteKcpPaymentRequestCardPointUseEnum = exports.CardStatus = exports.CardFundingType = exports.BillStatus = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountNumberType = exports.AccountCategory = void 0;
|
|
26
|
+
exports.ListPaymentsPaymentTypeEnum = exports.ListPaymentsSenderTypeEnum = exports.ListPaymentsStatusesEnum = exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = exports.ListMandatesSenderTypeEnum = exports.ListMandatesStatusesEnum = exports.ListDisputesStatusesEnum = exports.ListDetokenizedMandatesSenderTypeEnum = exports.ListDetokenizedMandatesStatusesEnum = exports.ListBillsStatusesEnum = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.ListInstitutionsInstitutionTypeEnum = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.TransactionLimitsResponsePeriodEnum = exports.TransactionLimitsRequestPeriodEnum = exports.SenderDetailDetailsTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.ProductHealthStatus = exports.PayoutType = exports.PayoutStatus = exports.PaymentUserType = exports.PaymentType = exports.PaymentSubtype = exports.PaymentStatus = exports.PaymentScheduleFrequencyEnum = exports.PaymentMethodType = exports.PaymentMethodIntegrationMetadataGocardlessMetadataFundsSettlementEnum = exports.PaymentMethodIntegrationMetadataGocardlessMetadataStatusEnum = exports.PaymentMethodIntegrationMetadataAdyenMetadataRecurringProcessingModelEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkStatus = void 0;
|
|
27
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.ListPayoutsPayoutTypesEnum = exports.ListPayoutsStatusesEnum = exports.ListPaymentsPaymentTypesEnum = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -133,6 +133,37 @@ exports.CreatePaymentAccountRequestAccountTypeEnum = {
|
|
|
133
133
|
exports.CreateRecipientAccountAccountTypeEnum = {
|
|
134
134
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
135
135
|
};
|
|
136
|
+
exports.DisplayConfigsDisplayStatusEnum = {
|
|
137
|
+
Active: 'ACTIVE',
|
|
138
|
+
Inactive: 'INACTIVE',
|
|
139
|
+
};
|
|
140
|
+
exports.DisplayConfigsPaymentMethodsListEnum = {
|
|
141
|
+
Alipay: 'ALIPAY',
|
|
142
|
+
AlipayHk: 'ALIPAY_HK',
|
|
143
|
+
Amex: 'AMEX',
|
|
144
|
+
Applepay: 'APPLEPAY',
|
|
145
|
+
Diners: 'DINERS',
|
|
146
|
+
Discover: 'DISCOVER',
|
|
147
|
+
Eftpos: 'EFTPOS',
|
|
148
|
+
EgiroSg: 'EGIRO_SG',
|
|
149
|
+
FpsHk: 'FPS_HK',
|
|
150
|
+
Googlepay: 'GOOGLEPAY',
|
|
151
|
+
Grabpay: 'GRABPAY',
|
|
152
|
+
Jcb: 'JCB',
|
|
153
|
+
Maestro: 'MAESTRO',
|
|
154
|
+
Mastercard: 'MASTERCARD',
|
|
155
|
+
Payme: 'PAYME',
|
|
156
|
+
PaynowSg: 'PAYNOW_SG',
|
|
157
|
+
Paypal: 'PAYPAL',
|
|
158
|
+
PaytoAu: 'PAYTO_AU',
|
|
159
|
+
Unionpay: 'UNIONPAY',
|
|
160
|
+
Visa: 'VISA',
|
|
161
|
+
WechatPay: 'WECHAT_PAY',
|
|
162
|
+
EddaHk: 'EDDA_HK',
|
|
163
|
+
BankpayKr: 'BANKPAY_KR',
|
|
164
|
+
CardGeneric: 'CARD_GENERIC',
|
|
165
|
+
BankGeneric: 'BANK_GENERIC',
|
|
166
|
+
};
|
|
136
167
|
/**
|
|
137
168
|
* The status of the dispute
|
|
138
169
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finverse/sdk-typescript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.410",
|
|
4
4
|
"description": "OpenAPI client for @finverse/sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@types/node": "12.11.5 - 12.20.42",
|
|
33
33
|
"axios-mock-adapter": "^1.21.2",
|
|
34
34
|
"chai": "^6.2.2",
|
|
35
|
-
"mocha": "^
|
|
35
|
+
"mocha": "^12.0.0",
|
|
36
36
|
"ts-node": "^10.9.2",
|
|
37
37
|
"typescript": "^4.0 || ^5.0"
|
|
38
38
|
},
|