@finverse/sdk-typescript 0.0.46 → 0.0.47

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
@@ -857,6 +857,19 @@ export interface GetIdentityResponse {
857
857
  */
858
858
  institution?: InstitutionShort;
859
859
  }
860
+ /**
861
+ *
862
+ * @export
863
+ * @interface GetJWKSResponse
864
+ */
865
+ export interface GetJWKSResponse {
866
+ /**
867
+ *
868
+ * @type {Array<JWKSKey>}
869
+ * @memberof GetJWKSResponse
870
+ */
871
+ keys?: Array<JWKSKey>;
872
+ }
860
873
  /**
861
874
  *
862
875
  * @export
@@ -1649,6 +1662,49 @@ export interface InstitutionShort {
1649
1662
  */
1650
1663
  portal_name?: string;
1651
1664
  }
1665
+ /**
1666
+ *
1667
+ * @export
1668
+ * @interface JWKSKey
1669
+ */
1670
+ export interface JWKSKey {
1671
+ /**
1672
+ * The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\".
1673
+ * @type {string}
1674
+ * @memberof JWKSKey
1675
+ */
1676
+ kty?: string;
1677
+ /**
1678
+ * The \"kid\" (key ID) parameter is used to match a specific key
1679
+ * @type {string}
1680
+ * @memberof JWKSKey
1681
+ */
1682
+ kid?: string;
1683
+ /**
1684
+ * The \"use\" (public key use) parameter identifies the intended use of the public key
1685
+ * @type {string}
1686
+ * @memberof JWKSKey
1687
+ */
1688
+ use?: string;
1689
+ /**
1690
+ * RSA key value \"e\"
1691
+ * @type {string}
1692
+ * @memberof JWKSKey
1693
+ */
1694
+ e?: string;
1695
+ /**
1696
+ * RSA key value \"n\"
1697
+ * @type {string}
1698
+ * @memberof JWKSKey
1699
+ */
1700
+ n?: string;
1701
+ /**
1702
+ * The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates
1703
+ * @type {Array<string>}
1704
+ * @memberof JWKSKey
1705
+ */
1706
+ x5c?: Array<string>;
1707
+ }
1652
1708
  /**
1653
1709
  *
1654
1710
  * @export
@@ -4373,6 +4429,12 @@ export declare const PublicApiAxiosParamCreator: (configuration?: Configuration)
4373
4429
  * @throws {RequiredError}
4374
4430
  */
4375
4431
  generateCustomerAccessToken: (tokenRequest?: TokenRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4432
+ /**
4433
+ * get payment jwks
4434
+ * @param {*} [options] Override http request option.
4435
+ * @throws {RequiredError}
4436
+ */
4437
+ getPaymentsJwks: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
4376
4438
  };
4377
4439
  /**
4378
4440
  * PublicApi - functional programming interface
@@ -4397,6 +4459,12 @@ export declare const PublicApiFp: (configuration?: Configuration) => {
4397
4459
  * @throws {RequiredError}
4398
4460
  */
4399
4461
  generateCustomerAccessToken(tokenRequest?: TokenRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokenResponse>>;
4462
+ /**
4463
+ * get payment jwks
4464
+ * @param {*} [options] Override http request option.
4465
+ * @throws {RequiredError}
4466
+ */
4467
+ getPaymentsJwks(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetJWKSResponse>>;
4400
4468
  };
4401
4469
  /**
4402
4470
  * PublicApi - factory interface
@@ -4421,6 +4489,12 @@ export declare const PublicApiFactory: (configuration?: Configuration, basePath?
4421
4489
  * @throws {RequiredError}
4422
4490
  */
4423
4491
  generateCustomerAccessToken(tokenRequest?: TokenRequest, options?: any): AxiosPromise<TokenResponse>;
4492
+ /**
4493
+ * get payment jwks
4494
+ * @param {*} [options] Override http request option.
4495
+ * @throws {RequiredError}
4496
+ */
4497
+ getPaymentsJwks(options?: any): AxiosPromise<GetJWKSResponse>;
4424
4498
  };
4425
4499
  /**
4426
4500
  * PublicApi - interface
@@ -4448,6 +4522,13 @@ export interface PublicApiInterface {
4448
4522
  * @memberof PublicApiInterface
4449
4523
  */
4450
4524
  generateCustomerAccessToken(tokenRequest?: TokenRequest, options?: AxiosRequestConfig): AxiosPromise<TokenResponse>;
4525
+ /**
4526
+ * get payment jwks
4527
+ * @param {*} [options] Override http request option.
4528
+ * @throws {RequiredError}
4529
+ * @memberof PublicApiInterface
4530
+ */
4531
+ getPaymentsJwks(options?: AxiosRequestConfig): AxiosPromise<GetJWKSResponse>;
4451
4532
  }
4452
4533
  /**
4453
4534
  * PublicApi - object-oriented interface
@@ -4476,4 +4557,11 @@ export declare class PublicApi extends BaseAPI implements PublicApiInterface {
4476
4557
  * @memberof PublicApi
4477
4558
  */
4478
4559
  generateCustomerAccessToken(tokenRequest?: TokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TokenResponse>>;
4560
+ /**
4561
+ * get payment jwks
4562
+ * @param {*} [options] Override http request option.
4563
+ * @throws {RequiredError}
4564
+ * @memberof PublicApi
4565
+ */
4566
+ getPaymentsJwks(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetJWKSResponse>>;
4479
4567
  }
package/dist/api.js CHANGED
@@ -2396,6 +2396,33 @@ exports.PublicApiAxiosParamCreator = function (configuration) {
2396
2396
  options: localVarRequestOptions,
2397
2397
  };
2398
2398
  }),
2399
+ /**
2400
+ * get payment jwks
2401
+ * @param {*} [options] Override http request option.
2402
+ * @throws {RequiredError}
2403
+ */
2404
+ getPaymentsJwks: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2405
+ const localVarPath = `/payments/jwks`;
2406
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2407
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2408
+ let baseOptions;
2409
+ if (configuration) {
2410
+ baseOptions = configuration.baseOptions;
2411
+ }
2412
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2413
+ const localVarHeaderParameter = {};
2414
+ const localVarQueryParameter = {};
2415
+ // authentication Oauth2 required
2416
+ // oauth required
2417
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', ['test'], configuration);
2418
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
2419
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2420
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2421
+ return {
2422
+ url: common_1.toPathString(localVarUrlObj),
2423
+ options: localVarRequestOptions,
2424
+ };
2425
+ }),
2399
2426
  };
2400
2427
  };
2401
2428
  /**
@@ -2433,6 +2460,17 @@ exports.PublicApiFp = function (configuration) {
2433
2460
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2434
2461
  });
2435
2462
  },
2463
+ /**
2464
+ * get payment jwks
2465
+ * @param {*} [options] Override http request option.
2466
+ * @throws {RequiredError}
2467
+ */
2468
+ getPaymentsJwks(options) {
2469
+ return __awaiter(this, void 0, void 0, function* () {
2470
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPaymentsJwks(options);
2471
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2472
+ });
2473
+ },
2436
2474
  };
2437
2475
  };
2438
2476
  /**
@@ -2466,6 +2504,14 @@ exports.PublicApiFactory = function (configuration, basePath, axios) {
2466
2504
  generateCustomerAccessToken(tokenRequest, options) {
2467
2505
  return localVarFp.generateCustomerAccessToken(tokenRequest, options).then((request) => request(axios, basePath));
2468
2506
  },
2507
+ /**
2508
+ * get payment jwks
2509
+ * @param {*} [options] Override http request option.
2510
+ * @throws {RequiredError}
2511
+ */
2512
+ getPaymentsJwks(options) {
2513
+ return localVarFp.getPaymentsJwks(options).then((request) => request(axios, basePath));
2514
+ },
2469
2515
  };
2470
2516
  };
2471
2517
  /**
@@ -2503,5 +2549,16 @@ class PublicApi extends base_1.BaseAPI {
2503
2549
  .generateCustomerAccessToken(tokenRequest, options)
2504
2550
  .then((request) => request(this.axios, this.basePath));
2505
2551
  }
2552
+ /**
2553
+ * get payment jwks
2554
+ * @param {*} [options] Override http request option.
2555
+ * @throws {RequiredError}
2556
+ * @memberof PublicApi
2557
+ */
2558
+ getPaymentsJwks(options) {
2559
+ return exports.PublicApiFp(this.configuration)
2560
+ .getPaymentsJwks(options)
2561
+ .then((request) => request(this.axios, this.basePath));
2562
+ }
2506
2563
  }
2507
2564
  exports.PublicApi = PublicApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -27,7 +27,7 @@
27
27
  "axios-mock-adapter": "^1.21.1",
28
28
  "chai": "^4.3.6",
29
29
  "mocha": "^10.0.0",
30
- "ts-node": "^10.8.2",
30
+ "ts-node": "^10.9.1",
31
31
  "typescript": "^3.6.4"
32
32
  },
33
33
  "files": [