@emilgroup/payment-sdk 1.4.1-beta.7 → 1.4.1-beta.8

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 (120) hide show
  1. package/.openapi-generator/FILES +2 -29
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +16 -20
  4. package/api/bank-transaction-api.ts +48 -14
  5. package/api/payment-methods-api.ts +37 -41
  6. package/api/payment-reminders-api.ts +8 -12
  7. package/api/payment-setup-api.ts +28 -36
  8. package/api/payments-api.ts +25 -27
  9. package/api/refunds-api.ts +15 -13
  10. package/dist/api/bank-accounts-api.d.ts +12 -14
  11. package/dist/api/bank-accounts-api.js +12 -12
  12. package/dist/api/bank-transaction-api.d.ts +29 -9
  13. package/dist/api/bank-transaction-api.js +26 -12
  14. package/dist/api/payment-methods-api.d.ts +27 -31
  15. package/dist/api/payment-methods-api.js +28 -24
  16. package/dist/api/payment-reminders-api.d.ts +12 -14
  17. package/dist/api/payment-setup-api.d.ts +18 -22
  18. package/dist/api/payment-setup-api.js +24 -24
  19. package/dist/api/payments-api.d.ts +21 -24
  20. package/dist/api/payments-api.js +16 -12
  21. package/dist/api/refunds-api.d.ts +10 -10
  22. package/dist/api/refunds-api.js +11 -9
  23. package/dist/models/create-payment-request-dto.d.ts +3 -3
  24. package/dist/models/get-request-dto.d.ts +1 -1
  25. package/dist/models/index.d.ts +2 -29
  26. package/dist/models/index.js +2 -29
  27. package/dist/models/{sepa-direct-dto.d.ts → link-bank-transaction-request-dto-rest.d.ts} +5 -5
  28. package/dist/models/{initiate-braintree-payment-setup-response-class.d.ts → unlink-bank-transaction-request-dto-rest.d.ts} +5 -5
  29. package/dist/models/validate-pspconfig-request-dto.d.ts +1 -8
  30. package/dist/models/validate-pspconfig-request-dto.js +0 -7
  31. package/models/create-payment-request-dto.ts +3 -3
  32. package/models/get-request-dto.ts +1 -1
  33. package/models/index.ts +2 -29
  34. package/models/{sepa-direct-dto.ts → link-bank-transaction-request-dto-rest.ts} +5 -5
  35. package/models/{initiate-braintree-payment-setup-response-class.ts → unlink-bank-transaction-request-dto-rest.ts} +5 -5
  36. package/models/validate-pspconfig-request-dto.ts +1 -11
  37. package/package.json +1 -1
  38. package/dist/models/bank-account-class.d.ts +0 -54
  39. package/dist/models/billing-profile-dto.d.ts +0 -38
  40. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  41. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  42. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  43. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  44. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  45. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  46. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  47. package/dist/models/complete-payment-setup-response-class.js +0 -15
  48. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  49. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  50. package/dist/models/create-bank-account-request-dto.d.ts +0 -30
  51. package/dist/models/create-bank-account-request-dto.js +0 -15
  52. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  53. package/dist/models/create-payment-method-response-class.js +0 -15
  54. package/dist/models/create-payment-response-class.d.ts +0 -25
  55. package/dist/models/create-payment-response-class.js +0 -15
  56. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  57. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  58. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  59. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  60. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  61. package/dist/models/get-payment-method-response-class.js +0 -15
  62. package/dist/models/get-payment-response-class.d.ts +0 -25
  63. package/dist/models/get-payment-response-class.js +0 -15
  64. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  65. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  66. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  67. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  68. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  69. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  70. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  71. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  72. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  73. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  74. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  75. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  76. package/dist/models/list-bank-accounts-response-class.js +0 -15
  77. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  78. package/dist/models/list-payment-methods-response-class.js +0 -15
  79. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  80. package/dist/models/list-payment-reminders-response-class.js +0 -15
  81. package/dist/models/list-payments-response-class.d.ts +0 -31
  82. package/dist/models/list-payments-response-class.js +0 -15
  83. package/dist/models/payment-class.d.ts +0 -103
  84. package/dist/models/payment-class.js +0 -15
  85. package/dist/models/payment-method-class.d.ts +0 -66
  86. package/dist/models/payment-method-class.js +0 -15
  87. package/dist/models/payment-reminder-class.d.ts +0 -112
  88. package/dist/models/payment-reminder-class.js +0 -36
  89. package/dist/models/sepa-direct-dto.js +0 -15
  90. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  91. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  92. package/models/bank-account-class.ts +0 -60
  93. package/models/billing-profile-dto.ts +0 -44
  94. package/models/billing-profile-limited-response-dto.ts +0 -60
  95. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  96. package/models/complete-payment-setup-request-dto.ts +0 -38
  97. package/models/complete-payment-setup-response-class.ts +0 -31
  98. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  99. package/models/create-bank-account-request-dto.ts +0 -36
  100. package/models/create-payment-method-response-class.ts +0 -31
  101. package/models/create-payment-response-class.ts +0 -31
  102. package/models/create-psp-payment-method-request-dto.ts +0 -70
  103. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  104. package/models/get-payment-method-response-class.ts +0 -31
  105. package/models/get-payment-response-class.ts +0 -31
  106. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  107. package/models/initiate-payment-setup-request-dto.ts +0 -50
  108. package/models/initiate-payment-setup-response-class.ts +0 -38
  109. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  110. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  111. package/models/list-bank-accounts-response-class.ts +0 -37
  112. package/models/list-payment-methods-response-class.ts +0 -37
  113. package/models/list-payment-reminders-response-class.ts +0 -37
  114. package/models/list-payments-response-class.ts +0 -37
  115. package/models/payment-class.ts +0 -109
  116. package/models/payment-method-class.ts +0 -72
  117. package/models/payment-reminder-class.ts +0 -122
  118. package/models/symphony-profile-limited-response-dto.ts +0 -48
  119. /package/dist/models/{bank-account-class.js → link-bank-transaction-request-dto-rest.js} +0 -0
  120. /package/dist/models/{billing-profile-dto.js → unlink-bank-transaction-request-dto-rest.js} +0 -0
@@ -95,20 +95,20 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
95
95
  /**
96
96
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
97
97
  * @summary Create the payment-method
98
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
98
+ * @param {object} body
99
99
  * @param {string} [authorization] Bearer Token
100
100
  * @param {*} [options] Override http request option.
101
101
  * @throws {RequiredError}
102
102
  */
103
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
103
+ createPaymentMethod: function (body, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
110
- // verify required parameter 'createPspPaymentMethodRequestDto' is not null or undefined
111
- (0, common_1.assertParamExists)('createPaymentMethod', 'createPspPaymentMethodRequestDto', createPspPaymentMethodRequestDto);
110
+ // verify required parameter 'body' is not null or undefined
111
+ (0, common_1.assertParamExists)('createPaymentMethod', 'body', body);
112
112
  localVarPath = "/paymentservice/v1/payment-methods";
113
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
114
  if (configuration) {
@@ -132,7 +132,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
132
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
133
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
134
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPspPaymentMethodRequestDto, localVarRequestOptions, configuration);
135
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
136
136
  return [2 /*return*/, {
137
137
  url: (0, common_1.toPathString)(localVarUrlObj),
138
138
  options: localVarRequestOptions,
@@ -195,13 +195,13 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
195
195
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
196
196
  * @summary Retrieve a payment method
197
197
  * @param {string} code Unique identifier for the object.
198
+ * @param {string} expand Fields to expand response by
199
+ * @param {string} expand2 Fields to expand response by
198
200
  * @param {string} [authorization] Bearer Token
199
- * @param {string} [expand] Fields to expand response by
200
- * @param {string} [expand2] Fields to expand response by
201
201
  * @param {*} [options] Override http request option.
202
202
  * @throws {RequiredError}
203
203
  */
204
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
204
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
205
205
  if (options === void 0) { options = {}; }
206
206
  return __awaiter(_this, void 0, void 0, function () {
207
207
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -210,6 +210,10 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
210
210
  case 0:
211
211
  // verify required parameter 'code' is not null or undefined
212
212
  (0, common_1.assertParamExists)('getPaymentMethod', 'code', code);
213
+ // verify required parameter 'expand' is not null or undefined
214
+ (0, common_1.assertParamExists)('getPaymentMethod', 'expand', expand);
215
+ // verify required parameter 'expand2' is not null or undefined
216
+ (0, common_1.assertParamExists)('getPaymentMethod', 'expand2', expand2);
213
217
  localVarPath = "/paymentservice/v1/payment-methods/{code}";
214
218
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
215
219
  if (configuration) {
@@ -334,17 +338,17 @@ var PaymentMethodsApiFp = function (configuration) {
334
338
  /**
335
339
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
336
340
  * @summary Create the payment-method
337
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
341
+ * @param {object} body
338
342
  * @param {string} [authorization] Bearer Token
339
343
  * @param {*} [options] Override http request option.
340
344
  * @throws {RequiredError}
341
345
  */
342
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
346
+ createPaymentMethod: function (body, authorization, options) {
343
347
  return __awaiter(this, void 0, void 0, function () {
344
348
  var localVarAxiosArgs;
345
349
  return __generator(this, function (_a) {
346
350
  switch (_a.label) {
347
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options)];
351
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(body, authorization, options)];
348
352
  case 1:
349
353
  localVarAxiosArgs = _a.sent();
350
354
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -377,18 +381,18 @@ var PaymentMethodsApiFp = function (configuration) {
377
381
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
378
382
  * @summary Retrieve a payment method
379
383
  * @param {string} code Unique identifier for the object.
384
+ * @param {string} expand Fields to expand response by
385
+ * @param {string} expand2 Fields to expand response by
380
386
  * @param {string} [authorization] Bearer Token
381
- * @param {string} [expand] Fields to expand response by
382
- * @param {string} [expand2] Fields to expand response by
383
387
  * @param {*} [options] Override http request option.
384
388
  * @throws {RequiredError}
385
389
  */
386
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
390
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
387
391
  return __awaiter(this, void 0, void 0, function () {
388
392
  var localVarAxiosArgs;
389
393
  return __generator(this, function (_a) {
390
394
  switch (_a.label) {
391
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPaymentMethod(code, authorization, expand, expand2, options)];
395
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPaymentMethod(code, expand, expand2, authorization, options)];
392
396
  case 1:
393
397
  localVarAxiosArgs = _a.sent();
394
398
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -436,13 +440,13 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
436
440
  /**
437
441
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
438
442
  * @summary Create the payment-method
439
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
443
+ * @param {object} body
440
444
  * @param {string} [authorization] Bearer Token
441
445
  * @param {*} [options] Override http request option.
442
446
  * @throws {RequiredError}
443
447
  */
444
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
445
- return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
448
+ createPaymentMethod: function (body, authorization, options) {
449
+ return localVarFp.createPaymentMethod(body, authorization, options).then(function (request) { return request(axios, basePath); });
446
450
  },
447
451
  /**
448
452
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
@@ -459,14 +463,14 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
459
463
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
460
464
  * @summary Retrieve a payment method
461
465
  * @param {string} code Unique identifier for the object.
466
+ * @param {string} expand Fields to expand response by
467
+ * @param {string} expand2 Fields to expand response by
462
468
  * @param {string} [authorization] Bearer Token
463
- * @param {string} [expand] Fields to expand response by
464
- * @param {string} [expand2] Fields to expand response by
465
469
  * @param {*} [options] Override http request option.
466
470
  * @throws {RequiredError}
467
471
  */
468
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
469
- return localVarFp.getPaymentMethod(code, authorization, expand, expand2, options).then(function (request) { return request(axios, basePath); });
472
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
473
+ return localVarFp.getPaymentMethod(code, expand, expand2, authorization, options).then(function (request) { return request(axios, basePath); });
470
474
  },
471
475
  /**
472
476
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -509,7 +513,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
509
513
  */
510
514
  PaymentMethodsApi.prototype.createPaymentMethod = function (requestParameters, options) {
511
515
  var _this = this;
512
- return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
516
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
513
517
  };
514
518
  /**
515
519
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
@@ -533,7 +537,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
533
537
  */
534
538
  PaymentMethodsApi.prototype.getPaymentMethod = function (requestParameters, options) {
535
539
  var _this = this;
536
- return (0, exports.PaymentMethodsApiFp)(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization, requestParameters.expand, requestParameters.expand2, options).then(function (request) { return request(_this.axios, _this.basePath); });
540
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.expand, requestParameters.expand2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
537
541
  };
538
542
  /**
539
543
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -14,8 +14,6 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePaymentReminderRequestDto } from '../models';
16
16
  import { DeactivatePaymentReminderRequestDto } from '../models';
17
- import { DeactivatePaymentReminderResponseClass } from '../models';
18
- import { ListPaymentRemindersResponseClass } from '../models';
19
17
  /**
20
18
  * PaymentRemindersApi - axios parameter creator
21
19
  * @export
@@ -78,7 +76,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
78
76
  * @param {*} [options] Override http request option.
79
77
  * @throws {RequiredError}
80
78
  */
81
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
79
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
82
80
  /**
83
81
  * Deactivates the payment reminder
84
82
  * @summary Update the payment-reminder
@@ -88,7 +86,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
88
86
  * @param {*} [options] Override http request option.
89
87
  * @throws {RequiredError}
90
88
  */
91
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>>;
89
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
92
90
  /**
93
91
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
94
92
  * @summary Retrieve the payment reminder
@@ -97,7 +95,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
97
95
  * @param {*} [options] Override http request option.
98
96
  * @throws {RequiredError}
99
97
  */
100
- getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
98
+ getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
101
99
  /**
102
100
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
103
101
  * @summary List payment reminders
@@ -112,7 +110,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
112
110
  * @param {*} [options] Override http request option.
113
111
  * @throws {RequiredError}
114
112
  */
115
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>>;
113
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
116
114
  };
117
115
  /**
118
116
  * PaymentRemindersApi - factory interface
@@ -127,7 +125,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
127
125
  * @param {*} [options] Override http request option.
128
126
  * @throws {RequiredError}
129
127
  */
130
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
128
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
131
129
  /**
132
130
  * Deactivates the payment reminder
133
131
  * @summary Update the payment-reminder
@@ -137,7 +135,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
137
135
  * @param {*} [options] Override http request option.
138
136
  * @throws {RequiredError}
139
137
  */
140
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass>;
138
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
141
139
  /**
142
140
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
143
141
  * @summary Retrieve the payment reminder
@@ -146,7 +144,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
146
144
  * @param {*} [options] Override http request option.
147
145
  * @throws {RequiredError}
148
146
  */
149
- getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<object>;
147
+ getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void>;
150
148
  /**
151
149
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
152
150
  * @summary List payment reminders
@@ -161,7 +159,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
161
159
  * @param {*} [options] Override http request option.
162
160
  * @throws {RequiredError}
163
161
  */
164
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPaymentRemindersResponseClass>;
162
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
165
163
  };
166
164
  /**
167
165
  * Request parameters for createPaymentReminder operation in PaymentRemindersApi.
@@ -296,7 +294,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
296
294
  * @throws {RequiredError}
297
295
  * @memberof PaymentRemindersApi
298
296
  */
299
- createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
297
+ createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
300
298
  /**
301
299
  * Deactivates the payment reminder
302
300
  * @summary Update the payment-reminder
@@ -305,7 +303,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
305
303
  * @throws {RequiredError}
306
304
  * @memberof PaymentRemindersApi
307
305
  */
308
- deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any>>;
306
+ deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
309
307
  /**
310
308
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
311
309
  * @summary Retrieve the payment reminder
@@ -314,7 +312,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
314
312
  * @throws {RequiredError}
315
313
  * @memberof PaymentRemindersApi
316
314
  */
317
- getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
315
+ getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
318
316
  /**
319
317
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
320
318
  * @summary List payment reminders
@@ -323,5 +321,5 @@ export declare class PaymentRemindersApi extends BaseAPI {
323
321
  * @throws {RequiredError}
324
322
  * @memberof PaymentRemindersApi
325
323
  */
326
- listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any>>;
324
+ listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
327
325
  }
@@ -12,10 +12,6 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { CompletePaymentSetupRequestDto } from '../models';
16
- import { CompletePaymentSetupResponseClass } from '../models';
17
- import { InitiatePaymentSetupRequestDto } from '../models';
18
- import { InitiatePaymentSetupResponseClass } from '../models';
19
15
  /**
20
16
  * PaymentSetupApi - axios parameter creator
21
17
  * @export
@@ -23,20 +19,20 @@ import { InitiatePaymentSetupResponseClass } from '../models';
23
19
  export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configuration) => {
24
20
  /**
25
21
  *
26
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
22
+ * @param {object} body
27
23
  * @param {string} [authorization] Bearer Token
28
24
  * @param {*} [options] Override http request option.
29
25
  * @throws {RequiredError}
30
26
  */
31
- completePaymentSetup: (completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
27
+ completePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
28
  /**
33
29
  *
34
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
30
+ * @param {object} body
35
31
  * @param {string} [authorization] Bearer Token
36
32
  * @param {*} [options] Override http request option.
37
33
  * @throws {RequiredError}
38
34
  */
39
- initiatePaymentSetup: (initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ initiatePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40
36
  };
41
37
  /**
42
38
  * PaymentSetupApi - functional programming interface
@@ -45,20 +41,20 @@ export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configur
45
41
  export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
46
42
  /**
47
43
  *
48
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
44
+ * @param {object} body
49
45
  * @param {string} [authorization] Bearer Token
50
46
  * @param {*} [options] Override http request option.
51
47
  * @throws {RequiredError}
52
48
  */
53
- completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>>;
49
+ completePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
54
50
  /**
55
51
  *
56
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
52
+ * @param {object} body
57
53
  * @param {string} [authorization] Bearer Token
58
54
  * @param {*} [options] Override http request option.
59
55
  * @throws {RequiredError}
60
56
  */
61
- initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiatePaymentSetupResponseClass>>;
57
+ initiatePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
62
58
  };
63
59
  /**
64
60
  * PaymentSetupApi - factory interface
@@ -67,20 +63,20 @@ export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
67
63
  export declare const PaymentSetupApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
68
64
  /**
69
65
  *
70
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
66
+ * @param {object} body
71
67
  * @param {string} [authorization] Bearer Token
72
68
  * @param {*} [options] Override http request option.
73
69
  * @throws {RequiredError}
74
70
  */
75
- completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass>;
71
+ completePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
76
72
  /**
77
73
  *
78
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
74
+ * @param {object} body
79
75
  * @param {string} [authorization] Bearer Token
80
76
  * @param {*} [options] Override http request option.
81
77
  * @throws {RequiredError}
82
78
  */
83
- initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<InitiatePaymentSetupResponseClass>;
79
+ initiatePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
84
80
  };
85
81
  /**
86
82
  * Request parameters for completePaymentSetup operation in PaymentSetupApi.
@@ -90,10 +86,10 @@ export declare const PaymentSetupApiFactory: (configuration?: Configuration, bas
90
86
  export interface PaymentSetupApiCompletePaymentSetupRequest {
91
87
  /**
92
88
  *
93
- * @type {CompletePaymentSetupRequestDto}
89
+ * @type {object}
94
90
  * @memberof PaymentSetupApiCompletePaymentSetup
95
91
  */
96
- readonly completePaymentSetupRequestDto: CompletePaymentSetupRequestDto;
92
+ readonly body: object;
97
93
  /**
98
94
  * Bearer Token
99
95
  * @type {string}
@@ -109,10 +105,10 @@ export interface PaymentSetupApiCompletePaymentSetupRequest {
109
105
  export interface PaymentSetupApiInitiatePaymentSetupRequest {
110
106
  /**
111
107
  *
112
- * @type {InitiatePaymentSetupRequestDto}
108
+ * @type {object}
113
109
  * @memberof PaymentSetupApiInitiatePaymentSetup
114
110
  */
115
- readonly initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto;
111
+ readonly body: object;
116
112
  /**
117
113
  * Bearer Token
118
114
  * @type {string}
@@ -134,7 +130,7 @@ export declare class PaymentSetupApi extends BaseAPI {
134
130
  * @throws {RequiredError}
135
131
  * @memberof PaymentSetupApi
136
132
  */
137
- completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any>>;
133
+ completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
138
134
  /**
139
135
  *
140
136
  * @param {PaymentSetupApiInitiatePaymentSetupRequest} requestParameters Request parameters.
@@ -142,5 +138,5 @@ export declare class PaymentSetupApi extends BaseAPI {
142
138
  * @throws {RequiredError}
143
139
  * @memberof PaymentSetupApi
144
140
  */
145
- initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any>>;
141
+ initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
146
142
  }
@@ -94,20 +94,20 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
94
94
  return {
95
95
  /**
96
96
  *
97
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
97
+ * @param {object} body
98
98
  * @param {string} [authorization] Bearer Token
99
99
  * @param {*} [options] Override http request option.
100
100
  * @throws {RequiredError}
101
101
  */
102
- completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
102
+ completePaymentSetup: function (body, authorization, options) {
103
103
  if (options === void 0) { options = {}; }
104
104
  return __awaiter(_this, void 0, void 0, function () {
105
105
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
106
106
  return __generator(this, function (_a) {
107
107
  switch (_a.label) {
108
108
  case 0:
109
- // verify required parameter 'completePaymentSetupRequestDto' is not null or undefined
110
- (0, common_1.assertParamExists)('completePaymentSetup', 'completePaymentSetupRequestDto', completePaymentSetupRequestDto);
109
+ // verify required parameter 'body' is not null or undefined
110
+ (0, common_1.assertParamExists)('completePaymentSetup', 'body', body);
111
111
  localVarPath = "/paymentservice/v1/payment-setup/complete";
112
112
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
113
113
  if (configuration) {
@@ -131,7 +131,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
131
131
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
132
132
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
133
133
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
134
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completePaymentSetupRequestDto, localVarRequestOptions, configuration);
134
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
135
135
  return [2 /*return*/, {
136
136
  url: (0, common_1.toPathString)(localVarUrlObj),
137
137
  options: localVarRequestOptions,
@@ -142,20 +142,20 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
142
142
  },
143
143
  /**
144
144
  *
145
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
145
+ * @param {object} body
146
146
  * @param {string} [authorization] Bearer Token
147
147
  * @param {*} [options] Override http request option.
148
148
  * @throws {RequiredError}
149
149
  */
150
- initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
150
+ initiatePaymentSetup: function (body, authorization, options) {
151
151
  if (options === void 0) { options = {}; }
152
152
  return __awaiter(_this, void 0, void 0, function () {
153
153
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
154
154
  return __generator(this, function (_a) {
155
155
  switch (_a.label) {
156
156
  case 0:
157
- // verify required parameter 'initiatePaymentSetupRequestDto' is not null or undefined
158
- (0, common_1.assertParamExists)('initiatePaymentSetup', 'initiatePaymentSetupRequestDto', initiatePaymentSetupRequestDto);
157
+ // verify required parameter 'body' is not null or undefined
158
+ (0, common_1.assertParamExists)('initiatePaymentSetup', 'body', body);
159
159
  localVarPath = "/paymentservice/v1/payment-setup/initiate";
160
160
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
161
161
  if (configuration) {
@@ -179,7 +179,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
179
179
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
180
180
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
181
181
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
182
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(initiatePaymentSetupRequestDto, localVarRequestOptions, configuration);
182
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
183
183
  return [2 /*return*/, {
184
184
  url: (0, common_1.toPathString)(localVarUrlObj),
185
185
  options: localVarRequestOptions,
@@ -200,17 +200,17 @@ var PaymentSetupApiFp = function (configuration) {
200
200
  return {
201
201
  /**
202
202
  *
203
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
203
+ * @param {object} body
204
204
  * @param {string} [authorization] Bearer Token
205
205
  * @param {*} [options] Override http request option.
206
206
  * @throws {RequiredError}
207
207
  */
208
- completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
208
+ completePaymentSetup: function (body, authorization, options) {
209
209
  return __awaiter(this, void 0, void 0, function () {
210
210
  var localVarAxiosArgs;
211
211
  return __generator(this, function (_a) {
212
212
  switch (_a.label) {
213
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(completePaymentSetupRequestDto, authorization, options)];
213
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(body, authorization, options)];
214
214
  case 1:
215
215
  localVarAxiosArgs = _a.sent();
216
216
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -220,17 +220,17 @@ var PaymentSetupApiFp = function (configuration) {
220
220
  },
221
221
  /**
222
222
  *
223
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
223
+ * @param {object} body
224
224
  * @param {string} [authorization] Bearer Token
225
225
  * @param {*} [options] Override http request option.
226
226
  * @throws {RequiredError}
227
227
  */
228
- initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
228
+ initiatePaymentSetup: function (body, authorization, options) {
229
229
  return __awaiter(this, void 0, void 0, function () {
230
230
  var localVarAxiosArgs;
231
231
  return __generator(this, function (_a) {
232
232
  switch (_a.label) {
233
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiatePaymentSetup(initiatePaymentSetupRequestDto, authorization, options)];
233
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiatePaymentSetup(body, authorization, options)];
234
234
  case 1:
235
235
  localVarAxiosArgs = _a.sent();
236
236
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -250,23 +250,23 @@ var PaymentSetupApiFactory = function (configuration, basePath, axios) {
250
250
  return {
251
251
  /**
252
252
  *
253
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
253
+ * @param {object} body
254
254
  * @param {string} [authorization] Bearer Token
255
255
  * @param {*} [options] Override http request option.
256
256
  * @throws {RequiredError}
257
257
  */
258
- completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
259
- return localVarFp.completePaymentSetup(completePaymentSetupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
258
+ completePaymentSetup: function (body, authorization, options) {
259
+ return localVarFp.completePaymentSetup(body, authorization, options).then(function (request) { return request(axios, basePath); });
260
260
  },
261
261
  /**
262
262
  *
263
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
263
+ * @param {object} body
264
264
  * @param {string} [authorization] Bearer Token
265
265
  * @param {*} [options] Override http request option.
266
266
  * @throws {RequiredError}
267
267
  */
268
- initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
269
- return localVarFp.initiatePaymentSetup(initiatePaymentSetupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
268
+ initiatePaymentSetup: function (body, authorization, options) {
269
+ return localVarFp.initiatePaymentSetup(body, authorization, options).then(function (request) { return request(axios, basePath); });
270
270
  },
271
271
  };
272
272
  };
@@ -291,7 +291,7 @@ var PaymentSetupApi = /** @class */ (function (_super) {
291
291
  */
292
292
  PaymentSetupApi.prototype.completePaymentSetup = function (requestParameters, options) {
293
293
  var _this = this;
294
- return (0, exports.PaymentSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.completePaymentSetupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
294
+ return (0, exports.PaymentSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
295
295
  };
296
296
  /**
297
297
  *
@@ -302,7 +302,7 @@ var PaymentSetupApi = /** @class */ (function (_super) {
302
302
  */
303
303
  PaymentSetupApi.prototype.initiatePaymentSetup = function (requestParameters, options) {
304
304
  var _this = this;
305
- return (0, exports.PaymentSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.initiatePaymentSetupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
305
+ return (0, exports.PaymentSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
306
306
  };
307
307
  return PaymentSetupApi;
308
308
  }(base_1.BaseAPI));