@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
@@ -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@1.4.1-beta.38 --save
20
+ npm install @emilgroup/payment-sdk@1.4.1-beta.39 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.4.1-beta.38
24
+ yarn add @emilgroup/payment-sdk@1.4.1-beta.39
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
  /**
38
30
  * BankAccountsApi - axios parameter creator
39
31
  * @export
@@ -186,17 +178,14 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
186
178
  * 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.
187
179
  * @summary List bank accounts
188
180
  * @param {string} [authorization] Bearer Token
189
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
190
- * @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.
191
181
  * @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>
192
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
182
+ * @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>
193
183
  * @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>
194
184
  * @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>
195
- * @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>
196
185
  * @param {*} [options] Override http request option.
197
186
  * @throws {RequiredError}
198
187
  */
199
- listBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
188
+ listBankAccounts: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
200
189
  const localVarPath = `/paymentservice/v1/bank-accounts`;
201
190
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
202
191
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -215,20 +204,12 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
215
204
  // http bearer authentication required
216
205
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
217
206
 
218
- if (pageSize !== undefined) {
219
- localVarQueryParameter['pageSize'] = pageSize;
220
- }
221
-
222
- if (pageToken !== undefined) {
223
- localVarQueryParameter['pageToken'] = pageToken;
224
- }
225
-
226
207
  if (filter !== undefined) {
227
208
  localVarQueryParameter['filter'] = filter;
228
209
  }
229
210
 
230
- if (search !== undefined) {
231
- localVarQueryParameter['search'] = search;
211
+ if (filters !== undefined) {
212
+ localVarQueryParameter['filters'] = filters;
232
213
  }
233
214
 
234
215
  if (order !== undefined) {
@@ -239,10 +220,6 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
239
220
  localVarQueryParameter['expand'] = expand;
240
221
  }
241
222
 
242
- if (filters !== undefined) {
243
- localVarQueryParameter['filters'] = filters;
244
- }
245
-
246
223
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
247
224
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
248
225
  }
@@ -378,7 +355,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
378
355
  * @param {*} [options] Override http request option.
379
356
  * @throws {RequiredError}
380
357
  */
381
- async createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBankAccountResponseClass>> {
358
+ async createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
382
359
  const localVarAxiosArgs = await localVarAxiosParamCreator.createBankAccount(createBankAccountRequestDto, authorization, options);
383
360
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
384
361
  },
@@ -390,7 +367,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
390
367
  * @param {*} [options] Override http request option.
391
368
  * @throws {RequiredError}
392
369
  */
393
- async deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
370
+ async deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
394
371
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBankAccount(code, authorization, options);
395
372
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
396
373
  },
@@ -403,7 +380,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
403
380
  * @param {*} [options] Override http request option.
404
381
  * @throws {RequiredError}
405
382
  */
406
- async getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankAccountResponseClass>> {
383
+ async getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
407
384
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBankAccount(code, authorization, expand, options);
408
385
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
409
386
  },
@@ -411,18 +388,15 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
411
388
  * 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.
412
389
  * @summary List bank accounts
413
390
  * @param {string} [authorization] Bearer Token
414
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
415
- * @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.
416
391
  * @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;
417
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
392
+ * @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;
418
393
  * @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;
419
394
  * @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;
420
- * @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;
421
395
  * @param {*} [options] Override http request option.
422
396
  * @throws {RequiredError}
423
397
  */
424
- 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>> {
425
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
398
+ async listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
399
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, filter, filters, order, expand, options);
426
400
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
427
401
  },
428
402
  /**
@@ -434,7 +408,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
434
408
  * @param {*} [options] Override http request option.
435
409
  * @throws {RequiredError}
436
410
  */
437
- async setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
411
+ async setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
438
412
  const localVarAxiosArgs = await localVarAxiosParamCreator.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options);
439
413
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
440
414
  },
@@ -447,7 +421,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
447
421
  * @param {*} [options] Override http request option.
448
422
  * @throws {RequiredError}
449
423
  */
450
- async updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankAccountResponseClass>> {
424
+ async updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
451
425
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateBankAccount(code, updateBankAccountRequestDtoRest, authorization, options);
452
426
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
453
427
  },
@@ -469,7 +443,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
469
443
  * @param {*} [options] Override http request option.
470
444
  * @throws {RequiredError}
471
445
  */
472
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBankAccountResponseClass> {
446
+ createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
473
447
  return localVarFp.createBankAccount(createBankAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
474
448
  },
475
449
  /**
@@ -480,7 +454,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
480
454
  * @param {*} [options] Override http request option.
481
455
  * @throws {RequiredError}
482
456
  */
483
- deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object> {
457
+ deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void> {
484
458
  return localVarFp.deleteBankAccount(code, authorization, options).then((request) => request(axios, basePath));
485
459
  },
486
460
  /**
@@ -492,25 +466,22 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
492
466
  * @param {*} [options] Override http request option.
493
467
  * @throws {RequiredError}
494
468
  */
495
- getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankAccountResponseClass> {
469
+ getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
496
470
  return localVarFp.getBankAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
497
471
  },
498
472
  /**
499
473
  * 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.
500
474
  * @summary List bank accounts
501
475
  * @param {string} [authorization] Bearer Token
502
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
503
- * @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.
504
476
  * @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;
505
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
477
+ * @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;
506
478
  * @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;
507
479
  * @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;
508
- * @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;
509
480
  * @param {*} [options] Override http request option.
510
481
  * @throws {RequiredError}
511
482
  */
512
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass> {
513
- return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
483
+ listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void> {
484
+ return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
514
485
  },
515
486
  /**
516
487
  * Set the primary bank account for the specified partner/account
@@ -521,7 +492,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
521
492
  * @param {*} [options] Override http request option.
522
493
  * @throws {RequiredError}
523
494
  */
524
- setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<object> {
495
+ setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
525
496
  return localVarFp.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
526
497
  },
527
498
  /**
@@ -533,7 +504,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
533
504
  * @param {*} [options] Override http request option.
534
505
  * @throws {RequiredError}
535
506
  */
536
- updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UpdateBankAccountResponseClass> {
507
+ updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
537
508
  return localVarFp.updateBankAccount(code, updateBankAccountRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
538
509
  },
539
510
  };
@@ -622,20 +593,6 @@ export interface BankAccountsApiListBankAccountsRequest {
622
593
  */
623
594
  readonly authorization?: string
624
595
 
625
- /**
626
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
627
- * @type {any}
628
- * @memberof BankAccountsApiListBankAccounts
629
- */
630
- readonly pageSize?: any
631
-
632
- /**
633
- * 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.
634
- * @type {any}
635
- * @memberof BankAccountsApiListBankAccounts
636
- */
637
- readonly pageToken?: any
638
-
639
596
  /**
640
597
  * 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;
641
598
  * @type {string}
@@ -644,11 +601,11 @@ export interface BankAccountsApiListBankAccountsRequest {
644
601
  readonly filter?: string
645
602
 
646
603
  /**
647
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
648
- * @type {any}
604
+ * 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;
605
+ * @type {string}
649
606
  * @memberof BankAccountsApiListBankAccounts
650
607
  */
651
- readonly search?: any
608
+ readonly filters?: string
652
609
 
653
610
  /**
654
611
  * 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;
@@ -663,13 +620,6 @@ export interface BankAccountsApiListBankAccountsRequest {
663
620
  * @memberof BankAccountsApiListBankAccounts
664
621
  */
665
622
  readonly expand?: string
666
-
667
- /**
668
- * 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;
669
- * @type {string}
670
- * @memberof BankAccountsApiListBankAccounts
671
- */
672
- readonly filters?: string
673
623
  }
674
624
 
675
625
  /**
@@ -780,7 +730,7 @@ export class BankAccountsApi extends BaseAPI {
780
730
  * @memberof BankAccountsApi
781
731
  */
782
732
  public listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest = {}, options?: AxiosRequestConfig) {
783
- 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));
733
+ return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
784
734
  }
785
735
 
786
736
  /**
@@ -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
  /**
38
28
  * BankTransactionApi - axios parameter creator
39
29
  * @export
@@ -197,17 +187,15 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
197
187
  * 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.
198
188
  * @summary List bank transactions
199
189
  * @param {string} [authorization] Bearer Token
200
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
201
- * @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.
202
190
  * @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;
191
+ * @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;
203
192
  * @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;
204
193
  * @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;
205
194
  * @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;
206
- * @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;
207
195
  * @param {*} [options] Override http request option.
208
196
  * @throws {RequiredError}
209
197
  */
210
- listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
198
+ listBankTransactions: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
211
199
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
212
200
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
213
201
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -226,18 +214,14 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
226
214
  // http bearer authentication required
227
215
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
228
216
 
229
- if (pageSize !== undefined) {
230
- localVarQueryParameter['pageSize'] = pageSize;
231
- }
232
-
233
- if (pageToken !== undefined) {
234
- localVarQueryParameter['pageToken'] = pageToken;
235
- }
236
-
237
217
  if (filter !== undefined) {
238
218
  localVarQueryParameter['filter'] = filter;
239
219
  }
240
220
 
221
+ if (filters !== undefined) {
222
+ localVarQueryParameter['filters'] = filters;
223
+ }
224
+
241
225
  if (search !== undefined) {
242
226
  localVarQueryParameter['search'] = search;
243
227
  }
@@ -250,10 +234,6 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
250
234
  localVarQueryParameter['expand'] = expand;
251
235
  }
252
236
 
253
- if (filters !== undefined) {
254
- localVarQueryParameter['filters'] = filters;
255
- }
256
-
257
237
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
258
238
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
259
239
  }
@@ -339,7 +319,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
339
319
  * @param {*} [options] Override http request option.
340
320
  * @throws {RequiredError}
341
321
  */
342
- async getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
322
+ async getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
343
323
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBankTransaction(code, authorization, expand, options);
344
324
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
345
325
  },
@@ -351,7 +331,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
351
331
  * @param {*} [options] Override http request option.
352
332
  * @throws {RequiredError}
353
333
  */
354
- async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportBankTransactionsResponseClass>> {
334
+ async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
355
335
  const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(file, authorization, options);
356
336
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
357
337
  },
@@ -364,7 +344,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
364
344
  * @param {*} [options] Override http request option.
365
345
  * @throws {RequiredError}
366
346
  */
367
- async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkBankTransactionsResponseClass>> {
347
+ async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
368
348
  const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options);
369
349
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
370
350
  },
@@ -372,18 +352,16 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
372
352
  * 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.
373
353
  * @summary List bank transactions
374
354
  * @param {string} [authorization] Bearer Token
375
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
376
- * @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.
377
355
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
356
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
378
357
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
379
358
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount, transactionDate, entryDate&lt;/i&gt;
380
359
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction&lt;i&gt;
381
- * @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;
382
360
  * @param {*} [options] Override http request option.
383
361
  * @throws {RequiredError}
384
362
  */
385
- 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>> {
386
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
363
+ async listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
364
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options);
387
365
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
388
366
  },
389
367
  /**
@@ -395,7 +373,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
395
373
  * @param {*} [options] Override http request option.
396
374
  * @throws {RequiredError}
397
375
  */
398
- async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>> {
376
+ async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
399
377
  const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options);
400
378
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
401
379
  },
@@ -418,7 +396,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
418
396
  * @param {*} [options] Override http request option.
419
397
  * @throws {RequiredError}
420
398
  */
421
- getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
399
+ getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
422
400
  return localVarFp.getBankTransaction(code, authorization, expand, options).then((request) => request(axios, basePath));
423
401
  },
424
402
  /**
@@ -429,7 +407,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
429
407
  * @param {*} [options] Override http request option.
430
408
  * @throws {RequiredError}
431
409
  */
432
- importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ImportBankTransactionsResponseClass> {
410
+ importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<void> {
433
411
  return localVarFp.importBankTransactions(file, authorization, options).then((request) => request(axios, basePath));
434
412
  },
435
413
  /**
@@ -441,25 +419,23 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
441
419
  * @param {*} [options] Override http request option.
442
420
  * @throws {RequiredError}
443
421
  */
444
- linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<LinkBankTransactionsResponseClass> {
422
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
445
423
  return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
446
424
  },
447
425
  /**
448
426
  * 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.
449
427
  * @summary List bank transactions
450
428
  * @param {string} [authorization] Bearer Token
451
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
452
- * @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.
453
429
  * @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;
430
+ * @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;
454
431
  * @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;
455
432
  * @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;
456
433
  * @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;
457
- * @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;
458
434
  * @param {*} [options] Override http request option.
459
435
  * @throws {RequiredError}
460
436
  */
461
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
462
- return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
437
+ listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<void> {
438
+ return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
463
439
  },
464
440
  /**
465
441
  * Unlinks an already linked bank transaction
@@ -470,7 +446,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
470
446
  * @param {*} [options] Override http request option.
471
447
  * @throws {RequiredError}
472
448
  */
473
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass> {
449
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
474
450
  return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
475
451
  },
476
452
  };
@@ -567,25 +543,18 @@ export interface BankTransactionApiListBankTransactionsRequest {
567
543
  readonly authorization?: string
568
544
 
569
545
  /**
570
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
571
- * @type {any}
572
- * @memberof BankTransactionApiListBankTransactions
573
- */
574
- readonly pageSize?: any
575
-
576
- /**
577
- * 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.
578
- * @type {any}
546
+ * 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;
547
+ * @type {string}
579
548
  * @memberof BankTransactionApiListBankTransactions
580
549
  */
581
- readonly pageToken?: any
550
+ readonly filter?: string
582
551
 
583
552
  /**
584
- * 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;
553
+ * 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;
585
554
  * @type {string}
586
555
  * @memberof BankTransactionApiListBankTransactions
587
556
  */
588
- readonly filter?: string
557
+ readonly filters?: string
589
558
 
590
559
  /**
591
560
  * 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;
@@ -607,13 +576,6 @@ export interface BankTransactionApiListBankTransactionsRequest {
607
576
  * @memberof BankTransactionApiListBankTransactions
608
577
  */
609
578
  readonly expand?: string
610
-
611
- /**
612
- * 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;
613
- * @type {string}
614
- * @memberof BankTransactionApiListBankTransactions
615
- */
616
- readonly filters?: string
617
579
  }
618
580
 
619
581
  /**
@@ -696,7 +658,7 @@ export class BankTransactionApi extends BaseAPI {
696
658
  * @memberof BankTransactionApi
697
659
  */
698
660
  public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
699
- 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));
661
+ 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));
700
662
  }
701
663
 
702
664
  /**