@emilgroup/payment-sdk 1.4.1-beta.23 → 1.4.1-beta.25

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 (144) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +461 -19
  4. package/api/bank-transaction-api.ts +9 -9
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +35 -142
  7. package/api/payment-reminders-api.ts +9 -9
  8. package/api/payment-setup-api.ts +1 -1
  9. package/api/payments-api.ts +39 -42
  10. package/api/refunds-api.ts +1 -1
  11. package/api/tenant-bank-account-api.ts +17 -17
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +1 -1
  14. package/base.ts +1 -1
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +255 -13
  18. package/dist/api/bank-accounts-api.js +399 -17
  19. package/dist/api/bank-transaction-api.d.ts +9 -9
  20. package/dist/api/bank-transaction-api.js +9 -9
  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 +26 -81
  24. package/dist/api/payment-methods-api.js +31 -127
  25. package/dist/api/payment-reminders-api.d.ts +9 -9
  26. package/dist/api/payment-reminders-api.js +9 -9
  27. package/dist/api/payment-setup-api.d.ts +1 -1
  28. package/dist/api/payment-setup-api.js +1 -1
  29. package/dist/api/payments-api.d.ts +30 -30
  30. package/dist/api/payments-api.js +35 -37
  31. package/dist/api/refunds-api.d.ts +1 -1
  32. package/dist/api/refunds-api.js +1 -1
  33. package/dist/api/tenant-bank-account-api.d.ts +17 -17
  34. package/dist/api/tenant-bank-account-api.js +12 -12
  35. package/dist/api/webhooks-api.d.ts +1 -1
  36. package/dist/api/webhooks-api.js +1 -1
  37. package/dist/api.d.ts +1 -1
  38. package/dist/api.js +1 -1
  39. package/dist/base.d.ts +1 -1
  40. package/dist/base.js +1 -1
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/bank-account-class.d.ts +79 -0
  48. package/dist/models/bank-account-class.js +15 -0
  49. package/dist/models/bank-transaction-response-class.d.ts +1 -1
  50. package/dist/models/bank-transaction-response-class.js +1 -1
  51. package/dist/models/create-bank-account-request-dto.d.ts +36 -0
  52. package/dist/models/create-bank-account-request-dto.js +15 -0
  53. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  54. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  55. package/dist/models/create-payment-request-dto.d.ts +1 -1
  56. package/dist/models/create-payment-request-dto.js +1 -1
  57. package/dist/models/create-refund-request-dto.d.ts +1 -1
  58. package/dist/models/create-refund-request-dto.js +1 -1
  59. package/dist/models/create-refund-response-class.d.ts +1 -1
  60. package/dist/models/create-refund-response-class.js +1 -1
  61. package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
  62. package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
  63. package/dist/models/create-tenant-bank-account-response-class.d.ts +1 -1
  64. package/dist/models/create-tenant-bank-account-response-class.js +1 -1
  65. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  66. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  67. package/dist/models/get-bank-account-response-class.d.ts +25 -0
  68. package/dist/models/get-bank-account-response-class.js +15 -0
  69. package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
  70. package/dist/models/get-bank-transactions-response-class.js +1 -1
  71. package/dist/models/get-refund-response-class.d.ts +1 -1
  72. package/dist/models/get-refund-response-class.js +1 -1
  73. package/dist/models/get-request-dto.d.ts +1 -1
  74. package/dist/models/get-request-dto.js +1 -1
  75. package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
  76. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  77. package/dist/models/index.d.ts +7 -0
  78. package/dist/models/index.js +7 -0
  79. package/dist/models/inline-response200.d.ts +1 -1
  80. package/dist/models/inline-response200.js +1 -1
  81. package/dist/models/inline-response503.d.ts +1 -1
  82. package/dist/models/inline-response503.js +1 -1
  83. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +1 -1
  84. package/dist/models/link-bank-transaction-request-dto-rest.js +1 -1
  85. package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
  86. package/dist/models/list-bank-transactions-response-class.js +1 -1
  87. package/dist/models/list-refunds-response-class.d.ts +1 -1
  88. package/dist/models/list-refunds-response-class.js +1 -1
  89. package/dist/models/list-tenant-bank-account-response-class.d.ts +1 -1
  90. package/dist/models/list-tenant-bank-account-response-class.js +1 -1
  91. package/dist/models/primary-bank-account-response-class.d.ts +42 -0
  92. package/dist/models/primary-bank-account-response-class.js +15 -0
  93. package/dist/models/refund-class.d.ts +1 -1
  94. package/dist/models/refund-class.js +1 -1
  95. package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
  96. package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
  97. package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
  98. package/dist/models/tenant-bank-account-response-class.js +1 -1
  99. package/dist/models/transaction-class.d.ts +1 -1
  100. package/dist/models/transaction-class.js +1 -1
  101. package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +1 -1
  102. package/dist/models/unlink-bank-transaction-request-dto-rest.js +1 -1
  103. package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
  104. package/dist/models/update-bank-account-request-dto-rest.js +15 -0
  105. package/dist/models/update-bank-account-request-dto.d.ts +36 -0
  106. package/dist/models/update-bank-account-request-dto.js +15 -0
  107. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  108. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  109. package/dist/models/validate-pspconfig-request-dto.d.ts +1 -1
  110. package/dist/models/validate-pspconfig-request-dto.js +1 -1
  111. package/index.ts +1 -1
  112. package/models/bank-account-class.ts +85 -0
  113. package/models/bank-transaction-response-class.ts +1 -1
  114. package/models/create-bank-account-request-dto.ts +42 -0
  115. package/models/create-payment-reminder-request-dto.ts +1 -1
  116. package/models/create-payment-request-dto.ts +1 -1
  117. package/models/create-refund-request-dto.ts +1 -1
  118. package/models/create-refund-response-class.ts +1 -1
  119. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  120. package/models/create-tenant-bank-account-response-class.ts +1 -1
  121. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  122. package/models/get-bank-account-response-class.ts +31 -0
  123. package/models/get-bank-transactions-response-class.ts +1 -1
  124. package/models/get-refund-response-class.ts +1 -1
  125. package/models/get-request-dto.ts +1 -1
  126. package/models/get-tenant-bank-account-response-class.ts +1 -1
  127. package/models/index.ts +7 -0
  128. package/models/inline-response200.ts +1 -1
  129. package/models/inline-response503.ts +1 -1
  130. package/models/link-bank-transaction-request-dto-rest.ts +1 -1
  131. package/models/list-bank-transactions-response-class.ts +1 -1
  132. package/models/list-refunds-response-class.ts +1 -1
  133. package/models/list-tenant-bank-account-response-class.ts +1 -1
  134. package/models/primary-bank-account-response-class.ts +48 -0
  135. package/models/refund-class.ts +1 -1
  136. package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
  137. package/models/tenant-bank-account-response-class.ts +1 -1
  138. package/models/transaction-class.ts +1 -1
  139. package/models/unlink-bank-transaction-request-dto-rest.ts +1 -1
  140. package/models/update-bank-account-request-dto-rest.ts +36 -0
  141. package/models/update-bank-account-request-dto.ts +42 -0
  142. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  143. package/models/validate-pspconfig-request-dto.ts +1 -1
  144. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
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
6
  * Contact: kontakt@emil.de
@@ -39,7 +39,7 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
39
39
  */
40
40
  deactivatePaymentReminder: (code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
41
  /**
42
- * 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.
42
+ * 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.
43
43
  * @summary Retrieve the payment reminder
44
44
  * @param {string} code Unique identifier for the object.
45
45
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -48,7 +48,7 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
48
48
  */
49
49
  getPolicy: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
50
50
  /**
51
- * 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.
51
+ * 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.
52
52
  * @summary List payment reminders
53
53
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
54
54
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -88,7 +88,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
88
88
  */
89
89
  deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
90
90
  /**
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.
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.
92
92
  * @summary Retrieve the payment reminder
93
93
  * @param {string} code Unique identifier for the object.
94
94
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -97,7 +97,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
97
97
  */
98
98
  getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
99
99
  /**
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.
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.
101
101
  * @summary List payment reminders
102
102
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
103
103
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -137,7 +137,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
137
137
  */
138
138
  deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
139
139
  /**
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.
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
142
142
  * @param {string} code Unique identifier for the object.
143
143
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -146,7 +146,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
146
146
  */
147
147
  getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void>;
148
148
  /**
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.
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
151
151
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
152
152
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -305,7 +305,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
305
305
  */
306
306
  deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
307
307
  /**
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.
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.
309
309
  * @summary Retrieve the payment reminder
310
310
  * @param {PaymentRemindersApiGetPolicyRequest} requestParameters Request parameters.
311
311
  * @param {*} [options] Override http request option.
@@ -314,7 +314,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
314
314
  */
315
315
  getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
316
316
  /**
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.
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.
318
318
  * @summary List payment reminders
319
319
  * @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
320
320
  * @param {*} [options] Override http request option.
@@ -3,7 +3,7 @@
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
9
  * Contact: kontakt@emil.de
@@ -195,7 +195,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
195
195
  });
196
196
  },
197
197
  /**
198
- * 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.
198
+ * 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.
199
199
  * @summary Retrieve the payment reminder
200
200
  * @param {string} code Unique identifier for the object.
201
201
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -243,7 +243,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
243
243
  });
244
244
  },
245
245
  /**
246
- * 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.
246
+ * 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.
247
247
  * @summary List payment reminders
248
248
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
249
249
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -368,7 +368,7 @@ var PaymentRemindersApiFp = function (configuration) {
368
368
  });
369
369
  },
370
370
  /**
371
- * 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.
371
+ * 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.
372
372
  * @summary Retrieve the payment reminder
373
373
  * @param {string} code Unique identifier for the object.
374
374
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -389,7 +389,7 @@ var PaymentRemindersApiFp = function (configuration) {
389
389
  });
390
390
  },
391
391
  /**
392
- * 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.
392
+ * 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.
393
393
  * @summary List payment reminders
394
394
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
395
395
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -449,7 +449,7 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
449
449
  return localVarFp.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
450
450
  },
451
451
  /**
452
- * 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.
452
+ * 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.
453
453
  * @summary Retrieve the payment reminder
454
454
  * @param {string} code Unique identifier for the object.
455
455
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -460,7 +460,7 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
460
460
  return localVarFp.getPolicy(code, authorization, options).then(function (request) { return request(axios, basePath); });
461
461
  },
462
462
  /**
463
- * 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.
463
+ * 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.
464
464
  * @summary List payment reminders
465
465
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
466
466
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -515,7 +515,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
515
515
  return (0, exports.PaymentRemindersApiFp)(this.configuration).deactivatePaymentReminder(requestParameters.code, requestParameters.deactivatePaymentReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
516
516
  };
517
517
  /**
518
- * 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.
518
+ * 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.
519
519
  * @summary Retrieve the payment reminder
520
520
  * @param {PaymentRemindersApiGetPolicyRequest} requestParameters Request parameters.
521
521
  * @param {*} [options] Override http request option.
@@ -527,7 +527,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
527
527
  return (0, exports.PaymentRemindersApiFp)(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
528
528
  };
529
529
  /**
530
- * 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.
530
+ * 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.
531
531
  * @summary List payment reminders
532
532
  * @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
533
533
  * @param {*} [options] Override http request option.
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
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
6
  * Contact: kontakt@emil.de
@@ -3,7 +3,7 @@
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
9
  * Contact: kontakt@emil.de
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
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
6
  * Contact: kontakt@emil.de
@@ -20,7 +20,7 @@ import { CreatePaymentRequestDto } from '../models';
20
20
  export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
22
  * Creates a payment for a specified account. This function is idempotent.
23
- * @summary Create a payment
23
+ * @summary Create the payment
24
24
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
25
25
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
26
26
  * @param {string} [authorization] Bearer Token
@@ -29,18 +29,18 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
29
29
  */
30
30
  createPayment: (idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
31
  /**
32
- * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
33
- * @summary Retrieve a payment
34
- * @param {string} code Unique identifier for the object.
32
+ * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
33
+ * @summary Retrieve the payment
34
+ * @param {string} code
35
+ * @param {string} code2 Unique identifier for the object.
35
36
  * @param {string} expand Fields to expand response by
36
- * @param {string} expand2 Fields to expand response by
37
37
  * @param {string} [authorization] Bearer Token
38
38
  * @param {*} [options] Override http request option.
39
39
  * @throws {RequiredError}
40
40
  */
41
- getPayment: (code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
+ getPayment: (code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
42
  /**
43
- * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
43
+ * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
44
44
  * @summary List payments
45
45
  * @param {string} [authorization] Bearer Token
46
46
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -62,7 +62,7 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
62
62
  export declare const PaymentsApiFp: (configuration?: Configuration) => {
63
63
  /**
64
64
  * Creates a payment for a specified account. This function is idempotent.
65
- * @summary Create a payment
65
+ * @summary Create the payment
66
66
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
67
67
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
68
68
  * @param {string} [authorization] Bearer Token
@@ -71,18 +71,18 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
71
71
  */
72
72
  createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
73
73
  /**
74
- * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
75
- * @summary Retrieve a payment
76
- * @param {string} code Unique identifier for the object.
74
+ * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
75
+ * @summary Retrieve the payment
76
+ * @param {string} code
77
+ * @param {string} code2 Unique identifier for the object.
77
78
  * @param {string} expand Fields to expand response by
78
- * @param {string} expand2 Fields to expand response by
79
79
  * @param {string} [authorization] Bearer Token
80
80
  * @param {*} [options] Override http request option.
81
81
  * @throws {RequiredError}
82
82
  */
83
- getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
83
+ getPayment(code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
84
84
  /**
85
- * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
85
+ * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
86
86
  * @summary List payments
87
87
  * @param {string} [authorization] Bearer Token
88
88
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -104,7 +104,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
104
104
  export declare const PaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
105
105
  /**
106
106
  * Creates a payment for a specified account. This function is idempotent.
107
- * @summary Create a payment
107
+ * @summary Create the payment
108
108
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
109
109
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
110
110
  * @param {string} [authorization] Bearer Token
@@ -113,18 +113,18 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
113
113
  */
114
114
  createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
115
115
  /**
116
- * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
117
- * @summary Retrieve a payment
118
- * @param {string} code Unique identifier for the object.
116
+ * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
117
+ * @summary Retrieve the payment
118
+ * @param {string} code
119
+ * @param {string} code2 Unique identifier for the object.
119
120
  * @param {string} expand Fields to expand response by
120
- * @param {string} expand2 Fields to expand response by
121
121
  * @param {string} [authorization] Bearer Token
122
122
  * @param {*} [options] Override http request option.
123
123
  * @throws {RequiredError}
124
124
  */
125
- getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: any): AxiosPromise<void>;
125
+ getPayment(code: string, code2: string, expand: string, authorization?: string, options?: any): AxiosPromise<void>;
126
126
  /**
127
- * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
127
+ * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
128
128
  * @summary List payments
129
129
  * @param {string} [authorization] Bearer Token
130
130
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -171,23 +171,23 @@ export interface PaymentsApiCreatePaymentRequest {
171
171
  */
172
172
  export interface PaymentsApiGetPaymentRequest {
173
173
  /**
174
- * Unique identifier for the object.
174
+ *
175
175
  * @type {string}
176
176
  * @memberof PaymentsApiGetPayment
177
177
  */
178
178
  readonly code: string;
179
179
  /**
180
- * Fields to expand response by
180
+ * Unique identifier for the object.
181
181
  * @type {string}
182
182
  * @memberof PaymentsApiGetPayment
183
183
  */
184
- readonly expand: string;
184
+ readonly code2: string;
185
185
  /**
186
186
  * Fields to expand response by
187
187
  * @type {string}
188
188
  * @memberof PaymentsApiGetPayment
189
189
  */
190
- readonly expand2: string;
190
+ readonly expand: string;
191
191
  /**
192
192
  * Bearer Token
193
193
  * @type {string}
@@ -259,7 +259,7 @@ export interface PaymentsApiListPaymentsRequest {
259
259
  export declare class PaymentsApi extends BaseAPI {
260
260
  /**
261
261
  * Creates a payment for a specified account. This function is idempotent.
262
- * @summary Create a payment
262
+ * @summary Create the payment
263
263
  * @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
264
264
  * @param {*} [options] Override http request option.
265
265
  * @throws {RequiredError}
@@ -267,8 +267,8 @@ export declare class PaymentsApi extends BaseAPI {
267
267
  */
268
268
  createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
269
269
  /**
270
- * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
271
- * @summary Retrieve a payment
270
+ * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
271
+ * @summary Retrieve the payment
272
272
  * @param {PaymentsApiGetPaymentRequest} requestParameters Request parameters.
273
273
  * @param {*} [options] Override http request option.
274
274
  * @throws {RequiredError}
@@ -276,7 +276,7 @@ export declare class PaymentsApi extends BaseAPI {
276
276
  */
277
277
  getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
278
278
  /**
279
- * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
279
+ * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
280
280
  * @summary List payments
281
281
  * @param {PaymentsApiListPaymentsRequest} requestParameters Request parameters.
282
282
  * @param {*} [options] Override http request option.
@@ -3,7 +3,7 @@
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
9
  * Contact: kontakt@emil.de
@@ -94,7 +94,7 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
94
94
  return {
95
95
  /**
96
96
  * Creates a payment for a specified account. This function is idempotent.
97
- * @summary Create a payment
97
+ * @summary Create the payment
98
98
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
99
99
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
100
100
  * @param {string} [authorization] Bearer Token
@@ -148,16 +148,16 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
148
148
  });
149
149
  },
150
150
  /**
151
- * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
152
- * @summary Retrieve a payment
153
- * @param {string} code Unique identifier for the object.
151
+ * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
152
+ * @summary Retrieve the payment
153
+ * @param {string} code
154
+ * @param {string} code2 Unique identifier for the object.
154
155
  * @param {string} expand Fields to expand response by
155
- * @param {string} expand2 Fields to expand response by
156
156
  * @param {string} [authorization] Bearer Token
157
157
  * @param {*} [options] Override http request option.
158
158
  * @throws {RequiredError}
159
159
  */
160
- getPayment: function (code, expand, expand2, authorization, options) {
160
+ getPayment: function (code, code2, expand, authorization, options) {
161
161
  if (options === void 0) { options = {}; }
162
162
  return __awaiter(_this, void 0, void 0, function () {
163
163
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -166,11 +166,12 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
166
166
  case 0:
167
167
  // verify required parameter 'code' is not null or undefined
168
168
  (0, common_1.assertParamExists)('getPayment', 'code', code);
169
+ // verify required parameter 'code2' is not null or undefined
170
+ (0, common_1.assertParamExists)('getPayment', 'code2', code2);
169
171
  // verify required parameter 'expand' is not null or undefined
170
172
  (0, common_1.assertParamExists)('getPayment', 'expand', expand);
171
- // verify required parameter 'expand2' is not null or undefined
172
- (0, common_1.assertParamExists)('getPayment', 'expand2', expand2);
173
- localVarPath = "/paymentservice/v1/payments/{code}";
173
+ localVarPath = "/paymentservice/v1/payments/{code}"
174
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
174
175
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
175
176
  if (configuration) {
176
177
  baseOptions = configuration.baseOptions;
@@ -186,15 +187,12 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
186
187
  // authentication bearer required
187
188
  // http bearer authentication required
188
189
  _a.sent();
189
- if (code !== undefined) {
190
- localVarQueryParameter['code'] = code;
190
+ if (code2 !== undefined) {
191
+ localVarQueryParameter['code'] = code2;
191
192
  }
192
193
  if (expand !== undefined) {
193
194
  localVarQueryParameter['expand'] = expand;
194
195
  }
195
- if (expand2 !== undefined) {
196
- localVarQueryParameter['expand'] = expand2;
197
- }
198
196
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
199
197
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
200
198
  }
@@ -210,7 +208,7 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
210
208
  });
211
209
  },
212
210
  /**
213
- * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
211
+ * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
214
212
  * @summary List payments
215
213
  * @param {string} [authorization] Bearer Token
216
214
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -293,7 +291,7 @@ var PaymentsApiFp = function (configuration) {
293
291
  return {
294
292
  /**
295
293
  * Creates a payment for a specified account. This function is idempotent.
296
- * @summary Create a payment
294
+ * @summary Create the payment
297
295
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
298
296
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
299
297
  * @param {string} [authorization] Bearer Token
@@ -314,21 +312,21 @@ var PaymentsApiFp = function (configuration) {
314
312
  });
315
313
  },
316
314
  /**
317
- * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
318
- * @summary Retrieve a payment
319
- * @param {string} code Unique identifier for the object.
315
+ * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
316
+ * @summary Retrieve the payment
317
+ * @param {string} code
318
+ * @param {string} code2 Unique identifier for the object.
320
319
  * @param {string} expand Fields to expand response by
321
- * @param {string} expand2 Fields to expand response by
322
320
  * @param {string} [authorization] Bearer Token
323
321
  * @param {*} [options] Override http request option.
324
322
  * @throws {RequiredError}
325
323
  */
326
- getPayment: function (code, expand, expand2, authorization, options) {
324
+ getPayment: function (code, code2, expand, authorization, options) {
327
325
  return __awaiter(this, void 0, void 0, function () {
328
326
  var localVarAxiosArgs;
329
327
  return __generator(this, function (_a) {
330
328
  switch (_a.label) {
331
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPayment(code, expand, expand2, authorization, options)];
329
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPayment(code, code2, expand, authorization, options)];
332
330
  case 1:
333
331
  localVarAxiosArgs = _a.sent();
334
332
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -337,7 +335,7 @@ var PaymentsApiFp = function (configuration) {
337
335
  });
338
336
  },
339
337
  /**
340
- * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
338
+ * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
341
339
  * @summary List payments
342
340
  * @param {string} [authorization] Bearer Token
343
341
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -375,7 +373,7 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
375
373
  return {
376
374
  /**
377
375
  * Creates a payment for a specified account. This function is idempotent.
378
- * @summary Create a payment
376
+ * @summary Create the payment
379
377
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
380
378
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
381
379
  * @param {string} [authorization] Bearer Token
@@ -386,20 +384,20 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
386
384
  return localVarFp.createPayment(idempotencyKey, createPaymentRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
387
385
  },
388
386
  /**
389
- * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
390
- * @summary Retrieve a payment
391
- * @param {string} code Unique identifier for the object.
387
+ * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
388
+ * @summary Retrieve the payment
389
+ * @param {string} code
390
+ * @param {string} code2 Unique identifier for the object.
392
391
  * @param {string} expand Fields to expand response by
393
- * @param {string} expand2 Fields to expand response by
394
392
  * @param {string} [authorization] Bearer Token
395
393
  * @param {*} [options] Override http request option.
396
394
  * @throws {RequiredError}
397
395
  */
398
- getPayment: function (code, expand, expand2, authorization, options) {
399
- return localVarFp.getPayment(code, expand, expand2, authorization, options).then(function (request) { return request(axios, basePath); });
396
+ getPayment: function (code, code2, expand, authorization, options) {
397
+ return localVarFp.getPayment(code, code2, expand, authorization, options).then(function (request) { return request(axios, basePath); });
400
398
  },
401
399
  /**
402
- * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
400
+ * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
403
401
  * @summary List payments
404
402
  * @param {string} [authorization] Bearer Token
405
403
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -431,7 +429,7 @@ var PaymentsApi = /** @class */ (function (_super) {
431
429
  }
432
430
  /**
433
431
  * Creates a payment for a specified account. This function is idempotent.
434
- * @summary Create a payment
432
+ * @summary Create the payment
435
433
  * @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
436
434
  * @param {*} [options] Override http request option.
437
435
  * @throws {RequiredError}
@@ -442,8 +440,8 @@ var PaymentsApi = /** @class */ (function (_super) {
442
440
  return (0, exports.PaymentsApiFp)(this.configuration).createPayment(requestParameters.idempotencyKey, requestParameters.createPaymentRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
443
441
  };
444
442
  /**
445
- * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
446
- * @summary Retrieve a payment
443
+ * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
444
+ * @summary Retrieve the payment
447
445
  * @param {PaymentsApiGetPaymentRequest} requestParameters Request parameters.
448
446
  * @param {*} [options] Override http request option.
449
447
  * @throws {RequiredError}
@@ -451,10 +449,10 @@ var PaymentsApi = /** @class */ (function (_super) {
451
449
  */
452
450
  PaymentsApi.prototype.getPayment = function (requestParameters, options) {
453
451
  var _this = this;
454
- return (0, exports.PaymentsApiFp)(this.configuration).getPayment(requestParameters.code, requestParameters.expand, requestParameters.expand2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
452
+ return (0, exports.PaymentsApiFp)(this.configuration).getPayment(requestParameters.code, requestParameters.code2, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
455
453
  };
456
454
  /**
457
- * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
455
+ * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
458
456
  * @summary List payments
459
457
  * @param {PaymentsApiListPaymentsRequest} requestParameters Request parameters.
460
458
  * @param {*} [options] Override http request option.
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
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
6
  * Contact: kontakt@emil.de
@@ -3,7 +3,7 @@
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
9
  * Contact: kontakt@emil.de