@finverse/sdk-typescript 0.0.301 → 0.0.303

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
@@ -2106,6 +2106,12 @@ export interface FVCardDetails {
2106
2106
  * @memberof FVCardDetails
2107
2107
  */
2108
2108
  funding?: FVCardDetailsFundingEnum;
2109
+ /**
2110
+ *
2111
+ * @type {string}
2112
+ * @memberof FVCardDetails
2113
+ */
2114
+ finverse_authorization_reference?: string;
2109
2115
  }
2110
2116
  export declare const FVCardDetailsFundingEnum: {
2111
2117
  readonly Unknown: "UNKNOWN";
@@ -9377,12 +9383,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
9377
9383
  * @throws {RequiredError}
9378
9384
  */
9379
9385
  setAutopayConsent: (setAutopayConsentRequest: SetAutopayConsentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9380
- /**
9381
- * Unlink payment on payment link
9382
- * @param {*} [options] Override http request option.
9383
- * @throws {RequiredError}
9384
- */
9385
- unlinkPaymentPaymentLink: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9386
9386
  /**
9387
9387
  * Update a payment user
9388
9388
  * @param {string} paymentUserId
@@ -9631,12 +9631,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9631
9631
  * @throws {RequiredError}
9632
9632
  */
9633
9633
  setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9634
- /**
9635
- * Unlink payment on payment link
9636
- * @param {*} [options] Override http request option.
9637
- * @throws {RequiredError}
9638
- */
9639
- unlinkPaymentPaymentLink(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9640
9634
  /**
9641
9635
  * Update a payment user
9642
9636
  * @param {string} paymentUserId
@@ -9885,12 +9879,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9885
9879
  * @throws {RequiredError}
9886
9880
  */
9887
9881
  setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9888
- /**
9889
- * Unlink payment on payment link
9890
- * @param {*} [options] Override http request option.
9891
- * @throws {RequiredError}
9892
- */
9893
- unlinkPaymentPaymentLink(options?: RawAxiosRequestConfig): AxiosPromise<void>;
9894
9882
  /**
9895
9883
  * Update a payment user
9896
9884
  * @param {string} paymentUserId
@@ -10169,13 +10157,6 @@ export interface DefaultApiInterface {
10169
10157
  * @memberof DefaultApiInterface
10170
10158
  */
10171
10159
  setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
10172
- /**
10173
- * Unlink payment on payment link
10174
- * @param {*} [options] Override http request option.
10175
- * @throws {RequiredError}
10176
- * @memberof DefaultApiInterface
10177
- */
10178
- unlinkPaymentPaymentLink(options?: RawAxiosRequestConfig): AxiosPromise<void>;
10179
10160
  /**
10180
10161
  * Update a payment user
10181
10162
  * @param {string} paymentUserId
@@ -10456,13 +10437,6 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
10456
10437
  * @memberof DefaultApi
10457
10438
  */
10458
10439
  setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
10459
- /**
10460
- * Unlink payment on payment link
10461
- * @param {*} [options] Override http request option.
10462
- * @throws {RequiredError}
10463
- * @memberof DefaultApi
10464
- */
10465
- unlinkPaymentPaymentLink(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
10466
10440
  /**
10467
10441
  * Update a payment user
10468
10442
  * @param {string} paymentUserId
package/dist/api.js CHANGED
@@ -3382,33 +3382,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
3382
3382
  options: localVarRequestOptions,
3383
3383
  };
3384
3384
  }),
3385
- /**
3386
- * Unlink payment on payment link
3387
- * @param {*} [options] Override http request option.
3388
- * @throws {RequiredError}
3389
- */
3390
- unlinkPaymentPaymentLink: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3391
- const localVarPath = `/payment_link/fvlink/payment/unlink`;
3392
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3393
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3394
- let baseOptions;
3395
- if (configuration) {
3396
- baseOptions = configuration.baseOptions;
3397
- }
3398
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3399
- const localVarHeaderParameter = {};
3400
- const localVarQueryParameter = {};
3401
- // authentication Oauth2 required
3402
- // oauth required
3403
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
3404
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3405
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3406
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3407
- return {
3408
- url: (0, common_1.toPathString)(localVarUrlObj),
3409
- options: localVarRequestOptions,
3410
- };
3411
- }),
3412
3385
  /**
3413
3386
  * Update a payment user
3414
3387
  * @param {string} paymentUserId
@@ -3920,20 +3893,6 @@ const DefaultApiFp = function (configuration) {
3920
3893
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3921
3894
  });
3922
3895
  },
3923
- /**
3924
- * Unlink payment on payment link
3925
- * @param {*} [options] Override http request option.
3926
- * @throws {RequiredError}
3927
- */
3928
- unlinkPaymentPaymentLink(options) {
3929
- return __awaiter(this, void 0, void 0, function* () {
3930
- var _a, _b, _c;
3931
- const localVarAxiosArgs = yield localVarAxiosParamCreator.unlinkPaymentPaymentLink(options);
3932
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3933
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.unlinkPaymentPaymentLink']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3934
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3935
- });
3936
- },
3937
3896
  /**
3938
3897
  * Update a payment user
3939
3898
  * @param {string} paymentUserId
@@ -4276,14 +4235,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4276
4235
  .setAutopayConsent(setAutopayConsentRequest, options)
4277
4236
  .then((request) => request(axios, basePath));
4278
4237
  },
4279
- /**
4280
- * Unlink payment on payment link
4281
- * @param {*} [options] Override http request option.
4282
- * @throws {RequiredError}
4283
- */
4284
- unlinkPaymentPaymentLink(options) {
4285
- return localVarFp.unlinkPaymentPaymentLink(options).then((request) => request(axios, basePath));
4286
- },
4287
4238
  /**
4288
4239
  * Update a payment user
4289
4240
  * @param {string} paymentUserId
@@ -4685,17 +4636,6 @@ class DefaultApi extends base_1.BaseAPI {
4685
4636
  .setAutopayConsent(setAutopayConsentRequest, options)
4686
4637
  .then((request) => request(this.axios, this.basePath));
4687
4638
  }
4688
- /**
4689
- * Unlink payment on payment link
4690
- * @param {*} [options] Override http request option.
4691
- * @throws {RequiredError}
4692
- * @memberof DefaultApi
4693
- */
4694
- unlinkPaymentPaymentLink(options) {
4695
- return (0, exports.DefaultApiFp)(this.configuration)
4696
- .unlinkPaymentPaymentLink(options)
4697
- .then((request) => request(this.axios, this.basePath));
4698
- }
4699
4639
  /**
4700
4640
  * Update a payment user
4701
4641
  * @param {string} paymentUserId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.301",
3
+ "version": "0.0.303",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -27,12 +27,12 @@
27
27
  "axios": "1.8.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/chai": "^5.2.1",
30
+ "@types/chai": "^5.2.2",
31
31
  "@types/mocha": "^10.0.10",
32
32
  "@types/node": "12.11.5 - 12.20.42",
33
33
  "axios-mock-adapter": "^1.21.2",
34
34
  "chai": "^5.2.0",
35
- "mocha": "^11.1.0",
35
+ "mocha": "^11.4.0",
36
36
  "ts-node": "^10.9.2",
37
37
  "typescript": "^4.0 || ^5.0"
38
38
  },