@finverse/sdk-typescript 0.0.170 → 0.0.171

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.
Files changed (3) hide show
  1. package/dist/api.d.ts +10 -10
  2. package/dist/api.js +13 -11
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -7050,12 +7050,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7050
7050
  createFpsToken: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7051
7051
  /**
7052
7052
  * Create mandate for an existing sender account
7053
+ * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
7053
7054
  * @param {CreateMandateWithSenderAccountRequest} createMandateRequest request body for creating mandate
7054
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
7055
7055
  * @param {*} [options] Override http request option.
7056
7056
  * @throws {RequiredError}
7057
7057
  */
7058
- createMandateForExistingSender: (createMandateRequest: CreateMandateWithSenderAccountRequest, idempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7058
+ createMandateForExistingSender: (idempotencyKey: string, createMandateRequest: CreateMandateWithSenderAccountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7059
7059
  /**
7060
7060
  * Create payment link
7061
7061
  * @param {CreatePaymentLinkRequest} createPaymentLinkRequest Parameters required to create a payment link
@@ -7167,12 +7167,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7167
7167
  createFpsToken(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFpsTokenResponse>>;
7168
7168
  /**
7169
7169
  * Create mandate for an existing sender account
7170
+ * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
7170
7171
  * @param {CreateMandateWithSenderAccountRequest} createMandateRequest request body for creating mandate
7171
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
7172
7172
  * @param {*} [options] Override http request option.
7173
7173
  * @throws {RequiredError}
7174
7174
  */
7175
- createMandateForExistingSender(createMandateRequest: CreateMandateWithSenderAccountRequest, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMandateResponse>>;
7175
+ createMandateForExistingSender(idempotencyKey: string, createMandateRequest: CreateMandateWithSenderAccountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMandateResponse>>;
7176
7176
  /**
7177
7177
  * Create payment link
7178
7178
  * @param {CreatePaymentLinkRequest} createPaymentLinkRequest Parameters required to create a payment link
@@ -7284,12 +7284,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7284
7284
  createFpsToken(options?: any): AxiosPromise<CreateFpsTokenResponse>;
7285
7285
  /**
7286
7286
  * Create mandate for an existing sender account
7287
+ * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
7287
7288
  * @param {CreateMandateWithSenderAccountRequest} createMandateRequest request body for creating mandate
7288
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
7289
7289
  * @param {*} [options] Override http request option.
7290
7290
  * @throws {RequiredError}
7291
7291
  */
7292
- createMandateForExistingSender(createMandateRequest: CreateMandateWithSenderAccountRequest, idempotencyKey?: string, options?: any): AxiosPromise<CreateMandateResponse>;
7292
+ createMandateForExistingSender(idempotencyKey: string, createMandateRequest: CreateMandateWithSenderAccountRequest, options?: any): AxiosPromise<CreateMandateResponse>;
7293
7293
  /**
7294
7294
  * Create payment link
7295
7295
  * @param {CreatePaymentLinkRequest} createPaymentLinkRequest Parameters required to create a payment link
@@ -7406,13 +7406,13 @@ export interface DefaultApiInterface {
7406
7406
  createFpsToken(options?: AxiosRequestConfig): AxiosPromise<CreateFpsTokenResponse>;
7407
7407
  /**
7408
7408
  * Create mandate for an existing sender account
7409
+ * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
7409
7410
  * @param {CreateMandateWithSenderAccountRequest} createMandateRequest request body for creating mandate
7410
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
7411
7411
  * @param {*} [options] Override http request option.
7412
7412
  * @throws {RequiredError}
7413
7413
  * @memberof DefaultApiInterface
7414
7414
  */
7415
- createMandateForExistingSender(createMandateRequest: CreateMandateWithSenderAccountRequest, idempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<CreateMandateResponse>;
7415
+ createMandateForExistingSender(idempotencyKey: string, createMandateRequest: CreateMandateWithSenderAccountRequest, options?: AxiosRequestConfig): AxiosPromise<CreateMandateResponse>;
7416
7416
  /**
7417
7417
  * Create payment link
7418
7418
  * @param {CreatePaymentLinkRequest} createPaymentLinkRequest Parameters required to create a payment link
@@ -7539,13 +7539,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
7539
7539
  createFpsToken(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFpsTokenResponse>>;
7540
7540
  /**
7541
7541
  * Create mandate for an existing sender account
7542
+ * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
7542
7543
  * @param {CreateMandateWithSenderAccountRequest} createMandateRequest request body for creating mandate
7543
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
7544
7544
  * @param {*} [options] Override http request option.
7545
7545
  * @throws {RequiredError}
7546
7546
  * @memberof DefaultApi
7547
7547
  */
7548
- createMandateForExistingSender(createMandateRequest: CreateMandateWithSenderAccountRequest, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMandateResponse>>;
7548
+ createMandateForExistingSender(idempotencyKey: string, createMandateRequest: CreateMandateWithSenderAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMandateResponse>>;
7549
7549
  /**
7550
7550
  * Create payment link
7551
7551
  * @param {CreatePaymentLinkRequest} createPaymentLinkRequest Parameters required to create a payment link
package/dist/api.js CHANGED
@@ -2115,12 +2115,14 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2115
2115
  }),
2116
2116
  /**
2117
2117
  * Create mandate for an existing sender account
2118
+ * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
2118
2119
  * @param {CreateMandateWithSenderAccountRequest} createMandateRequest request body for creating mandate
2119
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
2120
2120
  * @param {*} [options] Override http request option.
2121
2121
  * @throws {RequiredError}
2122
2122
  */
2123
- createMandateForExistingSender: (createMandateRequest, idempotencyKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
2123
+ createMandateForExistingSender: (idempotencyKey, createMandateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2124
+ // verify required parameter 'idempotencyKey' is not null or undefined
2125
+ common_1.assertParamExists('createMandateForExistingSender', 'idempotencyKey', idempotencyKey);
2124
2126
  // verify required parameter 'createMandateRequest' is not null or undefined
2125
2127
  common_1.assertParamExists('createMandateForExistingSender', 'createMandateRequest', createMandateRequest);
2126
2128
  const localVarPath = `/mandates/sender_account`;
@@ -2547,14 +2549,14 @@ exports.DefaultApiFp = function (configuration) {
2547
2549
  },
2548
2550
  /**
2549
2551
  * Create mandate for an existing sender account
2552
+ * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
2550
2553
  * @param {CreateMandateWithSenderAccountRequest} createMandateRequest request body for creating mandate
2551
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
2552
2554
  * @param {*} [options] Override http request option.
2553
2555
  * @throws {RequiredError}
2554
2556
  */
2555
- createMandateForExistingSender(createMandateRequest, idempotencyKey, options) {
2557
+ createMandateForExistingSender(idempotencyKey, createMandateRequest, options) {
2556
2558
  return __awaiter(this, void 0, void 0, function* () {
2557
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createMandateForExistingSender(createMandateRequest, idempotencyKey, options);
2559
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createMandateForExistingSender(idempotencyKey, createMandateRequest, options);
2558
2560
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2559
2561
  });
2560
2562
  },
@@ -2727,14 +2729,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
2727
2729
  },
2728
2730
  /**
2729
2731
  * Create mandate for an existing sender account
2732
+ * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
2730
2733
  * @param {CreateMandateWithSenderAccountRequest} createMandateRequest request body for creating mandate
2731
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
2732
2734
  * @param {*} [options] Override http request option.
2733
2735
  * @throws {RequiredError}
2734
2736
  */
2735
- createMandateForExistingSender(createMandateRequest, idempotencyKey, options) {
2737
+ createMandateForExistingSender(idempotencyKey, createMandateRequest, options) {
2736
2738
  return localVarFp
2737
- .createMandateForExistingSender(createMandateRequest, idempotencyKey, options)
2739
+ .createMandateForExistingSender(idempotencyKey, createMandateRequest, options)
2738
2740
  .then((request) => request(axios, basePath));
2739
2741
  },
2740
2742
  /**
@@ -2899,15 +2901,15 @@ class DefaultApi extends base_1.BaseAPI {
2899
2901
  }
2900
2902
  /**
2901
2903
  * Create mandate for an existing sender account
2904
+ * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
2902
2905
  * @param {CreateMandateWithSenderAccountRequest} createMandateRequest request body for creating mandate
2903
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
2904
2906
  * @param {*} [options] Override http request option.
2905
2907
  * @throws {RequiredError}
2906
2908
  * @memberof DefaultApi
2907
2909
  */
2908
- createMandateForExistingSender(createMandateRequest, idempotencyKey, options) {
2910
+ createMandateForExistingSender(idempotencyKey, createMandateRequest, options) {
2909
2911
  return exports.DefaultApiFp(this.configuration)
2910
- .createMandateForExistingSender(createMandateRequest, idempotencyKey, options)
2912
+ .createMandateForExistingSender(idempotencyKey, createMandateRequest, options)
2911
2913
  .then((request) => request(this.axios, this.basePath));
2912
2914
  }
2913
2915
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.170",
3
+ "version": "0.0.171",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [