@finverse/sdk-typescript 0.0.296 → 0.0.298
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 +103 -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
|
|
@@ -4108,6 +4181,12 @@ export interface ListPayoutsResponse {
|
|
|
4108
4181
|
* @memberof ListPayoutsResponse
|
|
4109
4182
|
*/
|
|
4110
4183
|
payouts: Array<PayoutSnapshotResponse>;
|
|
4184
|
+
/**
|
|
4185
|
+
*
|
|
4186
|
+
* @type {number}
|
|
4187
|
+
* @memberof ListPayoutsResponse
|
|
4188
|
+
*/
|
|
4189
|
+
total_payouts: number;
|
|
4111
4190
|
}
|
|
4112
4191
|
/**
|
|
4113
4192
|
*
|
|
@@ -5187,6 +5266,12 @@ export interface PaymentAccountDetails {
|
|
|
5187
5266
|
* @memberof PaymentAccountDetails
|
|
5188
5267
|
*/
|
|
5189
5268
|
accountholder_name?: string;
|
|
5269
|
+
/**
|
|
5270
|
+
* The customer app ID
|
|
5271
|
+
* @type {string}
|
|
5272
|
+
* @memberof PaymentAccountDetails
|
|
5273
|
+
*/
|
|
5274
|
+
customer_app_id?: string;
|
|
5190
5275
|
/**
|
|
5191
5276
|
* Finverse Institution ID for the payment institution.
|
|
5192
5277
|
* @type {string}
|
|
@@ -5243,6 +5328,12 @@ export interface PaymentAccountDetails {
|
|
|
5243
5328
|
metadata?: {
|
|
5244
5329
|
[key: string]: string;
|
|
5245
5330
|
};
|
|
5331
|
+
/**
|
|
5332
|
+
*
|
|
5333
|
+
* @type {FeeRules}
|
|
5334
|
+
* @memberof PaymentAccountDetails
|
|
5335
|
+
*/
|
|
5336
|
+
fee_rules?: FeeRules;
|
|
5246
5337
|
/**
|
|
5247
5338
|
* Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
5248
5339
|
* @type {string}
|
|
@@ -5297,6 +5388,12 @@ export interface PaymentAccountDetailsWithEnrichedData {
|
|
|
5297
5388
|
* @memberof PaymentAccountDetailsWithEnrichedData
|
|
5298
5389
|
*/
|
|
5299
5390
|
accountholder_name?: string;
|
|
5391
|
+
/**
|
|
5392
|
+
* The customer app ID
|
|
5393
|
+
* @type {string}
|
|
5394
|
+
* @memberof PaymentAccountDetailsWithEnrichedData
|
|
5395
|
+
*/
|
|
5396
|
+
customer_app_id?: string;
|
|
5300
5397
|
/**
|
|
5301
5398
|
* Finverse Institution ID for the payment institution.
|
|
5302
5399
|
* @type {string}
|
|
@@ -5353,6 +5450,12 @@ export interface PaymentAccountDetailsWithEnrichedData {
|
|
|
5353
5450
|
metadata?: {
|
|
5354
5451
|
[key: string]: string;
|
|
5355
5452
|
};
|
|
5453
|
+
/**
|
|
5454
|
+
*
|
|
5455
|
+
* @type {FeeRules}
|
|
5456
|
+
* @memberof PaymentAccountDetailsWithEnrichedData
|
|
5457
|
+
*/
|
|
5458
|
+
fee_rules?: FeeRules;
|
|
5356
5459
|
/**
|
|
5357
5460
|
* Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
5358
5461
|
* @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',
|