@finverse/sdk-typescript 0.0.298 → 0.0.300

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 CHANGED
@@ -2143,79 +2143,6 @@ 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
- }
2219
2146
  /**
2220
2147
  *
2221
2148
  * @export
@@ -5328,12 +5255,6 @@ export interface PaymentAccountDetails {
5328
5255
  metadata?: {
5329
5256
  [key: string]: string;
5330
5257
  };
5331
- /**
5332
- *
5333
- * @type {FeeRules}
5334
- * @memberof PaymentAccountDetails
5335
- */
5336
- fee_rules?: FeeRules;
5337
5258
  /**
5338
5259
  * Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
5339
5260
  * @type {string}
@@ -5450,12 +5371,6 @@ export interface PaymentAccountDetailsWithEnrichedData {
5450
5371
  metadata?: {
5451
5372
  [key: string]: string;
5452
5373
  };
5453
- /**
5454
- *
5455
- * @type {FeeRules}
5456
- * @memberof PaymentAccountDetailsWithEnrichedData
5457
- */
5458
- fee_rules?: FeeRules;
5459
5374
  /**
5460
5375
  * Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
5461
5376
  * @type {string}
@@ -6261,7 +6176,7 @@ export interface PaymentMethodOverview {
6261
6176
  * @type {boolean}
6262
6177
  * @memberof PaymentMethodOverview
6263
6178
  */
6264
- live_mode?: boolean;
6179
+ live_mode: boolean;
6265
6180
  /**
6266
6181
  * Shows which currencies are supported
6267
6182
  * @type {Array<string>}
@@ -9298,6 +9213,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
9298
9213
  * @throws {RequiredError}
9299
9214
  */
9300
9215
  createScheduledPayout: (idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9216
+ /**
9217
+ * Demote payment attempt
9218
+ * @param {*} [options] Override http request option.
9219
+ * @throws {RequiredError}
9220
+ */
9221
+ demotePaymentAttempt: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9301
9222
  /**
9302
9223
  * Download the balance statement for the ledger (CSV)
9303
9224
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -9546,6 +9467,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9546
9467
  * @throws {RequiredError}
9547
9468
  */
9548
9469
  createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
9470
+ /**
9471
+ * Demote payment attempt
9472
+ * @param {*} [options] Override http request option.
9473
+ * @throws {RequiredError}
9474
+ */
9475
+ demotePaymentAttempt(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9549
9476
  /**
9550
9477
  * Download the balance statement for the ledger (CSV)
9551
9478
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -9794,6 +9721,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9794
9721
  * @throws {RequiredError}
9795
9722
  */
9796
9723
  createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
9724
+ /**
9725
+ * Demote payment attempt
9726
+ * @param {*} [options] Override http request option.
9727
+ * @throws {RequiredError}
9728
+ */
9729
+ demotePaymentAttempt(options?: RawAxiosRequestConfig): AxiosPromise<void>;
9797
9730
  /**
9798
9731
  * Download the balance statement for the ledger (CSV)
9799
9732
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -10055,6 +9988,13 @@ export interface DefaultApiInterface {
10055
9988
  * @memberof DefaultApiInterface
10056
9989
  */
10057
9990
  createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
9991
+ /**
9992
+ * Demote payment attempt
9993
+ * @param {*} [options] Override http request option.
9994
+ * @throws {RequiredError}
9995
+ * @memberof DefaultApiInterface
9996
+ */
9997
+ demotePaymentAttempt(options?: RawAxiosRequestConfig): AxiosPromise<void>;
10058
9998
  /**
10059
9999
  * Download the balance statement for the ledger (CSV)
10060
10000
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -10335,6 +10275,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
10335
10275
  * @memberof DefaultApi
10336
10276
  */
10337
10277
  createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse, any>>;
10278
+ /**
10279
+ * Demote payment attempt
10280
+ * @param {*} [options] Override http request option.
10281
+ * @throws {RequiredError}
10282
+ * @memberof DefaultApi
10283
+ */
10284
+ demotePaymentAttempt(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
10338
10285
  /**
10339
10286
  * Download the balance statement for the ledger (CSV)
10340
10287
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
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.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;
25
+ exports.PaymentAccountDetailsAccountTypeEnum = 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.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.ListPayoutsPayoutTypesEnum = 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 = 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 = void 0;
28
28
  const axios_1 = require("axios");
29
29
  // Some imports not used depending on template conditions
30
30
  // @ts-ignore
@@ -145,10 +145,6 @@ exports.FeePaidByEnum = {
145
145
  Recipient: 'RECIPIENT',
146
146
  Sender: 'SENDER',
147
147
  };
148
- exports.FeeRuleFeePaidByEnum = {
149
- Sender: 'SENDER',
150
- Recipient: 'RECIPIENT',
151
- };
152
148
  exports.FvEmbeddedErrorModelTypeEnum = {
153
149
  LinkError: 'LINK_ERROR',
154
150
  ApiError: 'API_ERROR',
@@ -2711,6 +2707,33 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2711
2707
  options: localVarRequestOptions,
2712
2708
  };
2713
2709
  }),
2710
+ /**
2711
+ * Demote payment attempt
2712
+ * @param {*} [options] Override http request option.
2713
+ * @throws {RequiredError}
2714
+ */
2715
+ demotePaymentAttempt: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2716
+ const localVarPath = `/payment_link/fvlink/payment_attempt/demote`;
2717
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2718
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2719
+ let baseOptions;
2720
+ if (configuration) {
2721
+ baseOptions = configuration.baseOptions;
2722
+ }
2723
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2724
+ const localVarHeaderParameter = {};
2725
+ const localVarQueryParameter = {};
2726
+ // authentication Oauth2 required
2727
+ // oauth required
2728
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
2729
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2730
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2731
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2732
+ return {
2733
+ url: (0, common_1.toPathString)(localVarUrlObj),
2734
+ options: localVarRequestOptions,
2735
+ };
2736
+ }),
2714
2737
  /**
2715
2738
  * Download the balance statement for the ledger (CSV)
2716
2739
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -3597,6 +3620,20 @@ const DefaultApiFp = function (configuration) {
3597
3620
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3598
3621
  });
3599
3622
  },
3623
+ /**
3624
+ * Demote payment attempt
3625
+ * @param {*} [options] Override http request option.
3626
+ * @throws {RequiredError}
3627
+ */
3628
+ demotePaymentAttempt(options) {
3629
+ return __awaiter(this, void 0, void 0, function* () {
3630
+ var _a, _b, _c;
3631
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.demotePaymentAttempt(options);
3632
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3633
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.demotePaymentAttempt']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3634
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3635
+ });
3636
+ },
3600
3637
  /**
3601
3638
  * Download the balance statement for the ledger (CSV)
3602
3639
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -4029,6 +4066,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4029
4066
  .createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
4030
4067
  .then((request) => request(axios, basePath));
4031
4068
  },
4069
+ /**
4070
+ * Demote payment attempt
4071
+ * @param {*} [options] Override http request option.
4072
+ * @throws {RequiredError}
4073
+ */
4074
+ demotePaymentAttempt(options) {
4075
+ return localVarFp.demotePaymentAttempt(options).then((request) => request(axios, basePath));
4076
+ },
4032
4077
  /**
4033
4078
  * Download the balance statement for the ledger (CSV)
4034
4079
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -4391,6 +4436,17 @@ class DefaultApi extends base_1.BaseAPI {
4391
4436
  .createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
4392
4437
  .then((request) => request(this.axios, this.basePath));
4393
4438
  }
4439
+ /**
4440
+ * Demote payment attempt
4441
+ * @param {*} [options] Override http request option.
4442
+ * @throws {RequiredError}
4443
+ * @memberof DefaultApi
4444
+ */
4445
+ demotePaymentAttempt(options) {
4446
+ return (0, exports.DefaultApiFp)(this.configuration)
4447
+ .demotePaymentAttempt(options)
4448
+ .then((request) => request(this.axios, this.basePath));
4449
+ }
4394
4450
  /**
4395
4451
  * Download the balance statement for the ledger (CSV)
4396
4452
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.298",
3
+ "version": "0.0.300",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {