@finverse/sdk-typescript 0.0.296 → 0.0.297
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 +97 -0
- package/dist/api.js +7 -3
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2143,6 +2143,79 @@ export declare const FeePaidByEnum: {
|
|
|
2143
2143
|
readonly Sender: "SENDER";
|
|
2144
2144
|
};
|
|
2145
2145
|
export type FeePaidByEnum = (typeof FeePaidByEnum)[keyof typeof FeePaidByEnum];
|
|
2146
|
+
/**
|
|
2147
|
+
*
|
|
2148
|
+
* @export
|
|
2149
|
+
* @interface FeeRule
|
|
2150
|
+
*/
|
|
2151
|
+
export interface FeeRule {
|
|
2152
|
+
/**
|
|
2153
|
+
* Minimum fee amount that will be charged. Actual amount multiplied by 1000
|
|
2154
|
+
* @type {number}
|
|
2155
|
+
* @memberof FeeRule
|
|
2156
|
+
*/
|
|
2157
|
+
min_amount?: number;
|
|
2158
|
+
/**
|
|
2159
|
+
* Maximum fee amount that will be charged. Actual amount multiplied by 1000
|
|
2160
|
+
* @type {number}
|
|
2161
|
+
* @memberof FeeRule
|
|
2162
|
+
*/
|
|
2163
|
+
max_amount?: number;
|
|
2164
|
+
/**
|
|
2165
|
+
* The BPS amount that will be used to calculate the fee.
|
|
2166
|
+
* @type {number}
|
|
2167
|
+
* @memberof FeeRule
|
|
2168
|
+
*/
|
|
2169
|
+
fee_bps?: number;
|
|
2170
|
+
/**
|
|
2171
|
+
* The currency the fee is charged in
|
|
2172
|
+
* @type {string}
|
|
2173
|
+
* @memberof FeeRule
|
|
2174
|
+
*/
|
|
2175
|
+
currency: string;
|
|
2176
|
+
/**
|
|
2177
|
+
* The fixed fee amount that will be charged on top of the calculated fee
|
|
2178
|
+
* @type {number}
|
|
2179
|
+
* @memberof FeeRule
|
|
2180
|
+
*/
|
|
2181
|
+
fee_fixed?: number;
|
|
2182
|
+
/**
|
|
2183
|
+
* Whether the fee is paid by the RECIPIENT or SENDER
|
|
2184
|
+
* @type {string}
|
|
2185
|
+
* @memberof FeeRule
|
|
2186
|
+
*/
|
|
2187
|
+
fee_paid_by: FeeRuleFeePaidByEnum;
|
|
2188
|
+
}
|
|
2189
|
+
export declare const FeeRuleFeePaidByEnum: {
|
|
2190
|
+
readonly Sender: "SENDER";
|
|
2191
|
+
readonly Recipient: "RECIPIENT";
|
|
2192
|
+
};
|
|
2193
|
+
export type FeeRuleFeePaidByEnum = (typeof FeeRuleFeePaidByEnum)[keyof typeof FeeRuleFeePaidByEnum];
|
|
2194
|
+
/**
|
|
2195
|
+
* Fee rule applicable to this payment account
|
|
2196
|
+
* @export
|
|
2197
|
+
* @interface FeeRules
|
|
2198
|
+
*/
|
|
2199
|
+
export interface FeeRules {
|
|
2200
|
+
/**
|
|
2201
|
+
* Fee rule applicable to mandate
|
|
2202
|
+
* @type {Array<FeeRule>}
|
|
2203
|
+
* @memberof FeeRules
|
|
2204
|
+
*/
|
|
2205
|
+
mandate_rules: Array<FeeRule>;
|
|
2206
|
+
/**
|
|
2207
|
+
* Fee rule applicable to payment
|
|
2208
|
+
* @type {Array<FeeRule>}
|
|
2209
|
+
* @memberof FeeRules
|
|
2210
|
+
*/
|
|
2211
|
+
payment_rules: Array<FeeRule>;
|
|
2212
|
+
/**
|
|
2213
|
+
* Fee rule applicable to payouts
|
|
2214
|
+
* @type {Array<FeeRule>}
|
|
2215
|
+
* @memberof FeeRules
|
|
2216
|
+
*/
|
|
2217
|
+
payout_rules: Array<FeeRule>;
|
|
2218
|
+
}
|
|
2146
2219
|
/**
|
|
2147
2220
|
*
|
|
2148
2221
|
* @export
|
|
@@ -5187,6 +5260,12 @@ export interface PaymentAccountDetails {
|
|
|
5187
5260
|
* @memberof PaymentAccountDetails
|
|
5188
5261
|
*/
|
|
5189
5262
|
accountholder_name?: string;
|
|
5263
|
+
/**
|
|
5264
|
+
* The customer app ID
|
|
5265
|
+
* @type {string}
|
|
5266
|
+
* @memberof PaymentAccountDetails
|
|
5267
|
+
*/
|
|
5268
|
+
customer_app_id?: string;
|
|
5190
5269
|
/**
|
|
5191
5270
|
* Finverse Institution ID for the payment institution.
|
|
5192
5271
|
* @type {string}
|
|
@@ -5243,6 +5322,12 @@ export interface PaymentAccountDetails {
|
|
|
5243
5322
|
metadata?: {
|
|
5244
5323
|
[key: string]: string;
|
|
5245
5324
|
};
|
|
5325
|
+
/**
|
|
5326
|
+
*
|
|
5327
|
+
* @type {FeeRules}
|
|
5328
|
+
* @memberof PaymentAccountDetails
|
|
5329
|
+
*/
|
|
5330
|
+
fee_rules?: FeeRules;
|
|
5246
5331
|
/**
|
|
5247
5332
|
* Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
5248
5333
|
* @type {string}
|
|
@@ -5297,6 +5382,12 @@ export interface PaymentAccountDetailsWithEnrichedData {
|
|
|
5297
5382
|
* @memberof PaymentAccountDetailsWithEnrichedData
|
|
5298
5383
|
*/
|
|
5299
5384
|
accountholder_name?: string;
|
|
5385
|
+
/**
|
|
5386
|
+
* The customer app ID
|
|
5387
|
+
* @type {string}
|
|
5388
|
+
* @memberof PaymentAccountDetailsWithEnrichedData
|
|
5389
|
+
*/
|
|
5390
|
+
customer_app_id?: string;
|
|
5300
5391
|
/**
|
|
5301
5392
|
* Finverse Institution ID for the payment institution.
|
|
5302
5393
|
* @type {string}
|
|
@@ -5353,6 +5444,12 @@ export interface PaymentAccountDetailsWithEnrichedData {
|
|
|
5353
5444
|
metadata?: {
|
|
5354
5445
|
[key: string]: string;
|
|
5355
5446
|
};
|
|
5447
|
+
/**
|
|
5448
|
+
*
|
|
5449
|
+
* @type {FeeRules}
|
|
5450
|
+
* @memberof PaymentAccountDetailsWithEnrichedData
|
|
5451
|
+
*/
|
|
5452
|
+
fee_rules?: FeeRules;
|
|
5356
5453
|
/**
|
|
5357
5454
|
* Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
5358
5455
|
* @type {string}
|
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.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = void 0;
|
|
25
|
+
exports.ManualPaymentConfirmationResponseStatusEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.MandateAuthLinkCustomizationsLanguageEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestLanguageEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.IntegrationMetadataResponseIntegrationIdEnum = exports.IntegrationMetadataRequestIntegrationIdEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderUserTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.FvEmbeddedErrorModelTypeEnum = exports.FeeRuleFeePaidByEnum = exports.FeePaidByEnum = exports.FVCardDetailsFundingEnum = exports.FVCardStatusEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentUserRequestUserTypeEnum = exports.CreatePaymentMethodRequestPaymentMethodTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CardFvLinkResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
26
|
+
exports.ListPayoutsStatusesEnum = exports.ListPaymentsPaymentTypesEnum = exports.ListPaymentsPaymentTypeEnum = exports.ListPaymentsSenderTypeEnum = exports.ListPaymentsStatusesEnum = exports.ListMandatesSenderTypeEnum = exports.ListMandatesStatusesEnum = exports.ListDetokenizedMandatesSenderTypeEnum = exports.ListDetokenizedMandatesStatusesEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = exports.ListInstitutionsInstitutionTypeEnum = exports.GetLineItemsForDisplayPaymentTypeEnum = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.UpdatePaymentUserRequestUserTypeEnum = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutSnapshotResponseTypeEnum = exports.PayoutSnapshotResponseStatusEnum = exports.PaymentUserWithoutEmailUserTypeEnum = exports.PaymentUserUserTypeEnum = exports.PaymentSetupOptionsPaymentMethodTypesEnum = exports.PaymentSetupOptionsFuturePaymentsEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseSessionStatusEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentFvLinkResponseStatusEnum = exports.PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = exports.PaymentAccountDetailsAccountTypeEnum = void 0;
|
|
27
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.ListPayoutsPayoutTypesEnum = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -145,6 +145,10 @@ exports.FeePaidByEnum = {
|
|
|
145
145
|
Recipient: 'RECIPIENT',
|
|
146
146
|
Sender: 'SENDER',
|
|
147
147
|
};
|
|
148
|
+
exports.FeeRuleFeePaidByEnum = {
|
|
149
|
+
Sender: 'SENDER',
|
|
150
|
+
Recipient: 'RECIPIENT',
|
|
151
|
+
};
|
|
148
152
|
exports.FvEmbeddedErrorModelTypeEnum = {
|
|
149
153
|
LinkError: 'LINK_ERROR',
|
|
150
154
|
ApiError: 'API_ERROR',
|