@finverse/sdk-typescript 0.0.190 → 0.0.191

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
@@ -1707,6 +1707,19 @@ export declare const FeePaidByEnum: {
1707
1707
  readonly Sender: "SENDER";
1708
1708
  };
1709
1709
  export declare type FeePaidByEnum = (typeof FeePaidByEnum)[keyof typeof FeePaidByEnum];
1710
+ /**
1711
+ *
1712
+ * @export
1713
+ * @interface FpsQrCodeResponse
1714
+ */
1715
+ export interface FpsQrCodeResponse {
1716
+ /**
1717
+ * The FPS QR code in base64
1718
+ * @type {string}
1719
+ * @memberof FpsQrCodeResponse
1720
+ */
1721
+ qr_code: string;
1722
+ }
1710
1723
  /**
1711
1724
  *
1712
1725
  * @export
@@ -5349,6 +5362,12 @@ export interface Principal {
5349
5362
  * @memberof Principal
5350
5363
  */
5351
5364
  unique_reference_id?: string;
5365
+ /**
5366
+ * The qrCode text to be used to generate the image
5367
+ * @type {string}
5368
+ * @memberof Principal
5369
+ */
5370
+ qr_code_text?: string;
5352
5371
  }
5353
5372
  /**
5354
5373
  *
@@ -7080,6 +7099,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7080
7099
  * @throws {RequiredError}
7081
7100
  */
7082
7101
  createScheduledPayout: (idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7102
+ /**
7103
+ * Get the FPS QR code
7104
+ * @param {*} [options] Override http request option.
7105
+ * @throws {RequiredError}
7106
+ */
7107
+ getFpsQrCode: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7083
7108
  /**
7084
7109
  * Get a customer-specific list of institutions for Finverse Link
7085
7110
  * @param {*} [options] Override http request option.
@@ -7219,6 +7244,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7219
7244
  * @throws {RequiredError}
7220
7245
  */
7221
7246
  createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
7247
+ /**
7248
+ * Get the FPS QR code
7249
+ * @param {*} [options] Override http request option.
7250
+ * @throws {RequiredError}
7251
+ */
7252
+ getFpsQrCode(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FpsQrCodeResponse>>;
7222
7253
  /**
7223
7254
  * Get a customer-specific list of institutions for Finverse Link
7224
7255
  * @param {*} [options] Override http request option.
@@ -7358,6 +7389,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7358
7389
  * @throws {RequiredError}
7359
7390
  */
7360
7391
  createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: any): AxiosPromise<PayoutSnapshotResponse>;
7392
+ /**
7393
+ * Get the FPS QR code
7394
+ * @param {*} [options] Override http request option.
7395
+ * @throws {RequiredError}
7396
+ */
7397
+ getFpsQrCode(options?: any): AxiosPromise<FpsQrCodeResponse>;
7361
7398
  /**
7362
7399
  * Get a customer-specific list of institutions for Finverse Link
7363
7400
  * @param {*} [options] Override http request option.
@@ -7508,6 +7545,13 @@ export interface DefaultApiInterface {
7508
7545
  * @memberof DefaultApiInterface
7509
7546
  */
7510
7547
  createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: AxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
7548
+ /**
7549
+ * Get the FPS QR code
7550
+ * @param {*} [options] Override http request option.
7551
+ * @throws {RequiredError}
7552
+ * @memberof DefaultApiInterface
7553
+ */
7554
+ getFpsQrCode(options?: AxiosRequestConfig): AxiosPromise<FpsQrCodeResponse>;
7511
7555
  /**
7512
7556
  * Get a customer-specific list of institutions for Finverse Link
7513
7557
  * @param {*} [options] Override http request option.
@@ -7666,6 +7710,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
7666
7710
  * @memberof DefaultApi
7667
7711
  */
7668
7712
  createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse>>;
7713
+ /**
7714
+ * Get the FPS QR code
7715
+ * @param {*} [options] Override http request option.
7716
+ * @throws {RequiredError}
7717
+ * @memberof DefaultApi
7718
+ */
7719
+ getFpsQrCode(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FpsQrCodeResponse>>;
7669
7720
  /**
7670
7721
  * Get a customer-specific list of institutions for Finverse Link
7671
7722
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -2178,6 +2178,33 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2178
2178
  options: localVarRequestOptions,
2179
2179
  };
2180
2180
  }),
2181
+ /**
2182
+ * Get the FPS QR code
2183
+ * @param {*} [options] Override http request option.
2184
+ * @throws {RequiredError}
2185
+ */
2186
+ getFpsQrCode: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2187
+ const localVarPath = `/payment_links/fps/qr_code`;
2188
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2189
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2190
+ let baseOptions;
2191
+ if (configuration) {
2192
+ baseOptions = configuration.baseOptions;
2193
+ }
2194
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2195
+ const localVarHeaderParameter = {};
2196
+ const localVarQueryParameter = {};
2197
+ // authentication Oauth2 required
2198
+ // oauth required
2199
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
2200
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
2201
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2202
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2203
+ return {
2204
+ url: common_1.toPathString(localVarUrlObj),
2205
+ options: localVarRequestOptions,
2206
+ };
2207
+ }),
2181
2208
  /**
2182
2209
  * Get a customer-specific list of institutions for Finverse Link
2183
2210
  * @param {*} [options] Override http request option.
@@ -2586,6 +2613,17 @@ exports.DefaultApiFp = function (configuration) {
2586
2613
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2587
2614
  });
2588
2615
  },
2616
+ /**
2617
+ * Get the FPS QR code
2618
+ * @param {*} [options] Override http request option.
2619
+ * @throws {RequiredError}
2620
+ */
2621
+ getFpsQrCode(options) {
2622
+ return __awaiter(this, void 0, void 0, function* () {
2623
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFpsQrCode(options);
2624
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2625
+ });
2626
+ },
2589
2627
  /**
2590
2628
  * Get a customer-specific list of institutions for Finverse Link
2591
2629
  * @param {*} [options] Override http request option.
@@ -2793,6 +2831,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
2793
2831
  .createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
2794
2832
  .then((request) => request(axios, basePath));
2795
2833
  },
2834
+ /**
2835
+ * Get the FPS QR code
2836
+ * @param {*} [options] Override http request option.
2837
+ * @throws {RequiredError}
2838
+ */
2839
+ getFpsQrCode(options) {
2840
+ return localVarFp.getFpsQrCode(options).then((request) => request(axios, basePath));
2841
+ },
2796
2842
  /**
2797
2843
  * Get a customer-specific list of institutions for Finverse Link
2798
2844
  * @param {*} [options] Override http request option.
@@ -3005,6 +3051,17 @@ class DefaultApi extends base_1.BaseAPI {
3005
3051
  .createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
3006
3052
  .then((request) => request(this.axios, this.basePath));
3007
3053
  }
3054
+ /**
3055
+ * Get the FPS QR code
3056
+ * @param {*} [options] Override http request option.
3057
+ * @throws {RequiredError}
3058
+ * @memberof DefaultApi
3059
+ */
3060
+ getFpsQrCode(options) {
3061
+ return exports.DefaultApiFp(this.configuration)
3062
+ .getFpsQrCode(options)
3063
+ .then((request) => request(this.axios, this.basePath));
3064
+ }
3008
3065
  /**
3009
3066
  * Get a customer-specific list of institutions for Finverse Link
3010
3067
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.190",
3
+ "version": "0.0.191",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [