@emilgroup/payment-sdk-node 1.13.1-beta.37 → 1.13.1-beta.38

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
@@ -18,77 +18,26 @@ common.ts
18
18
  configuration.ts
19
19
  git_push.sh
20
20
  index.ts
21
- models/bank-account-class-without-expand-properties.ts
22
- models/bank-account-class.ts
23
21
  models/bank-transaction-class-without-expand-properties.ts
24
- models/bank-transaction-class.ts
25
- models/billing-profile-dto.ts
26
- models/billing-profile-limited-response-dto.ts
27
- models/complete-braintree-payment-setup-request-dto.ts
28
- models/complete-payment-setup-request-dto.ts
29
- models/complete-payment-setup-response-class.ts
30
- models/complete-stripe-payment-setup-request-dto.ts
31
22
  models/create-bank-account-request-dto.ts
32
- models/create-bank-account-response-class.ts
33
- models/create-payment-method-response-class.ts
34
23
  models/create-payment-reminder-request-dto.ts
35
- models/create-payment-reminder-response-class.ts
36
24
  models/create-payment-request-dto.ts
37
- models/create-payment-response-class.ts
38
- models/create-psp-payment-method-request-dto.ts
39
25
  models/create-refund-request-dto.ts
40
- models/create-refund-response-class.ts
41
26
  models/create-tenant-bank-account-request-dto.ts
42
27
  models/create-tenant-bank-account-response-class.ts
43
28
  models/deactivate-payment-reminder-request-dto.ts
44
- models/deactivate-payment-reminder-response-class.ts
45
- models/deactivated-payment-reminder-class.ts
46
- models/get-bank-account-response-class.ts
47
- models/get-bank-transactions-response-class.ts
48
- models/get-payment-method-response-class.ts
49
- models/get-payment-reminder-response-class.ts
50
- models/get-payment-response-class.ts
51
- models/get-refund-response-class.ts
52
29
  models/get-tenant-bank-account-response-class.ts
53
- models/import-bank-transactions-response-class.ts
54
30
  models/index.ts
55
- models/initiate-braintree-payment-setup-request-dto.ts
56
- models/initiate-braintree-payment-setup-response-class.ts
57
- models/initiate-payment-setup-request-dto.ts
58
- models/initiate-payment-setup-response-class.ts
59
- models/initiate-stripe-payment-setup-request-dto.ts
60
- models/initiate-stripe-payment-setup-response-class.ts
61
31
  models/inline-response200.ts
62
32
  models/inline-response503.ts
63
33
  models/link-bank-transaction-request-dto-rest.ts
64
- models/link-bank-transactions-response-class.ts
65
- models/list-bank-accounts-response-class.ts
66
- models/list-bank-transactions-response-class.ts
67
- models/list-payment-methods-response-class.ts
68
- models/list-payment-reminders-response-class.ts
69
- models/list-payments-response-class.ts
70
- models/list-refunds-response-class.ts
71
34
  models/list-tenant-bank-account-response-class.ts
72
- models/payment-class-without-expand-properties.ts
73
- models/payment-class.ts
74
- models/payment-method-class.ts
75
- models/payment-reminder-class.ts
76
- models/primary-bank-account-response-class.ts
77
- models/refund-class-without-expand-properties.ts
78
- models/refund-class.ts
79
- models/refund-item-class.ts
80
- models/sepa-direct-dto.ts
81
35
  models/set-primary-bank-account-request-dto-rest.ts
82
- models/symphony-profile-limited-response-dto.ts
83
36
  models/tenant-bank-account-class-without-expand-properties.ts
84
37
  models/tenant-bank-account-class.ts
85
- models/transaction-class.ts
86
38
  models/unlink-bank-transaction-request-dto-rest.ts
87
- models/unlink-bank-transactions-response-class.ts
88
- models/unlinked-bank-transaction-response-class.ts
89
39
  models/update-bank-account-request-dto-rest.ts
90
40
  models/update-bank-account-request-dto.ts
91
- models/update-bank-account-response-class.ts
92
41
  models/update-tenant-bank-account-response-class.ts
93
42
  models/update-tenant-bank-account-rest-request-dto.ts
94
43
  models/validate-pspconfig-request-dto.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/payment-sdk-node@1.13.1-beta.37 --save
20
+ npm install @emilgroup/payment-sdk-node@1.13.1-beta.38 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk-node@1.13.1-beta.37
24
+ yarn add @emilgroup/payment-sdk-node@1.13.1-beta.38
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -23,17 +23,9 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { CreateBankAccountRequestDto } from '../models';
25
25
  // @ts-ignore
26
- import { CreateBankAccountResponseClass } from '../models';
27
- // @ts-ignore
28
- import { GetBankAccountResponseClass } from '../models';
29
- // @ts-ignore
30
- import { ListBankAccountsResponseClass } from '../models';
31
- // @ts-ignore
32
26
  import { SetPrimaryBankAccountRequestDtoRest } from '../models';
33
27
  // @ts-ignore
34
28
  import { UpdateBankAccountRequestDtoRest } from '../models';
35
- // @ts-ignore
36
- import { UpdateBankAccountResponseClass } from '../models';
37
29
  // URLSearchParams not necessarily used
38
30
  // @ts-ignore
39
31
  import { URL, URLSearchParams } from 'url';
@@ -190,17 +182,14 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
190
182
  * 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.
191
183
  * @summary List bank accounts
192
184
  * @param {string} [authorization] Bearer Token
193
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
194
- * @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.
195
185
  * @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: code, id, accountCode, partnerCode</i>
196
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
186
+ * @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: code, id, accountCode, partnerCode</i>
197
187
  * @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>
198
188
  * @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: primaryBankAccount<i>
199
- * @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: code, id, accountCode, partnerCode</i>
200
189
  * @param {*} [options] Override http request option.
201
190
  * @throws {RequiredError}
202
191
  */
203
- listBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
192
+ listBankAccounts: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
204
193
  const localVarPath = `/paymentservice/v1/bank-accounts`;
205
194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
206
195
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -219,20 +208,12 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
219
208
  // http bearer authentication required
220
209
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
221
210
 
222
- if (pageSize !== undefined) {
223
- localVarQueryParameter['pageSize'] = pageSize;
224
- }
225
-
226
- if (pageToken !== undefined) {
227
- localVarQueryParameter['pageToken'] = pageToken;
228
- }
229
-
230
211
  if (filter !== undefined) {
231
212
  localVarQueryParameter['filter'] = filter;
232
213
  }
233
214
 
234
- if (search !== undefined) {
235
- localVarQueryParameter['search'] = search;
215
+ if (filters !== undefined) {
216
+ localVarQueryParameter['filters'] = filters;
236
217
  }
237
218
 
238
219
  if (order !== undefined) {
@@ -243,10 +224,6 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
243
224
  localVarQueryParameter['expand'] = expand;
244
225
  }
245
226
 
246
- if (filters !== undefined) {
247
- localVarQueryParameter['filters'] = filters;
248
- }
249
-
250
227
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
251
228
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
252
229
  }
@@ -382,7 +359,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
382
359
  * @param {*} [options] Override http request option.
383
360
  * @throws {RequiredError}
384
361
  */
385
- async createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBankAccountResponseClass>> {
362
+ async createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
386
363
  const localVarAxiosArgs = await localVarAxiosParamCreator.createBankAccount(createBankAccountRequestDto, authorization, options);
387
364
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
388
365
  },
@@ -394,7 +371,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
394
371
  * @param {*} [options] Override http request option.
395
372
  * @throws {RequiredError}
396
373
  */
397
- async deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
374
+ async deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
398
375
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBankAccount(code, authorization, options);
399
376
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
400
377
  },
@@ -407,7 +384,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
407
384
  * @param {*} [options] Override http request option.
408
385
  * @throws {RequiredError}
409
386
  */
410
- async getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankAccountResponseClass>> {
387
+ async getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
411
388
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBankAccount(code, authorization, expand, options);
412
389
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
413
390
  },
@@ -415,18 +392,15 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
415
392
  * 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.
416
393
  * @summary List bank accounts
417
394
  * @param {string} [authorization] Bearer Token
418
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
419
- * @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.
420
395
  * @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;
421
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
396
+ * @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;
422
397
  * @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;
423
398
  * @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;
424
- * @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;
425
399
  * @param {*} [options] Override http request option.
426
400
  * @throws {RequiredError}
427
401
  */
428
- async 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>> {
429
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
402
+ async listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
403
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, filter, filters, order, expand, options);
430
404
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
431
405
  },
432
406
  /**
@@ -438,7 +412,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
438
412
  * @param {*} [options] Override http request option.
439
413
  * @throws {RequiredError}
440
414
  */
441
- async setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
415
+ async setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
442
416
  const localVarAxiosArgs = await localVarAxiosParamCreator.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options);
443
417
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
444
418
  },
@@ -451,7 +425,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
451
425
  * @param {*} [options] Override http request option.
452
426
  * @throws {RequiredError}
453
427
  */
454
- async updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankAccountResponseClass>> {
428
+ async updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
455
429
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateBankAccount(code, updateBankAccountRequestDtoRest, authorization, options);
456
430
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
457
431
  },
@@ -473,7 +447,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
473
447
  * @param {*} [options] Override http request option.
474
448
  * @throws {RequiredError}
475
449
  */
476
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBankAccountResponseClass> {
450
+ createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
477
451
  return localVarFp.createBankAccount(createBankAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
478
452
  },
479
453
  /**
@@ -484,7 +458,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
484
458
  * @param {*} [options] Override http request option.
485
459
  * @throws {RequiredError}
486
460
  */
487
- deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object> {
461
+ deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void> {
488
462
  return localVarFp.deleteBankAccount(code, authorization, options).then((request) => request(axios, basePath));
489
463
  },
490
464
  /**
@@ -496,25 +470,22 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
496
470
  * @param {*} [options] Override http request option.
497
471
  * @throws {RequiredError}
498
472
  */
499
- getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankAccountResponseClass> {
473
+ getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
500
474
  return localVarFp.getBankAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
501
475
  },
502
476
  /**
503
477
  * 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.
504
478
  * @summary List bank accounts
505
479
  * @param {string} [authorization] Bearer Token
506
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
507
- * @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.
508
480
  * @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;
509
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
481
+ * @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;
510
482
  * @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;
511
483
  * @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;
512
- * @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;
513
484
  * @param {*} [options] Override http request option.
514
485
  * @throws {RequiredError}
515
486
  */
516
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass> {
517
- return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
487
+ listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void> {
488
+ return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
518
489
  },
519
490
  /**
520
491
  * Set the primary bank account for the specified partner/account
@@ -525,7 +496,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
525
496
  * @param {*} [options] Override http request option.
526
497
  * @throws {RequiredError}
527
498
  */
528
- setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<object> {
499
+ setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
529
500
  return localVarFp.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
530
501
  },
531
502
  /**
@@ -537,7 +508,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
537
508
  * @param {*} [options] Override http request option.
538
509
  * @throws {RequiredError}
539
510
  */
540
- updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UpdateBankAccountResponseClass> {
511
+ updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
541
512
  return localVarFp.updateBankAccount(code, updateBankAccountRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
542
513
  },
543
514
  };
@@ -626,20 +597,6 @@ export interface BankAccountsApiListBankAccountsRequest {
626
597
  */
627
598
  readonly authorization?: string
628
599
 
629
- /**
630
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
631
- * @type {any}
632
- * @memberof BankAccountsApiListBankAccounts
633
- */
634
- readonly pageSize?: any
635
-
636
- /**
637
- * 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.
638
- * @type {any}
639
- * @memberof BankAccountsApiListBankAccounts
640
- */
641
- readonly pageToken?: any
642
-
643
600
  /**
644
601
  * 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;
645
602
  * @type {string}
@@ -648,11 +605,11 @@ export interface BankAccountsApiListBankAccountsRequest {
648
605
  readonly filter?: string
649
606
 
650
607
  /**
651
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
652
- * @type {any}
608
+ * 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;
609
+ * @type {string}
653
610
  * @memberof BankAccountsApiListBankAccounts
654
611
  */
655
- readonly search?: any
612
+ readonly filters?: string
656
613
 
657
614
  /**
658
615
  * 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;
@@ -667,13 +624,6 @@ export interface BankAccountsApiListBankAccountsRequest {
667
624
  * @memberof BankAccountsApiListBankAccounts
668
625
  */
669
626
  readonly expand?: string
670
-
671
- /**
672
- * 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;
673
- * @type {string}
674
- * @memberof BankAccountsApiListBankAccounts
675
- */
676
- readonly filters?: string
677
627
  }
678
628
 
679
629
  /**
@@ -784,7 +734,7 @@ export class BankAccountsApi extends BaseAPI {
784
734
  * @memberof BankAccountsApi
785
735
  */
786
736
  public listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest = {}, options?: AxiosRequestConfig) {
787
- return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
737
+ return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
788
738
  }
789
739
 
790
740
  /**
@@ -21,19 +21,9 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
- import { GetBankTransactionsResponseClass } from '../models';
25
- // @ts-ignore
26
- import { ImportBankTransactionsResponseClass } from '../models';
27
- // @ts-ignore
28
24
  import { LinkBankTransactionRequestDtoRest } from '../models';
29
25
  // @ts-ignore
30
- import { LinkBankTransactionsResponseClass } from '../models';
31
- // @ts-ignore
32
- import { ListBankTransactionsResponseClass } from '../models';
33
- // @ts-ignore
34
26
  import { UnlinkBankTransactionRequestDtoRest } from '../models';
35
- // @ts-ignore
36
- import { UnlinkBankTransactionsResponseClass } from '../models';
37
27
  // URLSearchParams not necessarily used
38
28
  // @ts-ignore
39
29
  import { URL, URLSearchParams } from 'url';
@@ -202,17 +192,15 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
202
192
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
203
193
  * @summary List bank transactions
204
194
  * @param {string} [authorization] Bearer Token
205
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
206
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
207
195
  * @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
196
+ * @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
208
197
  * @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, createdAt, amount&lt;/i&gt;
209
198
  * @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, amount, transactionDate, entryDate&lt;/i&gt;
210
199
  * @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: bankAccount, transaction&lt;i&gt;
211
- * @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
212
200
  * @param {*} [options] Override http request option.
213
201
  * @throws {RequiredError}
214
202
  */
215
- listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
203
+ listBankTransactions: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
216
204
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
217
205
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
218
206
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -231,18 +219,14 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
231
219
  // http bearer authentication required
232
220
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
233
221
 
234
- if (pageSize !== undefined) {
235
- localVarQueryParameter['pageSize'] = pageSize;
236
- }
237
-
238
- if (pageToken !== undefined) {
239
- localVarQueryParameter['pageToken'] = pageToken;
240
- }
241
-
242
222
  if (filter !== undefined) {
243
223
  localVarQueryParameter['filter'] = filter;
244
224
  }
245
225
 
226
+ if (filters !== undefined) {
227
+ localVarQueryParameter['filters'] = filters;
228
+ }
229
+
246
230
  if (search !== undefined) {
247
231
  localVarQueryParameter['search'] = search;
248
232
  }
@@ -255,10 +239,6 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
255
239
  localVarQueryParameter['expand'] = expand;
256
240
  }
257
241
 
258
- if (filters !== undefined) {
259
- localVarQueryParameter['filters'] = filters;
260
- }
261
-
262
242
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
263
243
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
264
244
  }
@@ -344,7 +324,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
344
324
  * @param {*} [options] Override http request option.
345
325
  * @throws {RequiredError}
346
326
  */
347
- async getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
327
+ async getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
348
328
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBankTransaction(code, authorization, expand, options);
349
329
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
350
330
  },
@@ -356,7 +336,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
356
336
  * @param {*} [options] Override http request option.
357
337
  * @throws {RequiredError}
358
338
  */
359
- async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportBankTransactionsResponseClass>> {
339
+ async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
360
340
  const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(file, authorization, options);
361
341
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
362
342
  },
@@ -369,7 +349,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
369
349
  * @param {*} [options] Override http request option.
370
350
  * @throws {RequiredError}
371
351
  */
372
- async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkBankTransactionsResponseClass>> {
352
+ async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
373
353
  const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options);
374
354
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
375
355
  },
@@ -377,18 +357,16 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
377
357
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
378
358
  * @summary List bank transactions
379
359
  * @param {string} [authorization] Bearer Token
380
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
381
- * @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.
382
360
  * @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
361
+ * @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
383
362
  * @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, createdAt, amount&lt;/i&gt;
384
363
  * @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, amount, transactionDate, entryDate&lt;/i&gt;
385
364
  * @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: bankAccount, transaction&lt;i&gt;
386
- * @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
387
365
  * @param {*} [options] Override http request option.
388
366
  * @throws {RequiredError}
389
367
  */
390
- async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
391
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
368
+ async listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
369
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options);
392
370
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
393
371
  },
394
372
  /**
@@ -400,7 +378,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
400
378
  * @param {*} [options] Override http request option.
401
379
  * @throws {RequiredError}
402
380
  */
403
- async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>> {
381
+ async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
404
382
  const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options);
405
383
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
406
384
  },
@@ -423,7 +401,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
423
401
  * @param {*} [options] Override http request option.
424
402
  * @throws {RequiredError}
425
403
  */
426
- getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
404
+ getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
427
405
  return localVarFp.getBankTransaction(code, authorization, expand, options).then((request) => request(axios, basePath));
428
406
  },
429
407
  /**
@@ -434,7 +412,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
434
412
  * @param {*} [options] Override http request option.
435
413
  * @throws {RequiredError}
436
414
  */
437
- importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ImportBankTransactionsResponseClass> {
415
+ importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<void> {
438
416
  return localVarFp.importBankTransactions(file, authorization, options).then((request) => request(axios, basePath));
439
417
  },
440
418
  /**
@@ -446,25 +424,23 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
446
424
  * @param {*} [options] Override http request option.
447
425
  * @throws {RequiredError}
448
426
  */
449
- linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<LinkBankTransactionsResponseClass> {
427
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
450
428
  return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
451
429
  },
452
430
  /**
453
431
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
454
432
  * @summary List bank transactions
455
433
  * @param {string} [authorization] Bearer Token
456
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
457
- * @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.
458
434
  * @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
435
+ * @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
459
436
  * @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, createdAt, amount&lt;/i&gt;
460
437
  * @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, amount, transactionDate, entryDate&lt;/i&gt;
461
438
  * @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: bankAccount, transaction&lt;i&gt;
462
- * @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
463
439
  * @param {*} [options] Override http request option.
464
440
  * @throws {RequiredError}
465
441
  */
466
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
467
- return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
442
+ listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<void> {
443
+ return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
468
444
  },
469
445
  /**
470
446
  * Unlinks an already linked bank transaction
@@ -475,7 +451,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
475
451
  * @param {*} [options] Override http request option.
476
452
  * @throws {RequiredError}
477
453
  */
478
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass> {
454
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
479
455
  return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
480
456
  },
481
457
  };
@@ -572,25 +548,18 @@ export interface BankTransactionApiListBankTransactionsRequest {
572
548
  readonly authorization?: string
573
549
 
574
550
  /**
575
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
576
- * @type {any}
577
- * @memberof BankTransactionApiListBankTransactions
578
- */
579
- readonly pageSize?: any
580
-
581
- /**
582
- * 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.
583
- * @type {any}
551
+ * 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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
552
+ * @type {string}
584
553
  * @memberof BankTransactionApiListBankTransactions
585
554
  */
586
- readonly pageToken?: any
555
+ readonly filter?: string
587
556
 
588
557
  /**
589
- * 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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
558
+ * 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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
590
559
  * @type {string}
591
560
  * @memberof BankTransactionApiListBankTransactions
592
561
  */
593
- readonly filter?: string
562
+ readonly filters?: string
594
563
 
595
564
  /**
596
565
  * 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, createdAt, amount&lt;/i&gt;
@@ -612,13 +581,6 @@ export interface BankTransactionApiListBankTransactionsRequest {
612
581
  * @memberof BankTransactionApiListBankTransactions
613
582
  */
614
583
  readonly expand?: string
615
-
616
- /**
617
- * 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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
618
- * @type {string}
619
- * @memberof BankTransactionApiListBankTransactions
620
- */
621
- readonly filters?: string
622
584
  }
623
585
 
624
586
  /**
@@ -701,7 +663,7 @@ export class BankTransactionApi extends BaseAPI {
701
663
  * @memberof BankTransactionApi
702
664
  */
703
665
  public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
704
- return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
666
+ return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
705
667
  }
706
668
 
707
669
  /**