@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
@@ -32,11 +32,13 @@ models/get-tenant-bank-account-response-class.ts
32
32
  models/index.ts
33
33
  models/inline-response200.ts
34
34
  models/inline-response503.ts
35
+ models/link-bank-transaction-request-dto-rest.ts
35
36
  models/list-bank-transactions-response-class.ts
36
37
  models/list-refunds-response-class.ts
37
38
  models/refund-class.ts
38
39
  models/tenant-bank-account-response-class.ts
39
40
  models/transaction-class.ts
41
+ models/unlink-bank-transaction-request-dto-rest.ts
40
42
  models/update-tenant-bank-account-rest-request-dto.ts
41
43
  models/validate-pspconfig-request-dto.ts
42
44
  package.json
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/payment-sdk@1.4.1-beta.0 --save
20
+ npm install @emilgroup/payment-sdk@1.4.1-beta.10 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.4.1-beta.0
24
+ yarn add @emilgroup/payment-sdk@1.4.1-beta.10
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -5,7 +5,7 @@
5
5
  * 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.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: z
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -83,10 +83,11 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
83
83
  * @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.
84
84
  * @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.
85
85
  * @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.
86
+ * @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.
86
87
  * @param {*} [options] Override http request option.
87
88
  * @throws {RequiredError}
88
89
  */
89
- listBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
90
+ listBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
90
91
  const localVarPath = `/paymentservice/v1/bank-accounts`;
91
92
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
92
93
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -129,6 +130,10 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
129
130
  localVarQueryParameter['expand'] = expand;
130
131
  }
131
132
 
133
+ if (filters !== undefined) {
134
+ localVarQueryParameter['filters'] = filters;
135
+ }
136
+
132
137
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
133
138
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
134
139
  }
@@ -176,11 +181,12 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
176
181
  * @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.
177
182
  * @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.
178
183
  * @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.
184
+ * @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.
179
185
  * @param {*} [options] Override http request option.
180
186
  * @throws {RequiredError}
181
187
  */
182
- async listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
183
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options);
188
+ async listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
189
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
184
190
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
185
191
  },
186
192
  }
@@ -214,11 +220,12 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
214
220
  * @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.
215
221
  * @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.
216
222
  * @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.
223
+ * @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.
217
224
  * @param {*} [options] Override http request option.
218
225
  * @throws {RequiredError}
219
226
  */
220
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void> {
221
- return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
227
+ listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
228
+ return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
222
229
  },
223
230
  };
224
231
  };
@@ -298,6 +305,13 @@ export interface BankAccountsApiListBankAccountsRequest {
298
305
  * @memberof BankAccountsApiListBankAccounts
299
306
  */
300
307
  readonly expand?: any
308
+
309
+ /**
310
+ * 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.
311
+ * @type {any}
312
+ * @memberof BankAccountsApiListBankAccounts
313
+ */
314
+ readonly filters?: any
301
315
  }
302
316
 
303
317
  /**
@@ -328,6 +342,6 @@ export class BankAccountsApi extends BaseAPI {
328
342
  * @memberof BankAccountsApi
329
343
  */
330
344
  public listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest = {}, options?: AxiosRequestConfig) {
331
- return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
345
+ return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
332
346
  }
333
347
  }
@@ -5,7 +5,7 @@
5
5
  * 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.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: z
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -23,7 +23,11 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { GetBankTransactionsResponseClass } from '../models';
25
25
  // @ts-ignore
26
+ import { LinkBankTransactionRequestDtoRest } from '../models';
27
+ // @ts-ignore
26
28
  import { ListBankTransactionsResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { UnlinkBankTransactionRequestDtoRest } from '../models';
27
31
  /**
28
32
  * BankTransactionApi - axios parameter creator
29
33
  * @export
@@ -118,7 +122,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
118
122
  }
119
123
 
120
124
 
121
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data; boundary=' + localVarFormParams.getBoundary();
125
+
122
126
 
123
127
  setSearchParams(localVarUrlObj, localVarQueryParameter);
124
128
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -134,13 +138,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
134
138
  * Links a bank transaction with an invoice
135
139
  * @summary Link Bank Transaction
136
140
  * @param {string} code Code of the bank transaction to link
141
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
137
142
  * @param {string} [authorization] Bearer Token
138
143
  * @param {*} [options] Override http request option.
139
144
  * @throws {RequiredError}
140
145
  */
141
- linkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
146
+ linkBankTransaction: async (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
142
147
  // verify required parameter 'code' is not null or undefined
143
148
  assertParamExists('linkBankTransaction', 'code', code)
149
+ // verify required parameter 'linkBankTransactionRequestDtoRest' is not null or undefined
150
+ assertParamExists('linkBankTransaction', 'linkBankTransactionRequestDtoRest', linkBankTransactionRequestDtoRest)
144
151
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/link`
145
152
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
146
153
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -166,9 +173,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
166
173
 
167
174
 
168
175
 
176
+ localVarHeaderParameter['Content-Type'] = 'application/json';
177
+
169
178
  setSearchParams(localVarUrlObj, localVarQueryParameter);
170
179
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
171
180
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
181
+ localVarRequestOptions.data = serializeDataIfNeeded(linkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
172
182
 
173
183
  return {
174
184
  url: toPathString(localVarUrlObj),
@@ -181,14 +191,15 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
181
191
  * @param {string} [authorization] Bearer Token
182
192
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
183
193
  * @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.
184
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
194
+ * @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;
185
195
  * @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.
186
196
  * @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.
187
- * @param {string} [expand] Expand the response with additional entities
197
+ * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
198
+ * @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.
188
199
  * @param {*} [options] Override http request option.
189
200
  * @throws {RequiredError}
190
201
  */
191
- listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
202
+ listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
192
203
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
193
204
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
194
205
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -231,6 +242,10 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
231
242
  localVarQueryParameter['expand'] = expand;
232
243
  }
233
244
 
245
+ if (filters !== undefined) {
246
+ localVarQueryParameter['filters'] = filters;
247
+ }
248
+
234
249
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
235
250
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
236
251
  }
@@ -250,13 +265,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
250
265
  * Unlinks an already linked bank transaction
251
266
  * @summary Unlink Bank Transaction
252
267
  * @param {string} code Code of the bank transaction to unlink
268
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
253
269
  * @param {string} [authorization] Bearer Token
254
270
  * @param {*} [options] Override http request option.
255
271
  * @throws {RequiredError}
256
272
  */
257
- unlinkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
273
+ unlinkBankTransaction: async (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
258
274
  // verify required parameter 'code' is not null or undefined
259
275
  assertParamExists('unlinkBankTransaction', 'code', code)
276
+ // verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
277
+ assertParamExists('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest)
260
278
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/unlink`
261
279
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
262
280
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -282,9 +300,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
282
300
 
283
301
 
284
302
 
303
+ localVarHeaderParameter['Content-Type'] = 'application/json';
304
+
285
305
  setSearchParams(localVarUrlObj, localVarQueryParameter);
286
306
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
287
307
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
308
+ localVarRequestOptions.data = serializeDataIfNeeded(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
288
309
 
289
310
  return {
290
311
  url: toPathString(localVarUrlObj),
@@ -330,12 +351,13 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
330
351
  * Links a bank transaction with an invoice
331
352
  * @summary Link Bank Transaction
332
353
  * @param {string} code Code of the bank transaction to link
354
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
333
355
  * @param {string} [authorization] Bearer Token
334
356
  * @param {*} [options] Override http request option.
335
357
  * @throws {RequiredError}
336
358
  */
337
- async linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
338
- const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, authorization, options);
359
+ async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
360
+ const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options);
339
361
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
340
362
  },
341
363
  /**
@@ -344,27 +366,29 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
344
366
  * @param {string} [authorization] Bearer Token
345
367
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
346
368
  * @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.
347
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
369
+ * @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;
348
370
  * @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.
349
371
  * @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.
350
- * @param {string} [expand] Expand the response with additional entities
372
+ * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
373
+ * @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.
351
374
  * @param {*} [options] Override http request option.
352
375
  * @throws {RequiredError}
353
376
  */
354
- async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
355
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, options);
377
+ async 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>> {
378
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
356
379
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
357
380
  },
358
381
  /**
359
382
  * Unlinks an already linked bank transaction
360
383
  * @summary Unlink Bank Transaction
361
384
  * @param {string} code Code of the bank transaction to unlink
385
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
362
386
  * @param {string} [authorization] Bearer Token
363
387
  * @param {*} [options] Override http request option.
364
388
  * @throws {RequiredError}
365
389
  */
366
- async unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
367
- const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options);
390
+ async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
391
+ const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options);
368
392
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
369
393
  },
370
394
  }
@@ -404,12 +428,13 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
404
428
  * Links a bank transaction with an invoice
405
429
  * @summary Link Bank Transaction
406
430
  * @param {string} code Code of the bank transaction to link
431
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
407
432
  * @param {string} [authorization] Bearer Token
408
433
  * @param {*} [options] Override http request option.
409
434
  * @throws {RequiredError}
410
435
  */
411
- linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
412
- return localVarFp.linkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
436
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
437
+ return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
413
438
  },
414
439
  /**
415
440
  * 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.
@@ -417,26 +442,28 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
417
442
  * @param {string} [authorization] Bearer Token
418
443
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
419
444
  * @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.
420
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
445
+ * @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;
421
446
  * @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.
422
447
  * @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.
423
- * @param {string} [expand] Expand the response with additional entities
448
+ * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
449
+ * @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.
424
450
  * @param {*} [options] Override http request option.
425
451
  * @throws {RequiredError}
426
452
  */
427
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: any): AxiosPromise<void> {
428
- return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
453
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: any): AxiosPromise<void> {
454
+ return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
429
455
  },
430
456
  /**
431
457
  * Unlinks an already linked bank transaction
432
458
  * @summary Unlink Bank Transaction
433
459
  * @param {string} code Code of the bank transaction to unlink
460
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
434
461
  * @param {string} [authorization] Bearer Token
435
462
  * @param {*} [options] Override http request option.
436
463
  * @throws {RequiredError}
437
464
  */
438
- unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
439
- return localVarFp.unlinkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
465
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
466
+ return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
440
467
  },
441
468
  };
442
469
  };
@@ -503,6 +530,13 @@ export interface BankTransactionApiLinkBankTransactionRequest {
503
530
  */
504
531
  readonly code: string
505
532
 
533
+ /**
534
+ *
535
+ * @type {LinkBankTransactionRequestDtoRest}
536
+ * @memberof BankTransactionApiLinkBankTransaction
537
+ */
538
+ readonly linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest
539
+
506
540
  /**
507
541
  * Bearer Token
508
542
  * @type {string}
@@ -539,7 +573,7 @@ export interface BankTransactionApiListBankTransactionsRequest {
539
573
  readonly pageToken?: any
540
574
 
541
575
  /**
542
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
576
+ * 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;
543
577
  * @type {any}
544
578
  * @memberof BankTransactionApiListBankTransactions
545
579
  */
@@ -561,10 +595,17 @@ export interface BankTransactionApiListBankTransactionsRequest {
561
595
 
562
596
  /**
563
597
  * Expand the response with additional entities
564
- * @type {string}
598
+ * @type {'bankAccount' | 'transaction'}
565
599
  * @memberof BankTransactionApiListBankTransactions
566
600
  */
567
- readonly expand?: string
601
+ readonly expand?: 'bankAccount' | 'transaction'
602
+
603
+ /**
604
+ * 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.
605
+ * @type {any}
606
+ * @memberof BankTransactionApiListBankTransactions
607
+ */
608
+ readonly filters?: any
568
609
  }
569
610
 
570
611
  /**
@@ -580,6 +621,13 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
580
621
  */
581
622
  readonly code: string
582
623
 
624
+ /**
625
+ *
626
+ * @type {UnlinkBankTransactionRequestDtoRest}
627
+ * @memberof BankTransactionApiUnlinkBankTransaction
628
+ */
629
+ readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest
630
+
583
631
  /**
584
632
  * Bearer Token
585
633
  * @type {string}
@@ -628,7 +676,7 @@ export class BankTransactionApi extends BaseAPI {
628
676
  * @memberof BankTransactionApi
629
677
  */
630
678
  public linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig) {
631
- return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
679
+ return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
632
680
  }
633
681
 
634
682
  /**
@@ -640,7 +688,7 @@ export class BankTransactionApi extends BaseAPI {
640
688
  * @memberof BankTransactionApi
641
689
  */
642
690
  public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
643
- return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
691
+ return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
644
692
  }
645
693
 
646
694
  /**
@@ -652,6 +700,6 @@ export class BankTransactionApi extends BaseAPI {
652
700
  * @memberof BankTransactionApi
653
701
  */
654
702
  public unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig) {
655
- return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
703
+ return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
656
704
  }
657
705
  }
@@ -5,7 +5,7 @@
5
5
  * 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.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: z
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * 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.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: z
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -193,10 +193,11 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
193
193
  * @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.
194
194
  * @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.
195
195
  * @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.
196
+ * @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.
196
197
  * @param {*} [options] Override http request option.
197
198
  * @throws {RequiredError}
198
199
  */
199
- listPaymentMethods: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
200
+ listPaymentMethods: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
200
201
  const localVarPath = `/paymentservice/v1/payment-methods`;
201
202
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
202
203
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -239,6 +240,10 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
239
240
  localVarQueryParameter['expand'] = expand;
240
241
  }
241
242
 
243
+ if (filters !== undefined) {
244
+ localVarQueryParameter['filters'] = filters;
245
+ }
246
+
242
247
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
243
248
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
244
249
  }
@@ -312,11 +317,12 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
312
317
  * @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.
313
318
  * @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.
314
319
  * @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.
320
+ * @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.
315
321
  * @param {*} [options] Override http request option.
316
322
  * @throws {RequiredError}
317
323
  */
318
- async listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
319
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, options);
324
+ async listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
325
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
320
326
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
321
327
  },
322
328
  }
@@ -374,11 +380,12 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
374
380
  * @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.
375
381
  * @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.
376
382
  * @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.
383
+ * @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.
377
384
  * @param {*} [options] Override http request option.
378
385
  * @throws {RequiredError}
379
386
  */
380
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void> {
381
- return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
387
+ listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
388
+ return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
382
389
  },
383
390
  };
384
391
  };
@@ -514,6 +521,13 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
514
521
  * @memberof PaymentMethodsApiListPaymentMethods
515
522
  */
516
523
  readonly expand?: any
524
+
525
+ /**
526
+ * 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.
527
+ * @type {any}
528
+ * @memberof PaymentMethodsApiListPaymentMethods
529
+ */
530
+ readonly filters?: any
517
531
  }
518
532
 
519
533
  /**
@@ -568,6 +582,6 @@ export class PaymentMethodsApi extends BaseAPI {
568
582
  * @memberof PaymentMethodsApi
569
583
  */
570
584
  public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
571
- return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
585
+ return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
572
586
  }
573
587
  }
@@ -5,7 +5,7 @@
5
5
  * 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.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: z
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -183,10 +183,11 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
183
183
  * @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.
184
184
  * @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.
185
185
  * @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.
186
+ * @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.
186
187
  * @param {*} [options] Override http request option.
187
188
  * @throws {RequiredError}
188
189
  */
189
- listPaymentReminders: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
190
+ listPaymentReminders: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
190
191
  const localVarPath = `/paymentservice/v1/payment-reminders`;
191
192
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
192
193
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -229,6 +230,10 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
229
230
  localVarQueryParameter['expand'] = expand;
230
231
  }
231
232
 
233
+ if (filters !== undefined) {
234
+ localVarQueryParameter['filters'] = filters;
235
+ }
236
+
232
237
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
233
238
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
234
239
  }
@@ -301,11 +306,12 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
301
306
  * @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.
302
307
  * @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.
303
308
  * @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.
309
+ * @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.
304
310
  * @param {*} [options] Override http request option.
305
311
  * @throws {RequiredError}
306
312
  */
307
- async listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
308
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, options);
313
+ async listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
314
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
309
315
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
310
316
  },
311
317
  }
@@ -362,11 +368,12 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
362
368
  * @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.
363
369
  * @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.
364
370
  * @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.
371
+ * @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.
365
372
  * @param {*} [options] Override http request option.
366
373
  * @throws {RequiredError}
367
374
  */
368
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void> {
369
- return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
375
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
376
+ return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
370
377
  },
371
378
  };
372
379
  };
@@ -495,6 +502,13 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
495
502
  * @memberof PaymentRemindersApiListPaymentReminders
496
503
  */
497
504
  readonly expand?: any
505
+
506
+ /**
507
+ * 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.
508
+ * @type {any}
509
+ * @memberof PaymentRemindersApiListPaymentReminders
510
+ */
511
+ readonly filters?: any
498
512
  }
499
513
 
500
514
  /**
@@ -549,6 +563,6 @@ export class PaymentRemindersApi extends BaseAPI {
549
563
  * @memberof PaymentRemindersApi
550
564
  */
551
565
  public listPaymentReminders(requestParameters: PaymentRemindersApiListPaymentRemindersRequest = {}, options?: AxiosRequestConfig) {
552
- return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
566
+ return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
553
567
  }
554
568
  }
@@ -5,7 +5,7 @@
5
5
  * 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.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: z
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech