@emilgroup/payment-sdk 1.3.1 → 1.4.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 +2 -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 +2 -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
@@ -95,20 +95,20 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
95
95
  /**
96
96
  * 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.
97
97
  * @summary Create the payment-method
98
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
98
+ * @param {object} body
99
99
  * @param {string} [authorization] Bearer Token
100
100
  * @param {*} [options] Override http request option.
101
101
  * @throws {RequiredError}
102
102
  */
103
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
103
+ createPaymentMethod: function (body, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
110
- // verify required parameter 'createPspPaymentMethodRequestDto' is not null or undefined
111
- (0, common_1.assertParamExists)('createPaymentMethod', 'createPspPaymentMethodRequestDto', createPspPaymentMethodRequestDto);
110
+ // verify required parameter 'body' is not null or undefined
111
+ (0, common_1.assertParamExists)('createPaymentMethod', 'body', body);
112
112
  localVarPath = "/paymentservice/v1/payment-methods";
113
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
114
  if (configuration) {
@@ -132,7 +132,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
132
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
133
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
134
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPspPaymentMethodRequestDto, localVarRequestOptions, configuration);
135
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
136
136
  return [2 /*return*/, {
137
137
  url: (0, common_1.toPathString)(localVarUrlObj),
138
138
  options: localVarRequestOptions,
@@ -195,13 +195,13 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
195
195
  * 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.
196
196
  * @summary Retrieve a payment method
197
197
  * @param {string} code Unique identifier for the object.
198
+ * @param {string} expand Fields to expand response by
199
+ * @param {string} expand2 Fields to expand response by
198
200
  * @param {string} [authorization] Bearer Token
199
- * @param {string} [expand] Fields to expand response by
200
- * @param {string} [expand2] Fields to expand response by
201
201
  * @param {*} [options] Override http request option.
202
202
  * @throws {RequiredError}
203
203
  */
204
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
204
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
205
205
  if (options === void 0) { options = {}; }
206
206
  return __awaiter(_this, void 0, void 0, function () {
207
207
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -210,6 +210,10 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
210
210
  case 0:
211
211
  // verify required parameter 'code' is not null or undefined
212
212
  (0, common_1.assertParamExists)('getPaymentMethod', 'code', code);
213
+ // verify required parameter 'expand' is not null or undefined
214
+ (0, common_1.assertParamExists)('getPaymentMethod', 'expand', expand);
215
+ // verify required parameter 'expand2' is not null or undefined
216
+ (0, common_1.assertParamExists)('getPaymentMethod', 'expand2', expand2);
213
217
  localVarPath = "/paymentservice/v1/payment-methods/{code}";
214
218
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
215
219
  if (configuration) {
@@ -259,10 +263,11 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
259
263
  * @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.
260
264
  * @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.
261
265
  * @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.
266
+ * @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.
262
267
  * @param {*} [options] Override http request option.
263
268
  * @throws {RequiredError}
264
269
  */
265
- listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
270
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
266
271
  if (options === void 0) { options = {}; }
267
272
  return __awaiter(_this, void 0, void 0, function () {
268
273
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -303,6 +308,9 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
303
308
  if (expand !== undefined) {
304
309
  localVarQueryParameter['expand'] = expand;
305
310
  }
311
+ if (filters !== undefined) {
312
+ localVarQueryParameter['filters'] = filters;
313
+ }
306
314
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
307
315
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
308
316
  }
@@ -330,17 +338,17 @@ var PaymentMethodsApiFp = function (configuration) {
330
338
  /**
331
339
  * 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.
332
340
  * @summary Create the payment-method
333
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
341
+ * @param {object} body
334
342
  * @param {string} [authorization] Bearer Token
335
343
  * @param {*} [options] Override http request option.
336
344
  * @throws {RequiredError}
337
345
  */
338
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
346
+ createPaymentMethod: function (body, authorization, options) {
339
347
  return __awaiter(this, void 0, void 0, function () {
340
348
  var localVarAxiosArgs;
341
349
  return __generator(this, function (_a) {
342
350
  switch (_a.label) {
343
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options)];
351
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(body, authorization, options)];
344
352
  case 1:
345
353
  localVarAxiosArgs = _a.sent();
346
354
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -373,18 +381,18 @@ var PaymentMethodsApiFp = function (configuration) {
373
381
  * 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.
374
382
  * @summary Retrieve a payment method
375
383
  * @param {string} code Unique identifier for the object.
384
+ * @param {string} expand Fields to expand response by
385
+ * @param {string} expand2 Fields to expand response by
376
386
  * @param {string} [authorization] Bearer Token
377
- * @param {string} [expand] Fields to expand response by
378
- * @param {string} [expand2] Fields to expand response by
379
387
  * @param {*} [options] Override http request option.
380
388
  * @throws {RequiredError}
381
389
  */
382
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
390
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
383
391
  return __awaiter(this, void 0, void 0, function () {
384
392
  var localVarAxiosArgs;
385
393
  return __generator(this, function (_a) {
386
394
  switch (_a.label) {
387
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPaymentMethod(code, authorization, expand, expand2, options)];
395
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPaymentMethod(code, expand, expand2, authorization, options)];
388
396
  case 1:
389
397
  localVarAxiosArgs = _a.sent();
390
398
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -402,15 +410,16 @@ var PaymentMethodsApiFp = function (configuration) {
402
410
  * @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.
403
411
  * @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.
404
412
  * @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.
413
+ * @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.
405
414
  * @param {*} [options] Override http request option.
406
415
  * @throws {RequiredError}
407
416
  */
408
- listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
417
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
409
418
  return __awaiter(this, void 0, void 0, function () {
410
419
  var localVarAxiosArgs;
411
420
  return __generator(this, function (_a) {
412
421
  switch (_a.label) {
413
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, options)];
422
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
414
423
  case 1:
415
424
  localVarAxiosArgs = _a.sent();
416
425
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -431,13 +440,13 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
431
440
  /**
432
441
  * 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.
433
442
  * @summary Create the payment-method
434
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
443
+ * @param {object} body
435
444
  * @param {string} [authorization] Bearer Token
436
445
  * @param {*} [options] Override http request option.
437
446
  * @throws {RequiredError}
438
447
  */
439
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
440
- return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
448
+ createPaymentMethod: function (body, authorization, options) {
449
+ return localVarFp.createPaymentMethod(body, authorization, options).then(function (request) { return request(axios, basePath); });
441
450
  },
442
451
  /**
443
452
  * 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.
@@ -454,14 +463,14 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
454
463
  * 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.
455
464
  * @summary Retrieve a payment method
456
465
  * @param {string} code Unique identifier for the object.
466
+ * @param {string} expand Fields to expand response by
467
+ * @param {string} expand2 Fields to expand response by
457
468
  * @param {string} [authorization] Bearer Token
458
- * @param {string} [expand] Fields to expand response by
459
- * @param {string} [expand2] Fields to expand response by
460
469
  * @param {*} [options] Override http request option.
461
470
  * @throws {RequiredError}
462
471
  */
463
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
464
- return localVarFp.getPaymentMethod(code, authorization, expand, expand2, options).then(function (request) { return request(axios, basePath); });
472
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
473
+ return localVarFp.getPaymentMethod(code, expand, expand2, authorization, options).then(function (request) { return request(axios, basePath); });
465
474
  },
466
475
  /**
467
476
  * 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.
@@ -473,11 +482,12 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
473
482
  * @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.
474
483
  * @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.
475
484
  * @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.
485
+ * @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.
476
486
  * @param {*} [options] Override http request option.
477
487
  * @throws {RequiredError}
478
488
  */
479
- listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
480
- return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
489
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
490
+ return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
481
491
  },
482
492
  };
483
493
  };
@@ -503,7 +513,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
503
513
  */
504
514
  PaymentMethodsApi.prototype.createPaymentMethod = function (requestParameters, options) {
505
515
  var _this = this;
506
- return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
516
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
507
517
  };
508
518
  /**
509
519
  * 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.
@@ -527,7 +537,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
527
537
  */
528
538
  PaymentMethodsApi.prototype.getPaymentMethod = function (requestParameters, options) {
529
539
  var _this = this;
530
- 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); });
540
+ 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); });
531
541
  };
532
542
  /**
533
543
  * 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.
@@ -540,7 +550,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
540
550
  PaymentMethodsApi.prototype.listPaymentMethods = function (requestParameters, options) {
541
551
  var _this = this;
542
552
  if (requestParameters === void 0) { requestParameters = {}; }
543
- 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); });
553
+ 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); });
544
554
  };
545
555
  return PaymentMethodsApi;
546
556
  }(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
@@ -252,10 +252,11 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
252
252
  * @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.
253
253
  * @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.
254
254
  * @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.
255
+ * @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.
255
256
  * @param {*} [options] Override http request option.
256
257
  * @throws {RequiredError}
257
258
  */
258
- listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
259
+ listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
259
260
  if (options === void 0) { options = {}; }
260
261
  return __awaiter(_this, void 0, void 0, function () {
261
262
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -296,6 +297,9 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
296
297
  if (expand !== undefined) {
297
298
  localVarQueryParameter['expand'] = expand;
298
299
  }
300
+ if (filters !== undefined) {
301
+ localVarQueryParameter['filters'] = filters;
302
+ }
299
303
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
300
304
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
301
305
  }
@@ -394,15 +398,16 @@ var PaymentRemindersApiFp = function (configuration) {
394
398
  * @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.
395
399
  * @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.
396
400
  * @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.
401
+ * @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.
397
402
  * @param {*} [options] Override http request option.
398
403
  * @throws {RequiredError}
399
404
  */
400
- listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
405
+ listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
401
406
  return __awaiter(this, void 0, void 0, function () {
402
407
  var localVarAxiosArgs;
403
408
  return __generator(this, function (_a) {
404
409
  switch (_a.label) {
405
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, options)];
410
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
406
411
  case 1:
407
412
  localVarAxiosArgs = _a.sent();
408
413
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -464,11 +469,12 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
464
469
  * @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.
465
470
  * @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.
466
471
  * @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.
472
+ * @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.
467
473
  * @param {*} [options] Override http request option.
468
474
  * @throws {RequiredError}
469
475
  */
470
- listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
471
- return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
476
+ listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
477
+ return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
472
478
  },
473
479
  };
474
480
  };
@@ -531,7 +537,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
531
537
  PaymentRemindersApi.prototype.listPaymentReminders = function (requestParameters, options) {
532
538
  var _this = this;
533
539
  if (requestParameters === void 0) { requestParameters = {}; }
534
- 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); });
540
+ 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); });
535
541
  };
536
542
  return PaymentRemindersApi;
537
543
  }(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
  }