@finverse/sdk-typescript 0.0.170 → 0.0.172

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 +65 -10
  2. package/dist/api.js +86 -11
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -484,6 +484,19 @@ export declare const AuthChecklistOptionsSubmittedByEnum: {
484
484
  readonly FinverseLink: "FINVERSE_LINK";
485
485
  };
486
486
  export declare type AuthChecklistOptionsSubmittedByEnum = (typeof AuthChecklistOptionsSubmittedByEnum)[keyof typeof AuthChecklistOptionsSubmittedByEnum];
487
+ /**
488
+ *
489
+ * @export
490
+ * @interface AuthorizeMandateRequest
491
+ */
492
+ export interface AuthorizeMandateRequest {
493
+ /**
494
+ * Whether a consent was provided by the enduser to authorize a mandate
495
+ * @type {boolean}
496
+ * @memberof AuthorizeMandateRequest
497
+ */
498
+ enduser_consent: boolean;
499
+ }
487
500
  /**
488
501
  *
489
502
  * @export
@@ -6039,6 +6052,14 @@ export interface UserMessage {
6039
6052
  * @export
6040
6053
  */
6041
6054
  export declare const CustomerApiAxiosParamCreator: (configuration?: Configuration) => {
6055
+ /**
6056
+ * Allows a customer to authorize a specific mandate
6057
+ * @param {string} mandateId The mandate_id that is being authorized
6058
+ * @param {AuthorizeMandateRequest} authorizeMandateRequest request body for authorizing a mandate
6059
+ * @param {*} [options] Override http request option.
6060
+ * @throws {RequiredError}
6061
+ */
6062
+ authorizeMandate: (mandateId: string, authorizeMandateRequest: AuthorizeMandateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6042
6063
  /**
6043
6064
  * Cancel Payout Instruction by payout_instruction_id
6044
6065
  * @param {string} payoutInstructionId payout instruction id
@@ -6225,6 +6246,14 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
6225
6246
  * @export
6226
6247
  */
6227
6248
  export declare const CustomerApiFp: (configuration?: Configuration) => {
6249
+ /**
6250
+ * Allows a customer to authorize a specific mandate
6251
+ * @param {string} mandateId The mandate_id that is being authorized
6252
+ * @param {AuthorizeMandateRequest} authorizeMandateRequest request body for authorizing a mandate
6253
+ * @param {*} [options] Override http request option.
6254
+ * @throws {RequiredError}
6255
+ */
6256
+ authorizeMandate(mandateId: string, authorizeMandateRequest: AuthorizeMandateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitAuthChecklistResponse>>;
6228
6257
  /**
6229
6258
  * Cancel Payout Instruction by payout_instruction_id
6230
6259
  * @param {string} payoutInstructionId payout instruction id
@@ -6411,6 +6440,14 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
6411
6440
  * @export
6412
6441
  */
6413
6442
  export declare const CustomerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
6443
+ /**
6444
+ * Allows a customer to authorize a specific mandate
6445
+ * @param {string} mandateId The mandate_id that is being authorized
6446
+ * @param {AuthorizeMandateRequest} authorizeMandateRequest request body for authorizing a mandate
6447
+ * @param {*} [options] Override http request option.
6448
+ * @throws {RequiredError}
6449
+ */
6450
+ authorizeMandate(mandateId: string, authorizeMandateRequest: AuthorizeMandateRequest, options?: any): AxiosPromise<SubmitAuthChecklistResponse>;
6414
6451
  /**
6415
6452
  * Cancel Payout Instruction by payout_instruction_id
6416
6453
  * @param {string} payoutInstructionId payout instruction id
@@ -6598,6 +6635,15 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
6598
6635
  * @interface CustomerApi
6599
6636
  */
6600
6637
  export interface CustomerApiInterface {
6638
+ /**
6639
+ * Allows a customer to authorize a specific mandate
6640
+ * @param {string} mandateId The mandate_id that is being authorized
6641
+ * @param {AuthorizeMandateRequest} authorizeMandateRequest request body for authorizing a mandate
6642
+ * @param {*} [options] Override http request option.
6643
+ * @throws {RequiredError}
6644
+ * @memberof CustomerApiInterface
6645
+ */
6646
+ authorizeMandate(mandateId: string, authorizeMandateRequest: AuthorizeMandateRequest, options?: AxiosRequestConfig): AxiosPromise<SubmitAuthChecklistResponse>;
6601
6647
  /**
6602
6648
  * Cancel Payout Instruction by payout_instruction_id
6603
6649
  * @param {string} payoutInstructionId payout instruction id
@@ -6811,6 +6857,15 @@ export interface CustomerApiInterface {
6811
6857
  * @extends {BaseAPI}
6812
6858
  */
6813
6859
  export declare class CustomerApi extends BaseAPI implements CustomerApiInterface {
6860
+ /**
6861
+ * Allows a customer to authorize a specific mandate
6862
+ * @param {string} mandateId The mandate_id that is being authorized
6863
+ * @param {AuthorizeMandateRequest} authorizeMandateRequest request body for authorizing a mandate
6864
+ * @param {*} [options] Override http request option.
6865
+ * @throws {RequiredError}
6866
+ * @memberof CustomerApi
6867
+ */
6868
+ authorizeMandate(mandateId: string, authorizeMandateRequest: AuthorizeMandateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitAuthChecklistResponse>>;
6814
6869
  /**
6815
6870
  * Cancel Payout Instruction by payout_instruction_id
6816
6871
  * @param {string} payoutInstructionId payout instruction id
@@ -7050,12 +7105,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7050
7105
  createFpsToken: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7051
7106
  /**
7052
7107
  * Create mandate for an existing sender account
7108
+ * @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
7109
  * @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
7110
  * @param {*} [options] Override http request option.
7056
7111
  * @throws {RequiredError}
7057
7112
  */
7058
- createMandateForExistingSender: (createMandateRequest: CreateMandateWithSenderAccountRequest, idempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7113
+ createMandateForExistingSender: (idempotencyKey: string, createMandateRequest: CreateMandateWithSenderAccountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7059
7114
  /**
7060
7115
  * Create payment link
7061
7116
  * @param {CreatePaymentLinkRequest} createPaymentLinkRequest Parameters required to create a payment link
@@ -7167,12 +7222,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7167
7222
  createFpsToken(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFpsTokenResponse>>;
7168
7223
  /**
7169
7224
  * Create mandate for an existing sender account
7225
+ * @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
7226
  * @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
7227
  * @param {*} [options] Override http request option.
7173
7228
  * @throws {RequiredError}
7174
7229
  */
7175
- createMandateForExistingSender(createMandateRequest: CreateMandateWithSenderAccountRequest, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMandateResponse>>;
7230
+ createMandateForExistingSender(idempotencyKey: string, createMandateRequest: CreateMandateWithSenderAccountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMandateResponse>>;
7176
7231
  /**
7177
7232
  * Create payment link
7178
7233
  * @param {CreatePaymentLinkRequest} createPaymentLinkRequest Parameters required to create a payment link
@@ -7284,12 +7339,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7284
7339
  createFpsToken(options?: any): AxiosPromise<CreateFpsTokenResponse>;
7285
7340
  /**
7286
7341
  * Create mandate for an existing sender account
7342
+ * @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
7343
  * @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
7344
  * @param {*} [options] Override http request option.
7290
7345
  * @throws {RequiredError}
7291
7346
  */
7292
- createMandateForExistingSender(createMandateRequest: CreateMandateWithSenderAccountRequest, idempotencyKey?: string, options?: any): AxiosPromise<CreateMandateResponse>;
7347
+ createMandateForExistingSender(idempotencyKey: string, createMandateRequest: CreateMandateWithSenderAccountRequest, options?: any): AxiosPromise<CreateMandateResponse>;
7293
7348
  /**
7294
7349
  * Create payment link
7295
7350
  * @param {CreatePaymentLinkRequest} createPaymentLinkRequest Parameters required to create a payment link
@@ -7406,13 +7461,13 @@ export interface DefaultApiInterface {
7406
7461
  createFpsToken(options?: AxiosRequestConfig): AxiosPromise<CreateFpsTokenResponse>;
7407
7462
  /**
7408
7463
  * Create mandate for an existing sender account
7464
+ * @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
7465
  * @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
7466
  * @param {*} [options] Override http request option.
7412
7467
  * @throws {RequiredError}
7413
7468
  * @memberof DefaultApiInterface
7414
7469
  */
7415
- createMandateForExistingSender(createMandateRequest: CreateMandateWithSenderAccountRequest, idempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<CreateMandateResponse>;
7470
+ createMandateForExistingSender(idempotencyKey: string, createMandateRequest: CreateMandateWithSenderAccountRequest, options?: AxiosRequestConfig): AxiosPromise<CreateMandateResponse>;
7416
7471
  /**
7417
7472
  * Create payment link
7418
7473
  * @param {CreatePaymentLinkRequest} createPaymentLinkRequest Parameters required to create a payment link
@@ -7539,13 +7594,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
7539
7594
  createFpsToken(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFpsTokenResponse>>;
7540
7595
  /**
7541
7596
  * Create mandate for an existing sender account
7597
+ * @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
7598
  * @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
7599
  * @param {*} [options] Override http request option.
7545
7600
  * @throws {RequiredError}
7546
7601
  * @memberof DefaultApi
7547
7602
  */
7548
- createMandateForExistingSender(createMandateRequest: CreateMandateWithSenderAccountRequest, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMandateResponse>>;
7603
+ createMandateForExistingSender(idempotencyKey: string, createMandateRequest: CreateMandateWithSenderAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMandateResponse>>;
7549
7604
  /**
7550
7605
  * Create payment link
7551
7606
  * @param {CreatePaymentLinkRequest} createPaymentLinkRequest Parameters required to create a payment link
package/dist/api.js CHANGED
@@ -306,6 +306,41 @@ exports.TransactionLimitsPeriodEnum = {
306
306
  */
307
307
  exports.CustomerApiAxiosParamCreator = function (configuration) {
308
308
  return {
309
+ /**
310
+ * Allows a customer to authorize a specific mandate
311
+ * @param {string} mandateId The mandate_id that is being authorized
312
+ * @param {AuthorizeMandateRequest} authorizeMandateRequest request body for authorizing a mandate
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ */
316
+ authorizeMandate: (mandateId, authorizeMandateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
317
+ // verify required parameter 'mandateId' is not null or undefined
318
+ common_1.assertParamExists('authorizeMandate', 'mandateId', mandateId);
319
+ // verify required parameter 'authorizeMandateRequest' is not null or undefined
320
+ common_1.assertParamExists('authorizeMandate', 'authorizeMandateRequest', authorizeMandateRequest);
321
+ const localVarPath = `/mandates/{mandateId}/authorize`.replace(`{${'mandateId'}}`, encodeURIComponent(String(mandateId)));
322
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
323
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
324
+ let baseOptions;
325
+ if (configuration) {
326
+ baseOptions = configuration.baseOptions;
327
+ }
328
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
329
+ const localVarHeaderParameter = {};
330
+ const localVarQueryParameter = {};
331
+ // authentication Oauth2 required
332
+ // oauth required
333
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
334
+ localVarHeaderParameter['Content-Type'] = 'application/json';
335
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
336
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
337
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
338
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(authorizeMandateRequest, localVarRequestOptions, configuration);
339
+ return {
340
+ url: common_1.toPathString(localVarUrlObj),
341
+ options: localVarRequestOptions,
342
+ };
343
+ }),
309
344
  /**
310
345
  * Cancel Payout Instruction by payout_instruction_id
311
346
  * @param {string} payoutInstructionId payout instruction id
@@ -1109,6 +1144,19 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
1109
1144
  exports.CustomerApiFp = function (configuration) {
1110
1145
  const localVarAxiosParamCreator = exports.CustomerApiAxiosParamCreator(configuration);
1111
1146
  return {
1147
+ /**
1148
+ * Allows a customer to authorize a specific mandate
1149
+ * @param {string} mandateId The mandate_id that is being authorized
1150
+ * @param {AuthorizeMandateRequest} authorizeMandateRequest request body for authorizing a mandate
1151
+ * @param {*} [options] Override http request option.
1152
+ * @throws {RequiredError}
1153
+ */
1154
+ authorizeMandate(mandateId, authorizeMandateRequest, options) {
1155
+ return __awaiter(this, void 0, void 0, function* () {
1156
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.authorizeMandate(mandateId, authorizeMandateRequest, options);
1157
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1158
+ });
1159
+ },
1112
1160
  /**
1113
1161
  * Cancel Payout Instruction by payout_instruction_id
1114
1162
  * @param {string} payoutInstructionId payout instruction id
@@ -1423,6 +1471,18 @@ exports.CustomerApiFp = function (configuration) {
1423
1471
  exports.CustomerApiFactory = function (configuration, basePath, axios) {
1424
1472
  const localVarFp = exports.CustomerApiFp(configuration);
1425
1473
  return {
1474
+ /**
1475
+ * Allows a customer to authorize a specific mandate
1476
+ * @param {string} mandateId The mandate_id that is being authorized
1477
+ * @param {AuthorizeMandateRequest} authorizeMandateRequest request body for authorizing a mandate
1478
+ * @param {*} [options] Override http request option.
1479
+ * @throws {RequiredError}
1480
+ */
1481
+ authorizeMandate(mandateId, authorizeMandateRequest, options) {
1482
+ return localVarFp
1483
+ .authorizeMandate(mandateId, authorizeMandateRequest, options)
1484
+ .then((request) => request(axios, basePath));
1485
+ },
1426
1486
  /**
1427
1487
  * Cancel Payout Instruction by payout_instruction_id
1428
1488
  * @param {string} payoutInstructionId payout instruction id
@@ -1684,6 +1744,19 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
1684
1744
  * @extends {BaseAPI}
1685
1745
  */
1686
1746
  class CustomerApi extends base_1.BaseAPI {
1747
+ /**
1748
+ * Allows a customer to authorize a specific mandate
1749
+ * @param {string} mandateId The mandate_id that is being authorized
1750
+ * @param {AuthorizeMandateRequest} authorizeMandateRequest request body for authorizing a mandate
1751
+ * @param {*} [options] Override http request option.
1752
+ * @throws {RequiredError}
1753
+ * @memberof CustomerApi
1754
+ */
1755
+ authorizeMandate(mandateId, authorizeMandateRequest, options) {
1756
+ return exports.CustomerApiFp(this.configuration)
1757
+ .authorizeMandate(mandateId, authorizeMandateRequest, options)
1758
+ .then((request) => request(this.axios, this.basePath));
1759
+ }
1687
1760
  /**
1688
1761
  * Cancel Payout Instruction by payout_instruction_id
1689
1762
  * @param {string} payoutInstructionId payout instruction id
@@ -2115,12 +2188,14 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2115
2188
  }),
2116
2189
  /**
2117
2190
  * Create mandate for an existing sender account
2191
+ * @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
2192
  * @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
2193
  * @param {*} [options] Override http request option.
2121
2194
  * @throws {RequiredError}
2122
2195
  */
2123
- createMandateForExistingSender: (createMandateRequest, idempotencyKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
2196
+ createMandateForExistingSender: (idempotencyKey, createMandateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2197
+ // verify required parameter 'idempotencyKey' is not null or undefined
2198
+ common_1.assertParamExists('createMandateForExistingSender', 'idempotencyKey', idempotencyKey);
2124
2199
  // verify required parameter 'createMandateRequest' is not null or undefined
2125
2200
  common_1.assertParamExists('createMandateForExistingSender', 'createMandateRequest', createMandateRequest);
2126
2201
  const localVarPath = `/mandates/sender_account`;
@@ -2547,14 +2622,14 @@ exports.DefaultApiFp = function (configuration) {
2547
2622
  },
2548
2623
  /**
2549
2624
  * Create mandate for an existing sender account
2625
+ * @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
2626
  * @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
2627
  * @param {*} [options] Override http request option.
2553
2628
  * @throws {RequiredError}
2554
2629
  */
2555
- createMandateForExistingSender(createMandateRequest, idempotencyKey, options) {
2630
+ createMandateForExistingSender(idempotencyKey, createMandateRequest, options) {
2556
2631
  return __awaiter(this, void 0, void 0, function* () {
2557
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createMandateForExistingSender(createMandateRequest, idempotencyKey, options);
2632
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createMandateForExistingSender(idempotencyKey, createMandateRequest, options);
2558
2633
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2559
2634
  });
2560
2635
  },
@@ -2727,14 +2802,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
2727
2802
  },
2728
2803
  /**
2729
2804
  * Create mandate for an existing sender account
2805
+ * @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
2806
  * @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
2807
  * @param {*} [options] Override http request option.
2733
2808
  * @throws {RequiredError}
2734
2809
  */
2735
- createMandateForExistingSender(createMandateRequest, idempotencyKey, options) {
2810
+ createMandateForExistingSender(idempotencyKey, createMandateRequest, options) {
2736
2811
  return localVarFp
2737
- .createMandateForExistingSender(createMandateRequest, idempotencyKey, options)
2812
+ .createMandateForExistingSender(idempotencyKey, createMandateRequest, options)
2738
2813
  .then((request) => request(axios, basePath));
2739
2814
  },
2740
2815
  /**
@@ -2899,15 +2974,15 @@ class DefaultApi extends base_1.BaseAPI {
2899
2974
  }
2900
2975
  /**
2901
2976
  * Create mandate for an existing sender account
2977
+ * @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
2978
  * @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
2979
  * @param {*} [options] Override http request option.
2905
2980
  * @throws {RequiredError}
2906
2981
  * @memberof DefaultApi
2907
2982
  */
2908
- createMandateForExistingSender(createMandateRequest, idempotencyKey, options) {
2983
+ createMandateForExistingSender(idempotencyKey, createMandateRequest, options) {
2909
2984
  return exports.DefaultApiFp(this.configuration)
2910
- .createMandateForExistingSender(createMandateRequest, idempotencyKey, options)
2985
+ .createMandateForExistingSender(idempotencyKey, createMandateRequest, options)
2911
2986
  .then((request) => request(this.axios, this.basePath));
2912
2987
  }
2913
2988
  /**
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.172",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [