@emilgroup/payment-sdk 1.4.1-beta.0 → 1.4.1-beta.10

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 (117) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +21 -7
  4. package/api/bank-transaction-api.ts +77 -29
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +21 -7
  7. package/api/payment-reminders-api.ts +21 -7
  8. package/api/payment-setup-api.ts +1 -1
  9. package/api/payments-api.ts +21 -7
  10. package/api/refunds-api.ts +21 -7
  11. package/api/tenant-bank-account-api.ts +69 -35
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +1 -1
  14. package/base.ts +1 -1
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +13 -4
  18. package/dist/api/bank-accounts-api.js +13 -7
  19. package/dist/api/bank-transaction-api.d.ts +48 -19
  20. package/dist/api/bank-transaction-api.js +45 -26
  21. package/dist/api/default-api.d.ts +1 -1
  22. package/dist/api/default-api.js +1 -1
  23. package/dist/api/payment-methods-api.d.ts +13 -4
  24. package/dist/api/payment-methods-api.js +13 -7
  25. package/dist/api/payment-reminders-api.d.ts +13 -4
  26. package/dist/api/payment-reminders-api.js +13 -7
  27. package/dist/api/payment-setup-api.d.ts +1 -1
  28. package/dist/api/payment-setup-api.js +1 -1
  29. package/dist/api/payments-api.d.ts +13 -4
  30. package/dist/api/payments-api.js +13 -7
  31. package/dist/api/refunds-api.d.ts +13 -4
  32. package/dist/api/refunds-api.js +13 -7
  33. package/dist/api/tenant-bank-account-api.d.ts +61 -32
  34. package/dist/api/tenant-bank-account-api.js +56 -30
  35. package/dist/api/webhooks-api.d.ts +1 -1
  36. package/dist/api/webhooks-api.js +1 -1
  37. package/dist/api.d.ts +1 -1
  38. package/dist/api.js +1 -1
  39. package/dist/base.d.ts +1 -1
  40. package/dist/base.js +1 -1
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/bank-transaction-response-class.d.ts +7 -1
  48. package/dist/models/bank-transaction-response-class.js +1 -1
  49. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  50. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  51. package/dist/models/create-payment-request-dto.d.ts +1 -1
  52. package/dist/models/create-payment-request-dto.js +1 -1
  53. package/dist/models/create-refund-request-dto.d.ts +1 -1
  54. package/dist/models/create-refund-request-dto.js +1 -1
  55. package/dist/models/create-refund-response-class.d.ts +1 -1
  56. package/dist/models/create-refund-response-class.js +1 -1
  57. package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
  58. package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
  59. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  60. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  61. package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
  62. package/dist/models/get-bank-transactions-response-class.js +1 -1
  63. package/dist/models/get-refund-response-class.d.ts +1 -1
  64. package/dist/models/get-refund-response-class.js +1 -1
  65. package/dist/models/get-request-dto.d.ts +1 -1
  66. package/dist/models/get-request-dto.js +1 -1
  67. package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
  68. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  69. package/dist/models/index.d.ts +2 -0
  70. package/dist/models/index.js +2 -0
  71. package/dist/models/inline-response200.d.ts +1 -1
  72. package/dist/models/inline-response200.js +1 -1
  73. package/dist/models/inline-response503.d.ts +1 -1
  74. package/dist/models/inline-response503.js +1 -1
  75. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +24 -0
  76. package/dist/models/link-bank-transaction-request-dto-rest.js +15 -0
  77. package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
  78. package/dist/models/list-bank-transactions-response-class.js +1 -1
  79. package/dist/models/list-refunds-response-class.d.ts +1 -1
  80. package/dist/models/list-refunds-response-class.js +1 -1
  81. package/dist/models/refund-class.d.ts +1 -1
  82. package/dist/models/refund-class.js +1 -1
  83. package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
  84. package/dist/models/tenant-bank-account-response-class.js +1 -1
  85. package/dist/models/transaction-class.d.ts +1 -1
  86. package/dist/models/transaction-class.js +1 -1
  87. package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +24 -0
  88. package/dist/models/unlink-bank-transaction-request-dto-rest.js +15 -0
  89. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  90. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  91. package/dist/models/validate-pspconfig-request-dto.d.ts +1 -1
  92. package/dist/models/validate-pspconfig-request-dto.js +1 -1
  93. package/index.ts +1 -1
  94. package/models/bank-transaction-response-class.ts +7 -1
  95. package/models/create-payment-reminder-request-dto.ts +1 -1
  96. package/models/create-payment-request-dto.ts +1 -1
  97. package/models/create-refund-request-dto.ts +1 -1
  98. package/models/create-refund-response-class.ts +1 -1
  99. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  100. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  101. package/models/get-bank-transactions-response-class.ts +1 -1
  102. package/models/get-refund-response-class.ts +1 -1
  103. package/models/get-request-dto.ts +1 -1
  104. package/models/get-tenant-bank-account-response-class.ts +1 -1
  105. package/models/index.ts +2 -0
  106. package/models/inline-response200.ts +1 -1
  107. package/models/inline-response503.ts +1 -1
  108. package/models/link-bank-transaction-request-dto-rest.ts +30 -0
  109. package/models/list-bank-transactions-response-class.ts +1 -1
  110. package/models/list-refunds-response-class.ts +1 -1
  111. package/models/refund-class.ts +1 -1
  112. package/models/tenant-bank-account-response-class.ts +1 -1
  113. package/models/transaction-class.ts +1 -1
  114. package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
  115. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  116. package/models/validate-pspconfig-request-dto.ts +1 -1
  117. package/package.json +1 -1
@@ -6,7 +6,7 @@
6
6
  * 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.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -151,10 +151,11 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
151
151
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
152
152
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
153
153
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
154
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
154
155
  * @param {*} [options] Override http request option.
155
156
  * @throws {RequiredError}
156
157
  */
157
- listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
158
+ listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
158
159
  if (options === void 0) { options = {}; }
159
160
  return __awaiter(_this, void 0, void 0, function () {
160
161
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -195,6 +196,9 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
195
196
  if (expand !== undefined) {
196
197
  localVarQueryParameter['expand'] = expand;
197
198
  }
199
+ if (filters !== undefined) {
200
+ localVarQueryParameter['filters'] = filters;
201
+ }
198
202
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
199
203
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
200
204
  }
@@ -250,15 +254,16 @@ var BankAccountsApiFp = function (configuration) {
250
254
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
251
255
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
252
256
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
257
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
253
258
  * @param {*} [options] Override http request option.
254
259
  * @throws {RequiredError}
255
260
  */
256
- listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
261
+ listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
257
262
  return __awaiter(this, void 0, void 0, function () {
258
263
  var localVarAxiosArgs;
259
264
  return __generator(this, function (_a) {
260
265
  switch (_a.label) {
261
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options)];
266
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
262
267
  case 1:
263
268
  localVarAxiosArgs = _a.sent();
264
269
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -297,11 +302,12 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
297
302
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
298
303
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
299
304
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
305
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
300
306
  * @param {*} [options] Override http request option.
301
307
  * @throws {RequiredError}
302
308
  */
303
- listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
304
- return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
309
+ listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
310
+ return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
305
311
  },
306
312
  };
307
313
  };
@@ -340,7 +346,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
340
346
  BankAccountsApi.prototype.listBankAccounts = function (requestParameters, options) {
341
347
  var _this = this;
342
348
  if (requestParameters === void 0) { requestParameters = {}; }
343
- return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
349
+ 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); });
344
350
  };
345
351
  return BankAccountsApi;
346
352
  }(base_1.BaseAPI));
@@ -3,7 +3,7 @@
3
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
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -13,7 +13,9 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { GetBankTransactionsResponseClass } from '../models';
16
+ import { LinkBankTransactionRequestDtoRest } from '../models';
16
17
  import { ListBankTransactionsResponseClass } from '../models';
18
+ import { UnlinkBankTransactionRequestDtoRest } from '../models';
17
19
  /**
18
20
  * BankTransactionApi - axios parameter creator
19
21
  * @export
@@ -42,34 +44,37 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
42
44
  * Links a bank transaction with an invoice
43
45
  * @summary Link Bank Transaction
44
46
  * @param {string} code Code of the bank transaction to link
47
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
45
48
  * @param {string} [authorization] Bearer Token
46
49
  * @param {*} [options] Override http request option.
47
50
  * @throws {RequiredError}
48
51
  */
49
- linkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
+ linkBankTransaction: (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
50
53
  /**
51
54
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
52
55
  * @summary List bank transactions
53
56
  * @param {string} [authorization] Bearer Token
54
57
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
55
58
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
56
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
59
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
57
60
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
58
61
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
59
- * @param {string} [expand] Expand the response with additional entities
62
+ * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
63
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
60
64
  * @param {*} [options] Override http request option.
61
65
  * @throws {RequiredError}
62
66
  */
63
- listBankTransactions: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
+ listBankTransactions: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
68
  /**
65
69
  * Unlinks an already linked bank transaction
66
70
  * @summary Unlink Bank Transaction
67
71
  * @param {string} code Code of the bank transaction to unlink
72
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
68
73
  * @param {string} [authorization] Bearer Token
69
74
  * @param {*} [options] Override http request option.
70
75
  * @throws {RequiredError}
71
76
  */
72
- unlinkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
+ unlinkBankTransaction: (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
73
78
  };
74
79
  /**
75
80
  * BankTransactionApi - functional programming interface
@@ -99,34 +104,37 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
99
104
  * Links a bank transaction with an invoice
100
105
  * @summary Link Bank Transaction
101
106
  * @param {string} code Code of the bank transaction to link
107
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
102
108
  * @param {string} [authorization] Bearer Token
103
109
  * @param {*} [options] Override http request option.
104
110
  * @throws {RequiredError}
105
111
  */
106
- linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
112
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
107
113
  /**
108
114
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
109
115
  * @summary List bank transactions
110
116
  * @param {string} [authorization] Bearer Token
111
117
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
112
118
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
113
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
119
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
114
120
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
115
121
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
116
- * @param {string} [expand] Expand the response with additional entities
122
+ * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
123
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
117
124
  * @param {*} [options] Override http request option.
118
125
  * @throws {RequiredError}
119
126
  */
120
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
127
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
121
128
  /**
122
129
  * Unlinks an already linked bank transaction
123
130
  * @summary Unlink Bank Transaction
124
131
  * @param {string} code Code of the bank transaction to unlink
132
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
125
133
  * @param {string} [authorization] Bearer Token
126
134
  * @param {*} [options] Override http request option.
127
135
  * @throws {RequiredError}
128
136
  */
129
- unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
137
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
130
138
  };
131
139
  /**
132
140
  * BankTransactionApi - factory interface
@@ -156,34 +164,37 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
156
164
  * Links a bank transaction with an invoice
157
165
  * @summary Link Bank Transaction
158
166
  * @param {string} code Code of the bank transaction to link
167
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
159
168
  * @param {string} [authorization] Bearer Token
160
169
  * @param {*} [options] Override http request option.
161
170
  * @throws {RequiredError}
162
171
  */
163
- linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
172
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
164
173
  /**
165
174
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
166
175
  * @summary List bank transactions
167
176
  * @param {string} [authorization] Bearer Token
168
177
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
169
178
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
170
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
179
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
171
180
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
172
181
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
173
- * @param {string} [expand] Expand the response with additional entities
182
+ * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
183
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
174
184
  * @param {*} [options] Override http request option.
175
185
  * @throws {RequiredError}
176
186
  */
177
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: any): AxiosPromise<void>;
187
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: any): AxiosPromise<void>;
178
188
  /**
179
189
  * Unlinks an already linked bank transaction
180
190
  * @summary Unlink Bank Transaction
181
191
  * @param {string} code Code of the bank transaction to unlink
192
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
182
193
  * @param {string} [authorization] Bearer Token
183
194
  * @param {*} [options] Override http request option.
184
195
  * @throws {RequiredError}
185
196
  */
186
- unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
197
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
187
198
  };
188
199
  /**
189
200
  * Request parameters for getBankTransaction operation in BankTransactionApi.
@@ -241,6 +252,12 @@ export interface BankTransactionApiLinkBankTransactionRequest {
241
252
  * @memberof BankTransactionApiLinkBankTransaction
242
253
  */
243
254
  readonly code: string;
255
+ /**
256
+ *
257
+ * @type {LinkBankTransactionRequestDtoRest}
258
+ * @memberof BankTransactionApiLinkBankTransaction
259
+ */
260
+ readonly linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest;
244
261
  /**
245
262
  * Bearer Token
246
263
  * @type {string}
@@ -273,7 +290,7 @@ export interface BankTransactionApiListBankTransactionsRequest {
273
290
  */
274
291
  readonly pageToken?: any;
275
292
  /**
276
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
293
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
277
294
  * @type {any}
278
295
  * @memberof BankTransactionApiListBankTransactions
279
296
  */
@@ -292,10 +309,16 @@ export interface BankTransactionApiListBankTransactionsRequest {
292
309
  readonly order?: any;
293
310
  /**
294
311
  * Expand the response with additional entities
295
- * @type {string}
312
+ * @type {'bankAccount' | 'transaction'}
296
313
  * @memberof BankTransactionApiListBankTransactions
297
314
  */
298
- readonly expand?: string;
315
+ readonly expand?: 'bankAccount' | 'transaction';
316
+ /**
317
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
318
+ * @type {any}
319
+ * @memberof BankTransactionApiListBankTransactions
320
+ */
321
+ readonly filters?: any;
299
322
  }
300
323
  /**
301
324
  * Request parameters for unlinkBankTransaction operation in BankTransactionApi.
@@ -309,6 +332,12 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
309
332
  * @memberof BankTransactionApiUnlinkBankTransaction
310
333
  */
311
334
  readonly code: string;
335
+ /**
336
+ *
337
+ * @type {UnlinkBankTransactionRequestDtoRest}
338
+ * @memberof BankTransactionApiUnlinkBankTransaction
339
+ */
340
+ readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest;
312
341
  /**
313
342
  * Bearer Token
314
343
  * @type {string}
@@ -6,7 +6,7 @@
6
6
  * 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.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -182,7 +182,6 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
182
182
  if (file !== undefined) {
183
183
  localVarFormParams.append('file', file);
184
184
  }
185
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data; boundary=' + localVarFormParams.getBoundary();
186
185
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
187
186
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
188
187
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -199,11 +198,12 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
199
198
  * Links a bank transaction with an invoice
200
199
  * @summary Link Bank Transaction
201
200
  * @param {string} code Code of the bank transaction to link
201
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
202
202
  * @param {string} [authorization] Bearer Token
203
203
  * @param {*} [options] Override http request option.
204
204
  * @throws {RequiredError}
205
205
  */
206
- linkBankTransaction: function (code, authorization, options) {
206
+ linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
207
207
  if (options === void 0) { options = {}; }
208
208
  return __awaiter(_this, void 0, void 0, function () {
209
209
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -212,6 +212,8 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
212
212
  case 0:
213
213
  // verify required parameter 'code' is not null or undefined
214
214
  (0, common_1.assertParamExists)('linkBankTransaction', 'code', code);
215
+ // verify required parameter 'linkBankTransactionRequestDtoRest' is not null or undefined
216
+ (0, common_1.assertParamExists)('linkBankTransaction', 'linkBankTransactionRequestDtoRest', linkBankTransactionRequestDtoRest);
215
217
  localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/link"
216
218
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
217
219
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -232,9 +234,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
232
234
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
233
235
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
234
236
  }
237
+ localVarHeaderParameter['Content-Type'] = 'application/json';
235
238
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
236
239
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
237
240
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
241
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(linkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
238
242
  return [2 /*return*/, {
239
243
  url: (0, common_1.toPathString)(localVarUrlObj),
240
244
  options: localVarRequestOptions,
@@ -249,14 +253,15 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
249
253
  * @param {string} [authorization] Bearer Token
250
254
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
255
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
252
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
256
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
253
257
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
254
258
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
255
- * @param {string} [expand] Expand the response with additional entities
259
+ * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
260
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
256
261
  * @param {*} [options] Override http request option.
257
262
  * @throws {RequiredError}
258
263
  */
259
- listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
264
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
260
265
  if (options === void 0) { options = {}; }
261
266
  return __awaiter(_this, void 0, void 0, function () {
262
267
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -297,6 +302,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
297
302
  if (expand !== undefined) {
298
303
  localVarQueryParameter['expand'] = expand;
299
304
  }
305
+ if (filters !== undefined) {
306
+ localVarQueryParameter['filters'] = filters;
307
+ }
300
308
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
301
309
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
302
310
  }
@@ -315,11 +323,12 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
315
323
  * Unlinks an already linked bank transaction
316
324
  * @summary Unlink Bank Transaction
317
325
  * @param {string} code Code of the bank transaction to unlink
326
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
318
327
  * @param {string} [authorization] Bearer Token
319
328
  * @param {*} [options] Override http request option.
320
329
  * @throws {RequiredError}
321
330
  */
322
- unlinkBankTransaction: function (code, authorization, options) {
331
+ unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
323
332
  if (options === void 0) { options = {}; }
324
333
  return __awaiter(_this, void 0, void 0, function () {
325
334
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -328,6 +337,8 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
328
337
  case 0:
329
338
  // verify required parameter 'code' is not null or undefined
330
339
  (0, common_1.assertParamExists)('unlinkBankTransaction', 'code', code);
340
+ // verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
341
+ (0, common_1.assertParamExists)('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest);
331
342
  localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/unlink"
332
343
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
333
344
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -348,9 +359,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
348
359
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
349
360
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
350
361
  }
362
+ localVarHeaderParameter['Content-Type'] = 'application/json';
351
363
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
352
364
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
353
365
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
366
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
354
367
  return [2 /*return*/, {
355
368
  url: (0, common_1.toPathString)(localVarUrlObj),
356
369
  options: localVarRequestOptions,
@@ -416,16 +429,17 @@ var BankTransactionApiFp = function (configuration) {
416
429
  * Links a bank transaction with an invoice
417
430
  * @summary Link Bank Transaction
418
431
  * @param {string} code Code of the bank transaction to link
432
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
419
433
  * @param {string} [authorization] Bearer Token
420
434
  * @param {*} [options] Override http request option.
421
435
  * @throws {RequiredError}
422
436
  */
423
- linkBankTransaction: function (code, authorization, options) {
437
+ linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
424
438
  return __awaiter(this, void 0, void 0, function () {
425
439
  var localVarAxiosArgs;
426
440
  return __generator(this, function (_a) {
427
441
  switch (_a.label) {
428
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, authorization, options)];
442
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options)];
429
443
  case 1:
430
444
  localVarAxiosArgs = _a.sent();
431
445
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -439,19 +453,20 @@ var BankTransactionApiFp = function (configuration) {
439
453
  * @param {string} [authorization] Bearer Token
440
454
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
441
455
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
442
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
456
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
443
457
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
444
458
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
445
- * @param {string} [expand] Expand the response with additional entities
459
+ * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
460
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
446
461
  * @param {*} [options] Override http request option.
447
462
  * @throws {RequiredError}
448
463
  */
449
- listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
464
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
450
465
  return __awaiter(this, void 0, void 0, function () {
451
466
  var localVarAxiosArgs;
452
467
  return __generator(this, function (_a) {
453
468
  switch (_a.label) {
454
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, options)];
469
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
455
470
  case 1:
456
471
  localVarAxiosArgs = _a.sent();
457
472
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -463,16 +478,17 @@ var BankTransactionApiFp = function (configuration) {
463
478
  * Unlinks an already linked bank transaction
464
479
  * @summary Unlink Bank Transaction
465
480
  * @param {string} code Code of the bank transaction to unlink
481
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
466
482
  * @param {string} [authorization] Bearer Token
467
483
  * @param {*} [options] Override http request option.
468
484
  * @throws {RequiredError}
469
485
  */
470
- unlinkBankTransaction: function (code, authorization, options) {
486
+ unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
471
487
  return __awaiter(this, void 0, void 0, function () {
472
488
  var localVarAxiosArgs;
473
489
  return __generator(this, function (_a) {
474
490
  switch (_a.label) {
475
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options)];
491
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options)];
476
492
  case 1:
477
493
  localVarAxiosArgs = _a.sent();
478
494
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -517,12 +533,13 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
517
533
  * Links a bank transaction with an invoice
518
534
  * @summary Link Bank Transaction
519
535
  * @param {string} code Code of the bank transaction to link
536
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
520
537
  * @param {string} [authorization] Bearer Token
521
538
  * @param {*} [options] Override http request option.
522
539
  * @throws {RequiredError}
523
540
  */
524
- linkBankTransaction: function (code, authorization, options) {
525
- return localVarFp.linkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
541
+ linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
542
+ return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
526
543
  },
527
544
  /**
528
545
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
@@ -530,26 +547,28 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
530
547
  * @param {string} [authorization] Bearer Token
531
548
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
532
549
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
533
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
550
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
534
551
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
535
552
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
536
- * @param {string} [expand] Expand the response with additional entities
553
+ * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
554
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
537
555
  * @param {*} [options] Override http request option.
538
556
  * @throws {RequiredError}
539
557
  */
540
- listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
541
- return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
558
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
559
+ return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
542
560
  },
543
561
  /**
544
562
  * Unlinks an already linked bank transaction
545
563
  * @summary Unlink Bank Transaction
546
564
  * @param {string} code Code of the bank transaction to unlink
565
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
547
566
  * @param {string} [authorization] Bearer Token
548
567
  * @param {*} [options] Override http request option.
549
568
  * @throws {RequiredError}
550
569
  */
551
- unlinkBankTransaction: function (code, authorization, options) {
552
- return localVarFp.unlinkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
570
+ unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
571
+ return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
553
572
  },
554
573
  };
555
574
  };
@@ -600,7 +619,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
600
619
  */
601
620
  BankTransactionApi.prototype.linkBankTransaction = function (requestParameters, options) {
602
621
  var _this = this;
603
- return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
622
+ return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
604
623
  };
605
624
  /**
606
625
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
@@ -613,7 +632,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
613
632
  BankTransactionApi.prototype.listBankTransactions = function (requestParameters, options) {
614
633
  var _this = this;
615
634
  if (requestParameters === void 0) { requestParameters = {}; }
616
- return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
635
+ return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(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); });
617
636
  };
618
637
  /**
619
638
  * Unlinks an already linked bank transaction
@@ -625,7 +644,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
625
644
  */
626
645
  BankTransactionApi.prototype.unlinkBankTransaction = function (requestParameters, options) {
627
646
  var _this = this;
628
- return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
647
+ return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
629
648
  };
630
649
  return BankTransactionApi;
631
650
  }(base_1.BaseAPI));
@@ -3,7 +3,7 @@
3
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
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * 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.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech