@emilgroup/payment-sdk-node 1.13.1-beta.8 → 1.14.0

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 (272) hide show
  1. package/.openapi-generator/FILES +55 -5
  2. package/README.md +18 -2
  3. package/api/bank-accounts-api.ts +508 -88
  4. package/api/bank-transaction-api.ts +97 -117
  5. package/api/{default-api.ts → health-check-api.ts} +22 -18
  6. package/api/payment-methods-api.ts +83 -256
  7. package/api/payment-reminders-api.ts +71 -105
  8. package/api/payment-setup-api.ts +53 -37
  9. package/api/payments-api.ts +80 -137
  10. package/api/refunds-api.ts +78 -112
  11. package/api/tenant-bank-account-api.ts +96 -118
  12. package/api/webhooks-api.ts +17 -13
  13. package/api.ts +3 -3
  14. package/base.ts +17 -9
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +298 -71
  18. package/dist/api/bank-accounts-api.js +432 -62
  19. package/dist/api/bank-transaction-api.d.ts +85 -100
  20. package/dist/api/bank-transaction-api.js +63 -74
  21. package/dist/api/health-check-api.d.ts +70 -0
  22. package/dist/api/{default-api.js → health-check-api.js} +31 -27
  23. package/dist/api/payment-methods-api.d.ts +66 -162
  24. package/dist/api/payment-methods-api.js +60 -190
  25. package/dist/api/payment-reminders-api.d.ts +66 -89
  26. package/dist/api/payment-reminders-api.js +44 -62
  27. package/dist/api/payment-setup-api.d.ts +39 -27
  28. package/dist/api/payment-setup-api.js +41 -33
  29. package/dist/api/payments-api.d.ts +70 -103
  30. package/dist/api/payments-api.js +55 -85
  31. package/dist/api/refunds-api.d.ts +68 -83
  32. package/dist/api/refunds-api.js +58 -68
  33. package/dist/api/tenant-bank-account-api.d.ts +90 -105
  34. package/dist/api/tenant-bank-account-api.js +63 -75
  35. package/dist/api/webhooks-api.d.ts +17 -13
  36. package/dist/api/webhooks-api.js +15 -11
  37. package/dist/api.d.ts +2 -2
  38. package/dist/api.js +2 -2
  39. package/dist/base.d.ts +5 -3
  40. package/dist/base.js +27 -21
  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-without-expand-properties.d.ts +84 -0
  48. package/dist/models/{bank-transaction-response-class.js → bank-account-class-without-expand-properties.js} +1 -1
  49. package/dist/models/bank-account-class.d.ts +91 -0
  50. package/dist/models/{transaction-class.js → bank-account-class.js} +1 -1
  51. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +126 -0
  52. package/dist/models/{get-request-dto.js → bank-transaction-class-without-expand-properties.js} +1 -1
  53. package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class.d.ts} +41 -29
  54. package/dist/models/{tenant-bank-account-response-class.js → bank-transaction-class.js} +1 -1
  55. package/dist/models/billing-profile-dto.d.ts +38 -0
  56. package/dist/models/billing-profile-dto.js +15 -0
  57. package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
  58. package/dist/models/billing-profile-limited-response-dto.js +15 -0
  59. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  60. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  61. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  62. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  63. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  64. package/dist/models/complete-payment-setup-response-class.js +15 -0
  65. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +77 -0
  66. package/dist/models/complete-stripe-payment-setup-request-dto.js +32 -0
  67. package/dist/models/create-bank-account-request-dto.d.ts +42 -0
  68. package/dist/models/create-bank-account-request-dto.js +15 -0
  69. package/dist/models/create-bank-account-response-class.d.ts +25 -0
  70. package/dist/models/create-bank-account-response-class.js +15 -0
  71. package/dist/models/create-payment-method-response-class.d.ts +25 -0
  72. package/dist/models/create-payment-method-response-class.js +15 -0
  73. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  74. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  75. package/dist/models/create-payment-reminder-response-class.d.ts +25 -0
  76. package/dist/models/create-payment-reminder-response-class.js +15 -0
  77. package/dist/models/create-payment-request-dto.d.ts +4 -4
  78. package/dist/models/create-payment-request-dto.js +1 -1
  79. package/dist/models/create-payment-response-class.d.ts +25 -0
  80. package/dist/models/create-payment-response-class.js +15 -0
  81. package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
  82. package/dist/models/create-psp-payment-method-request-dto.js +32 -0
  83. package/dist/models/create-refund-request-dto.d.ts +1 -1
  84. package/dist/models/create-refund-request-dto.js +1 -1
  85. package/dist/models/create-refund-response-class.d.ts +1 -1
  86. package/dist/models/create-refund-response-class.js +1 -1
  87. package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
  88. package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
  89. package/dist/models/create-tenant-bank-account-response-class.d.ts +25 -0
  90. package/dist/models/create-tenant-bank-account-response-class.js +15 -0
  91. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  92. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  93. package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
  94. package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
  95. package/dist/models/deactivated-payment-reminder-class.d.ts +102 -0
  96. package/dist/models/deactivated-payment-reminder-class.js +15 -0
  97. package/dist/models/get-bank-account-response-class.d.ts +25 -0
  98. package/dist/models/get-bank-account-response-class.js +15 -0
  99. package/dist/models/get-bank-transactions-response-class.d.ts +4 -4
  100. package/dist/models/get-bank-transactions-response-class.js +1 -1
  101. package/dist/models/get-payment-method-response-class.d.ts +25 -0
  102. package/dist/models/get-payment-method-response-class.js +15 -0
  103. package/dist/models/get-payment-reminder-response-class.d.ts +25 -0
  104. package/dist/models/get-payment-reminder-response-class.js +15 -0
  105. package/dist/models/get-payment-response-class.d.ts +25 -0
  106. package/dist/models/get-payment-response-class.js +15 -0
  107. package/dist/models/get-refund-response-class.d.ts +1 -1
  108. package/dist/models/get-refund-response-class.js +1 -1
  109. package/dist/models/get-tenant-bank-account-response-class.d.ts +5 -5
  110. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  111. package/dist/models/import-bank-transactions-response-class.d.ts +25 -0
  112. package/dist/models/import-bank-transactions-response-class.js +15 -0
  113. package/dist/models/index.d.ts +54 -4
  114. package/dist/models/index.js +54 -4
  115. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  116. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  117. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  118. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  119. package/dist/models/initiate-payment-setup-request-dto.d.ts +44 -0
  120. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  121. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  122. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  123. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  124. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  125. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  126. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  127. package/dist/models/inline-response200.d.ts +1 -1
  128. package/dist/models/inline-response200.js +1 -1
  129. package/dist/models/inline-response503.d.ts +1 -1
  130. package/dist/models/inline-response503.js +1 -1
  131. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +1 -1
  132. package/dist/models/link-bank-transaction-request-dto-rest.js +1 -1
  133. package/dist/models/link-bank-transactions-response-class.d.ts +25 -0
  134. package/dist/models/link-bank-transactions-response-class.js +15 -0
  135. package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
  136. package/dist/models/list-bank-accounts-response-class.js +15 -0
  137. package/dist/models/list-bank-transactions-response-class.d.ts +6 -6
  138. package/dist/models/list-bank-transactions-response-class.js +1 -1
  139. package/dist/models/list-payment-methods-response-class.d.ts +31 -0
  140. package/dist/models/list-payment-methods-response-class.js +15 -0
  141. package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
  142. package/dist/models/list-payment-reminders-response-class.js +15 -0
  143. package/dist/models/list-payments-response-class.d.ts +31 -0
  144. package/dist/models/list-payments-response-class.js +15 -0
  145. package/dist/models/list-refunds-response-class.d.ts +3 -3
  146. package/dist/models/list-refunds-response-class.js +1 -1
  147. package/dist/models/list-tenant-bank-account-response-class.d.ts +31 -0
  148. package/dist/models/list-tenant-bank-account-response-class.js +15 -0
  149. package/dist/models/payment-class-without-expand-properties.d.ts +108 -0
  150. package/dist/models/payment-class-without-expand-properties.js +15 -0
  151. package/dist/models/payment-class.d.ts +115 -0
  152. package/dist/models/payment-class.js +15 -0
  153. package/dist/models/payment-method-class.d.ts +78 -0
  154. package/dist/models/payment-method-class.js +15 -0
  155. package/dist/models/payment-reminder-class.d.ts +102 -0
  156. package/dist/models/payment-reminder-class.js +15 -0
  157. package/dist/models/primary-bank-account-response-class.d.ts +54 -0
  158. package/dist/models/primary-bank-account-response-class.js +15 -0
  159. package/dist/models/refund-class.d.ts +18 -4
  160. package/dist/models/refund-class.js +3 -2
  161. package/dist/models/refund-item-class.d.ts +114 -0
  162. package/dist/models/refund-item-class.js +15 -0
  163. package/dist/models/sepa-direct-dto.d.ts +24 -0
  164. package/dist/models/sepa-direct-dto.js +15 -0
  165. package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
  166. package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
  167. package/dist/models/shared-transaction-class.d.ts +72 -0
  168. package/dist/models/shared-transaction-class.js +15 -0
  169. package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
  170. package/dist/models/symphony-profile-limited-response-dto.js +15 -0
  171. package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +23 -11
  172. package/dist/models/tenant-bank-account-class-without-expand-properties.js +15 -0
  173. package/dist/models/tenant-bank-account-class.d.ts +85 -0
  174. package/dist/models/tenant-bank-account-class.js +15 -0
  175. package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +2 -2
  176. package/dist/models/unlink-bank-transaction-request-dto-rest.js +1 -1
  177. package/dist/models/unlink-bank-transactions-response-class.d.ts +25 -0
  178. package/dist/models/unlink-bank-transactions-response-class.js +15 -0
  179. package/dist/models/unlinked-bank-transaction-response-class.d.ts +108 -0
  180. package/dist/models/unlinked-bank-transaction-response-class.js +15 -0
  181. package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
  182. package/dist/models/update-bank-account-request-dto-rest.js +15 -0
  183. package/dist/models/update-bank-account-request-dto.d.ts +36 -0
  184. package/dist/models/update-bank-account-request-dto.js +15 -0
  185. package/dist/models/update-bank-account-response-class.d.ts +25 -0
  186. package/dist/models/update-bank-account-response-class.js +15 -0
  187. package/dist/models/update-tenant-bank-account-response-class.d.ts +25 -0
  188. package/dist/models/update-tenant-bank-account-response-class.js +15 -0
  189. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  190. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  191. package/dist/models/validate-pspconfig-request-dto.d.ts +9 -2
  192. package/dist/models/validate-pspconfig-request-dto.js +8 -1
  193. package/index.ts +1 -1
  194. package/models/bank-account-class-without-expand-properties.ts +90 -0
  195. package/models/bank-account-class.ts +97 -0
  196. package/models/bank-transaction-class-without-expand-properties.ts +132 -0
  197. package/models/{bank-transaction-response-class.ts → bank-transaction-class.ts} +41 -29
  198. package/models/billing-profile-dto.ts +44 -0
  199. package/models/billing-profile-limited-response-dto.ts +60 -0
  200. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  201. package/models/complete-payment-setup-request-dto.ts +38 -0
  202. package/models/complete-payment-setup-response-class.ts +31 -0
  203. package/models/complete-stripe-payment-setup-request-dto.ts +86 -0
  204. package/models/create-bank-account-request-dto.ts +48 -0
  205. package/models/create-bank-account-response-class.ts +31 -0
  206. package/models/create-payment-method-response-class.ts +31 -0
  207. package/models/create-payment-reminder-request-dto.ts +1 -1
  208. package/models/create-payment-reminder-response-class.ts +31 -0
  209. package/models/create-payment-request-dto.ts +4 -4
  210. package/models/create-payment-response-class.ts +31 -0
  211. package/models/create-psp-payment-method-request-dto.ts +70 -0
  212. package/models/create-refund-request-dto.ts +1 -1
  213. package/models/create-refund-response-class.ts +1 -1
  214. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  215. package/models/create-tenant-bank-account-response-class.ts +31 -0
  216. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  217. package/models/deactivate-payment-reminder-response-class.ts +31 -0
  218. package/models/deactivated-payment-reminder-class.ts +108 -0
  219. package/models/get-bank-account-response-class.ts +31 -0
  220. package/models/get-bank-transactions-response-class.ts +4 -4
  221. package/models/get-payment-method-response-class.ts +31 -0
  222. package/models/get-payment-reminder-response-class.ts +31 -0
  223. package/models/get-payment-response-class.ts +31 -0
  224. package/models/get-refund-response-class.ts +1 -1
  225. package/models/get-tenant-bank-account-response-class.ts +5 -5
  226. package/models/import-bank-transactions-response-class.ts +31 -0
  227. package/models/index.ts +54 -4
  228. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  229. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  230. package/models/initiate-payment-setup-request-dto.ts +50 -0
  231. package/models/initiate-payment-setup-response-class.ts +38 -0
  232. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  233. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  234. package/models/inline-response200.ts +1 -1
  235. package/models/inline-response503.ts +1 -1
  236. package/models/link-bank-transaction-request-dto-rest.ts +1 -1
  237. package/models/link-bank-transactions-response-class.ts +31 -0
  238. package/models/list-bank-accounts-response-class.ts +37 -0
  239. package/models/list-bank-transactions-response-class.ts +6 -6
  240. package/models/list-payment-methods-response-class.ts +37 -0
  241. package/models/list-payment-reminders-response-class.ts +37 -0
  242. package/models/list-payments-response-class.ts +37 -0
  243. package/models/list-refunds-response-class.ts +3 -3
  244. package/models/list-tenant-bank-account-response-class.ts +37 -0
  245. package/models/payment-class-without-expand-properties.ts +114 -0
  246. package/models/payment-class.ts +121 -0
  247. package/models/payment-method-class.ts +84 -0
  248. package/models/payment-reminder-class.ts +108 -0
  249. package/models/primary-bank-account-response-class.ts +60 -0
  250. package/models/refund-class.ts +19 -5
  251. package/models/refund-item-class.ts +120 -0
  252. package/models/sepa-direct-dto.ts +30 -0
  253. package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
  254. package/models/shared-transaction-class.ts +78 -0
  255. package/models/symphony-profile-limited-response-dto.ts +48 -0
  256. package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +23 -11
  257. package/models/tenant-bank-account-class.ts +91 -0
  258. package/models/unlink-bank-transaction-request-dto-rest.ts +2 -2
  259. package/models/unlink-bank-transactions-response-class.ts +31 -0
  260. package/models/unlinked-bank-transaction-response-class.ts +114 -0
  261. package/models/update-bank-account-request-dto-rest.ts +36 -0
  262. package/models/update-bank-account-request-dto.ts +42 -0
  263. package/models/update-bank-account-response-class.ts +31 -0
  264. package/models/update-tenant-bank-account-response-class.ts +31 -0
  265. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  266. package/models/validate-pspconfig-request-dto.ts +12 -2
  267. package/package.json +1 -1
  268. package/dist/api/default-api.d.ts +0 -66
  269. package/dist/models/get-request-dto.d.ts +0 -30
  270. package/dist/models/transaction-class.d.ts +0 -54
  271. package/models/get-request-dto.ts +0 -36
  272. package/models/transaction-class.ts +0 -60
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -23,8 +23,14 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { CreateTenantBankAccountRequestDto } from '../models';
25
25
  // @ts-ignore
26
+ import { CreateTenantBankAccountResponseClass } from '../models';
27
+ // @ts-ignore
26
28
  import { GetTenantBankAccountResponseClass } from '../models';
27
29
  // @ts-ignore
30
+ import { ListTenantBankAccountResponseClass } from '../models';
31
+ // @ts-ignore
32
+ import { UpdateTenantBankAccountResponseClass } from '../models';
33
+ // @ts-ignore
28
34
  import { UpdateTenantBankAccountRestRequestDto } from '../models';
29
35
  // URLSearchParams not necessarily used
30
36
  // @ts-ignore
@@ -37,8 +43,8 @@ const FormData = require('form-data');
37
43
  export const TenantBankAccountApiAxiosParamCreator = function (configuration?: Configuration) {
38
44
  return {
39
45
  /**
40
- * Create a new tenant bank account
41
- * @summary Create the Create Tenant Bank Account
46
+ * This will create a new tenant bank account
47
+ * @summary Create the tenant bank account
42
48
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
43
49
  * @param {string} [authorization] Bearer Token
44
50
  * @param {*} [options] Override http request option.
@@ -85,7 +91,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
85
91
  },
86
92
  /**
87
93
  * Deletes a tenant bank account by code
88
- * @summary Deletes a tenant bank account
94
+ * @summary Delete the tenant bank account
89
95
  * @param {string} code Unique identifier for the object.
90
96
  * @param {string} [authorization] Bearer Token
91
97
  * @param {*} [options] Override http request option.
@@ -129,15 +135,15 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
129
135
  };
130
136
  },
131
137
  /**
132
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
133
- * @summary Retrieve the Bank Transaction
134
- * @param {string} code Unique identifier for the object.
138
+ * 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.
139
+ * @summary Retrieve the tenant bank account
140
+ * @param {string} code
135
141
  * @param {string} [authorization] Bearer Token
136
- * @param {'bankTransactions'} [expand] Expand the response with additional entities
142
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankTransactions<i>
137
143
  * @param {*} [options] Override http request option.
138
144
  * @throws {RequiredError}
139
145
  */
140
- getTenantBankAccount: async (code: string, authorization?: string, expand?: 'bankTransactions', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
146
+ getTenantBankAccount: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
141
147
  // verify required parameter 'code' is not null or undefined
142
148
  assertParamExists('getTenantBankAccount', 'code', code)
143
149
  const localVarPath = `/paymentservice/v1/tenant/bank-accounts/{code}`
@@ -179,20 +185,18 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
179
185
  };
180
186
  },
181
187
  /**
182
- * 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.
183
- * @summary List Tenant Bank Accounts
188
+ * 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.
189
+ * @summary List tenant bank accounts
184
190
  * @param {string} [authorization] Bearer Token
185
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
186
- * @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.
187
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
188
- * @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.
189
- * @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.
190
- * @param {string} [expand] Expand the response with additional entities
191
- * @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.
191
+ * @param {string} [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;
192
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
193
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, iban, bankName, accountName&lt;/i&gt;
194
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
195
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankTransactions&lt;i&gt;
192
196
  * @param {*} [options] Override http request option.
193
197
  * @throws {RequiredError}
194
198
  */
195
- listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
199
+ listTenantBankAccounts: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
196
200
  const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
197
201
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
198
202
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -211,18 +215,14 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
211
215
  // http bearer authentication required
212
216
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
213
217
 
214
- if (pageSize !== undefined) {
215
- localVarQueryParameter['pageSize'] = pageSize;
216
- }
217
-
218
- if (pageToken !== undefined) {
219
- localVarQueryParameter['pageToken'] = pageToken;
220
- }
221
-
222
218
  if (filter !== undefined) {
223
219
  localVarQueryParameter['filter'] = filter;
224
220
  }
225
221
 
222
+ if (filters !== undefined) {
223
+ localVarQueryParameter['filters'] = filters;
224
+ }
225
+
226
226
  if (search !== undefined) {
227
227
  localVarQueryParameter['search'] = search;
228
228
  }
@@ -235,10 +235,6 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
235
235
  localVarQueryParameter['expand'] = expand;
236
236
  }
237
237
 
238
- if (filters !== undefined) {
239
- localVarQueryParameter['filters'] = filters;
240
- }
241
-
242
238
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
243
239
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
244
240
  }
@@ -256,7 +252,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
256
252
  },
257
253
  /**
258
254
  * Update a tenant bank account by code
259
- * @summary Update a tenant bank account
255
+ * @summary Update the tenant bank account
260
256
  * @param {string} code Unique identifier for the object.
261
257
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
262
258
  * @param {string} [authorization] Bearer Token
@@ -316,70 +312,68 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
316
312
  const localVarAxiosParamCreator = TenantBankAccountApiAxiosParamCreator(configuration)
317
313
  return {
318
314
  /**
319
- * Create a new tenant bank account
320
- * @summary Create the Create Tenant Bank Account
315
+ * This will create a new tenant bank account
316
+ * @summary Create the tenant bank account
321
317
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
322
318
  * @param {string} [authorization] Bearer Token
323
319
  * @param {*} [options] Override http request option.
324
320
  * @throws {RequiredError}
325
321
  */
326
- async createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
322
+ async createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTenantBankAccountResponseClass>> {
327
323
  const localVarAxiosArgs = await localVarAxiosParamCreator.createTenantBankAccount(createTenantBankAccountRequestDto, authorization, options);
328
324
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
329
325
  },
330
326
  /**
331
327
  * Deletes a tenant bank account by code
332
- * @summary Deletes a tenant bank account
328
+ * @summary Delete the tenant bank account
333
329
  * @param {string} code Unique identifier for the object.
334
330
  * @param {string} [authorization] Bearer Token
335
331
  * @param {*} [options] Override http request option.
336
332
  * @throws {RequiredError}
337
333
  */
338
- async deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
334
+ async deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
339
335
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTenantBankAccount(code, authorization, options);
340
336
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
341
337
  },
342
338
  /**
343
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
344
- * @summary Retrieve the Bank Transaction
345
- * @param {string} code Unique identifier for the object.
339
+ * 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.
340
+ * @summary Retrieve the tenant bank account
341
+ * @param {string} code
346
342
  * @param {string} [authorization] Bearer Token
347
- * @param {'bankTransactions'} [expand] Expand the response with additional entities
343
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankTransactions&lt;i&gt;
348
344
  * @param {*} [options] Override http request option.
349
345
  * @throws {RequiredError}
350
346
  */
351
- async getTenantBankAccount(code: string, authorization?: string, expand?: 'bankTransactions', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>> {
347
+ async getTenantBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>> {
352
348
  const localVarAxiosArgs = await localVarAxiosParamCreator.getTenantBankAccount(code, authorization, expand, options);
353
349
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
354
350
  },
355
351
  /**
356
- * 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.
357
- * @summary List Tenant Bank Accounts
352
+ * 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.
353
+ * @summary List tenant bank accounts
358
354
  * @param {string} [authorization] Bearer Token
359
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
360
- * @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.
361
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
362
- * @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.
363
- * @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.
364
- * @param {string} [expand] Expand the response with additional entities
365
- * @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.
355
+ * @param {string} [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;
356
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
357
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, iban, bankName, accountName&lt;/i&gt;
358
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
359
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankTransactions&lt;i&gt;
366
360
  * @param {*} [options] Override http request option.
367
361
  * @throws {RequiredError}
368
362
  */
369
- async 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>> {
370
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
363
+ async listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>> {
364
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options);
371
365
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
372
366
  },
373
367
  /**
374
368
  * Update a tenant bank account by code
375
- * @summary Update a tenant bank account
369
+ * @summary Update the tenant bank account
376
370
  * @param {string} code Unique identifier for the object.
377
371
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
378
372
  * @param {string} [authorization] Bearer Token
379
373
  * @param {*} [options] Override http request option.
380
374
  * @throws {RequiredError}
381
375
  */
382
- async updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
376
+ async updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTenantBankAccountResponseClass>> {
383
377
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateTenantBankAccount(code, updateTenantBankAccountRestRequestDto, authorization, options);
384
378
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
385
379
  },
@@ -394,66 +388,64 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
394
388
  const localVarFp = TenantBankAccountApiFp(configuration)
395
389
  return {
396
390
  /**
397
- * Create a new tenant bank account
398
- * @summary Create the Create Tenant Bank Account
391
+ * This will create a new tenant bank account
392
+ * @summary Create the tenant bank account
399
393
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
400
394
  * @param {string} [authorization] Bearer Token
401
395
  * @param {*} [options] Override http request option.
402
396
  * @throws {RequiredError}
403
397
  */
404
- createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
398
+ createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTenantBankAccountResponseClass> {
405
399
  return localVarFp.createTenantBankAccount(createTenantBankAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
406
400
  },
407
401
  /**
408
402
  * Deletes a tenant bank account by code
409
- * @summary Deletes a tenant bank account
403
+ * @summary Delete the tenant bank account
410
404
  * @param {string} code Unique identifier for the object.
411
405
  * @param {string} [authorization] Bearer Token
412
406
  * @param {*} [options] Override http request option.
413
407
  * @throws {RequiredError}
414
408
  */
415
- deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void> {
409
+ deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object> {
416
410
  return localVarFp.deleteTenantBankAccount(code, authorization, options).then((request) => request(axios, basePath));
417
411
  },
418
412
  /**
419
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
420
- * @summary Retrieve the Bank Transaction
421
- * @param {string} code Unique identifier for the object.
413
+ * 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.
414
+ * @summary Retrieve the tenant bank account
415
+ * @param {string} code
422
416
  * @param {string} [authorization] Bearer Token
423
- * @param {'bankTransactions'} [expand] Expand the response with additional entities
417
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankTransactions&lt;i&gt;
424
418
  * @param {*} [options] Override http request option.
425
419
  * @throws {RequiredError}
426
420
  */
427
- getTenantBankAccount(code: string, authorization?: string, expand?: 'bankTransactions', options?: any): AxiosPromise<GetTenantBankAccountResponseClass> {
421
+ getTenantBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetTenantBankAccountResponseClass> {
428
422
  return localVarFp.getTenantBankAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
429
423
  },
430
424
  /**
431
- * 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.
432
- * @summary List Tenant Bank Accounts
425
+ * 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.
426
+ * @summary List tenant bank accounts
433
427
  * @param {string} [authorization] Bearer Token
434
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
435
- * @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.
436
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
437
- * @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.
438
- * @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.
439
- * @param {string} [expand] Expand the response with additional entities
440
- * @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
+ * @param {string} [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;
429
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
430
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, iban, bankName, accountName&lt;/i&gt;
431
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
432
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankTransactions&lt;i&gt;
441
433
  * @param {*} [options] Override http request option.
442
434
  * @throws {RequiredError}
443
435
  */
444
- listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void> {
445
- return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
436
+ listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTenantBankAccountResponseClass> {
437
+ return localVarFp.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
446
438
  },
447
439
  /**
448
440
  * Update a tenant bank account by code
449
- * @summary Update a tenant bank account
441
+ * @summary Update the tenant bank account
450
442
  * @param {string} code Unique identifier for the object.
451
443
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
452
444
  * @param {string} [authorization] Bearer Token
453
445
  * @param {*} [options] Override http request option.
454
446
  * @throws {RequiredError}
455
447
  */
456
- updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
448
+ updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateTenantBankAccountResponseClass> {
457
449
  return localVarFp.updateTenantBankAccount(code, updateTenantBankAccountRestRequestDto, authorization, options).then((request) => request(axios, basePath));
458
450
  },
459
451
  };
@@ -508,7 +500,7 @@ export interface TenantBankAccountApiDeleteTenantBankAccountRequest {
508
500
  */
509
501
  export interface TenantBankAccountApiGetTenantBankAccountRequest {
510
502
  /**
511
- * Unique identifier for the object.
503
+ *
512
504
  * @type {string}
513
505
  * @memberof TenantBankAccountApiGetTenantBankAccount
514
506
  */
@@ -522,11 +514,11 @@ export interface TenantBankAccountApiGetTenantBankAccountRequest {
522
514
  readonly authorization?: string
523
515
 
524
516
  /**
525
- * Expand the response with additional entities
526
- * @type {'bankTransactions'}
517
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankTransactions&lt;i&gt;
518
+ * @type {string}
527
519
  * @memberof TenantBankAccountApiGetTenantBankAccount
528
520
  */
529
- readonly expand?: 'bankTransactions'
521
+ readonly expand?: string
530
522
  }
531
523
 
532
524
  /**
@@ -543,53 +535,39 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
543
535
  readonly authorization?: string
544
536
 
545
537
  /**
546
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
547
- * @type {any}
548
- * @memberof TenantBankAccountApiListTenantBankAccounts
549
- */
550
- readonly pageSize?: any
551
-
552
- /**
553
- * 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.
554
- * @type {any}
538
+ * 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;
539
+ * @type {string}
555
540
  * @memberof TenantBankAccountApiListTenantBankAccounts
556
541
  */
557
- readonly pageToken?: any
542
+ readonly filter?: string
558
543
 
559
544
  /**
560
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
561
- * @type {any}
545
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
546
+ * @type {string}
562
547
  * @memberof TenantBankAccountApiListTenantBankAccounts
563
548
  */
564
- readonly filter?: any
549
+ readonly filters?: string
565
550
 
566
551
  /**
567
- * 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.
568
- * @type {any}
552
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, iban, bankName, accountName&lt;/i&gt;
553
+ * @type {string}
569
554
  * @memberof TenantBankAccountApiListTenantBankAccounts
570
555
  */
571
- readonly search?: any
556
+ readonly search?: string
572
557
 
573
558
  /**
574
- * 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.
575
- * @type {any}
559
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
560
+ * @type {string}
576
561
  * @memberof TenantBankAccountApiListTenantBankAccounts
577
562
  */
578
- readonly order?: any
563
+ readonly order?: string
579
564
 
580
565
  /**
581
- * Expand the response with additional entities
566
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankTransactions&lt;i&gt;
582
567
  * @type {string}
583
568
  * @memberof TenantBankAccountApiListTenantBankAccounts
584
569
  */
585
570
  readonly expand?: string
586
-
587
- /**
588
- * 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.
589
- * @type {any}
590
- * @memberof TenantBankAccountApiListTenantBankAccounts
591
- */
592
- readonly filters?: any
593
571
  }
594
572
 
595
573
  /**
@@ -628,8 +606,8 @@ export interface TenantBankAccountApiUpdateTenantBankAccountRequest {
628
606
  */
629
607
  export class TenantBankAccountApi extends BaseAPI {
630
608
  /**
631
- * Create a new tenant bank account
632
- * @summary Create the Create Tenant Bank Account
609
+ * This will create a new tenant bank account
610
+ * @summary Create the tenant bank account
633
611
  * @param {TenantBankAccountApiCreateTenantBankAccountRequest} requestParameters Request parameters.
634
612
  * @param {*} [options] Override http request option.
635
613
  * @throws {RequiredError}
@@ -641,7 +619,7 @@ export class TenantBankAccountApi extends BaseAPI {
641
619
 
642
620
  /**
643
621
  * Deletes a tenant bank account by code
644
- * @summary Deletes a tenant bank account
622
+ * @summary Delete the tenant bank account
645
623
  * @param {TenantBankAccountApiDeleteTenantBankAccountRequest} requestParameters Request parameters.
646
624
  * @param {*} [options] Override http request option.
647
625
  * @throws {RequiredError}
@@ -652,8 +630,8 @@ export class TenantBankAccountApi extends BaseAPI {
652
630
  }
653
631
 
654
632
  /**
655
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
656
- * @summary Retrieve the Bank Transaction
633
+ * 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.
634
+ * @summary Retrieve the tenant bank account
657
635
  * @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
658
636
  * @param {*} [options] Override http request option.
659
637
  * @throws {RequiredError}
@@ -664,20 +642,20 @@ export class TenantBankAccountApi extends BaseAPI {
664
642
  }
665
643
 
666
644
  /**
667
- * 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.
668
- * @summary List Tenant Bank Accounts
645
+ * 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.
646
+ * @summary List tenant bank accounts
669
647
  * @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
670
648
  * @param {*} [options] Override http request option.
671
649
  * @throws {RequiredError}
672
650
  * @memberof TenantBankAccountApi
673
651
  */
674
652
  public listTenantBankAccounts(requestParameters: TenantBankAccountApiListTenantBankAccountsRequest = {}, options?: AxiosRequestConfig) {
675
- return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
653
+ return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
676
654
  }
677
655
 
678
656
  /**
679
657
  * Update a tenant bank account by code
680
- * @summary Update a tenant bank account
658
+ * @summary Update the tenant bank account
681
659
  * @param {TenantBankAccountApiUpdateTenantBankAccountRequest} requestParameters Request parameters.
682
660
  * @param {*} [options] Override http request option.
683
661
  * @throws {RequiredError}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -31,9 +31,10 @@ const FormData = require('form-data');
31
31
  export const WebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
32
32
  return {
33
33
  /**
34
- *
35
- * @param {string} pspType
36
- * @param {string} tenantSlug
34
+ * This will processes the webhook from external payment service provider.
35
+ * @summary Handle the webhook from PSP
36
+ * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis&lt;/i&gt;
37
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
37
38
  * @param {*} [options] Override http request option.
38
39
  * @throws {RequiredError}
39
40
  */
@@ -80,9 +81,10 @@ export const WebhooksApiFp = function(configuration?: Configuration) {
80
81
  const localVarAxiosParamCreator = WebhooksApiAxiosParamCreator(configuration)
81
82
  return {
82
83
  /**
83
- *
84
- * @param {string} pspType
85
- * @param {string} tenantSlug
84
+ * This will processes the webhook from external payment service provider.
85
+ * @summary Handle the webhook from PSP
86
+ * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis&lt;/i&gt;
87
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
86
88
  * @param {*} [options] Override http request option.
87
89
  * @throws {RequiredError}
88
90
  */
@@ -101,9 +103,10 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
101
103
  const localVarFp = WebhooksApiFp(configuration)
102
104
  return {
103
105
  /**
104
- *
105
- * @param {string} pspType
106
- * @param {string} tenantSlug
106
+ * This will processes the webhook from external payment service provider.
107
+ * @summary Handle the webhook from PSP
108
+ * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis&lt;/i&gt;
109
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
107
110
  * @param {*} [options] Override http request option.
108
111
  * @throws {RequiredError}
109
112
  */
@@ -120,14 +123,14 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
120
123
  */
121
124
  export interface WebhooksApiPostWebhookRequest {
122
125
  /**
123
- *
126
+ * The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis&lt;/i&gt;
124
127
  * @type {string}
125
128
  * @memberof WebhooksApiPostWebhook
126
129
  */
127
130
  readonly pspType: string
128
131
 
129
132
  /**
130
- *
133
+ * Unique slug identifier representing a tenant.
131
134
  * @type {string}
132
135
  * @memberof WebhooksApiPostWebhook
133
136
  */
@@ -142,7 +145,8 @@ export interface WebhooksApiPostWebhookRequest {
142
145
  */
143
146
  export class WebhooksApi extends BaseAPI {
144
147
  /**
145
- *
148
+ * This will processes the webhook from external payment service provider.
149
+ * @summary Handle the webhook from PSP
146
150
  * @param {WebhooksApiPostWebhookRequest} requestParameters Request parameters.
147
151
  * @param {*} [options] Override http request option.
148
152
  * @throws {RequiredError}
package/api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -26,7 +26,7 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
27
  import { BankAccountsApi } from './api';
28
28
  import { BankTransactionApi } from './api';
29
- import { DefaultApi } from './api';
29
+ import { HealthCheckApi } from './api';
30
30
  import { PaymentMethodsApi } from './api';
31
31
  import { PaymentRemindersApi } from './api';
32
32
  import { PaymentSetupApi } from './api';
@@ -38,7 +38,7 @@ import { WebhooksApi } from './api';
38
38
 
39
39
  export * from './api/bank-accounts-api';
40
40
  export * from './api/bank-transaction-api';
41
- export * from './api/default-api';
41
+ export * from './api/health-check-api';
42
42
  export * from './api/payment-methods-api';
43
43
  export * from './api/payment-reminders-api';
44
44
  export * from './api/payment-setup-api';