@emilgroup/payment-sdk-node 1.21.1-beta.7 → 1.21.1-beta.70

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 (111) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +695 -0
  5. package/api/bank-transaction-api.ts +57 -29
  6. package/api/payment-methods-api.ts +59 -17
  7. package/api/payment-reminders-api.ts +55 -13
  8. package/api/payments-api.ts +59 -17
  9. package/api/refunds-api.ts +45 -17
  10. package/api/tenant-bank-account-api.ts +45 -17
  11. package/api.ts +2 -0
  12. package/base.ts +46 -4
  13. package/dist/api/bank-accounts-api.d.ts +35 -8
  14. package/dist/api/bank-accounts-api.js +29 -11
  15. package/dist/api/bank-orders-api.d.ts +393 -0
  16. package/dist/api/bank-orders-api.js +646 -0
  17. package/dist/api/bank-transaction-api.d.ts +40 -22
  18. package/dist/api/bank-transaction-api.js +33 -21
  19. package/dist/api/payment-methods-api.d.ts +39 -12
  20. package/dist/api/payment-methods-api.js +32 -14
  21. package/dist/api/payment-reminders-api.d.ts +35 -8
  22. package/dist/api/payment-reminders-api.js +29 -11
  23. package/dist/api/payments-api.d.ts +39 -12
  24. package/dist/api/payments-api.js +32 -14
  25. package/dist/api/refunds-api.d.ts +28 -10
  26. package/dist/api/refunds-api.js +24 -12
  27. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  28. package/dist/api/tenant-bank-account-api.js +24 -12
  29. package/dist/api.d.ts +1 -0
  30. package/dist/api.js +1 -0
  31. package/dist/base.d.ts +11 -2
  32. package/dist/base.js +42 -3
  33. package/dist/models/bank-order-class.d.ts +115 -0
  34. package/dist/models/bank-order-class.js +15 -0
  35. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -0
  36. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  37. package/dist/models/bank-transaction-class.d.ts +18 -0
  38. package/dist/models/bank-transaction-class.js +5 -0
  39. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
  40. package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -1
  41. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  42. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  43. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  44. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +1 -0
  45. package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -1
  46. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  47. package/dist/models/create-bank-order-request-dto.js +28 -0
  48. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  49. package/dist/models/create-bank-order-response-class.js +15 -0
  50. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  51. package/dist/models/create-payment-request-dto.d.ts +7 -1
  52. package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
  53. package/dist/models/create-psp-payment-method-request-dto.js +2 -1
  54. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  55. package/dist/models/financial-account-class.d.ts +111 -0
  56. package/dist/models/financial-account-class.js +24 -0
  57. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  58. package/dist/models/get-bank-order-response-class.js +15 -0
  59. package/dist/models/index.d.ts +10 -0
  60. package/dist/models/index.js +10 -0
  61. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  62. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  63. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  64. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  65. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  66. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  67. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  68. package/dist/models/list-bank-orders-response-class.js +15 -0
  69. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  70. package/dist/models/payment-class.d.ts +7 -1
  71. package/dist/models/payment-method-class.d.ts +6 -0
  72. package/dist/models/payment-reminder-class.d.ts +7 -1
  73. package/dist/models/refund-class.d.ts +7 -1
  74. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
  75. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  76. package/dist/models/update-bank-order-request-dto.d.ts +62 -0
  77. package/dist/models/update-bank-order-request-dto.js +23 -0
  78. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  79. package/dist/models/update-bank-order-response-class.js +15 -0
  80. package/models/bank-order-class.ts +121 -0
  81. package/models/bank-transaction-class-without-expand-properties.ts +21 -0
  82. package/models/bank-transaction-class.ts +21 -0
  83. package/models/complete-adyen-payment-setup-request-dto.ts +2 -1
  84. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  85. package/models/complete-payment-setup-request-dto.ts +7 -0
  86. package/models/complete-stripe-payment-setup-request-dto.ts +2 -1
  87. package/models/create-bank-order-request-dto.ts +84 -0
  88. package/models/create-bank-order-response-class.ts +31 -0
  89. package/models/create-payment-reminder-request-dto.ts +7 -1
  90. package/models/create-payment-request-dto.ts +7 -1
  91. package/models/create-psp-payment-method-request-dto.ts +15 -2
  92. package/models/deactivated-payment-reminder-class.ts +7 -1
  93. package/models/financial-account-class.ts +120 -0
  94. package/models/get-bank-order-response-class.ts +31 -0
  95. package/models/index.ts +10 -0
  96. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  97. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  98. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  99. package/models/initiate-payment-setup-request-dto.ts +3 -2
  100. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  101. package/models/list-bank-orders-response-class.ts +37 -0
  102. package/models/payment-class-without-expand-properties.ts +7 -1
  103. package/models/payment-class.ts +7 -1
  104. package/models/payment-method-class.ts +6 -0
  105. package/models/payment-reminder-class.ts +7 -1
  106. package/models/refund-class.ts +7 -1
  107. package/models/unlinked-bank-transaction-response-class.ts +21 -0
  108. package/models/update-bank-order-request-dto.ts +71 -0
  109. package/models/update-bank-order-response-class.ts +31 -0
  110. package/package.json +1 -1
  111. package/tsconfig.json +1 -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.
@@ -249,14 +249,17 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
249
249
  * 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\"
250
250
  * @summary List bank accounts
251
251
  * @param {string} [authorization] Bearer Token
252
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
253
+ * @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.
252
254
  * @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;
253
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
255
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
254
256
  * @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;
255
257
  * @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;
258
+ * @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;
256
259
  * @param {*} [options] Override http request option.
257
260
  * @throws {RequiredError}
258
261
  */
259
- listBankAccounts: function (authorization, filter, filters, order, expand, options) {
262
+ listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
260
263
  if (options === void 0) { options = {}; }
261
264
  return __awaiter(_this, void 0, void 0, function () {
262
265
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -279,11 +282,17 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
279
282
  // authentication bearer required
280
283
  // http bearer authentication required
281
284
  _a.sent();
285
+ if (pageSize !== undefined) {
286
+ localVarQueryParameter['pageSize'] = pageSize;
287
+ }
288
+ if (pageToken !== undefined) {
289
+ localVarQueryParameter['pageToken'] = pageToken;
290
+ }
282
291
  if (filter !== undefined) {
283
292
  localVarQueryParameter['filter'] = filter;
284
293
  }
285
- if (filters !== undefined) {
286
- localVarQueryParameter['filters'] = filters;
294
+ if (search !== undefined) {
295
+ localVarQueryParameter['search'] = search;
287
296
  }
288
297
  if (order !== undefined) {
289
298
  localVarQueryParameter['order'] = order;
@@ -291,6 +300,9 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
291
300
  if (expand !== undefined) {
292
301
  localVarQueryParameter['expand'] = expand;
293
302
  }
303
+ if (filters !== undefined) {
304
+ localVarQueryParameter['filters'] = filters;
305
+ }
294
306
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
307
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
296
308
  }
@@ -489,19 +501,22 @@ var BankAccountsApiFp = function (configuration) {
489
501
  * 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\"
490
502
  * @summary List bank accounts
491
503
  * @param {string} [authorization] Bearer Token
504
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
505
+ * @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.
492
506
  * @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;
493
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
507
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
494
508
  * @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;
495
509
  * @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;
510
+ * @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;
496
511
  * @param {*} [options] Override http request option.
497
512
  * @throws {RequiredError}
498
513
  */
499
- listBankAccounts: function (authorization, filter, filters, order, expand, options) {
514
+ listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
500
515
  return __awaiter(this, void 0, void 0, function () {
501
516
  var localVarAxiosArgs;
502
517
  return __generator(this, function (_a) {
503
518
  switch (_a.label) {
504
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, filter, filters, order, expand, options)];
519
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
505
520
  case 1:
506
521
  localVarAxiosArgs = _a.sent();
507
522
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -601,15 +616,18 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
601
616
  * 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\"
602
617
  * @summary List bank accounts
603
618
  * @param {string} [authorization] Bearer Token
619
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
620
+ * @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.
604
621
  * @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;
605
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
622
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
606
623
  * @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;
607
624
  * @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;
625
+ * @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;
608
626
  * @param {*} [options] Override http request option.
609
627
  * @throws {RequiredError}
610
628
  */
611
- listBankAccounts: function (authorization, filter, filters, order, expand, options) {
612
- return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
629
+ listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
630
+ return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
613
631
  },
614
632
  /**
615
633
  * Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
@@ -696,7 +714,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
696
714
  BankAccountsApi.prototype.listBankAccounts = function (requestParameters, options) {
697
715
  var _this = this;
698
716
  if (requestParameters === void 0) { requestParameters = {}; }
699
- 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); });
717
+ 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); });
700
718
  };
701
719
  /**
702
720
  * 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
+ }