@emilgroup/payment-sdk 1.4.1-beta.38 → 1.4.1-beta.39

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 (196) hide show
  1. package/.openapi-generator/FILES +0 -51
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +24 -74
  4. package/api/bank-transaction-api.ts +26 -64
  5. package/api/payment-methods-api.ts +30 -80
  6. package/api/payment-reminders-api.ts +20 -70
  7. package/api/payment-setup-api.ts +28 -36
  8. package/api/payments-api.ts +18 -66
  9. package/api/refunds-api.ts +22 -56
  10. package/api/tenant-bank-account-api.ts +18 -46
  11. package/dist/api/bank-accounts-api.d.ts +25 -56
  12. package/dist/api/bank-accounts-api.js +11 -29
  13. package/dist/api/bank-transaction-api.d.ts +24 -47
  14. package/dist/api/bank-transaction-api.js +12 -24
  15. package/dist/api/payment-methods-api.d.ts +22 -53
  16. package/dist/api/payment-methods-api.js +23 -41
  17. package/dist/api/payment-reminders-api.d.ts +19 -50
  18. package/dist/api/payment-reminders-api.js +11 -29
  19. package/dist/api/payment-setup-api.d.ts +18 -22
  20. package/dist/api/payment-setup-api.js +24 -24
  21. package/dist/api/payments-api.d.ts +16 -46
  22. package/dist/api/payments-api.js +11 -29
  23. package/dist/api/refunds-api.d.ts +18 -39
  24. package/dist/api/refunds-api.js +12 -24
  25. package/dist/api/tenant-bank-account-api.d.ts +11 -29
  26. package/dist/api/tenant-bank-account-api.js +12 -24
  27. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +12 -0
  28. package/dist/models/create-bank-account-request-dto.d.ts +2 -2
  29. package/dist/models/create-payment-request-dto.d.ts +3 -3
  30. package/dist/models/index.d.ts +0 -51
  31. package/dist/models/index.js +0 -51
  32. package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +12 -0
  33. package/dist/models/tenant-bank-account-class.d.ts +12 -0
  34. package/dist/models/validate-pspconfig-request-dto.d.ts +1 -8
  35. package/dist/models/validate-pspconfig-request-dto.js +0 -7
  36. package/models/bank-transaction-class-without-expand-properties.ts +12 -0
  37. package/models/create-bank-account-request-dto.ts +2 -2
  38. package/models/create-payment-request-dto.ts +3 -3
  39. package/models/index.ts +0 -51
  40. package/models/tenant-bank-account-class-without-expand-properties.ts +12 -0
  41. package/models/tenant-bank-account-class.ts +12 -0
  42. package/models/validate-pspconfig-request-dto.ts +1 -11
  43. package/package.json +1 -1
  44. package/dist/models/bank-account-class-without-expand-properties.d.ts +0 -72
  45. package/dist/models/bank-account-class-without-expand-properties.js +0 -15
  46. package/dist/models/bank-account-class.d.ts +0 -79
  47. package/dist/models/bank-account-class.js +0 -15
  48. package/dist/models/bank-transaction-class.d.ts +0 -128
  49. package/dist/models/bank-transaction-class.js +0 -15
  50. package/dist/models/billing-profile-dto.d.ts +0 -38
  51. package/dist/models/billing-profile-dto.js +0 -15
  52. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  53. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  54. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  55. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  56. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  57. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  58. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  59. package/dist/models/complete-payment-setup-response-class.js +0 -15
  60. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  61. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  62. package/dist/models/create-bank-account-response-class.d.ts +0 -25
  63. package/dist/models/create-bank-account-response-class.js +0 -15
  64. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  65. package/dist/models/create-payment-method-response-class.js +0 -15
  66. package/dist/models/create-payment-reminder-response-class.d.ts +0 -25
  67. package/dist/models/create-payment-reminder-response-class.js +0 -15
  68. package/dist/models/create-payment-response-class.d.ts +0 -25
  69. package/dist/models/create-payment-response-class.js +0 -15
  70. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  71. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  72. package/dist/models/create-refund-response-class.d.ts +0 -25
  73. package/dist/models/create-refund-response-class.js +0 -15
  74. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  75. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  76. package/dist/models/deactivated-payment-reminder-class.d.ts +0 -90
  77. package/dist/models/deactivated-payment-reminder-class.js +0 -15
  78. package/dist/models/get-bank-account-response-class.d.ts +0 -25
  79. package/dist/models/get-bank-account-response-class.js +0 -15
  80. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  81. package/dist/models/get-bank-transactions-response-class.js +0 -15
  82. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  83. package/dist/models/get-payment-method-response-class.js +0 -15
  84. package/dist/models/get-payment-reminder-response-class.d.ts +0 -25
  85. package/dist/models/get-payment-reminder-response-class.js +0 -15
  86. package/dist/models/get-payment-response-class.d.ts +0 -25
  87. package/dist/models/get-payment-response-class.js +0 -15
  88. package/dist/models/get-refund-response-class.d.ts +0 -25
  89. package/dist/models/get-refund-response-class.js +0 -15
  90. package/dist/models/import-bank-transactions-response-class.d.ts +0 -25
  91. package/dist/models/import-bank-transactions-response-class.js +0 -15
  92. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  93. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  94. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  95. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  96. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -50
  97. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  98. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  99. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  100. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  101. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  102. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  103. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  104. package/dist/models/link-bank-transactions-response-class.d.ts +0 -25
  105. package/dist/models/link-bank-transactions-response-class.js +0 -15
  106. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  107. package/dist/models/list-bank-accounts-response-class.js +0 -15
  108. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  109. package/dist/models/list-bank-transactions-response-class.js +0 -15
  110. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  111. package/dist/models/list-payment-methods-response-class.js +0 -15
  112. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  113. package/dist/models/list-payment-reminders-response-class.js +0 -15
  114. package/dist/models/list-payments-response-class.d.ts +0 -31
  115. package/dist/models/list-payments-response-class.js +0 -15
  116. package/dist/models/list-refunds-response-class.d.ts +0 -31
  117. package/dist/models/list-refunds-response-class.js +0 -15
  118. package/dist/models/payment-class-without-expand-properties.d.ts +0 -102
  119. package/dist/models/payment-class-without-expand-properties.js +0 -15
  120. package/dist/models/payment-class.d.ts +0 -109
  121. package/dist/models/payment-class.js +0 -15
  122. package/dist/models/payment-method-class.d.ts +0 -66
  123. package/dist/models/payment-method-class.js +0 -15
  124. package/dist/models/payment-reminder-class.d.ts +0 -90
  125. package/dist/models/payment-reminder-class.js +0 -15
  126. package/dist/models/primary-bank-account-response-class.d.ts +0 -42
  127. package/dist/models/primary-bank-account-response-class.js +0 -15
  128. package/dist/models/refund-class-without-expand-properties.d.ts +0 -99
  129. package/dist/models/refund-class-without-expand-properties.js +0 -29
  130. package/dist/models/refund-class.d.ts +0 -106
  131. package/dist/models/refund-class.js +0 -29
  132. package/dist/models/refund-item-class.d.ts +0 -102
  133. package/dist/models/refund-item-class.js +0 -15
  134. package/dist/models/sepa-direct-dto.d.ts +0 -24
  135. package/dist/models/sepa-direct-dto.js +0 -15
  136. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  137. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  138. package/dist/models/transaction-class.d.ts +0 -54
  139. package/dist/models/transaction-class.js +0 -15
  140. package/dist/models/unlink-bank-transactions-response-class.d.ts +0 -25
  141. package/dist/models/unlink-bank-transactions-response-class.js +0 -15
  142. package/dist/models/unlinked-bank-transaction-response-class.d.ts +0 -96
  143. package/dist/models/unlinked-bank-transaction-response-class.js +0 -15
  144. package/dist/models/update-bank-account-response-class.d.ts +0 -25
  145. package/dist/models/update-bank-account-response-class.js +0 -15
  146. package/models/bank-account-class-without-expand-properties.ts +0 -78
  147. package/models/bank-account-class.ts +0 -85
  148. package/models/bank-transaction-class.ts +0 -134
  149. package/models/billing-profile-dto.ts +0 -44
  150. package/models/billing-profile-limited-response-dto.ts +0 -60
  151. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  152. package/models/complete-payment-setup-request-dto.ts +0 -38
  153. package/models/complete-payment-setup-response-class.ts +0 -31
  154. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  155. package/models/create-bank-account-response-class.ts +0 -31
  156. package/models/create-payment-method-response-class.ts +0 -31
  157. package/models/create-payment-reminder-response-class.ts +0 -31
  158. package/models/create-payment-response-class.ts +0 -31
  159. package/models/create-psp-payment-method-request-dto.ts +0 -70
  160. package/models/create-refund-response-class.ts +0 -31
  161. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  162. package/models/deactivated-payment-reminder-class.ts +0 -96
  163. package/models/get-bank-account-response-class.ts +0 -31
  164. package/models/get-bank-transactions-response-class.ts +0 -31
  165. package/models/get-payment-method-response-class.ts +0 -31
  166. package/models/get-payment-reminder-response-class.ts +0 -31
  167. package/models/get-payment-response-class.ts +0 -31
  168. package/models/get-refund-response-class.ts +0 -31
  169. package/models/import-bank-transactions-response-class.ts +0 -31
  170. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  171. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  172. package/models/initiate-payment-setup-request-dto.ts +0 -56
  173. package/models/initiate-payment-setup-response-class.ts +0 -38
  174. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  175. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  176. package/models/link-bank-transactions-response-class.ts +0 -31
  177. package/models/list-bank-accounts-response-class.ts +0 -37
  178. package/models/list-bank-transactions-response-class.ts +0 -37
  179. package/models/list-payment-methods-response-class.ts +0 -37
  180. package/models/list-payment-reminders-response-class.ts +0 -37
  181. package/models/list-payments-response-class.ts +0 -37
  182. package/models/list-refunds-response-class.ts +0 -37
  183. package/models/payment-class-without-expand-properties.ts +0 -108
  184. package/models/payment-class.ts +0 -115
  185. package/models/payment-method-class.ts +0 -72
  186. package/models/payment-reminder-class.ts +0 -96
  187. package/models/primary-bank-account-response-class.ts +0 -48
  188. package/models/refund-class-without-expand-properties.ts +0 -109
  189. package/models/refund-class.ts +0 -116
  190. package/models/refund-item-class.ts +0 -108
  191. package/models/sepa-direct-dto.ts +0 -30
  192. package/models/symphony-profile-limited-response-dto.ts +0 -48
  193. package/models/transaction-class.ts +0 -60
  194. package/models/unlink-bank-transactions-response-class.ts +0 -31
  195. package/models/unlinked-bank-transaction-response-class.ts +0 -102
  196. package/models/update-bank-account-response-class.ts +0 -31
@@ -184,17 +184,15 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
184
184
  * 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.
185
185
  * @summary List tenant bank accounts
186
186
  * @param {string} [authorization] Bearer Token
187
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
188
- * @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.
189
187
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
188
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
190
189
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, iban, bankName, accountName</i>
191
190
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
192
191
  * @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>
193
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
194
192
  * @param {*} [options] Override http request option.
195
193
  * @throws {RequiredError}
196
194
  */
197
- listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
195
+ listTenantBankAccounts: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
198
196
  const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
199
197
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
200
198
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -213,18 +211,14 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
213
211
  // http bearer authentication required
214
212
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
215
213
 
216
- if (pageSize !== undefined) {
217
- localVarQueryParameter['pageSize'] = pageSize;
218
- }
219
-
220
- if (pageToken !== undefined) {
221
- localVarQueryParameter['pageToken'] = pageToken;
222
- }
223
-
224
214
  if (filter !== undefined) {
225
215
  localVarQueryParameter['filter'] = filter;
226
216
  }
227
217
 
218
+ if (filters !== undefined) {
219
+ localVarQueryParameter['filters'] = filters;
220
+ }
221
+
228
222
  if (search !== undefined) {
229
223
  localVarQueryParameter['search'] = search;
230
224
  }
@@ -237,10 +231,6 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
237
231
  localVarQueryParameter['expand'] = expand;
238
232
  }
239
233
 
240
- if (filters !== undefined) {
241
- localVarQueryParameter['filters'] = filters;
242
- }
243
-
244
234
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
245
235
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
246
236
  }
@@ -358,18 +348,16 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
358
348
  * 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.
359
349
  * @summary List tenant bank accounts
360
350
  * @param {string} [authorization] Bearer Token
361
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
362
- * @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.
363
351
  * @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;
352
+ * @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;
364
353
  * @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;
365
354
  * @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;
366
355
  * @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;
367
- * @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;
368
356
  * @param {*} [options] Override http request option.
369
357
  * @throws {RequiredError}
370
358
  */
371
- async listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>> {
372
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
359
+ async listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>> {
360
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options);
373
361
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
374
362
  },
375
363
  /**
@@ -433,18 +421,16 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
433
421
  * 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.
434
422
  * @summary List tenant bank accounts
435
423
  * @param {string} [authorization] Bearer Token
436
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
437
- * @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.
438
424
  * @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;
425
+ * @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;
439
426
  * @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;
440
427
  * @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;
441
428
  * @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;
442
- * @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;
443
429
  * @param {*} [options] Override http request option.
444
430
  * @throws {RequiredError}
445
431
  */
446
- listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTenantBankAccountResponseClass> {
447
- return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
432
+ listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTenantBankAccountResponseClass> {
433
+ return localVarFp.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
448
434
  },
449
435
  /**
450
436
  * Update a tenant bank account by code
@@ -545,25 +531,18 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
545
531
  readonly authorization?: string
546
532
 
547
533
  /**
548
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
549
- * @type {any}
550
- * @memberof TenantBankAccountApiListTenantBankAccounts
551
- */
552
- readonly pageSize?: any
553
-
554
- /**
555
- * 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.
556
- * @type {any}
534
+ * 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;
535
+ * @type {string}
557
536
  * @memberof TenantBankAccountApiListTenantBankAccounts
558
537
  */
559
- readonly pageToken?: any
538
+ readonly filter?: string
560
539
 
561
540
  /**
562
- * 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;
541
+ * 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;
563
542
  * @type {string}
564
543
  * @memberof TenantBankAccountApiListTenantBankAccounts
565
544
  */
566
- readonly filter?: string
545
+ readonly filters?: string
567
546
 
568
547
  /**
569
548
  * 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;
@@ -585,13 +564,6 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
585
564
  * @memberof TenantBankAccountApiListTenantBankAccounts
586
565
  */
587
566
  readonly expand?: string
588
-
589
- /**
590
- * 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;
591
- * @type {string}
592
- * @memberof TenantBankAccountApiListTenantBankAccounts
593
- */
594
- readonly filters?: string
595
567
  }
596
568
 
597
569
  /**
@@ -674,7 +646,7 @@ export class TenantBankAccountApi extends BaseAPI {
674
646
  * @memberof TenantBankAccountApi
675
647
  */
676
648
  public listTenantBankAccounts(requestParameters: TenantBankAccountApiListTenantBankAccountsRequest = {}, options?: AxiosRequestConfig) {
677
- 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));
649
+ 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));
678
650
  }
679
651
 
680
652
  /**
@@ -13,12 +13,8 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateBankAccountRequestDto } from '../models';
16
- import { CreateBankAccountResponseClass } from '../models';
17
- import { GetBankAccountResponseClass } from '../models';
18
- import { ListBankAccountsResponseClass } from '../models';
19
16
  import { SetPrimaryBankAccountRequestDtoRest } from '../models';
20
17
  import { UpdateBankAccountRequestDtoRest } from '../models';
21
- import { UpdateBankAccountResponseClass } from '../models';
22
18
  /**
23
19
  * BankAccountsApi - axios parameter creator
24
20
  * @export
@@ -56,17 +52,14 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
56
52
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
57
53
  * @summary List bank accounts
58
54
  * @param {string} [authorization] Bearer Token
59
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
60
- * @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.
61
55
  * @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: code, id, accountCode, partnerCode&lt;/i&gt;
62
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
56
+ * @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: code, id, accountCode, partnerCode&lt;/i&gt;
63
57
  * @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;
64
58
  * @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: primaryBankAccount&lt;i&gt;
65
- * @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: code, id, accountCode, partnerCode&lt;/i&gt;
66
59
  * @param {*} [options] Override http request option.
67
60
  * @throws {RequiredError}
68
61
  */
69
- listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
62
+ listBankAccounts: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
70
63
  /**
71
64
  * Set the primary bank account for the specified partner/account
72
65
  * @summary Set primary bank account
@@ -101,7 +94,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
101
94
  * @param {*} [options] Override http request option.
102
95
  * @throws {RequiredError}
103
96
  */
104
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBankAccountResponseClass>>;
97
+ createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
105
98
  /**
106
99
  * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
107
100
  * @summary Delete the bank account
@@ -110,7 +103,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
110
103
  * @param {*} [options] Override http request option.
111
104
  * @throws {RequiredError}
112
105
  */
113
- deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
106
+ deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
114
107
  /**
115
108
  * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
116
109
  * @summary Retrieve the bank account
@@ -120,22 +113,19 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
120
113
  * @param {*} [options] Override http request option.
121
114
  * @throws {RequiredError}
122
115
  */
123
- getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankAccountResponseClass>>;
116
+ getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
124
117
  /**
125
118
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
126
119
  * @summary List bank accounts
127
120
  * @param {string} [authorization] Bearer Token
128
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
129
- * @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.
130
121
  * @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: code, id, accountCode, partnerCode&lt;/i&gt;
131
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
122
+ * @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: code, id, accountCode, partnerCode&lt;/i&gt;
132
123
  * @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;
133
124
  * @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: primaryBankAccount&lt;i&gt;
134
- * @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: code, id, accountCode, partnerCode&lt;/i&gt;
135
125
  * @param {*} [options] Override http request option.
136
126
  * @throws {RequiredError}
137
127
  */
138
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>>;
128
+ listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
139
129
  /**
140
130
  * Set the primary bank account for the specified partner/account
141
131
  * @summary Set primary bank account
@@ -145,7 +135,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
145
135
  * @param {*} [options] Override http request option.
146
136
  * @throws {RequiredError}
147
137
  */
148
- setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
138
+ setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
149
139
  /**
150
140
  * Update a bank account by code
151
141
  * @summary Update the bank account
@@ -155,7 +145,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
155
145
  * @param {*} [options] Override http request option.
156
146
  * @throws {RequiredError}
157
147
  */
158
- updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankAccountResponseClass>>;
148
+ updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
159
149
  };
160
150
  /**
161
151
  * BankAccountsApi - factory interface
@@ -170,7 +160,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
170
160
  * @param {*} [options] Override http request option.
171
161
  * @throws {RequiredError}
172
162
  */
173
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBankAccountResponseClass>;
163
+ createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
174
164
  /**
175
165
  * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
176
166
  * @summary Delete the bank account
@@ -179,7 +169,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
179
169
  * @param {*} [options] Override http request option.
180
170
  * @throws {RequiredError}
181
171
  */
182
- deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
172
+ deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
183
173
  /**
184
174
  * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
185
175
  * @summary Retrieve the bank account
@@ -189,22 +179,19 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
189
179
  * @param {*} [options] Override http request option.
190
180
  * @throws {RequiredError}
191
181
  */
192
- getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankAccountResponseClass>;
182
+ getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
193
183
  /**
194
184
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
195
185
  * @summary List bank accounts
196
186
  * @param {string} [authorization] Bearer Token
197
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
198
- * @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.
199
187
  * @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: code, id, accountCode, partnerCode&lt;/i&gt;
200
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
188
+ * @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: code, id, accountCode, partnerCode&lt;/i&gt;
201
189
  * @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;
202
190
  * @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: primaryBankAccount&lt;i&gt;
203
- * @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: code, id, accountCode, partnerCode&lt;/i&gt;
204
191
  * @param {*} [options] Override http request option.
205
192
  * @throws {RequiredError}
206
193
  */
207
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass>;
194
+ listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
208
195
  /**
209
196
  * Set the primary bank account for the specified partner/account
210
197
  * @summary Set primary bank account
@@ -214,7 +201,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
214
201
  * @param {*} [options] Override http request option.
215
202
  * @throws {RequiredError}
216
203
  */
217
- setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<object>;
204
+ setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
218
205
  /**
219
206
  * Update a bank account by code
220
207
  * @summary Update the bank account
@@ -224,7 +211,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
224
211
  * @param {*} [options] Override http request option.
225
212
  * @throws {RequiredError}
226
213
  */
227
- updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UpdateBankAccountResponseClass>;
214
+ updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
228
215
  };
229
216
  /**
230
217
  * Request parameters for createBankAccount operation in BankAccountsApi.
@@ -301,18 +288,6 @@ export interface BankAccountsApiListBankAccountsRequest {
301
288
  * @memberof BankAccountsApiListBankAccounts
302
289
  */
303
290
  readonly authorization?: string;
304
- /**
305
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
306
- * @type {any}
307
- * @memberof BankAccountsApiListBankAccounts
308
- */
309
- readonly pageSize?: any;
310
- /**
311
- * 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.
312
- * @type {any}
313
- * @memberof BankAccountsApiListBankAccounts
314
- */
315
- readonly pageToken?: any;
316
291
  /**
317
292
  * 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: code, id, accountCode, partnerCode&lt;/i&gt;
318
293
  * @type {string}
@@ -320,11 +295,11 @@ export interface BankAccountsApiListBankAccountsRequest {
320
295
  */
321
296
  readonly filter?: string;
322
297
  /**
323
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
324
- * @type {any}
298
+ * 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: code, id, accountCode, partnerCode&lt;/i&gt;
299
+ * @type {string}
325
300
  * @memberof BankAccountsApiListBankAccounts
326
301
  */
327
- readonly search?: any;
302
+ readonly filters?: string;
328
303
  /**
329
304
  * 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;
330
305
  * @type {string}
@@ -337,12 +312,6 @@ export interface BankAccountsApiListBankAccountsRequest {
337
312
  * @memberof BankAccountsApiListBankAccounts
338
313
  */
339
314
  readonly expand?: string;
340
- /**
341
- * 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: code, id, accountCode, partnerCode&lt;/i&gt;
342
- * @type {string}
343
- * @memberof BankAccountsApiListBankAccounts
344
- */
345
- readonly filters?: string;
346
315
  }
347
316
  /**
348
317
  * Request parameters for setPrimaryBankAccount operation in BankAccountsApi.
@@ -409,7 +378,7 @@ export declare class BankAccountsApi extends BaseAPI {
409
378
  * @throws {RequiredError}
410
379
  * @memberof BankAccountsApi
411
380
  */
412
- createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankAccountResponseClass, any>>;
381
+ createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
413
382
  /**
414
383
  * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
415
384
  * @summary Delete the bank account
@@ -418,7 +387,7 @@ export declare class BankAccountsApi extends BaseAPI {
418
387
  * @throws {RequiredError}
419
388
  * @memberof BankAccountsApi
420
389
  */
421
- deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
390
+ deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
422
391
  /**
423
392
  * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
424
393
  * @summary Retrieve the bank account
@@ -427,7 +396,7 @@ export declare class BankAccountsApi extends BaseAPI {
427
396
  * @throws {RequiredError}
428
397
  * @memberof BankAccountsApi
429
398
  */
430
- getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankAccountResponseClass, any>>;
399
+ getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
431
400
  /**
432
401
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
433
402
  * @summary List bank accounts
@@ -436,7 +405,7 @@ export declare class BankAccountsApi extends BaseAPI {
436
405
  * @throws {RequiredError}
437
406
  * @memberof BankAccountsApi
438
407
  */
439
- listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankAccountsResponseClass, any>>;
408
+ listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
440
409
  /**
441
410
  * Set the primary bank account for the specified partner/account
442
411
  * @summary Set primary bank account
@@ -445,7 +414,7 @@ export declare class BankAccountsApi extends BaseAPI {
445
414
  * @throws {RequiredError}
446
415
  * @memberof BankAccountsApi
447
416
  */
448
- setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
417
+ setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
449
418
  /**
450
419
  * Update a bank account by code
451
420
  * @summary Update the bank account
@@ -454,5 +423,5 @@ export declare class BankAccountsApi extends BaseAPI {
454
423
  * @throws {RequiredError}
455
424
  * @memberof BankAccountsApi
456
425
  */
457
- updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankAccountResponseClass, any>>;
426
+ updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
458
427
  }
@@ -245,17 +245,14 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
245
245
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
246
246
  * @summary List bank accounts
247
247
  * @param {string} [authorization] Bearer Token
248
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
- * @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.
250
248
  * @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: code, id, accountCode, partnerCode&lt;/i&gt;
251
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
249
+ * @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: code, id, accountCode, partnerCode&lt;/i&gt;
252
250
  * @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;
253
251
  * @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: primaryBankAccount&lt;i&gt;
254
- * @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: code, id, accountCode, partnerCode&lt;/i&gt;
255
252
  * @param {*} [options] Override http request option.
256
253
  * @throws {RequiredError}
257
254
  */
258
- listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
255
+ listBankAccounts: function (authorization, filter, filters, order, expand, options) {
259
256
  if (options === void 0) { options = {}; }
260
257
  return __awaiter(_this, void 0, void 0, function () {
261
258
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -278,17 +275,11 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
278
275
  // authentication bearer required
279
276
  // http bearer authentication required
280
277
  _a.sent();
281
- if (pageSize !== undefined) {
282
- localVarQueryParameter['pageSize'] = pageSize;
283
- }
284
- if (pageToken !== undefined) {
285
- localVarQueryParameter['pageToken'] = pageToken;
286
- }
287
278
  if (filter !== undefined) {
288
279
  localVarQueryParameter['filter'] = filter;
289
280
  }
290
- if (search !== undefined) {
291
- localVarQueryParameter['search'] = search;
281
+ if (filters !== undefined) {
282
+ localVarQueryParameter['filters'] = filters;
292
283
  }
293
284
  if (order !== undefined) {
294
285
  localVarQueryParameter['order'] = order;
@@ -296,9 +287,6 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
296
287
  if (expand !== undefined) {
297
288
  localVarQueryParameter['expand'] = expand;
298
289
  }
299
- if (filters !== undefined) {
300
- localVarQueryParameter['filters'] = filters;
301
- }
302
290
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
303
291
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
304
292
  }
@@ -497,22 +485,19 @@ var BankAccountsApiFp = function (configuration) {
497
485
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
498
486
  * @summary List bank accounts
499
487
  * @param {string} [authorization] Bearer Token
500
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
501
- * @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.
502
488
  * @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: code, id, accountCode, partnerCode&lt;/i&gt;
503
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
489
+ * @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: code, id, accountCode, partnerCode&lt;/i&gt;
504
490
  * @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;
505
491
  * @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: primaryBankAccount&lt;i&gt;
506
- * @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: code, id, accountCode, partnerCode&lt;/i&gt;
507
492
  * @param {*} [options] Override http request option.
508
493
  * @throws {RequiredError}
509
494
  */
510
- listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
495
+ listBankAccounts: function (authorization, filter, filters, order, expand, options) {
511
496
  return __awaiter(this, void 0, void 0, function () {
512
497
  var localVarAxiosArgs;
513
498
  return __generator(this, function (_a) {
514
499
  switch (_a.label) {
515
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
500
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, filter, filters, order, expand, options)];
516
501
  case 1:
517
502
  localVarAxiosArgs = _a.sent();
518
503
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -612,18 +597,15 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
612
597
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
613
598
  * @summary List bank accounts
614
599
  * @param {string} [authorization] Bearer Token
615
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
616
- * @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.
617
600
  * @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: code, id, accountCode, partnerCode&lt;/i&gt;
618
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
601
+ * @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: code, id, accountCode, partnerCode&lt;/i&gt;
619
602
  * @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;
620
603
  * @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: primaryBankAccount&lt;i&gt;
621
- * @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: code, id, accountCode, partnerCode&lt;/i&gt;
622
604
  * @param {*} [options] Override http request option.
623
605
  * @throws {RequiredError}
624
606
  */
625
- listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
626
- return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
607
+ listBankAccounts: function (authorization, filter, filters, order, expand, options) {
608
+ return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
627
609
  },
628
610
  /**
629
611
  * Set the primary bank account for the specified partner/account
@@ -710,7 +692,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
710
692
  BankAccountsApi.prototype.listBankAccounts = function (requestParameters, options) {
711
693
  var _this = this;
712
694
  if (requestParameters === void 0) { requestParameters = {}; }
713
- return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
695
+ return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
714
696
  };
715
697
  /**
716
698
  * Set the primary bank account for the specified partner/account