@emilgroup/payment-sdk 1.4.1-beta.3 → 1.4.1-beta.30

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 (224) hide show
  1. package/.openapi-generator/FILES +10 -27
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +497 -43
  4. package/api/bank-transaction-api.ts +89 -53
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +62 -173
  7. package/api/payment-reminders-api.ts +21 -25
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +54 -59
  10. package/api/refunds-api.ts +20 -18
  11. package/api/tenant-bank-account-api.ts +71 -61
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +1 -1
  14. package/base.ts +6 -2
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +295 -45
  18. package/dist/api/bank-accounts-api.js +412 -24
  19. package/dist/api/bank-transaction-api.d.ts +65 -45
  20. package/dist/api/bank-transaction-api.js +55 -40
  21. package/dist/api/default-api.d.ts +1 -1
  22. package/dist/api/default-api.js +1 -1
  23. package/dist/api/payment-methods-api.d.ts +48 -107
  24. package/dist/api/payment-methods-api.js +51 -143
  25. package/dist/api/payment-reminders-api.d.ts +25 -27
  26. package/dist/api/payment-reminders-api.js +12 -12
  27. package/dist/api/payment-setup-api.d.ts +19 -23
  28. package/dist/api/payment-setup-api.js +25 -25
  29. package/dist/api/payments-api.d.ts +46 -49
  30. package/dist/api/payments-api.js +43 -41
  31. package/dist/api/refunds-api.d.ts +15 -15
  32. package/dist/api/refunds-api.js +15 -13
  33. package/dist/api/tenant-bank-account-api.d.ts +70 -57
  34. package/dist/api/tenant-bank-account-api.js +56 -42
  35. package/dist/api/webhooks-api.d.ts +1 -1
  36. package/dist/api/webhooks-api.js +1 -1
  37. package/dist/api.d.ts +1 -1
  38. package/dist/api.js +1 -1
  39. package/dist/base.d.ts +2 -1
  40. package/dist/base.js +5 -2
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/bank-account-class.d.ts +23 -4
  48. package/dist/models/bank-account-class.js +1 -1
  49. package/dist/models/bank-transaction-response-class.d.ts +7 -1
  50. package/dist/models/bank-transaction-response-class.js +1 -1
  51. package/dist/models/create-bank-account-request-dto.d.ts +15 -3
  52. package/dist/models/create-bank-account-request-dto.js +1 -1
  53. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  54. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  55. package/dist/models/create-payment-request-dto.d.ts +4 -4
  56. package/dist/models/create-payment-request-dto.js +1 -1
  57. package/dist/models/create-refund-request-dto.d.ts +1 -1
  58. package/dist/models/create-refund-request-dto.js +1 -1
  59. package/dist/models/create-refund-response-class.d.ts +1 -1
  60. package/dist/models/create-refund-response-class.js +1 -1
  61. package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
  62. package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
  63. package/dist/models/create-tenant-bank-account-response-class.d.ts +25 -0
  64. package/dist/models/{complete-payment-setup-request-dto.js → create-tenant-bank-account-response-class.js} +1 -1
  65. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  66. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  67. package/dist/models/get-bank-account-response-class.d.ts +25 -0
  68. package/dist/models/{billing-profile-dto.js → get-bank-account-response-class.js} +1 -1
  69. package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
  70. package/dist/models/get-bank-transactions-response-class.js +1 -1
  71. package/dist/models/get-refund-response-class.d.ts +1 -1
  72. package/dist/models/get-refund-response-class.js +1 -1
  73. package/dist/models/get-request-dto.d.ts +2 -2
  74. package/dist/models/get-request-dto.js +1 -1
  75. package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
  76. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  77. package/dist/models/index.d.ts +10 -27
  78. package/dist/models/index.js +10 -27
  79. package/dist/models/inline-response200.d.ts +1 -1
  80. package/dist/models/inline-response200.js +1 -1
  81. package/dist/models/inline-response503.d.ts +1 -1
  82. package/dist/models/inline-response503.js +1 -1
  83. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +24 -0
  84. package/dist/models/{complete-braintree-payment-setup-request-dto.js → link-bank-transaction-request-dto-rest.js} +1 -1
  85. package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
  86. package/dist/models/list-bank-transactions-response-class.js +1 -1
  87. package/dist/models/list-refunds-response-class.d.ts +1 -1
  88. package/dist/models/list-refunds-response-class.js +1 -1
  89. package/dist/models/list-tenant-bank-account-response-class.d.ts +31 -0
  90. package/dist/models/{billing-profile-limited-response-dto.js → list-tenant-bank-account-response-class.js} +1 -1
  91. package/dist/models/primary-bank-account-response-class.d.ts +42 -0
  92. package/dist/models/primary-bank-account-response-class.js +15 -0
  93. package/dist/models/refund-class.d.ts +2 -1
  94. package/dist/models/refund-class.js +3 -2
  95. package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
  96. package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
  97. package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
  98. package/dist/models/tenant-bank-account-response-class.js +1 -1
  99. package/dist/models/transaction-class.d.ts +1 -1
  100. package/dist/models/transaction-class.js +1 -1
  101. package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +24 -0
  102. package/dist/models/unlink-bank-transaction-request-dto-rest.js +15 -0
  103. package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
  104. package/dist/models/update-bank-account-request-dto-rest.js +15 -0
  105. package/dist/models/update-bank-account-request-dto.d.ts +36 -0
  106. package/dist/models/update-bank-account-request-dto.js +15 -0
  107. package/dist/models/update-bank-account-response-class.d.ts +25 -0
  108. package/dist/models/update-bank-account-response-class.js +15 -0
  109. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  110. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  111. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
  112. package/dist/models/validate-pspconfig-request-dto.js +1 -8
  113. package/index.ts +1 -1
  114. package/models/bank-account-class.ts +23 -4
  115. package/models/bank-transaction-response-class.ts +7 -1
  116. package/models/create-bank-account-request-dto.ts +15 -3
  117. package/models/create-payment-reminder-request-dto.ts +1 -1
  118. package/models/create-payment-request-dto.ts +4 -4
  119. package/models/create-refund-request-dto.ts +1 -1
  120. package/models/create-refund-response-class.ts +1 -1
  121. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  122. package/models/create-tenant-bank-account-response-class.ts +31 -0
  123. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  124. package/models/get-bank-account-response-class.ts +31 -0
  125. package/models/get-bank-transactions-response-class.ts +1 -1
  126. package/models/get-refund-response-class.ts +1 -1
  127. package/models/get-request-dto.ts +2 -2
  128. package/models/get-tenant-bank-account-response-class.ts +1 -1
  129. package/models/index.ts +10 -27
  130. package/models/inline-response200.ts +1 -1
  131. package/models/inline-response503.ts +1 -1
  132. package/models/link-bank-transaction-request-dto-rest.ts +30 -0
  133. package/models/list-bank-transactions-response-class.ts +1 -1
  134. package/models/list-refunds-response-class.ts +1 -1
  135. package/models/list-tenant-bank-account-response-class.ts +37 -0
  136. package/models/primary-bank-account-response-class.ts +48 -0
  137. package/models/refund-class.ts +3 -2
  138. package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
  139. package/models/tenant-bank-account-response-class.ts +1 -1
  140. package/models/transaction-class.ts +1 -1
  141. package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
  142. package/models/update-bank-account-request-dto-rest.ts +36 -0
  143. package/models/update-bank-account-request-dto.ts +42 -0
  144. package/models/update-bank-account-response-class.ts +31 -0
  145. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  146. package/models/validate-pspconfig-request-dto.ts +2 -12
  147. package/package.json +1 -1
  148. package/dist/models/billing-profile-dto.d.ts +0 -38
  149. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  150. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  151. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  152. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  153. package/dist/models/complete-payment-setup-response-class.js +0 -15
  154. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  155. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  156. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  157. package/dist/models/create-payment-method-response-class.js +0 -15
  158. package/dist/models/create-payment-response-class.d.ts +0 -25
  159. package/dist/models/create-payment-response-class.js +0 -15
  160. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  161. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  162. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  163. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  164. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  165. package/dist/models/get-payment-method-response-class.js +0 -15
  166. package/dist/models/get-payment-response-class.d.ts +0 -25
  167. package/dist/models/get-payment-response-class.js +0 -15
  168. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  169. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  170. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  171. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  172. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  173. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  174. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  175. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  176. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  177. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  178. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  179. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  180. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  181. package/dist/models/list-bank-accounts-response-class.js +0 -15
  182. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  183. package/dist/models/list-payment-methods-response-class.js +0 -15
  184. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  185. package/dist/models/list-payment-reminders-response-class.js +0 -15
  186. package/dist/models/list-payments-response-class.d.ts +0 -31
  187. package/dist/models/list-payments-response-class.js +0 -15
  188. package/dist/models/payment-class.d.ts +0 -103
  189. package/dist/models/payment-class.js +0 -15
  190. package/dist/models/payment-method-class.d.ts +0 -66
  191. package/dist/models/payment-method-class.js +0 -15
  192. package/dist/models/payment-reminder-class.d.ts +0 -112
  193. package/dist/models/payment-reminder-class.js +0 -36
  194. package/dist/models/sepa-direct-dto.d.ts +0 -24
  195. package/dist/models/sepa-direct-dto.js +0 -15
  196. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  197. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  198. package/models/billing-profile-dto.ts +0 -44
  199. package/models/billing-profile-limited-response-dto.ts +0 -60
  200. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  201. package/models/complete-payment-setup-request-dto.ts +0 -38
  202. package/models/complete-payment-setup-response-class.ts +0 -31
  203. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  204. package/models/create-payment-method-response-class.ts +0 -31
  205. package/models/create-payment-response-class.ts +0 -31
  206. package/models/create-psp-payment-method-request-dto.ts +0 -70
  207. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  208. package/models/get-payment-method-response-class.ts +0 -31
  209. package/models/get-payment-response-class.ts +0 -31
  210. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  211. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  212. package/models/initiate-payment-setup-request-dto.ts +0 -50
  213. package/models/initiate-payment-setup-response-class.ts +0 -38
  214. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  215. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  216. package/models/list-bank-accounts-response-class.ts +0 -37
  217. package/models/list-payment-methods-response-class.ts +0 -37
  218. package/models/list-payment-reminders-response-class.ts +0 -37
  219. package/models/list-payments-response-class.ts +0 -37
  220. package/models/payment-class.ts +0 -109
  221. package/models/payment-method-class.ts +0 -72
  222. package/models/payment-reminder-class.ts +0 -122
  223. package/models/sepa-direct-dto.ts +0 -30
  224. package/models/symphony-profile-limited-response-dto.ts +0 -48
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Emil Payment Service
6
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
9
  * Contact: kontakt@emil.de
@@ -144,12 +144,12 @@ var RefundsApiAxiosParamCreator = function (configuration) {
144
144
  *
145
145
  * @param {string} code
146
146
  * @param {string} code2 Unique identifier for the object.
147
+ * @param {string} expand Fields to expand response by
147
148
  * @param {string} [authorization] Bearer Token
148
- * @param {string} [expand] Fields to expand response by
149
149
  * @param {*} [options] Override http request option.
150
150
  * @throws {RequiredError}
151
151
  */
152
- getRefund: function (code, code2, authorization, expand, options) {
152
+ getRefund: function (code, code2, expand, authorization, options) {
153
153
  if (options === void 0) { options = {}; }
154
154
  return __awaiter(_this, void 0, void 0, function () {
155
155
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -160,6 +160,8 @@ var RefundsApiAxiosParamCreator = function (configuration) {
160
160
  (0, common_1.assertParamExists)('getRefund', 'code', code);
161
161
  // verify required parameter 'code2' is not null or undefined
162
162
  (0, common_1.assertParamExists)('getRefund', 'code2', code2);
163
+ // verify required parameter 'expand' is not null or undefined
164
+ (0, common_1.assertParamExists)('getRefund', 'expand', expand);
163
165
  localVarPath = "/paymentservice/v1/refunds/{code}"
164
166
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
165
167
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -203,7 +205,7 @@ var RefundsApiAxiosParamCreator = function (configuration) {
203
205
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
204
206
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
205
207
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
206
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
208
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
207
209
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
208
210
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
209
211
  * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
@@ -302,17 +304,17 @@ var RefundsApiFp = function (configuration) {
302
304
  *
303
305
  * @param {string} code
304
306
  * @param {string} code2 Unique identifier for the object.
307
+ * @param {string} expand Fields to expand response by
305
308
  * @param {string} [authorization] Bearer Token
306
- * @param {string} [expand] Fields to expand response by
307
309
  * @param {*} [options] Override http request option.
308
310
  * @throws {RequiredError}
309
311
  */
310
- getRefund: function (code, code2, authorization, expand, options) {
312
+ getRefund: function (code, code2, expand, authorization, options) {
311
313
  return __awaiter(this, void 0, void 0, function () {
312
314
  var localVarAxiosArgs;
313
315
  return __generator(this, function (_a) {
314
316
  switch (_a.label) {
315
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRefund(code, code2, authorization, expand, options)];
317
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRefund(code, code2, expand, authorization, options)];
316
318
  case 1:
317
319
  localVarAxiosArgs = _a.sent();
318
320
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -326,7 +328,7 @@ var RefundsApiFp = function (configuration) {
326
328
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
327
329
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
328
330
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
329
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
331
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
330
332
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
331
333
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
332
334
  * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
@@ -370,13 +372,13 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
370
372
  *
371
373
  * @param {string} code
372
374
  * @param {string} code2 Unique identifier for the object.
375
+ * @param {string} expand Fields to expand response by
373
376
  * @param {string} [authorization] Bearer Token
374
- * @param {string} [expand] Fields to expand response by
375
377
  * @param {*} [options] Override http request option.
376
378
  * @throws {RequiredError}
377
379
  */
378
- getRefund: function (code, code2, authorization, expand, options) {
379
- return localVarFp.getRefund(code, code2, authorization, expand, options).then(function (request) { return request(axios, basePath); });
380
+ getRefund: function (code, code2, expand, authorization, options) {
381
+ return localVarFp.getRefund(code, code2, expand, authorization, options).then(function (request) { return request(axios, basePath); });
380
382
  },
381
383
  /**
382
384
  *
@@ -384,7 +386,7 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
384
386
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
385
387
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
386
388
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
387
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
389
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
388
390
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
389
391
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
390
392
  * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
@@ -428,7 +430,7 @@ var RefundsApi = /** @class */ (function (_super) {
428
430
  */
429
431
  RefundsApi.prototype.getRefund = function (requestParameters, options) {
430
432
  var _this = this;
431
- return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
433
+ return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
432
434
  };
433
435
  /**
434
436
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Emil Payment Service
3
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -13,7 +13,9 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateTenantBankAccountRequestDto } from '../models';
16
+ import { CreateTenantBankAccountResponseClass } from '../models';
16
17
  import { GetTenantBankAccountResponseClass } from '../models';
18
+ import { ListTenantBankAccountResponseClass } from '../models';
17
19
  import { UpdateTenantBankAccountRestRequestDto } from '../models';
18
20
  /**
19
21
  * TenantBankAccountApi - axios parameter creator
@@ -21,7 +23,8 @@ import { UpdateTenantBankAccountRestRequestDto } from '../models';
21
23
  */
22
24
  export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Configuration) => {
23
25
  /**
24
- *
26
+ * Create a new tenant bank account
27
+ * @summary Create the Tenant Bank Account
25
28
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
26
29
  * @param {string} [authorization] Bearer Token
27
30
  * @param {*} [options] Override http request option.
@@ -29,7 +32,8 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
29
32
  */
30
33
  createTenantBankAccount: (createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
34
  /**
32
- *
35
+ * Deletes a tenant bank account by code
36
+ * @summary Delete the tenant bank account
33
37
  * @param {string} code Unique identifier for the object.
34
38
  * @param {string} [authorization] Bearer Token
35
39
  * @param {*} [options] Override http request option.
@@ -37,30 +41,32 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
37
41
  */
38
42
  deleteTenantBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
39
43
  /**
40
- *
44
+ * Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
45
+ * @summary Retrieve the Tenant Bank Account
41
46
  * @param {string} code Unique identifier for the object.
42
47
  * @param {string} [authorization] Bearer Token
43
- * @param {string} [expand] Expand the response with additional entities
44
48
  * @param {*} [options] Override http request option.
45
49
  * @throws {RequiredError}
46
50
  */
47
- getTenantBankAccount: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
+ getTenantBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
48
52
  /**
49
- *
53
+ * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
54
+ * @summary List Tenant Bank Accounts
50
55
  * @param {string} [authorization] Bearer Token
51
56
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
52
57
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
53
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
54
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
58
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
59
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
55
60
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
56
- * @param {string} [expand] Expand the response with additional entities
61
+ * @param {string} [expand] No expand is available for this tenant bank accounts
57
62
  * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
58
63
  * @param {*} [options] Override http request option.
59
64
  * @throws {RequiredError}
60
65
  */
61
66
  listTenantBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
62
67
  /**
63
- *
68
+ * Update a tenant bank account by code
69
+ * @summary Update the tenant bank account
64
70
  * @param {string} code Unique identifier for the object.
65
71
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
66
72
  * @param {string} [authorization] Bearer Token
@@ -75,53 +81,57 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
75
81
  */
76
82
  export declare const TenantBankAccountApiFp: (configuration?: Configuration) => {
77
83
  /**
78
- *
84
+ * Create a new tenant bank account
85
+ * @summary Create the Tenant Bank Account
79
86
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
80
87
  * @param {string} [authorization] Bearer Token
81
88
  * @param {*} [options] Override http request option.
82
89
  * @throws {RequiredError}
83
90
  */
84
- createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
91
+ createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTenantBankAccountResponseClass>>;
85
92
  /**
86
- *
93
+ * Deletes a tenant bank account by code
94
+ * @summary Delete the tenant bank account
87
95
  * @param {string} code Unique identifier for the object.
88
96
  * @param {string} [authorization] Bearer Token
89
97
  * @param {*} [options] Override http request option.
90
98
  * @throws {RequiredError}
91
99
  */
92
- deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
100
+ deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
93
101
  /**
94
- *
102
+ * Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
103
+ * @summary Retrieve the Tenant Bank Account
95
104
  * @param {string} code Unique identifier for the object.
96
105
  * @param {string} [authorization] Bearer Token
97
- * @param {string} [expand] Expand the response with additional entities
98
106
  * @param {*} [options] Override http request option.
99
107
  * @throws {RequiredError}
100
108
  */
101
- getTenantBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>>;
109
+ getTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>>;
102
110
  /**
103
- *
111
+ * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
112
+ * @summary List Tenant Bank Accounts
104
113
  * @param {string} [authorization] Bearer Token
105
114
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
106
115
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
107
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
108
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
116
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
117
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
109
118
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
110
- * @param {string} [expand] Expand the response with additional entities
119
+ * @param {string} [expand] No expand is available for this tenant bank accounts
111
120
  * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
112
121
  * @param {*} [options] Override http request option.
113
122
  * @throws {RequiredError}
114
123
  */
115
- listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
124
+ listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>>;
116
125
  /**
117
- *
126
+ * Update a tenant bank account by code
127
+ * @summary Update the tenant bank account
118
128
  * @param {string} code Unique identifier for the object.
119
129
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
120
130
  * @param {string} [authorization] Bearer Token
121
131
  * @param {*} [options] Override http request option.
122
132
  * @throws {RequiredError}
123
133
  */
124
- updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
134
+ updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTenantBankAccountResponseClass>>;
125
135
  };
126
136
  /**
127
137
  * TenantBankAccountApi - factory interface
@@ -129,53 +139,57 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
129
139
  */
130
140
  export declare const TenantBankAccountApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
131
141
  /**
132
- *
142
+ * Create a new tenant bank account
143
+ * @summary Create the Tenant Bank Account
133
144
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
134
145
  * @param {string} [authorization] Bearer Token
135
146
  * @param {*} [options] Override http request option.
136
147
  * @throws {RequiredError}
137
148
  */
138
- createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
149
+ createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTenantBankAccountResponseClass>;
139
150
  /**
140
- *
151
+ * Deletes a tenant bank account by code
152
+ * @summary Delete the tenant bank account
141
153
  * @param {string} code Unique identifier for the object.
142
154
  * @param {string} [authorization] Bearer Token
143
155
  * @param {*} [options] Override http request option.
144
156
  * @throws {RequiredError}
145
157
  */
146
- deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
158
+ deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
147
159
  /**
148
- *
160
+ * Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
161
+ * @summary Retrieve the Tenant Bank Account
149
162
  * @param {string} code Unique identifier for the object.
150
163
  * @param {string} [authorization] Bearer Token
151
- * @param {string} [expand] Expand the response with additional entities
152
164
  * @param {*} [options] Override http request option.
153
165
  * @throws {RequiredError}
154
166
  */
155
- getTenantBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetTenantBankAccountResponseClass>;
167
+ getTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<GetTenantBankAccountResponseClass>;
156
168
  /**
157
- *
169
+ * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
170
+ * @summary List Tenant Bank Accounts
158
171
  * @param {string} [authorization] Bearer Token
159
172
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
160
173
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
161
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
162
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
174
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
175
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
163
176
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
164
- * @param {string} [expand] Expand the response with additional entities
177
+ * @param {string} [expand] No expand is available for this tenant bank accounts
165
178
  * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
166
179
  * @param {*} [options] Override http request option.
167
180
  * @throws {RequiredError}
168
181
  */
169
- listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void>;
182
+ listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<ListTenantBankAccountResponseClass>;
170
183
  /**
171
- *
184
+ * Update a tenant bank account by code
185
+ * @summary Update the tenant bank account
172
186
  * @param {string} code Unique identifier for the object.
173
187
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
174
188
  * @param {string} [authorization] Bearer Token
175
189
  * @param {*} [options] Override http request option.
176
190
  * @throws {RequiredError}
177
191
  */
178
- updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
192
+ updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTenantBankAccountResponseClass>;
179
193
  };
180
194
  /**
181
195
  * Request parameters for createTenantBankAccount operation in TenantBankAccountApi.
@@ -233,12 +247,6 @@ export interface TenantBankAccountApiGetTenantBankAccountRequest {
233
247
  * @memberof TenantBankAccountApiGetTenantBankAccount
234
248
  */
235
249
  readonly authorization?: string;
236
- /**
237
- * Expand the response with additional entities
238
- * @type {string}
239
- * @memberof TenantBankAccountApiGetTenantBankAccount
240
- */
241
- readonly expand?: string;
242
250
  }
243
251
  /**
244
252
  * Request parameters for listTenantBankAccounts operation in TenantBankAccountApi.
@@ -265,13 +273,13 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
265
273
  */
266
274
  readonly pageToken?: any;
267
275
  /**
268
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
276
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
269
277
  * @type {any}
270
278
  * @memberof TenantBankAccountApiListTenantBankAccounts
271
279
  */
272
280
  readonly filter?: any;
273
281
  /**
274
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
282
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
275
283
  * @type {any}
276
284
  * @memberof TenantBankAccountApiListTenantBankAccounts
277
285
  */
@@ -283,7 +291,7 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
283
291
  */
284
292
  readonly order?: any;
285
293
  /**
286
- * Expand the response with additional entities
294
+ * No expand is available for this tenant bank accounts
287
295
  * @type {string}
288
296
  * @memberof TenantBankAccountApiListTenantBankAccounts
289
297
  */
@@ -328,23 +336,26 @@ export interface TenantBankAccountApiUpdateTenantBankAccountRequest {
328
336
  */
329
337
  export declare class TenantBankAccountApi extends BaseAPI {
330
338
  /**
331
- *
339
+ * Create a new tenant bank account
340
+ * @summary Create the Tenant Bank Account
332
341
  * @param {TenantBankAccountApiCreateTenantBankAccountRequest} requestParameters Request parameters.
333
342
  * @param {*} [options] Override http request option.
334
343
  * @throws {RequiredError}
335
344
  * @memberof TenantBankAccountApi
336
345
  */
337
- createTenantBankAccount(requestParameters: TenantBankAccountApiCreateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
346
+ createTenantBankAccount(requestParameters: TenantBankAccountApiCreateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTenantBankAccountResponseClass, any>>;
338
347
  /**
339
- *
348
+ * Deletes a tenant bank account by code
349
+ * @summary Delete the tenant bank account
340
350
  * @param {TenantBankAccountApiDeleteTenantBankAccountRequest} requestParameters Request parameters.
341
351
  * @param {*} [options] Override http request option.
342
352
  * @throws {RequiredError}
343
353
  * @memberof TenantBankAccountApi
344
354
  */
345
- deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
355
+ deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
346
356
  /**
347
- *
357
+ * Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
358
+ * @summary Retrieve the Tenant Bank Account
348
359
  * @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
349
360
  * @param {*} [options] Override http request option.
350
361
  * @throws {RequiredError}
@@ -352,19 +363,21 @@ export declare class TenantBankAccountApi extends BaseAPI {
352
363
  */
353
364
  getTenantBankAccount(requestParameters: TenantBankAccountApiGetTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTenantBankAccountResponseClass, any>>;
354
365
  /**
355
- *
366
+ * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
367
+ * @summary List Tenant Bank Accounts
356
368
  * @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
357
369
  * @param {*} [options] Override http request option.
358
370
  * @throws {RequiredError}
359
371
  * @memberof TenantBankAccountApi
360
372
  */
361
- listTenantBankAccounts(requestParameters?: TenantBankAccountApiListTenantBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
373
+ listTenantBankAccounts(requestParameters?: TenantBankAccountApiListTenantBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTenantBankAccountResponseClass, any>>;
362
374
  /**
363
- *
375
+ * Update a tenant bank account by code
376
+ * @summary Update the tenant bank account
364
377
  * @param {TenantBankAccountApiUpdateTenantBankAccountRequest} requestParameters Request parameters.
365
378
  * @param {*} [options] Override http request option.
366
379
  * @throws {RequiredError}
367
380
  * @memberof TenantBankAccountApi
368
381
  */
369
- updateTenantBankAccount(requestParameters: TenantBankAccountApiUpdateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
382
+ updateTenantBankAccount(requestParameters: TenantBankAccountApiUpdateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTenantBankAccountResponseClass, any>>;
370
383
  }