@emilgroup/payment-sdk 1.4.1-beta.4 → 1.4.1-beta.40

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 (129) hide show
  1. package/.openapi-generator/FILES +15 -7
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +501 -89
  4. package/api/bank-transaction-api.ts +303 -97
  5. package/api/{default-api.ts → health-check-api.ts} +23 -19
  6. package/api/payment-methods-api.ts +62 -243
  7. package/api/payment-reminders-api.ts +58 -100
  8. package/api/payment-setup-api.ts +18 -10
  9. package/api/payments-api.ts +73 -136
  10. package/api/refunds-api.ts +436 -0
  11. package/api/tenant-bank-account-api.ts +100 -102
  12. package/api/webhooks-api.ts +18 -14
  13. package/api.ts +6 -4
  14. package/base.ts +23 -11
  15. package/common.ts +4 -4
  16. package/configuration.ts +2 -2
  17. package/dist/api/bank-accounts-api.d.ts +293 -70
  18. package/dist/api/bank-accounts-api.js +433 -63
  19. package/dist/api/bank-transaction-api.d.ts +193 -83
  20. package/dist/api/bank-transaction-api.js +253 -66
  21. package/dist/api/health-check-api.d.ts +70 -0
  22. package/dist/api/{default-api.js → health-check-api.js} +32 -28
  23. package/dist/api/payment-methods-api.d.ts +52 -152
  24. package/dist/api/payment-methods-api.js +49 -179
  25. package/dist/api/payment-reminders-api.d.ts +53 -80
  26. package/dist/api/payment-reminders-api.js +45 -63
  27. package/dist/api/payment-setup-api.d.ts +18 -10
  28. package/dist/api/payment-setup-api.js +18 -10
  29. package/dist/api/payments-api.d.ts +63 -99
  30. package/dist/api/payments-api.js +56 -86
  31. package/dist/api/refunds-api.d.ts +251 -0
  32. package/dist/api/refunds-api.js +439 -0
  33. package/dist/api/tenant-bank-account-api.d.ts +94 -89
  34. package/dist/api/tenant-bank-account-api.js +72 -64
  35. package/dist/api/webhooks-api.d.ts +18 -14
  36. package/dist/api/webhooks-api.js +16 -12
  37. package/dist/api.d.ts +4 -3
  38. package/dist/api.js +4 -3
  39. package/dist/base.d.ts +7 -4
  40. package/dist/base.js +32 -23
  41. package/dist/common.d.ts +4 -4
  42. package/dist/common.js +2 -2
  43. package/dist/configuration.d.ts +2 -2
  44. package/dist/configuration.js +2 -2
  45. package/dist/index.d.ts +2 -2
  46. package/dist/index.js +2 -2
  47. package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +32 -34
  48. package/dist/models/{bank-transaction-response-class.js → bank-transaction-class-without-expand-properties.js} +2 -2
  49. package/dist/models/create-bank-account-request-dto.d.ts +42 -0
  50. package/dist/models/{get-request-dto.js → create-bank-account-request-dto.js} +2 -2
  51. package/dist/models/create-payment-reminder-request-dto.d.ts +2 -2
  52. package/dist/models/create-payment-reminder-request-dto.js +2 -2
  53. package/dist/models/create-payment-request-dto.d.ts +4 -4
  54. package/dist/models/create-payment-request-dto.js +2 -2
  55. package/dist/models/create-refund-request-dto.d.ts +24 -0
  56. package/dist/models/{get-bank-transactions-response-class.js → create-refund-request-dto.js} +2 -2
  57. package/dist/models/create-tenant-bank-account-request-dto.d.ts +2 -2
  58. package/dist/models/create-tenant-bank-account-request-dto.js +2 -2
  59. package/dist/models/create-tenant-bank-account-response-class.d.ts +25 -0
  60. package/dist/models/{list-bank-transactions-response-class.js → create-tenant-bank-account-response-class.js} +2 -2
  61. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +2 -2
  62. package/dist/models/deactivate-payment-reminder-request-dto.js +2 -2
  63. package/dist/models/get-tenant-bank-account-response-class.d.ts +6 -6
  64. package/dist/models/get-tenant-bank-account-response-class.js +2 -2
  65. package/dist/models/index.d.ts +13 -6
  66. package/dist/models/index.js +13 -6
  67. package/dist/models/inline-response200.d.ts +2 -2
  68. package/dist/models/inline-response200.js +2 -2
  69. package/dist/models/inline-response503.d.ts +2 -2
  70. package/dist/models/inline-response503.js +2 -2
  71. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +24 -0
  72. package/dist/models/link-bank-transaction-request-dto-rest.js +15 -0
  73. package/dist/models/list-tenant-bank-account-response-class.d.ts +31 -0
  74. package/dist/models/list-tenant-bank-account-response-class.js +15 -0
  75. package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
  76. package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
  77. package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +78 -0
  78. package/dist/models/tenant-bank-account-class-without-expand-properties.js +15 -0
  79. package/dist/models/tenant-bank-account-class.d.ts +85 -0
  80. package/dist/models/tenant-bank-account-class.js +15 -0
  81. package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +24 -0
  82. package/dist/models/unlink-bank-transaction-request-dto-rest.js +15 -0
  83. package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
  84. package/dist/models/update-bank-account-request-dto-rest.js +15 -0
  85. package/dist/models/update-bank-account-request-dto.d.ts +36 -0
  86. package/dist/models/update-bank-account-request-dto.js +15 -0
  87. package/dist/models/update-tenant-bank-account-response-class.d.ts +25 -0
  88. package/dist/models/update-tenant-bank-account-response-class.js +15 -0
  89. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +2 -2
  90. package/dist/models/update-tenant-bank-account-rest-request-dto.js +2 -2
  91. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -2
  92. package/dist/models/validate-pspconfig-request-dto.js +2 -2
  93. package/index.ts +2 -2
  94. package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +32 -34
  95. package/models/create-bank-account-request-dto.ts +48 -0
  96. package/models/create-payment-reminder-request-dto.ts +2 -2
  97. package/models/create-payment-request-dto.ts +4 -4
  98. package/models/create-refund-request-dto.ts +30 -0
  99. package/models/create-tenant-bank-account-request-dto.ts +2 -2
  100. package/models/create-tenant-bank-account-response-class.ts +31 -0
  101. package/models/deactivate-payment-reminder-request-dto.ts +2 -2
  102. package/models/get-tenant-bank-account-response-class.ts +6 -6
  103. package/models/index.ts +13 -6
  104. package/models/inline-response200.ts +2 -2
  105. package/models/inline-response503.ts +2 -2
  106. package/models/link-bank-transaction-request-dto-rest.ts +30 -0
  107. package/models/list-tenant-bank-account-response-class.ts +37 -0
  108. package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
  109. package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +24 -12
  110. package/models/tenant-bank-account-class.ts +91 -0
  111. package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
  112. package/models/update-bank-account-request-dto-rest.ts +36 -0
  113. package/models/update-bank-account-request-dto.ts +42 -0
  114. package/models/update-tenant-bank-account-response-class.ts +31 -0
  115. package/models/update-tenant-bank-account-rest-request-dto.ts +2 -2
  116. package/models/validate-pspconfig-request-dto.ts +2 -2
  117. package/package.json +1 -1
  118. package/dist/api/default-api.d.ts +0 -66
  119. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  120. package/dist/models/get-request-dto.d.ts +0 -30
  121. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  122. package/dist/models/tenant-bank-account-response-class.d.ts +0 -66
  123. package/dist/models/tenant-bank-account-response-class.js +0 -15
  124. package/dist/models/transaction-class.d.ts +0 -54
  125. package/dist/models/transaction-class.js +0 -15
  126. package/models/get-bank-transactions-response-class.ts +0 -31
  127. package/models/get-request-dto.ts +0 -36
  128. package/models/list-bank-transactions-response-class.ts +0 -37
  129. package/models/transaction-class.ts +0 -60
@@ -3,10 +3,10 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Emil Payment Service
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.
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -93,11 +93,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
97
- * @summary Retrieve the Bank Transaction
96
+ * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
97
+ * @summary Retrieve the bank transaction
98
98
  * @param {string} code
99
99
  * @param {string} [authorization] Bearer Token
100
- * @param {string} [expand] Expand the response with additional entities
100
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
101
101
  * @param {*} [options] Override http request option.
102
102
  * @throws {RequiredError}
103
103
  */
@@ -145,20 +145,22 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
145
145
  });
146
146
  },
147
147
  /**
148
- * Import bank transactions from a swift MT940 file
148
+ * This will import bank transactions from a swift MT940 file
149
149
  * @summary Create the bank transactions
150
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
150
151
  * @param {string} [authorization] Bearer Token
151
- * @param {any} [file]
152
152
  * @param {*} [options] Override http request option.
153
153
  * @throws {RequiredError}
154
154
  */
155
- importBankTransactions: function (authorization, file, options) {
155
+ importBankTransactions: function (file, authorization, options) {
156
156
  if (options === void 0) { options = {}; }
157
157
  return __awaiter(_this, void 0, void 0, function () {
158
158
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
159
159
  return __generator(this, function (_a) {
160
160
  switch (_a.label) {
161
161
  case 0:
162
+ // verify required parameter 'file' is not null or undefined
163
+ (0, common_1.assertParamExists)('importBankTransactions', 'file', file);
162
164
  localVarPath = "/paymentservice/v1/tenant/bank-transactions/import";
163
165
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
164
166
  if (configuration) {
@@ -195,20 +197,71 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
195
197
  });
196
198
  },
197
199
  /**
198
- * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
200
+ * Links a bank transaction with an invoice
201
+ * @summary Link bank transaction
202
+ * @param {string} code Code of the bank transaction to link
203
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
204
+ * @param {string} [authorization] Bearer Token
205
+ * @param {*} [options] Override http request option.
206
+ * @throws {RequiredError}
207
+ */
208
+ linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
209
+ if (options === void 0) { options = {}; }
210
+ return __awaiter(_this, void 0, void 0, function () {
211
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
212
+ return __generator(this, function (_a) {
213
+ switch (_a.label) {
214
+ case 0:
215
+ // verify required parameter 'code' is not null or undefined
216
+ (0, common_1.assertParamExists)('linkBankTransaction', 'code', code);
217
+ // verify required parameter 'linkBankTransactionRequestDtoRest' is not null or undefined
218
+ (0, common_1.assertParamExists)('linkBankTransaction', 'linkBankTransactionRequestDtoRest', linkBankTransactionRequestDtoRest);
219
+ localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/link"
220
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
221
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
222
+ if (configuration) {
223
+ baseOptions = configuration.baseOptions;
224
+ baseAccessToken = configuration.accessToken;
225
+ }
226
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
227
+ localVarHeaderParameter = {};
228
+ localVarQueryParameter = {};
229
+ // authentication bearer required
230
+ // http bearer authentication required
231
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
232
+ case 1:
233
+ // authentication bearer required
234
+ // http bearer authentication required
235
+ _a.sent();
236
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
237
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
238
+ }
239
+ localVarHeaderParameter['Content-Type'] = 'application/json';
240
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
241
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
242
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
243
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(linkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
244
+ return [2 /*return*/, {
245
+ url: (0, common_1.toPathString)(localVarUrlObj),
246
+ options: localVarRequestOptions,
247
+ }];
248
+ }
249
+ });
250
+ });
251
+ },
252
+ /**
253
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
199
254
  * @summary List bank transactions
200
255
  * @param {string} [authorization] Bearer Token
201
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
202
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
203
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
204
- * @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.
205
- * @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.
206
- * @param {string} [expand] Expand the response with additional entities
207
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
256
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
257
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
258
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
259
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
260
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
208
261
  * @param {*} [options] Override http request option.
209
262
  * @throws {RequiredError}
210
263
  */
211
- listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
264
+ listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
212
265
  if (options === void 0) { options = {}; }
213
266
  return __awaiter(_this, void 0, void 0, function () {
214
267
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -231,15 +284,12 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
231
284
  // authentication bearer required
232
285
  // http bearer authentication required
233
286
  _a.sent();
234
- if (pageSize !== undefined) {
235
- localVarQueryParameter['pageSize'] = pageSize;
236
- }
237
- if (pageToken !== undefined) {
238
- localVarQueryParameter['pageToken'] = pageToken;
239
- }
240
287
  if (filter !== undefined) {
241
288
  localVarQueryParameter['filter'] = filter;
242
289
  }
290
+ if (filters !== undefined) {
291
+ localVarQueryParameter['filters'] = filters;
292
+ }
243
293
  if (search !== undefined) {
244
294
  localVarQueryParameter['search'] = search;
245
295
  }
@@ -249,15 +299,65 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
249
299
  if (expand !== undefined) {
250
300
  localVarQueryParameter['expand'] = expand;
251
301
  }
252
- if (filters !== undefined) {
253
- localVarQueryParameter['filters'] = filters;
302
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
303
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
254
304
  }
305
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
306
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
307
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
308
+ return [2 /*return*/, {
309
+ url: (0, common_1.toPathString)(localVarUrlObj),
310
+ options: localVarRequestOptions,
311
+ }];
312
+ }
313
+ });
314
+ });
315
+ },
316
+ /**
317
+ * Unlinks an already linked bank transaction
318
+ * @summary Unlink bank transaction
319
+ * @param {string} code Code of the bank transaction to unlink
320
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
321
+ * @param {string} [authorization] Bearer Token
322
+ * @param {*} [options] Override http request option.
323
+ * @throws {RequiredError}
324
+ */
325
+ unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
326
+ if (options === void 0) { options = {}; }
327
+ return __awaiter(_this, void 0, void 0, function () {
328
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
329
+ return __generator(this, function (_a) {
330
+ switch (_a.label) {
331
+ case 0:
332
+ // verify required parameter 'code' is not null or undefined
333
+ (0, common_1.assertParamExists)('unlinkBankTransaction', 'code', code);
334
+ // verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
335
+ (0, common_1.assertParamExists)('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest);
336
+ localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/unlink"
337
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
338
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
339
+ if (configuration) {
340
+ baseOptions = configuration.baseOptions;
341
+ baseAccessToken = configuration.accessToken;
342
+ }
343
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
344
+ localVarHeaderParameter = {};
345
+ localVarQueryParameter = {};
346
+ // authentication bearer required
347
+ // http bearer authentication required
348
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
349
+ case 1:
350
+ // authentication bearer required
351
+ // http bearer authentication required
352
+ _a.sent();
255
353
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
256
354
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
257
355
  }
356
+ localVarHeaderParameter['Content-Type'] = 'application/json';
258
357
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
259
358
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
260
359
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
360
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
261
361
  return [2 /*return*/, {
262
362
  url: (0, common_1.toPathString)(localVarUrlObj),
263
363
  options: localVarRequestOptions,
@@ -277,11 +377,11 @@ var BankTransactionApiFp = function (configuration) {
277
377
  var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
278
378
  return {
279
379
  /**
280
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
281
- * @summary Retrieve the Bank Transaction
380
+ * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
381
+ * @summary Retrieve the bank transaction
282
382
  * @param {string} code
283
383
  * @param {string} [authorization] Bearer Token
284
- * @param {string} [expand] Expand the response with additional entities
384
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
285
385
  * @param {*} [options] Override http request option.
286
386
  * @throws {RequiredError}
287
387
  */
@@ -299,19 +399,19 @@ var BankTransactionApiFp = function (configuration) {
299
399
  });
300
400
  },
301
401
  /**
302
- * Import bank transactions from a swift MT940 file
402
+ * This will import bank transactions from a swift MT940 file
303
403
  * @summary Create the bank transactions
404
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
304
405
  * @param {string} [authorization] Bearer Token
305
- * @param {any} [file]
306
406
  * @param {*} [options] Override http request option.
307
407
  * @throws {RequiredError}
308
408
  */
309
- importBankTransactions: function (authorization, file, options) {
409
+ importBankTransactions: function (file, authorization, options) {
310
410
  return __awaiter(this, void 0, void 0, function () {
311
411
  var localVarAxiosArgs;
312
412
  return __generator(this, function (_a) {
313
413
  switch (_a.label) {
314
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.importBankTransactions(authorization, file, options)];
414
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.importBankTransactions(file, authorization, options)];
315
415
  case 1:
316
416
  localVarAxiosArgs = _a.sent();
317
417
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -320,25 +420,67 @@ var BankTransactionApiFp = function (configuration) {
320
420
  });
321
421
  },
322
422
  /**
323
- * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
423
+ * Links a bank transaction with an invoice
424
+ * @summary Link bank transaction
425
+ * @param {string} code Code of the bank transaction to link
426
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
427
+ * @param {string} [authorization] Bearer Token
428
+ * @param {*} [options] Override http request option.
429
+ * @throws {RequiredError}
430
+ */
431
+ linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
432
+ return __awaiter(this, void 0, void 0, function () {
433
+ var localVarAxiosArgs;
434
+ return __generator(this, function (_a) {
435
+ switch (_a.label) {
436
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options)];
437
+ case 1:
438
+ localVarAxiosArgs = _a.sent();
439
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
440
+ }
441
+ });
442
+ });
443
+ },
444
+ /**
445
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
324
446
  * @summary List bank transactions
325
447
  * @param {string} [authorization] Bearer Token
326
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
327
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
328
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
329
- * @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.
330
- * @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.
331
- * @param {string} [expand] Expand the response with additional entities
332
- * @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.
448
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
449
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
450
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
451
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
452
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
457
+ return __awaiter(this, void 0, void 0, function () {
458
+ var localVarAxiosArgs;
459
+ return __generator(this, function (_a) {
460
+ switch (_a.label) {
461
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options)];
462
+ case 1:
463
+ localVarAxiosArgs = _a.sent();
464
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
465
+ }
466
+ });
467
+ });
468
+ },
469
+ /**
470
+ * Unlinks an already linked bank transaction
471
+ * @summary Unlink bank transaction
472
+ * @param {string} code Code of the bank transaction to unlink
473
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
474
+ * @param {string} [authorization] Bearer Token
333
475
  * @param {*} [options] Override http request option.
334
476
  * @throws {RequiredError}
335
477
  */
336
- listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
478
+ unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
337
479
  return __awaiter(this, void 0, void 0, function () {
338
480
  var localVarAxiosArgs;
339
481
  return __generator(this, function (_a) {
340
482
  switch (_a.label) {
341
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
483
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options)];
342
484
  case 1:
343
485
  localVarAxiosArgs = _a.sent();
344
486
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -357,11 +499,11 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
357
499
  var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
358
500
  return {
359
501
  /**
360
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
361
- * @summary Retrieve the Bank Transaction
502
+ * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
503
+ * @summary Retrieve the bank transaction
362
504
  * @param {string} code
363
505
  * @param {string} [authorization] Bearer Token
364
- * @param {string} [expand] Expand the response with additional entities
506
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
365
507
  * @param {*} [options] Override http request option.
366
508
  * @throws {RequiredError}
367
509
  */
@@ -369,32 +511,54 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
369
511
  return localVarFp.getBankTransaction(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
370
512
  },
371
513
  /**
372
- * Import bank transactions from a swift MT940 file
514
+ * This will import bank transactions from a swift MT940 file
373
515
  * @summary Create the bank transactions
516
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
374
517
  * @param {string} [authorization] Bearer Token
375
- * @param {any} [file]
376
518
  * @param {*} [options] Override http request option.
377
519
  * @throws {RequiredError}
378
520
  */
379
- importBankTransactions: function (authorization, file, options) {
380
- return localVarFp.importBankTransactions(authorization, file, options).then(function (request) { return request(axios, basePath); });
521
+ importBankTransactions: function (file, authorization, options) {
522
+ return localVarFp.importBankTransactions(file, authorization, options).then(function (request) { return request(axios, basePath); });
381
523
  },
382
524
  /**
383
- * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
525
+ * Links a bank transaction with an invoice
526
+ * @summary Link bank transaction
527
+ * @param {string} code Code of the bank transaction to link
528
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
529
+ * @param {string} [authorization] Bearer Token
530
+ * @param {*} [options] Override http request option.
531
+ * @throws {RequiredError}
532
+ */
533
+ linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
534
+ return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
535
+ },
536
+ /**
537
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
384
538
  * @summary List bank transactions
385
539
  * @param {string} [authorization] Bearer Token
386
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
387
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
388
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
389
- * @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.
390
- * @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.
391
- * @param {string} [expand] Expand the response with additional entities
392
- * @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.
540
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
541
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
542
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
543
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
544
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
393
545
  * @param {*} [options] Override http request option.
394
546
  * @throws {RequiredError}
395
547
  */
396
- listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
397
- return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
548
+ listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
549
+ return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
550
+ },
551
+ /**
552
+ * Unlinks an already linked bank transaction
553
+ * @summary Unlink bank transaction
554
+ * @param {string} code Code of the bank transaction to unlink
555
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
556
+ * @param {string} [authorization] Bearer Token
557
+ * @param {*} [options] Override http request option.
558
+ * @throws {RequiredError}
559
+ */
560
+ unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
561
+ return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
398
562
  },
399
563
  };
400
564
  };
@@ -411,8 +575,8 @@ var BankTransactionApi = /** @class */ (function (_super) {
411
575
  return _super !== null && _super.apply(this, arguments) || this;
412
576
  }
413
577
  /**
414
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
415
- * @summary Retrieve the Bank Transaction
578
+ * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
579
+ * @summary Retrieve the bank transaction
416
580
  * @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
417
581
  * @param {*} [options] Override http request option.
418
582
  * @throws {RequiredError}
@@ -423,7 +587,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
423
587
  return (0, exports.BankTransactionApiFp)(this.configuration).getBankTransaction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
424
588
  };
425
589
  /**
426
- * Import bank transactions from a swift MT940 file
590
+ * This will import bank transactions from a swift MT940 file
427
591
  * @summary Create the bank transactions
428
592
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
429
593
  * @param {*} [options] Override http request option.
@@ -432,11 +596,22 @@ var BankTransactionApi = /** @class */ (function (_super) {
432
596
  */
433
597
  BankTransactionApi.prototype.importBankTransactions = function (requestParameters, options) {
434
598
  var _this = this;
435
- if (requestParameters === void 0) { requestParameters = {}; }
436
- return (0, exports.BankTransactionApiFp)(this.configuration).importBankTransactions(requestParameters.authorization, requestParameters.file, options).then(function (request) { return request(_this.axios, _this.basePath); });
599
+ return (0, exports.BankTransactionApiFp)(this.configuration).importBankTransactions(requestParameters.file, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
600
+ };
601
+ /**
602
+ * Links a bank transaction with an invoice
603
+ * @summary Link bank transaction
604
+ * @param {BankTransactionApiLinkBankTransactionRequest} requestParameters Request parameters.
605
+ * @param {*} [options] Override http request option.
606
+ * @throws {RequiredError}
607
+ * @memberof BankTransactionApi
608
+ */
609
+ BankTransactionApi.prototype.linkBankTransaction = function (requestParameters, options) {
610
+ var _this = this;
611
+ return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
437
612
  };
438
613
  /**
439
- * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
614
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
440
615
  * @summary List bank transactions
441
616
  * @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
442
617
  * @param {*} [options] Override http request option.
@@ -446,7 +621,19 @@ var BankTransactionApi = /** @class */ (function (_super) {
446
621
  BankTransactionApi.prototype.listBankTransactions = function (requestParameters, options) {
447
622
  var _this = this;
448
623
  if (requestParameters === void 0) { requestParameters = {}; }
449
- return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
624
+ return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
625
+ };
626
+ /**
627
+ * Unlinks an already linked bank transaction
628
+ * @summary Unlink bank transaction
629
+ * @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
630
+ * @param {*} [options] Override http request option.
631
+ * @throws {RequiredError}
632
+ * @memberof BankTransactionApi
633
+ */
634
+ BankTransactionApi.prototype.unlinkBankTransaction = function (requestParameters, options) {
635
+ var _this = this;
636
+ return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
450
637
  };
451
638
  return BankTransactionApi;
452
639
  }(base_1.BaseAPI));
@@ -0,0 +1,70 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { InlineResponse200 } from '../models';
16
+ /**
17
+ * HealthCheckApi - axios parameter creator
18
+ * @export
19
+ */
20
+ export declare const HealthCheckApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ * Returns the health status of the payment service. This endpoint is used to monitor the operational status of the payment service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
23
+ * @summary Health Check
24
+ * @param {*} [options] Override http request option.
25
+ * @throws {RequiredError}
26
+ */
27
+ check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
+ };
29
+ /**
30
+ * HealthCheckApi - functional programming interface
31
+ * @export
32
+ */
33
+ export declare const HealthCheckApiFp: (configuration?: Configuration) => {
34
+ /**
35
+ * Returns the health status of the payment service. This endpoint is used to monitor the operational status of the payment service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
36
+ * @summary Health Check
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
41
+ };
42
+ /**
43
+ * HealthCheckApi - factory interface
44
+ * @export
45
+ */
46
+ export declare const HealthCheckApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
47
+ /**
48
+ * Returns the health status of the payment service. This endpoint is used to monitor the operational status of the payment service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
49
+ * @summary Health Check
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ check(options?: any): AxiosPromise<InlineResponse200>;
54
+ };
55
+ /**
56
+ * HealthCheckApi - object-oriented interface
57
+ * @export
58
+ * @class HealthCheckApi
59
+ * @extends {BaseAPI}
60
+ */
61
+ export declare class HealthCheckApi extends BaseAPI {
62
+ /**
63
+ * Returns the health status of the payment service. This endpoint is used to monitor the operational status of the payment service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
64
+ * @summary Health Check
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ * @memberof HealthCheckApi
68
+ */
69
+ check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
70
+ }