@finverse/sdk-typescript 0.0.152 → 0.0.153

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
@@ -6197,6 +6197,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
6197
6197
  * @throws {RequiredError}
6198
6198
  */
6199
6199
  createPaymentLinkMandate: (createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6200
+ /**
6201
+ * Get a customer-specific list of institutions for Finverse Link
6202
+ * @param {*} [options] Override http request option.
6203
+ * @throws {RequiredError}
6204
+ */
6205
+ getInstitutionsForCustomer: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
6200
6206
  /**
6201
6207
  * Get payment link
6202
6208
  * @param {string} paymentLinkId The payment link id
@@ -6300,6 +6306,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
6300
6306
  * @throws {RequiredError}
6301
6307
  */
6302
6308
  createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentLinkMandateResponse>>;
6309
+ /**
6310
+ * Get a customer-specific list of institutions for Finverse Link
6311
+ * @param {*} [options] Override http request option.
6312
+ * @throws {RequiredError}
6313
+ */
6314
+ getInstitutionsForCustomer(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Institution>>>;
6303
6315
  /**
6304
6316
  * Get payment link
6305
6317
  * @param {string} paymentLinkId The payment link id
@@ -6403,6 +6415,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
6403
6415
  * @throws {RequiredError}
6404
6416
  */
6405
6417
  createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: any): AxiosPromise<CreatePaymentLinkMandateResponse>;
6418
+ /**
6419
+ * Get a customer-specific list of institutions for Finverse Link
6420
+ * @param {*} [options] Override http request option.
6421
+ * @throws {RequiredError}
6422
+ */
6423
+ getInstitutionsForCustomer(options?: any): AxiosPromise<Array<Institution>>;
6406
6424
  /**
6407
6425
  * Get payment link
6408
6426
  * @param {string} paymentLinkId The payment link id
@@ -6514,6 +6532,13 @@ export interface DefaultApiInterface {
6514
6532
  * @memberof DefaultApiInterface
6515
6533
  */
6516
6534
  createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): AxiosPromise<CreatePaymentLinkMandateResponse>;
6535
+ /**
6536
+ * Get a customer-specific list of institutions for Finverse Link
6537
+ * @param {*} [options] Override http request option.
6538
+ * @throws {RequiredError}
6539
+ * @memberof DefaultApiInterface
6540
+ */
6541
+ getInstitutionsForCustomer(options?: AxiosRequestConfig): AxiosPromise<Array<Institution>>;
6517
6542
  /**
6518
6543
  * Get payment link
6519
6544
  * @param {string} paymentLinkId The payment link id
@@ -6631,6 +6656,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
6631
6656
  * @memberof DefaultApi
6632
6657
  */
6633
6658
  createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentLinkMandateResponse>>;
6659
+ /**
6660
+ * Get a customer-specific list of institutions for Finverse Link
6661
+ * @param {*} [options] Override http request option.
6662
+ * @throws {RequiredError}
6663
+ * @memberof DefaultApi
6664
+ */
6665
+ getInstitutionsForCustomer(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Institution[]>>;
6634
6666
  /**
6635
6667
  * Get payment link
6636
6668
  * @param {string} paymentLinkId The payment link id
package/dist/api.js CHANGED
@@ -1798,6 +1798,33 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
1798
1798
  options: localVarRequestOptions,
1799
1799
  };
1800
1800
  }),
1801
+ /**
1802
+ * Get a customer-specific list of institutions for Finverse Link
1803
+ * @param {*} [options] Override http request option.
1804
+ * @throws {RequiredError}
1805
+ */
1806
+ getInstitutionsForCustomer: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1807
+ const localVarPath = `/institutions/customer`;
1808
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1809
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1810
+ let baseOptions;
1811
+ if (configuration) {
1812
+ baseOptions = configuration.baseOptions;
1813
+ }
1814
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1815
+ const localVarHeaderParameter = {};
1816
+ const localVarQueryParameter = {};
1817
+ // authentication Oauth2 required
1818
+ // oauth required
1819
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
1820
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
1821
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1822
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1823
+ return {
1824
+ url: common_1.toPathString(localVarUrlObj),
1825
+ options: localVarRequestOptions,
1826
+ };
1827
+ }),
1801
1828
  /**
1802
1829
  * Get payment link
1803
1830
  * @param {string} paymentLinkId The payment link id
@@ -2111,6 +2138,17 @@ exports.DefaultApiFp = function (configuration) {
2111
2138
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2112
2139
  });
2113
2140
  },
2141
+ /**
2142
+ * Get a customer-specific list of institutions for Finverse Link
2143
+ * @param {*} [options] Override http request option.
2144
+ * @throws {RequiredError}
2145
+ */
2146
+ getInstitutionsForCustomer(options) {
2147
+ return __awaiter(this, void 0, void 0, function* () {
2148
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstitutionsForCustomer(options);
2149
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2150
+ });
2151
+ },
2114
2152
  /**
2115
2153
  * Get payment link
2116
2154
  * @param {string} paymentLinkId The payment link id
@@ -2262,6 +2300,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
2262
2300
  .createPaymentLinkMandate(createPaymentLinkMandateRequest, options)
2263
2301
  .then((request) => request(axios, basePath));
2264
2302
  },
2303
+ /**
2304
+ * Get a customer-specific list of institutions for Finverse Link
2305
+ * @param {*} [options] Override http request option.
2306
+ * @throws {RequiredError}
2307
+ */
2308
+ getInstitutionsForCustomer(options) {
2309
+ return localVarFp.getInstitutionsForCustomer(options).then((request) => request(axios, basePath));
2310
+ },
2265
2311
  /**
2266
2312
  * Get payment link
2267
2313
  * @param {string} paymentLinkId The payment link id
@@ -2419,6 +2465,17 @@ class DefaultApi extends base_1.BaseAPI {
2419
2465
  .createPaymentLinkMandate(createPaymentLinkMandateRequest, options)
2420
2466
  .then((request) => request(this.axios, this.basePath));
2421
2467
  }
2468
+ /**
2469
+ * Get a customer-specific list of institutions for Finverse Link
2470
+ * @param {*} [options] Override http request option.
2471
+ * @throws {RequiredError}
2472
+ * @memberof DefaultApi
2473
+ */
2474
+ getInstitutionsForCustomer(options) {
2475
+ return exports.DefaultApiFp(this.configuration)
2476
+ .getInstitutionsForCustomer(options)
2477
+ .then((request) => request(this.axios, this.basePath));
2478
+ }
2422
2479
  /**
2423
2480
  * Get payment link
2424
2481
  * @param {string} paymentLinkId The payment link id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.152",
3
+ "version": "0.0.153",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [