@emilgroup/payment-sdk 1.13.1-beta.9 → 1.13.1-beta.91

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 (154) hide show
  1. package/.openapi-generator/FILES +25 -1
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +691 -0
  5. package/api/bank-transaction-api.ts +63 -52
  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 +188 -21
  10. package/api/policy-payment-methods-api.ts +165 -0
  11. package/api/refunds-api.ts +45 -17
  12. package/api/tenant-bank-account-api.ts +45 -17
  13. package/api.ts +6 -0
  14. package/base.ts +51 -2
  15. package/dist/api/bank-accounts-api.d.ts +35 -8
  16. package/dist/api/bank-accounts-api.js +29 -11
  17. package/dist/api/bank-orders-api.d.ts +393 -0
  18. package/dist/api/bank-orders-api.js +642 -0
  19. package/dist/api/bank-transaction-api.d.ts +43 -35
  20. package/dist/api/bank-transaction-api.js +39 -34
  21. package/dist/api/exceeding-credits-api.d.ts +206 -0
  22. package/dist/api/exceeding-credits-api.js +352 -0
  23. package/dist/api/payment-methods-api.d.ts +39 -12
  24. package/dist/api/payment-methods-api.js +32 -14
  25. package/dist/api/payment-reminders-api.d.ts +35 -8
  26. package/dist/api/payment-reminders-api.js +29 -11
  27. package/dist/api/payments-api.d.ts +112 -16
  28. package/dist/api/payments-api.js +141 -18
  29. package/dist/api/policy-payment-methods-api.d.ts +97 -0
  30. package/dist/api/policy-payment-methods-api.js +224 -0
  31. package/dist/api/refunds-api.d.ts +28 -10
  32. package/dist/api/refunds-api.js +24 -12
  33. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  34. package/dist/api/tenant-bank-account-api.js +24 -12
  35. package/dist/api.d.ts +3 -0
  36. package/dist/api.js +3 -0
  37. package/dist/base.d.ts +10 -1
  38. package/dist/base.js +46 -2
  39. package/dist/models/bank-order-class.d.ts +115 -0
  40. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
  41. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  42. package/dist/models/bank-transaction-class.d.ts +22 -22
  43. package/dist/models/bank-transaction-class.js +5 -0
  44. package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
  45. package/dist/models/bank-transaction-invoice-class.js +15 -0
  46. package/dist/models/bank-transfer-dto.d.ts +25 -0
  47. package/dist/models/bank-transfer-dto.js +15 -0
  48. package/dist/models/billing-address-dto.d.ts +54 -0
  49. package/dist/models/billing-address-dto.js +15 -0
  50. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  51. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  52. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  53. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  54. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  55. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  56. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  57. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  58. package/dist/models/create-bank-order-request-dto.js +28 -0
  59. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  60. package/dist/models/create-bank-order-response-class.js +15 -0
  61. package/dist/models/create-payment-order-dto.d.ts +48 -0
  62. package/dist/models/create-payment-order-dto.js +15 -0
  63. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  64. package/dist/models/create-payment-order-request-dto.js +15 -0
  65. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  66. package/dist/models/create-payment-request-dto.d.ts +7 -1
  67. package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
  68. package/dist/models/create-policy-payment-method-request-dto.js +15 -0
  69. package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
  70. package/dist/models/create-policy-payment-method-response-class.js +15 -0
  71. package/dist/models/create-psp-payment-method-request-dto.d.ts +22 -1
  72. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  73. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  74. package/dist/models/exceeding-credit-class.d.ts +116 -0
  75. package/dist/models/exceeding-credit-class.js +29 -0
  76. package/dist/models/financial-account-class.d.ts +111 -0
  77. package/dist/models/financial-account-class.js +24 -0
  78. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  79. package/dist/models/get-bank-order-response-class.js +15 -0
  80. package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
  81. package/dist/models/get-exceeding-credit-response-class.js +15 -0
  82. package/dist/models/index.d.ts +22 -1
  83. package/dist/models/index.js +22 -1
  84. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  85. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  86. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  87. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  88. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  89. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  90. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  91. package/dist/models/invoice-allocation-dto.js +15 -0
  92. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  93. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  94. package/dist/models/list-bank-orders-response-class.js +15 -0
  95. package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
  96. package/dist/models/list-exceeding-credits-response-class.js +15 -0
  97. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  98. package/dist/models/payment-class.d.ts +7 -1
  99. package/dist/models/payment-method-class.d.ts +6 -0
  100. package/dist/models/payment-reminder-class.d.ts +7 -1
  101. package/dist/models/policy-payment-method-class.d.ts +73 -0
  102. package/dist/models/policy-payment-method-class.js +15 -0
  103. package/dist/models/refund-class.d.ts +7 -1
  104. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
  105. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  106. package/dist/models/update-bank-order-request-dto.d.ts +62 -0
  107. package/dist/models/update-bank-order-request-dto.js +23 -0
  108. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  109. package/dist/models/update-bank-order-response-class.js +15 -0
  110. package/models/bank-order-class.ts +121 -0
  111. package/models/bank-transaction-class-without-expand-properties.ts +21 -18
  112. package/models/bank-transaction-class.ts +25 -22
  113. package/models/bank-transaction-invoice-class.ts +66 -0
  114. package/models/bank-transfer-dto.ts +31 -0
  115. package/models/billing-address-dto.ts +60 -0
  116. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  117. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  118. package/models/complete-payment-setup-request-dto.ts +7 -0
  119. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  120. package/models/create-bank-order-request-dto.ts +84 -0
  121. package/models/create-bank-order-response-class.ts +31 -0
  122. package/models/create-payment-order-dto.ts +54 -0
  123. package/models/create-payment-order-request-dto.ts +54 -0
  124. package/models/create-payment-reminder-request-dto.ts +7 -1
  125. package/models/create-payment-request-dto.ts +7 -1
  126. package/models/create-policy-payment-method-request-dto.ts +36 -0
  127. package/models/create-policy-payment-method-response-class.ts +31 -0
  128. package/models/create-psp-payment-method-request-dto.ts +23 -2
  129. package/models/deactivated-payment-reminder-class.ts +7 -1
  130. package/models/exceeding-credit-class.ts +125 -0
  131. package/models/financial-account-class.ts +120 -0
  132. package/models/get-bank-order-response-class.ts +31 -0
  133. package/models/get-exceeding-credit-response-class.ts +31 -0
  134. package/models/index.ts +22 -1
  135. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  136. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  137. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  138. package/models/initiate-payment-setup-request-dto.ts +3 -2
  139. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  140. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  141. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  142. package/models/list-bank-orders-response-class.ts +37 -0
  143. package/models/list-exceeding-credits-response-class.ts +37 -0
  144. package/models/payment-class-without-expand-properties.ts +7 -1
  145. package/models/payment-class.ts +7 -1
  146. package/models/payment-method-class.ts +6 -0
  147. package/models/payment-reminder-class.ts +7 -1
  148. package/models/policy-payment-method-class.ts +79 -0
  149. package/models/refund-class.ts +7 -1
  150. package/models/unlinked-bank-transaction-response-class.ts +21 -0
  151. package/models/update-bank-order-request-dto.ts +71 -0
  152. package/models/update-bank-order-response-class.ts +31 -0
  153. package/package.json +1 -1
  154. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
@@ -56,14 +56,17 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
56
56
  * 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. **Required Permissions** \"payment-management.bank-accounts.view\"
57
57
  * @summary List bank accounts
58
58
  * @param {string} [authorization] Bearer Token
59
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
60
+ * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
59
61
  * @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>
60
- * @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>
62
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
61
63
  * @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>
62
64
  * @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>
65
+ * @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>
63
66
  * @param {*} [options] Override http request option.
64
67
  * @throws {RequiredError}
65
68
  */
66
- listBankAccounts: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
+ listBankAccounts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
70
  /**
68
71
  * Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
69
72
  * @summary Set primary bank account
@@ -122,14 +125,17 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
122
125
  * 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. **Required Permissions** \"payment-management.bank-accounts.view\"
123
126
  * @summary List bank accounts
124
127
  * @param {string} [authorization] Bearer Token
128
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
129
+ * @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.
125
130
  * @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;
126
- * @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;
131
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
127
132
  * @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;
128
133
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount&lt;i&gt;
134
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
129
135
  * @param {*} [options] Override http request option.
130
136
  * @throws {RequiredError}
131
137
  */
132
- listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>>;
138
+ listBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>>;
133
139
  /**
134
140
  * Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
135
141
  * @summary Set primary bank account
@@ -188,14 +194,17 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
188
194
  * 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. **Required Permissions** \"payment-management.bank-accounts.view\"
189
195
  * @summary List bank accounts
190
196
  * @param {string} [authorization] Bearer Token
197
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
198
+ * @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.
191
199
  * @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;
192
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
200
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
193
201
  * @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;
194
202
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount&lt;i&gt;
203
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
195
204
  * @param {*} [options] Override http request option.
196
205
  * @throws {RequiredError}
197
206
  */
198
- listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass>;
207
+ listBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass>;
199
208
  /**
200
209
  * Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
201
210
  * @summary Set primary bank account
@@ -292,6 +301,18 @@ export interface BankAccountsApiListBankAccountsRequest {
292
301
  * @memberof BankAccountsApiListBankAccounts
293
302
  */
294
303
  readonly authorization?: string;
304
+ /**
305
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
306
+ * @type {number}
307
+ * @memberof BankAccountsApiListBankAccounts
308
+ */
309
+ readonly pageSize?: number;
310
+ /**
311
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
312
+ * @type {string}
313
+ * @memberof BankAccountsApiListBankAccounts
314
+ */
315
+ readonly pageToken?: string;
295
316
  /**
296
317
  * 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;
297
318
  * @type {string}
@@ -299,11 +320,11 @@ export interface BankAccountsApiListBankAccountsRequest {
299
320
  */
300
321
  readonly filter?: string;
301
322
  /**
302
- * 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;
323
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
303
324
  * @type {string}
304
325
  * @memberof BankAccountsApiListBankAccounts
305
326
  */
306
- readonly filters?: string;
327
+ readonly search?: string;
307
328
  /**
308
329
  * 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;
309
330
  * @type {string}
@@ -316,6 +337,12 @@ export interface BankAccountsApiListBankAccountsRequest {
316
337
  * @memberof BankAccountsApiListBankAccounts
317
338
  */
318
339
  readonly expand?: string;
340
+ /**
341
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
342
+ * @type {string}
343
+ * @memberof BankAccountsApiListBankAccounts
344
+ */
345
+ readonly filters?: string;
319
346
  }
320
347
  /**
321
348
  * Request parameters for setPrimaryBankAccount operation in BankAccountsApi.
@@ -245,14 +245,17 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
245
245
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
246
246
  * @summary List bank accounts
247
247
  * @param {string} [authorization] Bearer Token
248
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
+ * @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.
248
250
  * @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;
249
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
251
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
250
252
  * @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;
251
253
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount&lt;i&gt;
254
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
252
255
  * @param {*} [options] Override http request option.
253
256
  * @throws {RequiredError}
254
257
  */
255
- listBankAccounts: function (authorization, filter, filters, order, expand, options) {
258
+ listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
256
259
  if (options === void 0) { options = {}; }
257
260
  return __awaiter(_this, void 0, void 0, function () {
258
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -275,11 +278,17 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
275
278
  // authentication bearer required
276
279
  // http bearer authentication required
277
280
  _a.sent();
281
+ if (pageSize !== undefined) {
282
+ localVarQueryParameter['pageSize'] = pageSize;
283
+ }
284
+ if (pageToken !== undefined) {
285
+ localVarQueryParameter['pageToken'] = pageToken;
286
+ }
278
287
  if (filter !== undefined) {
279
288
  localVarQueryParameter['filter'] = filter;
280
289
  }
281
- if (filters !== undefined) {
282
- localVarQueryParameter['filters'] = filters;
290
+ if (search !== undefined) {
291
+ localVarQueryParameter['search'] = search;
283
292
  }
284
293
  if (order !== undefined) {
285
294
  localVarQueryParameter['order'] = order;
@@ -287,6 +296,9 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
287
296
  if (expand !== undefined) {
288
297
  localVarQueryParameter['expand'] = expand;
289
298
  }
299
+ if (filters !== undefined) {
300
+ localVarQueryParameter['filters'] = filters;
301
+ }
290
302
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
291
303
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
292
304
  }
@@ -485,19 +497,22 @@ var BankAccountsApiFp = function (configuration) {
485
497
  * 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. **Required Permissions** \"payment-management.bank-accounts.view\"
486
498
  * @summary List bank accounts
487
499
  * @param {string} [authorization] Bearer Token
500
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
501
+ * @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.
488
502
  * @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;
489
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
503
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
490
504
  * @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;
491
505
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount&lt;i&gt;
506
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
492
507
  * @param {*} [options] Override http request option.
493
508
  * @throws {RequiredError}
494
509
  */
495
- listBankAccounts: function (authorization, filter, filters, order, expand, options) {
510
+ listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
496
511
  return __awaiter(this, void 0, void 0, function () {
497
512
  var localVarAxiosArgs;
498
513
  return __generator(this, function (_a) {
499
514
  switch (_a.label) {
500
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, filter, filters, order, expand, options)];
515
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
501
516
  case 1:
502
517
  localVarAxiosArgs = _a.sent();
503
518
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -597,15 +612,18 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
597
612
  * 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. **Required Permissions** \"payment-management.bank-accounts.view\"
598
613
  * @summary List bank accounts
599
614
  * @param {string} [authorization] Bearer Token
615
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
616
+ * @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.
600
617
  * @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;
601
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
618
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
602
619
  * @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;
603
620
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount&lt;i&gt;
621
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
604
622
  * @param {*} [options] Override http request option.
605
623
  * @throws {RequiredError}
606
624
  */
607
- listBankAccounts: function (authorization, filter, filters, order, expand, options) {
608
- return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
625
+ listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
626
+ return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
609
627
  },
610
628
  /**
611
629
  * Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
@@ -692,7 +710,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
692
710
  BankAccountsApi.prototype.listBankAccounts = function (requestParameters, options) {
693
711
  var _this = this;
694
712
  if (requestParameters === void 0) { requestParameters = {}; }
695
- return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
713
+ return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
696
714
  };
697
715
  /**
698
716
  * Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
@@ -0,0 +1,393 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateBankOrderRequestDto } from '../models';
16
+ import { CreateBankOrderResponseClass } from '../models';
17
+ import { GetBankOrderResponseClass } from '../models';
18
+ import { ListBankOrdersResponseClass } from '../models';
19
+ import { UpdateBankOrderRequestDto } from '../models';
20
+ import { UpdateBankOrderResponseClass } from '../models';
21
+ /**
22
+ * BankOrdersApi - axios parameter creator
23
+ * @export
24
+ */
25
+ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
28
+ * @summary Create the bank order
29
+ * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
30
+ * @param {string} [authorization] Bearer Token
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ createBankOrder: (createBankOrderRequestDto: CreateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
37
+ * @summary Delete the bank order
38
+ * @param {string} code Unique identifier for the object.
39
+ * @param {string} [authorization] Bearer Token
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ deleteBankOrder: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ * 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\"
46
+ * @summary Retrieve the bank order
47
+ * @param {string} code
48
+ * @param {string} [authorization] Bearer Token
49
+ * @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&lt;i&gt;
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ getBankOrder: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
+ /**
55
+ * 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\"
56
+ * @summary List bank orders
57
+ * @param {string} [authorization] Bearer Token
58
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
+ * @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.
60
+ * @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;
61
+ * @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;
62
+ * @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;
63
+ * @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&lt;i&gt;
64
+ * @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;
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ listBankOrders: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
+ /**
70
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
71
+ * @summary Update the bank order
72
+ * @param {string} code Unique identifier for the object.
73
+ * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
74
+ * @param {string} [authorization] Bearer Token
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ updateBankOrder: (code: string, updateBankOrderRequestDto: UpdateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
+ };
80
+ /**
81
+ * BankOrdersApi - functional programming interface
82
+ * @export
83
+ */
84
+ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
85
+ /**
86
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
87
+ * @summary Create the bank order
88
+ * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
89
+ * @param {string} [authorization] Bearer Token
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ createBankOrder(createBankOrderRequestDto: CreateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBankOrderResponseClass>>;
94
+ /**
95
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
96
+ * @summary Delete the bank order
97
+ * @param {string} code Unique identifier for the object.
98
+ * @param {string} [authorization] Bearer Token
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ deleteBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
103
+ /**
104
+ * 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\"
105
+ * @summary Retrieve the bank order
106
+ * @param {string} code
107
+ * @param {string} [authorization] Bearer Token
108
+ * @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&lt;i&gt;
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ getBankOrder(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>>;
113
+ /**
114
+ * 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\"
115
+ * @summary List bank orders
116
+ * @param {string} [authorization] Bearer Token
117
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
+ * @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.
119
+ * @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;
120
+ * @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;
121
+ * @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;
122
+ * @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&lt;i&gt;
123
+ * @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;
124
+ * @param {*} [options] Override http request option.
125
+ * @throws {RequiredError}
126
+ */
127
+ 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>>;
128
+ /**
129
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
130
+ * @summary Update the bank order
131
+ * @param {string} code Unique identifier for the object.
132
+ * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
133
+ * @param {string} [authorization] Bearer Token
134
+ * @param {*} [options] Override http request option.
135
+ * @throws {RequiredError}
136
+ */
137
+ updateBankOrder(code: string, updateBankOrderRequestDto: UpdateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankOrderResponseClass>>;
138
+ };
139
+ /**
140
+ * BankOrdersApi - factory interface
141
+ * @export
142
+ */
143
+ export declare const BankOrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
144
+ /**
145
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
146
+ * @summary Create the bank order
147
+ * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
148
+ * @param {string} [authorization] Bearer Token
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ createBankOrder(createBankOrderRequestDto: CreateBankOrderRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBankOrderResponseClass>;
153
+ /**
154
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
155
+ * @summary Delete the bank order
156
+ * @param {string} code Unique identifier for the object.
157
+ * @param {string} [authorization] Bearer Token
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ deleteBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<object>;
162
+ /**
163
+ * 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\"
164
+ * @summary Retrieve the bank order
165
+ * @param {string} code
166
+ * @param {string} [authorization] Bearer Token
167
+ * @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&lt;i&gt;
168
+ * @param {*} [options] Override http request option.
169
+ * @throws {RequiredError}
170
+ */
171
+ getBankOrder(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankOrderResponseClass>;
172
+ /**
173
+ * 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\"
174
+ * @summary List bank orders
175
+ * @param {string} [authorization] Bearer Token
176
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
+ * @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.
178
+ * @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;
179
+ * @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;
180
+ * @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;
181
+ * @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&lt;i&gt;
182
+ * @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;
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ listBankOrders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankOrdersResponseClass>;
187
+ /**
188
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
189
+ * @summary Update the bank order
190
+ * @param {string} code Unique identifier for the object.
191
+ * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
192
+ * @param {string} [authorization] Bearer Token
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ updateBankOrder(code: string, updateBankOrderRequestDto: UpdateBankOrderRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBankOrderResponseClass>;
197
+ };
198
+ /**
199
+ * Request parameters for createBankOrder operation in BankOrdersApi.
200
+ * @export
201
+ * @interface BankOrdersApiCreateBankOrderRequest
202
+ */
203
+ export interface BankOrdersApiCreateBankOrderRequest {
204
+ /**
205
+ *
206
+ * @type {CreateBankOrderRequestDto}
207
+ * @memberof BankOrdersApiCreateBankOrder
208
+ */
209
+ readonly createBankOrderRequestDto: CreateBankOrderRequestDto;
210
+ /**
211
+ * Bearer Token
212
+ * @type {string}
213
+ * @memberof BankOrdersApiCreateBankOrder
214
+ */
215
+ readonly authorization?: string;
216
+ }
217
+ /**
218
+ * Request parameters for deleteBankOrder operation in BankOrdersApi.
219
+ * @export
220
+ * @interface BankOrdersApiDeleteBankOrderRequest
221
+ */
222
+ export interface BankOrdersApiDeleteBankOrderRequest {
223
+ /**
224
+ * Unique identifier for the object.
225
+ * @type {string}
226
+ * @memberof BankOrdersApiDeleteBankOrder
227
+ */
228
+ readonly code: string;
229
+ /**
230
+ * Bearer Token
231
+ * @type {string}
232
+ * @memberof BankOrdersApiDeleteBankOrder
233
+ */
234
+ readonly authorization?: string;
235
+ }
236
+ /**
237
+ * Request parameters for getBankOrder operation in BankOrdersApi.
238
+ * @export
239
+ * @interface BankOrdersApiGetBankOrderRequest
240
+ */
241
+ export interface BankOrdersApiGetBankOrderRequest {
242
+ /**
243
+ *
244
+ * @type {string}
245
+ * @memberof BankOrdersApiGetBankOrder
246
+ */
247
+ readonly code: string;
248
+ /**
249
+ * Bearer Token
250
+ * @type {string}
251
+ * @memberof BankOrdersApiGetBankOrder
252
+ */
253
+ readonly authorization?: string;
254
+ /**
255
+ * 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&lt;i&gt;
256
+ * @type {string}
257
+ * @memberof BankOrdersApiGetBankOrder
258
+ */
259
+ readonly expand?: string;
260
+ }
261
+ /**
262
+ * Request parameters for listBankOrders operation in BankOrdersApi.
263
+ * @export
264
+ * @interface BankOrdersApiListBankOrdersRequest
265
+ */
266
+ export interface BankOrdersApiListBankOrdersRequest {
267
+ /**
268
+ * Bearer Token
269
+ * @type {string}
270
+ * @memberof BankOrdersApiListBankOrders
271
+ */
272
+ readonly authorization?: string;
273
+ /**
274
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
275
+ * @type {number}
276
+ * @memberof BankOrdersApiListBankOrders
277
+ */
278
+ readonly pageSize?: number;
279
+ /**
280
+ * 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.
281
+ * @type {string}
282
+ * @memberof BankOrdersApiListBankOrders
283
+ */
284
+ readonly pageToken?: string;
285
+ /**
286
+ * 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;
287
+ * @type {string}
288
+ * @memberof BankOrdersApiListBankOrders
289
+ */
290
+ readonly filter?: string;
291
+ /**
292
+ * 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;
293
+ * @type {string}
294
+ * @memberof BankOrdersApiListBankOrders
295
+ */
296
+ readonly search?: string;
297
+ /**
298
+ * 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;
299
+ * @type {string}
300
+ * @memberof BankOrdersApiListBankOrders
301
+ */
302
+ readonly order?: string;
303
+ /**
304
+ * 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&lt;i&gt;
305
+ * @type {string}
306
+ * @memberof BankOrdersApiListBankOrders
307
+ */
308
+ readonly expand?: string;
309
+ /**
310
+ * 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;
311
+ * @type {string}
312
+ * @memberof BankOrdersApiListBankOrders
313
+ */
314
+ readonly filters?: string;
315
+ }
316
+ /**
317
+ * Request parameters for updateBankOrder operation in BankOrdersApi.
318
+ * @export
319
+ * @interface BankOrdersApiUpdateBankOrderRequest
320
+ */
321
+ export interface BankOrdersApiUpdateBankOrderRequest {
322
+ /**
323
+ * Unique identifier for the object.
324
+ * @type {string}
325
+ * @memberof BankOrdersApiUpdateBankOrder
326
+ */
327
+ readonly code: string;
328
+ /**
329
+ *
330
+ * @type {UpdateBankOrderRequestDto}
331
+ * @memberof BankOrdersApiUpdateBankOrder
332
+ */
333
+ readonly updateBankOrderRequestDto: UpdateBankOrderRequestDto;
334
+ /**
335
+ * Bearer Token
336
+ * @type {string}
337
+ * @memberof BankOrdersApiUpdateBankOrder
338
+ */
339
+ readonly authorization?: string;
340
+ }
341
+ /**
342
+ * BankOrdersApi - object-oriented interface
343
+ * @export
344
+ * @class BankOrdersApi
345
+ * @extends {BaseAPI}
346
+ */
347
+ export declare class BankOrdersApi extends BaseAPI {
348
+ /**
349
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
350
+ * @summary Create the bank order
351
+ * @param {BankOrdersApiCreateBankOrderRequest} requestParameters Request parameters.
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ * @memberof BankOrdersApi
355
+ */
356
+ createBankOrder(requestParameters: BankOrdersApiCreateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankOrderResponseClass, any>>;
357
+ /**
358
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
359
+ * @summary Delete the bank order
360
+ * @param {BankOrdersApiDeleteBankOrderRequest} requestParameters Request parameters.
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ * @memberof BankOrdersApi
364
+ */
365
+ deleteBankOrder(requestParameters: BankOrdersApiDeleteBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
366
+ /**
367
+ * 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\"
368
+ * @summary Retrieve the bank order
369
+ * @param {BankOrdersApiGetBankOrderRequest} requestParameters Request parameters.
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ * @memberof BankOrdersApi
373
+ */
374
+ getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankOrderResponseClass, any>>;
375
+ /**
376
+ * 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\"
377
+ * @summary List bank orders
378
+ * @param {BankOrdersApiListBankOrdersRequest} requestParameters Request parameters.
379
+ * @param {*} [options] Override http request option.
380
+ * @throws {RequiredError}
381
+ * @memberof BankOrdersApi
382
+ */
383
+ listBankOrders(requestParameters?: BankOrdersApiListBankOrdersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankOrdersResponseClass, any>>;
384
+ /**
385
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
386
+ * @summary Update the bank order
387
+ * @param {BankOrdersApiUpdateBankOrderRequest} requestParameters Request parameters.
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ * @memberof BankOrdersApi
391
+ */
392
+ updateBankOrder(requestParameters: BankOrdersApiUpdateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankOrderResponseClass, any>>;
393
+ }