@emilgroup/payment-sdk 1.13.1-beta.13 → 1.13.1-beta.130

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 (174) hide show
  1. package/.openapi-generator/FILES +24 -1
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +130 -57
  5. package/api/bank-transaction-api.ts +59 -48
  6. package/api/exceeding-credits-api.ts +349 -0
  7. package/api/payment-methods-api.ts +59 -17
  8. package/api/payment-reminders-api.ts +55 -13
  9. package/api/payments-api.ts +180 -17
  10. package/api/policy-payment-methods-api.ts +471 -0
  11. package/api/refunds-api.ts +45 -17
  12. package/api/tenant-bank-account-api.ts +45 -17
  13. package/api.ts +4 -0
  14. package/base.ts +10 -32
  15. package/common.ts +2 -2
  16. package/configuration.ts +0 -9
  17. package/dist/api/bank-accounts-api.d.ts +35 -8
  18. package/dist/api/bank-accounts-api.js +29 -11
  19. package/dist/api/bank-orders-api.d.ts +92 -46
  20. package/dist/api/bank-orders-api.js +83 -52
  21. package/dist/api/bank-transaction-api.d.ts +39 -31
  22. package/dist/api/bank-transaction-api.js +36 -31
  23. package/dist/api/exceeding-credits-api.d.ts +206 -0
  24. package/dist/api/exceeding-credits-api.js +352 -0
  25. package/dist/api/payment-methods-api.d.ts +39 -12
  26. package/dist/api/payment-methods-api.js +32 -14
  27. package/dist/api/payment-reminders-api.d.ts +35 -8
  28. package/dist/api/payment-reminders-api.js +29 -11
  29. package/dist/api/payments-api.d.ts +104 -12
  30. package/dist/api/payments-api.js +133 -14
  31. package/dist/api/policy-payment-methods-api.d.ts +272 -0
  32. package/dist/api/policy-payment-methods-api.js +452 -0
  33. package/dist/api/refunds-api.d.ts +28 -10
  34. package/dist/api/refunds-api.js +24 -12
  35. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  36. package/dist/api/tenant-bank-account-api.js +24 -12
  37. package/dist/api.d.ts +2 -0
  38. package/dist/api.js +2 -0
  39. package/dist/base.d.ts +2 -4
  40. package/dist/base.js +21 -40
  41. package/dist/common.js +2 -2
  42. package/dist/configuration.d.ts +0 -6
  43. package/dist/configuration.js +0 -8
  44. package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
  45. package/dist/models/bank-order-class.d.ts +23 -3
  46. package/dist/models/bank-order-xml-file-class.d.ts +72 -0
  47. package/dist/models/bank-order-xml-file-class.js +15 -0
  48. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
  49. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  50. package/dist/models/bank-transaction-class.d.ts +22 -22
  51. package/dist/models/bank-transaction-class.js +5 -0
  52. package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
  53. package/dist/models/bank-transaction-invoice-class.js +15 -0
  54. package/dist/models/bank-transfer-dto.d.ts +25 -0
  55. package/dist/models/bank-transfer-dto.js +15 -0
  56. package/dist/models/billing-address-dto.d.ts +54 -0
  57. package/dist/models/billing-address-dto.js +15 -0
  58. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  59. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  60. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  61. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  62. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  63. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  64. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  65. package/dist/models/create-bank-order-request-dto.d.ts +9 -9
  66. package/dist/models/create-payment-order-dto.d.ts +48 -0
  67. package/dist/models/create-payment-order-dto.js +15 -0
  68. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  69. package/dist/models/create-payment-order-request-dto.js +15 -0
  70. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  71. package/dist/models/create-payment-request-dto.d.ts +7 -1
  72. package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
  73. package/dist/models/create-policy-payment-method-request-dto.js +15 -0
  74. package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
  75. package/dist/models/create-policy-payment-method-response-class.js +15 -0
  76. package/dist/models/create-psp-payment-method-request-dto.d.ts +29 -1
  77. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  78. package/dist/models/create-tenant-bank-account-request-dto.d.ts +30 -0
  79. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  80. package/dist/models/eis-sepa-debit-dto.d.ts +55 -0
  81. package/dist/models/eis-sepa-debit-dto.js +15 -0
  82. package/dist/models/exceeding-credit-class.d.ts +116 -0
  83. package/dist/models/exceeding-credit-class.js +29 -0
  84. package/dist/models/financial-account-class.d.ts +111 -0
  85. package/dist/models/financial-account-class.js +24 -0
  86. package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
  87. package/dist/models/get-exceeding-credit-response-class.js +15 -0
  88. package/dist/models/index.d.ts +22 -1
  89. package/dist/models/index.js +22 -1
  90. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  91. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  92. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  93. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  94. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  95. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  96. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  97. package/dist/models/invoice-allocation-dto.js +15 -0
  98. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  99. package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
  100. package/dist/models/list-exceeding-credits-response-class.js +15 -0
  101. package/dist/models/list-policy-payment-methods-response-class.d.ts +31 -0
  102. package/dist/models/list-policy-payment-methods-response-class.js +15 -0
  103. package/dist/models/mandate-dto.d.ts +43 -0
  104. package/dist/models/mandate-dto.js +15 -0
  105. package/dist/models/mandate-hash-data-dto.d.ts +42 -0
  106. package/dist/models/mandate-hash-data-dto.js +15 -0
  107. package/dist/models/mandate-reference-class.d.ts +90 -0
  108. package/dist/models/mandate-reference-class.js +15 -0
  109. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  110. package/dist/models/payment-class.d.ts +7 -1
  111. package/dist/models/payment-method-class.d.ts +6 -0
  112. package/dist/models/payment-reminder-class.d.ts +7 -1
  113. package/dist/models/policy-payment-method-class.d.ts +86 -0
  114. package/dist/models/policy-payment-method-class.js +15 -0
  115. package/dist/models/refund-class.d.ts +7 -1
  116. package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +30 -0
  117. package/dist/models/tenant-bank-account-class.d.ts +30 -0
  118. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
  119. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  120. package/dist/models/update-bank-order-request-dto.d.ts +12 -12
  121. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +30 -0
  122. package/models/activate-policy-payment-method-request-dto.ts +30 -0
  123. package/models/bank-order-class.ts +23 -3
  124. package/models/bank-order-xml-file-class.ts +78 -0
  125. package/models/bank-transaction-class-without-expand-properties.ts +21 -18
  126. package/models/bank-transaction-class.ts +25 -22
  127. package/models/bank-transaction-invoice-class.ts +66 -0
  128. package/models/bank-transfer-dto.ts +31 -0
  129. package/models/billing-address-dto.ts +60 -0
  130. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  131. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  132. package/models/complete-payment-setup-request-dto.ts +7 -0
  133. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  134. package/models/create-bank-order-request-dto.ts +9 -9
  135. package/models/create-payment-order-dto.ts +54 -0
  136. package/models/create-payment-order-request-dto.ts +54 -0
  137. package/models/create-payment-reminder-request-dto.ts +7 -1
  138. package/models/create-payment-request-dto.ts +7 -1
  139. package/models/create-policy-payment-method-request-dto.ts +36 -0
  140. package/models/create-policy-payment-method-response-class.ts +31 -0
  141. package/models/create-psp-payment-method-request-dto.ts +30 -2
  142. package/models/create-tenant-bank-account-request-dto.ts +30 -0
  143. package/models/deactivated-payment-reminder-class.ts +7 -1
  144. package/models/eis-sepa-debit-dto.ts +61 -0
  145. package/models/exceeding-credit-class.ts +125 -0
  146. package/models/financial-account-class.ts +120 -0
  147. package/models/get-exceeding-credit-response-class.ts +31 -0
  148. package/models/index.ts +22 -1
  149. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  150. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  151. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  152. package/models/initiate-payment-setup-request-dto.ts +3 -2
  153. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  154. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  155. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  156. package/models/list-exceeding-credits-response-class.ts +37 -0
  157. package/models/list-policy-payment-methods-response-class.ts +37 -0
  158. package/models/mandate-dto.ts +49 -0
  159. package/models/mandate-hash-data-dto.ts +48 -0
  160. package/models/mandate-reference-class.ts +96 -0
  161. package/models/payment-class-without-expand-properties.ts +7 -1
  162. package/models/payment-class.ts +7 -1
  163. package/models/payment-method-class.ts +6 -0
  164. package/models/payment-reminder-class.ts +7 -1
  165. package/models/policy-payment-method-class.ts +92 -0
  166. package/models/refund-class.ts +7 -1
  167. package/models/tenant-bank-account-class-without-expand-properties.ts +30 -0
  168. package/models/tenant-bank-account-class.ts +30 -0
  169. package/models/unlinked-bank-transaction-response-class.ts +21 -0
  170. package/models/update-bank-order-request-dto.ts +12 -12
  171. package/models/update-tenant-bank-account-rest-request-dto.ts +30 -0
  172. package/package.json +1 -1
  173. package/tsconfig.json +0 -1
  174. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → activate-policy-payment-method-request-dto.js} +0 -0
@@ -29,6 +29,8 @@ import { GetBankOrderResponseClass } from '../models';
29
29
  // @ts-ignore
30
30
  import { ListBankOrdersResponseClass } from '../models';
31
31
  // @ts-ignore
32
+ import { UpdateBankOrderRequestDto } from '../models';
33
+ // @ts-ignore
32
34
  import { UpdateBankOrderResponseClass } from '../models';
33
35
  /**
34
36
  * BankOrdersApi - axios parameter creator
@@ -37,7 +39,7 @@ import { UpdateBankOrderResponseClass } from '../models';
37
39
  export const BankOrdersApiAxiosParamCreator = function (configuration?: Configuration) {
38
40
  return {
39
41
  /**
40
- * This will create a bank order. **Required Permissions** \"payment-management.bank-accounts.create\"
42
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
41
43
  * @summary Create the bank order
42
44
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
43
45
  * @param {string} [authorization] Bearer Token
@@ -84,7 +86,7 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
84
86
  };
85
87
  },
86
88
  /**
87
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
89
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
88
90
  * @summary Delete the bank order
89
91
  * @param {string} code Unique identifier for the object.
90
92
  * @param {string} [authorization] Bearer Token
@@ -129,14 +131,15 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
129
131
  };
130
132
  },
131
133
  /**
132
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
134
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
133
135
  * @summary Retrieve the bank order
134
136
  * @param {string} code
135
137
  * @param {string} [authorization] Bearer Token
138
+ * @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: financialAccount, xmlFile<i>
136
139
  * @param {*} [options] Override http request option.
137
140
  * @throws {RequiredError}
138
141
  */
139
- getBankOrder: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
142
+ getBankOrder: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
140
143
  // verify required parameter 'code' is not null or undefined
141
144
  assertParamExists('getBankOrder', 'code', code)
142
145
  const localVarPath = `/paymentservice/v1/bank-orders/{code}`
@@ -158,6 +161,10 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
158
161
  // http bearer authentication required
159
162
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
160
163
 
164
+ if (expand !== undefined) {
165
+ localVarQueryParameter['expand'] = expand;
166
+ }
167
+
161
168
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
162
169
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
163
170
  }
@@ -174,17 +181,20 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
174
181
  };
175
182
  },
176
183
  /**
177
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
184
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
178
185
  * @summary List bank orders
179
186
  * @param {string} [authorization] Bearer Token
180
- * @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, orderNumber, status, type, bankAccountId&lt;/i&gt;
181
- * @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, orderNumber, status, type, bankAccountId&lt;/i&gt;
182
- * @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, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
183
- * @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;
187
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
188
+ * @param {string} [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.
189
+ * @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, orderNumber, status, type, financialAccountCode&lt;/i&gt;
190
+ * @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: code, description, orderNumber, financialAccountCode&lt;/i&gt;
191
+ * @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, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt&lt;/i&gt;
192
+ * @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: financialAccount, xmlFile&lt;i&gt;
193
+ * @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, orderNumber, status, type, financialAccountCode&lt;/i&gt;
184
194
  * @param {*} [options] Override http request option.
185
195
  * @throws {RequiredError}
186
196
  */
187
- listBankOrders: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
+ listBankOrders: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
188
198
  const localVarPath = `/paymentservice/v1/bank-orders`;
189
199
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
190
200
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -203,12 +213,20 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
203
213
  // http bearer authentication required
204
214
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
205
215
 
216
+ if (pageSize !== undefined) {
217
+ localVarQueryParameter['pageSize'] = pageSize;
218
+ }
219
+
220
+ if (pageToken !== undefined) {
221
+ localVarQueryParameter['pageToken'] = pageToken;
222
+ }
223
+
206
224
  if (filter !== undefined) {
207
225
  localVarQueryParameter['filter'] = filter;
208
226
  }
209
227
 
210
- if (filters !== undefined) {
211
- localVarQueryParameter['filters'] = filters;
228
+ if (search !== undefined) {
229
+ localVarQueryParameter['search'] = search;
212
230
  }
213
231
 
214
232
  if (order !== undefined) {
@@ -219,6 +237,10 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
219
237
  localVarQueryParameter['expand'] = expand;
220
238
  }
221
239
 
240
+ if (filters !== undefined) {
241
+ localVarQueryParameter['filters'] = filters;
242
+ }
243
+
222
244
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
223
245
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
224
246
  }
@@ -235,16 +257,19 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
235
257
  };
236
258
  },
237
259
  /**
238
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
260
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
239
261
  * @summary Update the bank order
240
262
  * @param {string} code Unique identifier for the object.
263
+ * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
241
264
  * @param {string} [authorization] Bearer Token
242
265
  * @param {*} [options] Override http request option.
243
266
  * @throws {RequiredError}
244
267
  */
245
- updateBankOrder: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
268
+ updateBankOrder: async (code: string, updateBankOrderRequestDto: UpdateBankOrderRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
246
269
  // verify required parameter 'code' is not null or undefined
247
270
  assertParamExists('updateBankOrder', 'code', code)
271
+ // verify required parameter 'updateBankOrderRequestDto' is not null or undefined
272
+ assertParamExists('updateBankOrder', 'updateBankOrderRequestDto', updateBankOrderRequestDto)
248
273
  const localVarPath = `/paymentservice/v1/bank-orders/{code}`
249
274
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
250
275
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -270,9 +295,12 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
270
295
 
271
296
 
272
297
 
298
+ localVarHeaderParameter['Content-Type'] = 'application/json';
299
+
273
300
  setSearchParams(localVarUrlObj, localVarQueryParameter);
274
301
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
275
302
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
303
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBankOrderRequestDto, localVarRequestOptions, configuration)
276
304
 
277
305
  return {
278
306
  url: toPathString(localVarUrlObj),
@@ -290,7 +318,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
290
318
  const localVarAxiosParamCreator = BankOrdersApiAxiosParamCreator(configuration)
291
319
  return {
292
320
  /**
293
- * This will create a bank order. **Required Permissions** \"payment-management.bank-accounts.create\"
321
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
294
322
  * @summary Create the bank order
295
323
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
296
324
  * @param {string} [authorization] Bearer Token
@@ -302,7 +330,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
302
330
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
303
331
  },
304
332
  /**
305
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
333
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
306
334
  * @summary Delete the bank order
307
335
  * @param {string} code Unique identifier for the object.
308
336
  * @param {string} [authorization] Bearer Token
@@ -314,42 +342,47 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
314
342
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
315
343
  },
316
344
  /**
317
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
345
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
318
346
  * @summary Retrieve the bank order
319
347
  * @param {string} code
320
348
  * @param {string} [authorization] Bearer Token
349
+ * @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: financialAccount, xmlFile&lt;i&gt;
321
350
  * @param {*} [options] Override http request option.
322
351
  * @throws {RequiredError}
323
352
  */
324
- async getBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>> {
325
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBankOrder(code, authorization, options);
353
+ async getBankOrder(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>> {
354
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBankOrder(code, authorization, expand, options);
326
355
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
327
356
  },
328
357
  /**
329
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
358
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
330
359
  * @summary List bank orders
331
360
  * @param {string} [authorization] Bearer Token
332
- * @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, orderNumber, status, type, bankAccountId&lt;/i&gt;
333
- * @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, orderNumber, status, type, bankAccountId&lt;/i&gt;
334
- * @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, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
335
- * @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;
361
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
362
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
363
+ * @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, orderNumber, status, type, financialAccountCode&lt;/i&gt;
364
+ * @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: code, description, orderNumber, financialAccountCode&lt;/i&gt;
365
+ * @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, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt&lt;/i&gt;
366
+ * @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: financialAccount, xmlFile&lt;i&gt;
367
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, financialAccountCode&lt;/i&gt;
336
368
  * @param {*} [options] Override http request option.
337
369
  * @throws {RequiredError}
338
370
  */
339
- async listBankOrders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankOrdersResponseClass>> {
340
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBankOrders(authorization, filter, filters, order, expand, options);
371
+ async listBankOrders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankOrdersResponseClass>> {
372
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankOrders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
341
373
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
342
374
  },
343
375
  /**
344
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
376
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
345
377
  * @summary Update the bank order
346
378
  * @param {string} code Unique identifier for the object.
379
+ * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
347
380
  * @param {string} [authorization] Bearer Token
348
381
  * @param {*} [options] Override http request option.
349
382
  * @throws {RequiredError}
350
383
  */
351
- async updateBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankOrderResponseClass>> {
352
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateBankOrder(code, authorization, options);
384
+ async updateBankOrder(code: string, updateBankOrderRequestDto: UpdateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankOrderResponseClass>> {
385
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBankOrder(code, updateBankOrderRequestDto, authorization, options);
353
386
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
354
387
  },
355
388
  }
@@ -363,7 +396,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
363
396
  const localVarFp = BankOrdersApiFp(configuration)
364
397
  return {
365
398
  /**
366
- * This will create a bank order. **Required Permissions** \"payment-management.bank-accounts.create\"
399
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
367
400
  * @summary Create the bank order
368
401
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
369
402
  * @param {string} [authorization] Bearer Token
@@ -374,7 +407,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
374
407
  return localVarFp.createBankOrder(createBankOrderRequestDto, authorization, options).then((request) => request(axios, basePath));
375
408
  },
376
409
  /**
377
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
410
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
378
411
  * @summary Delete the bank order
379
412
  * @param {string} code Unique identifier for the object.
380
413
  * @param {string} [authorization] Bearer Token
@@ -385,40 +418,45 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
385
418
  return localVarFp.deleteBankOrder(code, authorization, options).then((request) => request(axios, basePath));
386
419
  },
387
420
  /**
388
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
421
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
389
422
  * @summary Retrieve the bank order
390
423
  * @param {string} code
391
424
  * @param {string} [authorization] Bearer Token
425
+ * @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: financialAccount, xmlFile&lt;i&gt;
392
426
  * @param {*} [options] Override http request option.
393
427
  * @throws {RequiredError}
394
428
  */
395
- getBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<GetBankOrderResponseClass> {
396
- return localVarFp.getBankOrder(code, authorization, options).then((request) => request(axios, basePath));
429
+ getBankOrder(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankOrderResponseClass> {
430
+ return localVarFp.getBankOrder(code, authorization, expand, options).then((request) => request(axios, basePath));
397
431
  },
398
432
  /**
399
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
433
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
400
434
  * @summary List bank orders
401
435
  * @param {string} [authorization] Bearer Token
402
- * @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, orderNumber, status, type, bankAccountId&lt;/i&gt;
403
- * @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, orderNumber, status, type, bankAccountId&lt;/i&gt;
404
- * @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, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
405
- * @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;
436
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
437
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
438
+ * @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, orderNumber, status, type, financialAccountCode&lt;/i&gt;
439
+ * @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: code, description, orderNumber, financialAccountCode&lt;/i&gt;
440
+ * @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, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt&lt;/i&gt;
441
+ * @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: financialAccount, xmlFile&lt;i&gt;
442
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, financialAccountCode&lt;/i&gt;
406
443
  * @param {*} [options] Override http request option.
407
444
  * @throws {RequiredError}
408
445
  */
409
- listBankOrders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankOrdersResponseClass> {
410
- return localVarFp.listBankOrders(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
446
+ listBankOrders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankOrdersResponseClass> {
447
+ return localVarFp.listBankOrders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
411
448
  },
412
449
  /**
413
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
450
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
414
451
  * @summary Update the bank order
415
452
  * @param {string} code Unique identifier for the object.
453
+ * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
416
454
  * @param {string} [authorization] Bearer Token
417
455
  * @param {*} [options] Override http request option.
418
456
  * @throws {RequiredError}
419
457
  */
420
- updateBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<UpdateBankOrderResponseClass> {
421
- return localVarFp.updateBankOrder(code, authorization, options).then((request) => request(axios, basePath));
458
+ updateBankOrder(code: string, updateBankOrderRequestDto: UpdateBankOrderRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBankOrderResponseClass> {
459
+ return localVarFp.updateBankOrder(code, updateBankOrderRequestDto, authorization, options).then((request) => request(axios, basePath));
422
460
  },
423
461
  };
424
462
  };
@@ -484,6 +522,13 @@ export interface BankOrdersApiGetBankOrderRequest {
484
522
  * @memberof BankOrdersApiGetBankOrder
485
523
  */
486
524
  readonly authorization?: string
525
+
526
+ /**
527
+ * 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: financialAccount, xmlFile&lt;i&gt;
528
+ * @type {string}
529
+ * @memberof BankOrdersApiGetBankOrder
530
+ */
531
+ readonly expand?: string
487
532
  }
488
533
 
489
534
  /**
@@ -500,32 +545,53 @@ export interface BankOrdersApiListBankOrdersRequest {
500
545
  readonly authorization?: string
501
546
 
502
547
  /**
503
- * 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, orderNumber, status, type, bankAccountId&lt;/i&gt;
548
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
549
+ * @type {number}
550
+ * @memberof BankOrdersApiListBankOrders
551
+ */
552
+ readonly pageSize?: number
553
+
554
+ /**
555
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
556
+ * @type {string}
557
+ * @memberof BankOrdersApiListBankOrders
558
+ */
559
+ readonly pageToken?: string
560
+
561
+ /**
562
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, financialAccountCode&lt;/i&gt;
504
563
  * @type {string}
505
564
  * @memberof BankOrdersApiListBankOrders
506
565
  */
507
566
  readonly filter?: string
508
567
 
509
568
  /**
510
- * 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, orderNumber, status, type, bankAccountId&lt;/i&gt;
569
+ * 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: code, description, orderNumber, financialAccountCode&lt;/i&gt;
511
570
  * @type {string}
512
571
  * @memberof BankOrdersApiListBankOrders
513
572
  */
514
- readonly filters?: string
573
+ readonly search?: string
515
574
 
516
575
  /**
517
- * 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, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
576
+ * 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, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt&lt;/i&gt;
518
577
  * @type {string}
519
578
  * @memberof BankOrdersApiListBankOrders
520
579
  */
521
580
  readonly order?: string
522
581
 
523
582
  /**
524
- * 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;
583
+ * 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: financialAccount, xmlFile&lt;i&gt;
525
584
  * @type {string}
526
585
  * @memberof BankOrdersApiListBankOrders
527
586
  */
528
587
  readonly expand?: string
588
+
589
+ /**
590
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, financialAccountCode&lt;/i&gt;
591
+ * @type {string}
592
+ * @memberof BankOrdersApiListBankOrders
593
+ */
594
+ readonly filters?: string
529
595
  }
530
596
 
531
597
  /**
@@ -541,6 +607,13 @@ export interface BankOrdersApiUpdateBankOrderRequest {
541
607
  */
542
608
  readonly code: string
543
609
 
610
+ /**
611
+ *
612
+ * @type {UpdateBankOrderRequestDto}
613
+ * @memberof BankOrdersApiUpdateBankOrder
614
+ */
615
+ readonly updateBankOrderRequestDto: UpdateBankOrderRequestDto
616
+
544
617
  /**
545
618
  * Bearer Token
546
619
  * @type {string}
@@ -557,7 +630,7 @@ export interface BankOrdersApiUpdateBankOrderRequest {
557
630
  */
558
631
  export class BankOrdersApi extends BaseAPI {
559
632
  /**
560
- * This will create a bank order. **Required Permissions** \"payment-management.bank-accounts.create\"
633
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
561
634
  * @summary Create the bank order
562
635
  * @param {BankOrdersApiCreateBankOrderRequest} requestParameters Request parameters.
563
636
  * @param {*} [options] Override http request option.
@@ -569,7 +642,7 @@ export class BankOrdersApi extends BaseAPI {
569
642
  }
570
643
 
571
644
  /**
572
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
645
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
573
646
  * @summary Delete the bank order
574
647
  * @param {BankOrdersApiDeleteBankOrderRequest} requestParameters Request parameters.
575
648
  * @param {*} [options] Override http request option.
@@ -581,7 +654,7 @@ export class BankOrdersApi extends BaseAPI {
581
654
  }
582
655
 
583
656
  /**
584
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
657
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
585
658
  * @summary Retrieve the bank order
586
659
  * @param {BankOrdersApiGetBankOrderRequest} requestParameters Request parameters.
587
660
  * @param {*} [options] Override http request option.
@@ -589,11 +662,11 @@ export class BankOrdersApi extends BaseAPI {
589
662
  * @memberof BankOrdersApi
590
663
  */
591
664
  public getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig) {
592
- return BankOrdersApiFp(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
665
+ return BankOrdersApiFp(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
593
666
  }
594
667
 
595
668
  /**
596
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
669
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
597
670
  * @summary List bank orders
598
671
  * @param {BankOrdersApiListBankOrdersRequest} requestParameters Request parameters.
599
672
  * @param {*} [options] Override http request option.
@@ -601,11 +674,11 @@ export class BankOrdersApi extends BaseAPI {
601
674
  * @memberof BankOrdersApi
602
675
  */
603
676
  public listBankOrders(requestParameters: BankOrdersApiListBankOrdersRequest = {}, options?: AxiosRequestConfig) {
604
- return BankOrdersApiFp(this.configuration).listBankOrders(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
677
+ return BankOrdersApiFp(this.configuration).listBankOrders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
605
678
  }
606
679
 
607
680
  /**
608
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
681
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
609
682
  * @summary Update the bank order
610
683
  * @param {BankOrdersApiUpdateBankOrderRequest} requestParameters Request parameters.
611
684
  * @param {*} [options] Override http request option.
@@ -613,6 +686,6 @@ export class BankOrdersApi extends BaseAPI {
613
686
  * @memberof BankOrdersApi
614
687
  */
615
688
  public updateBankOrder(requestParameters: BankOrdersApiUpdateBankOrderRequest, options?: AxiosRequestConfig) {
616
- return BankOrdersApiFp(this.configuration).updateBankOrder(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
689
+ return BankOrdersApiFp(this.configuration).updateBankOrder(requestParameters.code, requestParameters.updateBankOrderRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
617
690
  }
618
691
  }