@emilgroup/payment-sdk-node 1.12.1 → 1.13.1-beta.1

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 (201) hide show
  1. package/.openapi-generator/FILES +0 -30
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +35 -25
  4. package/api/bank-transaction-api.ts +152 -46
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +56 -46
  7. package/api/payment-reminders-api.ts +27 -17
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +44 -32
  10. package/api/refunds-api.ts +36 -20
  11. package/api/tenant-bank-account-api.ts +21 -7
  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 +23 -16
  18. package/dist/api/bank-accounts-api.js +25 -19
  19. package/dist/api/bank-transaction-api.d.ts +96 -34
  20. package/dist/api/bank-transaction-api.js +134 -35
  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 +38 -33
  24. package/dist/api/payment-methods-api.js +41 -31
  25. package/dist/api/payment-reminders-api.d.ts +23 -16
  26. package/dist/api/payment-reminders-api.js +13 -7
  27. package/dist/api/payment-setup-api.d.ts +19 -23
  28. package/dist/api/payment-setup-api.js +25 -25
  29. package/dist/api/payments-api.d.ts +32 -26
  30. package/dist/api/payments-api.js +29 -19
  31. package/dist/api/refunds-api.d.ts +23 -14
  32. package/dist/api/refunds-api.js +24 -16
  33. package/dist/api/tenant-bank-account-api.d.ts +13 -4
  34. package/dist/api/tenant-bank-account-api.js +13 -7
  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 +1 -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 +4 -4
  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 +2 -2
  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 +0 -30
  70. package/dist/models/index.js +0 -30
  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/list-bank-transactions-response-class.d.ts +1 -1
  76. package/dist/models/list-bank-transactions-response-class.js +1 -1
  77. package/dist/models/list-refunds-response-class.d.ts +1 -1
  78. package/dist/models/list-refunds-response-class.js +1 -1
  79. package/dist/models/refund-class.d.ts +1 -1
  80. package/dist/models/refund-class.js +1 -1
  81. package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
  82. package/dist/models/tenant-bank-account-response-class.js +1 -1
  83. package/dist/models/transaction-class.d.ts +1 -1
  84. package/dist/models/transaction-class.js +1 -1
  85. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  86. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  87. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
  88. package/dist/models/validate-pspconfig-request-dto.js +1 -8
  89. package/index.ts +1 -1
  90. package/models/bank-transaction-response-class.ts +1 -1
  91. package/models/create-payment-reminder-request-dto.ts +1 -1
  92. package/models/create-payment-request-dto.ts +4 -4
  93. package/models/create-refund-request-dto.ts +1 -1
  94. package/models/create-refund-response-class.ts +1 -1
  95. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  96. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  97. package/models/get-bank-transactions-response-class.ts +1 -1
  98. package/models/get-refund-response-class.ts +1 -1
  99. package/models/get-request-dto.ts +2 -2
  100. package/models/get-tenant-bank-account-response-class.ts +1 -1
  101. package/models/index.ts +0 -30
  102. package/models/inline-response200.ts +1 -1
  103. package/models/inline-response503.ts +1 -1
  104. package/models/list-bank-transactions-response-class.ts +1 -1
  105. package/models/list-refunds-response-class.ts +1 -1
  106. package/models/refund-class.ts +1 -1
  107. package/models/tenant-bank-account-response-class.ts +1 -1
  108. package/models/transaction-class.ts +1 -1
  109. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  110. package/models/validate-pspconfig-request-dto.ts +2 -12
  111. package/package.json +1 -1
  112. package/dist/models/bank-account-class.d.ts +0 -54
  113. package/dist/models/bank-account-class.js +0 -15
  114. package/dist/models/billing-profile-dto.d.ts +0 -38
  115. package/dist/models/billing-profile-dto.js +0 -15
  116. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  117. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  118. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  119. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  120. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  121. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  122. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  123. package/dist/models/complete-payment-setup-response-class.js +0 -15
  124. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  125. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  126. package/dist/models/create-bank-account-request-dto.d.ts +0 -30
  127. package/dist/models/create-bank-account-request-dto.js +0 -15
  128. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  129. package/dist/models/create-payment-method-response-class.js +0 -15
  130. package/dist/models/create-payment-response-class.d.ts +0 -25
  131. package/dist/models/create-payment-response-class.js +0 -15
  132. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  133. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  134. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  135. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  136. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  137. package/dist/models/get-payment-method-response-class.js +0 -15
  138. package/dist/models/get-payment-response-class.d.ts +0 -25
  139. package/dist/models/get-payment-response-class.js +0 -15
  140. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  141. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  142. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  143. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  144. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  145. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  146. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  147. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  148. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  149. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  150. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  151. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  152. package/dist/models/link-bank-transaction-request-dto.d.ts +0 -30
  153. package/dist/models/link-bank-transaction-request-dto.js +0 -15
  154. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  155. package/dist/models/list-bank-accounts-response-class.js +0 -15
  156. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  157. package/dist/models/list-payment-methods-response-class.js +0 -15
  158. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  159. package/dist/models/list-payment-reminders-response-class.js +0 -15
  160. package/dist/models/list-payments-response-class.d.ts +0 -31
  161. package/dist/models/list-payments-response-class.js +0 -15
  162. package/dist/models/payment-class.d.ts +0 -103
  163. package/dist/models/payment-class.js +0 -15
  164. package/dist/models/payment-method-class.d.ts +0 -66
  165. package/dist/models/payment-method-class.js +0 -15
  166. package/dist/models/payment-reminder-class.d.ts +0 -112
  167. package/dist/models/payment-reminder-class.js +0 -36
  168. package/dist/models/sepa-direct-dto.d.ts +0 -24
  169. package/dist/models/sepa-direct-dto.js +0 -15
  170. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  171. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  172. package/models/bank-account-class.ts +0 -60
  173. package/models/billing-profile-dto.ts +0 -44
  174. package/models/billing-profile-limited-response-dto.ts +0 -60
  175. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  176. package/models/complete-payment-setup-request-dto.ts +0 -38
  177. package/models/complete-payment-setup-response-class.ts +0 -31
  178. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  179. package/models/create-bank-account-request-dto.ts +0 -36
  180. package/models/create-payment-method-response-class.ts +0 -31
  181. package/models/create-payment-response-class.ts +0 -31
  182. package/models/create-psp-payment-method-request-dto.ts +0 -70
  183. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  184. package/models/get-payment-method-response-class.ts +0 -31
  185. package/models/get-payment-response-class.ts +0 -31
  186. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  187. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  188. package/models/initiate-payment-setup-request-dto.ts +0 -50
  189. package/models/initiate-payment-setup-response-class.ts +0 -38
  190. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  191. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  192. package/models/link-bank-transaction-request-dto.ts +0 -36
  193. package/models/list-bank-accounts-response-class.ts +0 -37
  194. package/models/list-payment-methods-response-class.ts +0 -37
  195. package/models/list-payment-reminders-response-class.ts +0 -37
  196. package/models/list-payments-response-class.ts +0 -37
  197. package/models/payment-class.ts +0 -109
  198. package/models/payment-method-class.ts +0 -72
  199. package/models/payment-reminder-class.ts +0 -122
  200. package/models/sepa-direct-dto.ts +0 -30
  201. package/models/symphony-profile-limited-response-dto.ts +0 -48
@@ -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: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -99,20 +99,20 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
99
99
  /**
100
100
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
101
101
  * @summary Create the payment-method
102
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
102
+ * @param {object} body
103
103
  * @param {string} [authorization] Bearer Token
104
104
  * @param {*} [options] Override http request option.
105
105
  * @throws {RequiredError}
106
106
  */
107
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
107
+ createPaymentMethod: function (body, authorization, options) {
108
108
  if (options === void 0) { options = {}; }
109
109
  return __awaiter(_this, void 0, void 0, function () {
110
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
111
  return __generator(this, function (_a) {
112
112
  switch (_a.label) {
113
113
  case 0:
114
- // verify required parameter 'createPspPaymentMethodRequestDto' is not null or undefined
115
- (0, common_1.assertParamExists)('createPaymentMethod', 'createPspPaymentMethodRequestDto', createPspPaymentMethodRequestDto);
114
+ // verify required parameter 'body' is not null or undefined
115
+ (0, common_1.assertParamExists)('createPaymentMethod', 'body', body);
116
116
  localVarPath = "/paymentservice/v1/payment-methods";
117
117
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
118
  if (configuration) {
@@ -136,7 +136,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
136
136
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
137
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
138
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPspPaymentMethodRequestDto, localVarRequestOptions, configuration);
139
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
140
140
  return [2 /*return*/, {
141
141
  url: (0, common_1.toPathString)(localVarUrlObj),
142
142
  options: localVarRequestOptions,
@@ -199,13 +199,13 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
199
199
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
200
200
  * @summary Retrieve a payment method
201
201
  * @param {string} code Unique identifier for the object.
202
+ * @param {string} expand Fields to expand response by
203
+ * @param {string} expand2 Fields to expand response by
202
204
  * @param {string} [authorization] Bearer Token
203
- * @param {string} [expand] Fields to expand response by
204
- * @param {string} [expand2] Fields to expand response by
205
205
  * @param {*} [options] Override http request option.
206
206
  * @throws {RequiredError}
207
207
  */
208
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
208
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
209
209
  if (options === void 0) { options = {}; }
210
210
  return __awaiter(_this, void 0, void 0, function () {
211
211
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -214,6 +214,10 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
214
214
  case 0:
215
215
  // verify required parameter 'code' is not null or undefined
216
216
  (0, common_1.assertParamExists)('getPaymentMethod', 'code', code);
217
+ // verify required parameter 'expand' is not null or undefined
218
+ (0, common_1.assertParamExists)('getPaymentMethod', 'expand', expand);
219
+ // verify required parameter 'expand2' is not null or undefined
220
+ (0, common_1.assertParamExists)('getPaymentMethod', 'expand2', expand2);
217
221
  localVarPath = "/paymentservice/v1/payment-methods/{code}";
218
222
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
219
223
  if (configuration) {
@@ -263,10 +267,11 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
263
267
  * @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.
264
268
  * @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.
265
269
  * @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.
270
+ * @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.
266
271
  * @param {*} [options] Override http request option.
267
272
  * @throws {RequiredError}
268
273
  */
269
- listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
274
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
270
275
  if (options === void 0) { options = {}; }
271
276
  return __awaiter(_this, void 0, void 0, function () {
272
277
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -307,6 +312,9 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
307
312
  if (expand !== undefined) {
308
313
  localVarQueryParameter['expand'] = expand;
309
314
  }
315
+ if (filters !== undefined) {
316
+ localVarQueryParameter['filters'] = filters;
317
+ }
310
318
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
311
319
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
312
320
  }
@@ -334,17 +342,17 @@ var PaymentMethodsApiFp = function (configuration) {
334
342
  /**
335
343
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
336
344
  * @summary Create the payment-method
337
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
345
+ * @param {object} body
338
346
  * @param {string} [authorization] Bearer Token
339
347
  * @param {*} [options] Override http request option.
340
348
  * @throws {RequiredError}
341
349
  */
342
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
350
+ createPaymentMethod: function (body, authorization, options) {
343
351
  return __awaiter(this, void 0, void 0, function () {
344
352
  var localVarAxiosArgs;
345
353
  return __generator(this, function (_a) {
346
354
  switch (_a.label) {
347
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options)];
355
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(body, authorization, options)];
348
356
  case 1:
349
357
  localVarAxiosArgs = _a.sent();
350
358
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -377,18 +385,18 @@ var PaymentMethodsApiFp = function (configuration) {
377
385
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
378
386
  * @summary Retrieve a payment method
379
387
  * @param {string} code Unique identifier for the object.
388
+ * @param {string} expand Fields to expand response by
389
+ * @param {string} expand2 Fields to expand response by
380
390
  * @param {string} [authorization] Bearer Token
381
- * @param {string} [expand] Fields to expand response by
382
- * @param {string} [expand2] Fields to expand response by
383
391
  * @param {*} [options] Override http request option.
384
392
  * @throws {RequiredError}
385
393
  */
386
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
394
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
387
395
  return __awaiter(this, void 0, void 0, function () {
388
396
  var localVarAxiosArgs;
389
397
  return __generator(this, function (_a) {
390
398
  switch (_a.label) {
391
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPaymentMethod(code, authorization, expand, expand2, options)];
399
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPaymentMethod(code, expand, expand2, authorization, options)];
392
400
  case 1:
393
401
  localVarAxiosArgs = _a.sent();
394
402
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -406,15 +414,16 @@ var PaymentMethodsApiFp = function (configuration) {
406
414
  * @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.
407
415
  * @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.
408
416
  * @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.
417
+ * @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.
409
418
  * @param {*} [options] Override http request option.
410
419
  * @throws {RequiredError}
411
420
  */
412
- listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
421
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
413
422
  return __awaiter(this, void 0, void 0, function () {
414
423
  var localVarAxiosArgs;
415
424
  return __generator(this, function (_a) {
416
425
  switch (_a.label) {
417
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, options)];
426
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
418
427
  case 1:
419
428
  localVarAxiosArgs = _a.sent();
420
429
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -435,13 +444,13 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
435
444
  /**
436
445
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
437
446
  * @summary Create the payment-method
438
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
447
+ * @param {object} body
439
448
  * @param {string} [authorization] Bearer Token
440
449
  * @param {*} [options] Override http request option.
441
450
  * @throws {RequiredError}
442
451
  */
443
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
444
- return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
452
+ createPaymentMethod: function (body, authorization, options) {
453
+ return localVarFp.createPaymentMethod(body, authorization, options).then(function (request) { return request(axios, basePath); });
445
454
  },
446
455
  /**
447
456
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
@@ -458,14 +467,14 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
458
467
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
459
468
  * @summary Retrieve a payment method
460
469
  * @param {string} code Unique identifier for the object.
470
+ * @param {string} expand Fields to expand response by
471
+ * @param {string} expand2 Fields to expand response by
461
472
  * @param {string} [authorization] Bearer Token
462
- * @param {string} [expand] Fields to expand response by
463
- * @param {string} [expand2] Fields to expand response by
464
473
  * @param {*} [options] Override http request option.
465
474
  * @throws {RequiredError}
466
475
  */
467
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
468
- return localVarFp.getPaymentMethod(code, authorization, expand, expand2, options).then(function (request) { return request(axios, basePath); });
476
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
477
+ return localVarFp.getPaymentMethod(code, expand, expand2, authorization, options).then(function (request) { return request(axios, basePath); });
469
478
  },
470
479
  /**
471
480
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -477,11 +486,12 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
477
486
  * @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.
478
487
  * @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.
479
488
  * @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.
489
+ * @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.
480
490
  * @param {*} [options] Override http request option.
481
491
  * @throws {RequiredError}
482
492
  */
483
- listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
484
- return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
493
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
494
+ return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
485
495
  },
486
496
  };
487
497
  };
@@ -507,7 +517,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
507
517
  */
508
518
  PaymentMethodsApi.prototype.createPaymentMethod = function (requestParameters, options) {
509
519
  var _this = this;
510
- return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
520
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
511
521
  };
512
522
  /**
513
523
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
@@ -531,7 +541,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
531
541
  */
532
542
  PaymentMethodsApi.prototype.getPaymentMethod = function (requestParameters, options) {
533
543
  var _this = this;
534
- return (0, exports.PaymentMethodsApiFp)(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization, requestParameters.expand, requestParameters.expand2, options).then(function (request) { return request(_this.axios, _this.basePath); });
544
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.expand, requestParameters.expand2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
535
545
  };
536
546
  /**
537
547
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -544,7 +554,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
544
554
  PaymentMethodsApi.prototype.listPaymentMethods = function (requestParameters, options) {
545
555
  var _this = this;
546
556
  if (requestParameters === void 0) { requestParameters = {}; }
547
- return (0, exports.PaymentMethodsApiFp)(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
557
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).listPaymentMethods(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); });
548
558
  };
549
559
  return PaymentMethodsApi;
550
560
  }(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: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -14,8 +14,6 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePaymentReminderRequestDto } from '../models';
16
16
  import { DeactivatePaymentReminderRequestDto } from '../models';
17
- import { DeactivatePaymentReminderResponseClass } from '../models';
18
- import { ListPaymentRemindersResponseClass } from '../models';
19
17
  /**
20
18
  * PaymentRemindersApi - axios parameter creator
21
19
  * @export
@@ -59,10 +57,11 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
59
57
  * @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.
60
58
  * @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.
61
59
  * @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.
60
+ * @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.
62
61
  * @param {*} [options] Override http request option.
63
62
  * @throws {RequiredError}
64
63
  */
65
- listPaymentReminders: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
+ listPaymentReminders: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
65
  };
67
66
  /**
68
67
  * PaymentRemindersApi - functional programming interface
@@ -77,7 +76,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
77
76
  * @param {*} [options] Override http request option.
78
77
  * @throws {RequiredError}
79
78
  */
80
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
79
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
81
80
  /**
82
81
  * Deactivates the payment reminder
83
82
  * @summary Update the payment-reminder
@@ -87,7 +86,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
87
86
  * @param {*} [options] Override http request option.
88
87
  * @throws {RequiredError}
89
88
  */
90
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>>;
89
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
91
90
  /**
92
91
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
93
92
  * @summary Retrieve the payment reminder
@@ -96,7 +95,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
96
95
  * @param {*} [options] Override http request option.
97
96
  * @throws {RequiredError}
98
97
  */
99
- getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
98
+ getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
100
99
  /**
101
100
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
102
101
  * @summary List payment reminders
@@ -107,10 +106,11 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
107
106
  * @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.
108
107
  * @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.
109
108
  * @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.
109
+ * @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.
110
110
  * @param {*} [options] Override http request option.
111
111
  * @throws {RequiredError}
112
112
  */
113
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>>;
113
+ 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>>;
114
114
  };
115
115
  /**
116
116
  * PaymentRemindersApi - factory interface
@@ -125,7 +125,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
125
125
  * @param {*} [options] Override http request option.
126
126
  * @throws {RequiredError}
127
127
  */
128
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
128
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
129
129
  /**
130
130
  * Deactivates the payment reminder
131
131
  * @summary Update the payment-reminder
@@ -135,7 +135,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
135
135
  * @param {*} [options] Override http request option.
136
136
  * @throws {RequiredError}
137
137
  */
138
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass>;
138
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
139
139
  /**
140
140
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
141
141
  * @summary Retrieve the payment reminder
@@ -144,7 +144,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
144
144
  * @param {*} [options] Override http request option.
145
145
  * @throws {RequiredError}
146
146
  */
147
- getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<object>;
147
+ getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void>;
148
148
  /**
149
149
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
150
150
  * @summary List payment reminders
@@ -155,10 +155,11 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
155
155
  * @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.
156
156
  * @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.
157
157
  * @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.
158
+ * @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.
158
159
  * @param {*} [options] Override http request option.
159
160
  * @throws {RequiredError}
160
161
  */
161
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListPaymentRemindersResponseClass>;
162
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
162
163
  };
163
164
  /**
164
165
  * Request parameters for createPaymentReminder operation in PaymentRemindersApi.
@@ -271,6 +272,12 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
271
272
  * @memberof PaymentRemindersApiListPaymentReminders
272
273
  */
273
274
  readonly expand?: any;
275
+ /**
276
+ * 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.
277
+ * @type {any}
278
+ * @memberof PaymentRemindersApiListPaymentReminders
279
+ */
280
+ readonly filters?: any;
274
281
  }
275
282
  /**
276
283
  * PaymentRemindersApi - object-oriented interface
@@ -287,7 +294,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
287
294
  * @throws {RequiredError}
288
295
  * @memberof PaymentRemindersApi
289
296
  */
290
- createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
297
+ createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
291
298
  /**
292
299
  * Deactivates the payment reminder
293
300
  * @summary Update the payment-reminder
@@ -296,7 +303,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
296
303
  * @throws {RequiredError}
297
304
  * @memberof PaymentRemindersApi
298
305
  */
299
- deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any>>;
306
+ deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
300
307
  /**
301
308
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
302
309
  * @summary Retrieve the payment reminder
@@ -305,7 +312,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
305
312
  * @throws {RequiredError}
306
313
  * @memberof PaymentRemindersApi
307
314
  */
308
- getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
315
+ getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
309
316
  /**
310
317
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
311
318
  * @summary List payment reminders
@@ -314,5 +321,5 @@ export declare class PaymentRemindersApi extends BaseAPI {
314
321
  * @throws {RequiredError}
315
322
  * @memberof PaymentRemindersApi
316
323
  */
317
- listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any>>;
324
+ listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
318
325
  }
@@ -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: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -256,10 +256,11 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
256
256
  * @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.
257
257
  * @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.
258
258
  * @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.
259
+ * @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.
259
260
  * @param {*} [options] Override http request option.
260
261
  * @throws {RequiredError}
261
262
  */
262
- listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
263
+ listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
263
264
  if (options === void 0) { options = {}; }
264
265
  return __awaiter(_this, void 0, void 0, function () {
265
266
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -300,6 +301,9 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
300
301
  if (expand !== undefined) {
301
302
  localVarQueryParameter['expand'] = expand;
302
303
  }
304
+ if (filters !== undefined) {
305
+ localVarQueryParameter['filters'] = filters;
306
+ }
303
307
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
304
308
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
305
309
  }
@@ -398,15 +402,16 @@ var PaymentRemindersApiFp = function (configuration) {
398
402
  * @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.
399
403
  * @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.
400
404
  * @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.
405
+ * @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.
401
406
  * @param {*} [options] Override http request option.
402
407
  * @throws {RequiredError}
403
408
  */
404
- listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
409
+ listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
405
410
  return __awaiter(this, void 0, void 0, function () {
406
411
  var localVarAxiosArgs;
407
412
  return __generator(this, function (_a) {
408
413
  switch (_a.label) {
409
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, options)];
414
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
410
415
  case 1:
411
416
  localVarAxiosArgs = _a.sent();
412
417
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -468,11 +473,12 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
468
473
  * @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.
469
474
  * @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.
470
475
  * @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.
476
+ * @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.
471
477
  * @param {*} [options] Override http request option.
472
478
  * @throws {RequiredError}
473
479
  */
474
- listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
475
- return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
480
+ listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
481
+ return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
476
482
  },
477
483
  };
478
484
  };
@@ -535,7 +541,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
535
541
  PaymentRemindersApi.prototype.listPaymentReminders = function (requestParameters, options) {
536
542
  var _this = this;
537
543
  if (requestParameters === void 0) { requestParameters = {}; }
538
- return (0, exports.PaymentRemindersApiFp)(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
544
+ return (0, exports.PaymentRemindersApiFp)(this.configuration).listPaymentReminders(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); });
539
545
  };
540
546
  return PaymentRemindersApi;
541
547
  }(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: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -12,10 +12,6 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { CompletePaymentSetupRequestDto } from '../models';
16
- import { CompletePaymentSetupResponseClass } from '../models';
17
- import { InitiatePaymentSetupRequestDto } from '../models';
18
- import { InitiatePaymentSetupResponseClass } from '../models';
19
15
  /**
20
16
  * PaymentSetupApi - axios parameter creator
21
17
  * @export
@@ -23,20 +19,20 @@ import { InitiatePaymentSetupResponseClass } from '../models';
23
19
  export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configuration) => {
24
20
  /**
25
21
  *
26
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
22
+ * @param {object} body
27
23
  * @param {string} [authorization] Bearer Token
28
24
  * @param {*} [options] Override http request option.
29
25
  * @throws {RequiredError}
30
26
  */
31
- completePaymentSetup: (completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
27
+ completePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
28
  /**
33
29
  *
34
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
30
+ * @param {object} body
35
31
  * @param {string} [authorization] Bearer Token
36
32
  * @param {*} [options] Override http request option.
37
33
  * @throws {RequiredError}
38
34
  */
39
- initiatePaymentSetup: (initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ initiatePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40
36
  };
41
37
  /**
42
38
  * PaymentSetupApi - functional programming interface
@@ -45,20 +41,20 @@ export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configur
45
41
  export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
46
42
  /**
47
43
  *
48
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
44
+ * @param {object} body
49
45
  * @param {string} [authorization] Bearer Token
50
46
  * @param {*} [options] Override http request option.
51
47
  * @throws {RequiredError}
52
48
  */
53
- completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>>;
49
+ completePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
54
50
  /**
55
51
  *
56
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
52
+ * @param {object} body
57
53
  * @param {string} [authorization] Bearer Token
58
54
  * @param {*} [options] Override http request option.
59
55
  * @throws {RequiredError}
60
56
  */
61
- initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiatePaymentSetupResponseClass>>;
57
+ initiatePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
62
58
  };
63
59
  /**
64
60
  * PaymentSetupApi - factory interface
@@ -67,20 +63,20 @@ export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
67
63
  export declare const PaymentSetupApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
68
64
  /**
69
65
  *
70
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
66
+ * @param {object} body
71
67
  * @param {string} [authorization] Bearer Token
72
68
  * @param {*} [options] Override http request option.
73
69
  * @throws {RequiredError}
74
70
  */
75
- completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass>;
71
+ completePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
76
72
  /**
77
73
  *
78
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
74
+ * @param {object} body
79
75
  * @param {string} [authorization] Bearer Token
80
76
  * @param {*} [options] Override http request option.
81
77
  * @throws {RequiredError}
82
78
  */
83
- initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<InitiatePaymentSetupResponseClass>;
79
+ initiatePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
84
80
  };
85
81
  /**
86
82
  * Request parameters for completePaymentSetup operation in PaymentSetupApi.
@@ -90,10 +86,10 @@ export declare const PaymentSetupApiFactory: (configuration?: Configuration, bas
90
86
  export interface PaymentSetupApiCompletePaymentSetupRequest {
91
87
  /**
92
88
  *
93
- * @type {CompletePaymentSetupRequestDto}
89
+ * @type {object}
94
90
  * @memberof PaymentSetupApiCompletePaymentSetup
95
91
  */
96
- readonly completePaymentSetupRequestDto: CompletePaymentSetupRequestDto;
92
+ readonly body: object;
97
93
  /**
98
94
  * Bearer Token
99
95
  * @type {string}
@@ -109,10 +105,10 @@ export interface PaymentSetupApiCompletePaymentSetupRequest {
109
105
  export interface PaymentSetupApiInitiatePaymentSetupRequest {
110
106
  /**
111
107
  *
112
- * @type {InitiatePaymentSetupRequestDto}
108
+ * @type {object}
113
109
  * @memberof PaymentSetupApiInitiatePaymentSetup
114
110
  */
115
- readonly initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto;
111
+ readonly body: object;
116
112
  /**
117
113
  * Bearer Token
118
114
  * @type {string}
@@ -134,7 +130,7 @@ export declare class PaymentSetupApi extends BaseAPI {
134
130
  * @throws {RequiredError}
135
131
  * @memberof PaymentSetupApi
136
132
  */
137
- completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any>>;
133
+ completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
138
134
  /**
139
135
  *
140
136
  * @param {PaymentSetupApiInitiatePaymentSetupRequest} requestParameters Request parameters.
@@ -142,5 +138,5 @@ export declare class PaymentSetupApi extends BaseAPI {
142
138
  * @throws {RequiredError}
143
139
  * @memberof PaymentSetupApi
144
140
  */
145
- initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any>>;
141
+ initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
146
142
  }