@finverse/sdk-typescript 0.0.299 → 0.0.301

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
@@ -860,6 +860,8 @@ export declare const CardFvLinkResponseStatusEnum: {
860
860
  readonly Unknown: "UNKNOWN";
861
861
  readonly Processing: "PROCESSING";
862
862
  readonly Succeeded: "SUCCEEDED";
863
+ readonly Cancelled: "CANCELLED";
864
+ readonly Failed: "FAILED";
863
865
  };
864
866
  export type CardFvLinkResponseStatusEnum = (typeof CardFvLinkResponseStatusEnum)[keyof typeof CardFvLinkResponseStatusEnum];
865
867
  /**
@@ -1250,6 +1252,9 @@ export declare const CreateMandateResponseStatusEnum: {
1250
1252
  readonly Succeeded: "SUCCEEDED";
1251
1253
  readonly Failed: "FAILED";
1252
1254
  readonly Revoked: "REVOKED";
1255
+ readonly ReadyToSubmit: "READY_TO_SUBMIT";
1256
+ readonly Closed: "CLOSED";
1257
+ readonly Cancelled: "CANCELLED";
1253
1258
  };
1254
1259
  export type CreateMandateResponseStatusEnum = (typeof CreateMandateResponseStatusEnum)[keyof typeof CreateMandateResponseStatusEnum];
1255
1260
  /**
@@ -2037,6 +2042,8 @@ export declare const FVCardStatusEnum: {
2037
2042
  readonly Unknown: "UNKNOWN";
2038
2043
  readonly Processing: "PROCESSING";
2039
2044
  readonly Succeeded: "SUCCEEDED";
2045
+ readonly Cancelled: "CANCELLED";
2046
+ readonly Failed: "FAILED";
2040
2047
  };
2041
2048
  export type FVCardStatusEnum = (typeof FVCardStatusEnum)[keyof typeof FVCardStatusEnum];
2042
2049
  /**
@@ -5042,6 +5049,8 @@ export declare const ManualPaymentConfirmationResponseStatusEnum: {
5042
5049
  readonly Executed: "EXECUTED";
5043
5050
  readonly Failed: "FAILED";
5044
5051
  readonly Revoked: "REVOKED";
5052
+ readonly Cancelled: "CANCELLED";
5053
+ readonly Created: "CREATED";
5045
5054
  };
5046
5055
  export type ManualPaymentConfirmationResponseStatusEnum = (typeof ManualPaymentConfirmationResponseStatusEnum)[keyof typeof ManualPaymentConfirmationResponseStatusEnum];
5047
5056
  /**
@@ -5570,6 +5579,8 @@ export declare const PaymentFvLinkResponseStatusEnum: {
5570
5579
  readonly Executed: "EXECUTED";
5571
5580
  readonly Failed: "FAILED";
5572
5581
  readonly Revoked: "REVOKED";
5582
+ readonly Cancelled: "CANCELLED";
5583
+ readonly Created: "CREATED";
5573
5584
  };
5574
5585
  export type PaymentFvLinkResponseStatusEnum = (typeof PaymentFvLinkResponseStatusEnum)[keyof typeof PaymentFvLinkResponseStatusEnum];
5575
5586
  /**
@@ -6359,6 +6370,8 @@ export declare const PaymentResponseStatusEnum: {
6359
6370
  readonly Executed: "EXECUTED";
6360
6371
  readonly Failed: "FAILED";
6361
6372
  readonly Revoked: "REVOKED";
6373
+ readonly Cancelled: "CANCELLED";
6374
+ readonly Created: "CREATED";
6362
6375
  };
6363
6376
  export type PaymentResponseStatusEnum = (typeof PaymentResponseStatusEnum)[keyof typeof PaymentResponseStatusEnum];
6364
6377
  /**
@@ -9213,6 +9226,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
9213
9226
  * @throws {RequiredError}
9214
9227
  */
9215
9228
  createScheduledPayout: (idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9229
+ /**
9230
+ * Demote payment attempt
9231
+ * @param {*} [options] Override http request option.
9232
+ * @throws {RequiredError}
9233
+ */
9234
+ demotePaymentAttempt: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9216
9235
  /**
9217
9236
  * Download the balance statement for the ledger (CSV)
9218
9237
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -9461,6 +9480,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9461
9480
  * @throws {RequiredError}
9462
9481
  */
9463
9482
  createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
9483
+ /**
9484
+ * Demote payment attempt
9485
+ * @param {*} [options] Override http request option.
9486
+ * @throws {RequiredError}
9487
+ */
9488
+ demotePaymentAttempt(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9464
9489
  /**
9465
9490
  * Download the balance statement for the ledger (CSV)
9466
9491
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -9709,6 +9734,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9709
9734
  * @throws {RequiredError}
9710
9735
  */
9711
9736
  createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
9737
+ /**
9738
+ * Demote payment attempt
9739
+ * @param {*} [options] Override http request option.
9740
+ * @throws {RequiredError}
9741
+ */
9742
+ demotePaymentAttempt(options?: RawAxiosRequestConfig): AxiosPromise<void>;
9712
9743
  /**
9713
9744
  * Download the balance statement for the ledger (CSV)
9714
9745
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -9970,6 +10001,13 @@ export interface DefaultApiInterface {
9970
10001
  * @memberof DefaultApiInterface
9971
10002
  */
9972
10003
  createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
10004
+ /**
10005
+ * Demote payment attempt
10006
+ * @param {*} [options] Override http request option.
10007
+ * @throws {RequiredError}
10008
+ * @memberof DefaultApiInterface
10009
+ */
10010
+ demotePaymentAttempt(options?: RawAxiosRequestConfig): AxiosPromise<void>;
9973
10011
  /**
9974
10012
  * Download the balance statement for the ledger (CSV)
9975
10013
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -10250,6 +10288,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
10250
10288
  * @memberof DefaultApi
10251
10289
  */
10252
10290
  createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse, any>>;
10291
+ /**
10292
+ * Demote payment attempt
10293
+ * @param {*} [options] Override http request option.
10294
+ * @throws {RequiredError}
10295
+ * @memberof DefaultApi
10296
+ */
10297
+ demotePaymentAttempt(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
10253
10298
  /**
10254
10299
  * Download the balance statement for the ledger (CSV)
10255
10300
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -10439,6 +10484,9 @@ export declare const ListDetokenizedMandatesStatusesEnum: {
10439
10484
  readonly Succeeded: "SUCCEEDED";
10440
10485
  readonly Failed: "FAILED";
10441
10486
  readonly Revoked: "REVOKED";
10487
+ readonly ReadyToSubmit: "READY_TO_SUBMIT";
10488
+ readonly Closed: "CLOSED";
10489
+ readonly Cancelled: "CANCELLED";
10442
10490
  };
10443
10491
  export type ListDetokenizedMandatesStatusesEnum = (typeof ListDetokenizedMandatesStatusesEnum)[keyof typeof ListDetokenizedMandatesStatusesEnum];
10444
10492
  /**
@@ -10460,6 +10508,9 @@ export declare const ListMandatesStatusesEnum: {
10460
10508
  readonly Succeeded: "SUCCEEDED";
10461
10509
  readonly Failed: "FAILED";
10462
10510
  readonly Revoked: "REVOKED";
10511
+ readonly ReadyToSubmit: "READY_TO_SUBMIT";
10512
+ readonly Closed: "CLOSED";
10513
+ readonly Cancelled: "CANCELLED";
10463
10514
  };
10464
10515
  export type ListMandatesStatusesEnum = (typeof ListMandatesStatusesEnum)[keyof typeof ListMandatesStatusesEnum];
10465
10516
  /**
@@ -10481,6 +10532,8 @@ export declare const ListPaymentsStatusesEnum: {
10481
10532
  readonly Executed: "EXECUTED";
10482
10533
  readonly Failed: "FAILED";
10483
10534
  readonly Revoked: "REVOKED";
10535
+ readonly Cancelled: "CANCELLED";
10536
+ readonly Created: "CREATED";
10484
10537
  };
10485
10538
  export type ListPaymentsStatusesEnum = (typeof ListPaymentsStatusesEnum)[keyof typeof ListPaymentsStatusesEnum];
10486
10539
  /**
package/dist/api.js CHANGED
@@ -85,6 +85,8 @@ exports.CardFvLinkResponseStatusEnum = {
85
85
  Unknown: 'UNKNOWN',
86
86
  Processing: 'PROCESSING',
87
87
  Succeeded: 'SUCCEEDED',
88
+ Cancelled: 'CANCELLED',
89
+ Failed: 'FAILED',
88
90
  };
89
91
  exports.CreateCardRequestStatusEnum = {
90
92
  Succeeded: 'SUCCEEDED',
@@ -100,6 +102,9 @@ exports.CreateMandateResponseStatusEnum = {
100
102
  Succeeded: 'SUCCEEDED',
101
103
  Failed: 'FAILED',
102
104
  Revoked: 'REVOKED',
105
+ ReadyToSubmit: 'READY_TO_SUBMIT',
106
+ Closed: 'CLOSED',
107
+ Cancelled: 'CANCELLED',
103
108
  };
104
109
  exports.CreateMandateSenderUserTypeEnum = {
105
110
  Individual: 'INDIVIDUAL',
@@ -134,6 +139,8 @@ exports.FVCardStatusEnum = {
134
139
  Unknown: 'UNKNOWN',
135
140
  Processing: 'PROCESSING',
136
141
  Succeeded: 'SUCCEEDED',
142
+ Cancelled: 'CANCELLED',
143
+ Failed: 'FAILED',
137
144
  };
138
145
  exports.FVCardDetailsFundingEnum = {
139
146
  Unknown: 'UNKNOWN',
@@ -272,6 +279,8 @@ exports.ManualPaymentConfirmationResponseStatusEnum = {
272
279
  Executed: 'EXECUTED',
273
280
  Failed: 'FAILED',
274
281
  Revoked: 'REVOKED',
282
+ Cancelled: 'CANCELLED',
283
+ Created: 'CREATED',
275
284
  };
276
285
  exports.PaymentAccountDetailsAccountTypeEnum = {
277
286
  ExternalAccount: 'EXTERNAL_ACCOUNT',
@@ -289,6 +298,8 @@ exports.PaymentFvLinkResponseStatusEnum = {
289
298
  Executed: 'EXECUTED',
290
299
  Failed: 'FAILED',
291
300
  Revoked: 'REVOKED',
301
+ Cancelled: 'CANCELLED',
302
+ Created: 'CREATED',
292
303
  };
293
304
  exports.PaymentInfoPaymentsSupportedEnum = {
294
305
  Mandate: 'MANDATE',
@@ -343,6 +354,8 @@ exports.PaymentResponseStatusEnum = {
343
354
  Executed: 'EXECUTED',
344
355
  Failed: 'FAILED',
345
356
  Revoked: 'REVOKED',
357
+ Cancelled: 'CANCELLED',
358
+ Created: 'CREATED',
346
359
  };
347
360
  exports.PaymentScheduleFrequencyEnum = {
348
361
  Daily: 'DAILY',
@@ -2707,6 +2720,33 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2707
2720
  options: localVarRequestOptions,
2708
2721
  };
2709
2722
  }),
2723
+ /**
2724
+ * Demote payment attempt
2725
+ * @param {*} [options] Override http request option.
2726
+ * @throws {RequiredError}
2727
+ */
2728
+ demotePaymentAttempt: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2729
+ const localVarPath = `/payment_link/fvlink/payment_attempt/demote`;
2730
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2731
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2732
+ let baseOptions;
2733
+ if (configuration) {
2734
+ baseOptions = configuration.baseOptions;
2735
+ }
2736
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2737
+ const localVarHeaderParameter = {};
2738
+ const localVarQueryParameter = {};
2739
+ // authentication Oauth2 required
2740
+ // oauth required
2741
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
2742
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2743
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2744
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2745
+ return {
2746
+ url: (0, common_1.toPathString)(localVarUrlObj),
2747
+ options: localVarRequestOptions,
2748
+ };
2749
+ }),
2710
2750
  /**
2711
2751
  * Download the balance statement for the ledger (CSV)
2712
2752
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -3593,6 +3633,20 @@ const DefaultApiFp = function (configuration) {
3593
3633
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3594
3634
  });
3595
3635
  },
3636
+ /**
3637
+ * Demote payment attempt
3638
+ * @param {*} [options] Override http request option.
3639
+ * @throws {RequiredError}
3640
+ */
3641
+ demotePaymentAttempt(options) {
3642
+ return __awaiter(this, void 0, void 0, function* () {
3643
+ var _a, _b, _c;
3644
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.demotePaymentAttempt(options);
3645
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3646
+ 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;
3647
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3648
+ });
3649
+ },
3596
3650
  /**
3597
3651
  * Download the balance statement for the ledger (CSV)
3598
3652
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -4025,6 +4079,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4025
4079
  .createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
4026
4080
  .then((request) => request(axios, basePath));
4027
4081
  },
4082
+ /**
4083
+ * Demote payment attempt
4084
+ * @param {*} [options] Override http request option.
4085
+ * @throws {RequiredError}
4086
+ */
4087
+ demotePaymentAttempt(options) {
4088
+ return localVarFp.demotePaymentAttempt(options).then((request) => request(axios, basePath));
4089
+ },
4028
4090
  /**
4029
4091
  * Download the balance statement for the ledger (CSV)
4030
4092
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -4387,6 +4449,17 @@ class DefaultApi extends base_1.BaseAPI {
4387
4449
  .createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
4388
4450
  .then((request) => request(this.axios, this.basePath));
4389
4451
  }
4452
+ /**
4453
+ * Demote payment attempt
4454
+ * @param {*} [options] Override http request option.
4455
+ * @throws {RequiredError}
4456
+ * @memberof DefaultApi
4457
+ */
4458
+ demotePaymentAttempt(options) {
4459
+ return (0, exports.DefaultApiFp)(this.configuration)
4460
+ .demotePaymentAttempt(options)
4461
+ .then((request) => request(this.axios, this.basePath));
4462
+ }
4390
4463
  /**
4391
4464
  * Download the balance statement for the ledger (CSV)
4392
4465
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -4649,6 +4722,9 @@ exports.ListDetokenizedMandatesStatusesEnum = {
4649
4722
  Succeeded: 'SUCCEEDED',
4650
4723
  Failed: 'FAILED',
4651
4724
  Revoked: 'REVOKED',
4725
+ ReadyToSubmit: 'READY_TO_SUBMIT',
4726
+ Closed: 'CLOSED',
4727
+ Cancelled: 'CANCELLED',
4652
4728
  };
4653
4729
  /**
4654
4730
  * @export
@@ -4668,6 +4744,9 @@ exports.ListMandatesStatusesEnum = {
4668
4744
  Succeeded: 'SUCCEEDED',
4669
4745
  Failed: 'FAILED',
4670
4746
  Revoked: 'REVOKED',
4747
+ ReadyToSubmit: 'READY_TO_SUBMIT',
4748
+ Closed: 'CLOSED',
4749
+ Cancelled: 'CANCELLED',
4671
4750
  };
4672
4751
  /**
4673
4752
  * @export
@@ -4687,6 +4766,8 @@ exports.ListPaymentsStatusesEnum = {
4687
4766
  Executed: 'EXECUTED',
4688
4767
  Failed: 'FAILED',
4689
4768
  Revoked: 'REVOKED',
4769
+ Cancelled: 'CANCELLED',
4770
+ Created: 'CREATED',
4690
4771
  };
4691
4772
  /**
4692
4773
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.299",
3
+ "version": "0.0.301",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {