@emilgroup/payment-sdk 1.0.0 → 1.4.1-beta.0

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 (178) hide show
  1. package/.openapi-generator/FILES +15 -30
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +21 -25
  4. package/api/bank-transaction-api.ts +657 -0
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +42 -46
  7. package/api/payment-reminders-api.ts +17 -19
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +30 -32
  10. package/api/refunds-api.ts +462 -0
  11. package/api/tenant-bank-account-api.ts +651 -0
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +7 -3
  14. package/base.ts +2 -1
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +17 -19
  18. package/dist/api/bank-accounts-api.js +16 -16
  19. package/dist/api/bank-transaction-api.d.ts +371 -0
  20. package/dist/api/bank-transaction-api.js +632 -0
  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 +32 -36
  24. package/dist/api/payment-methods-api.js +32 -28
  25. package/dist/api/payment-reminders-api.d.ts +21 -22
  26. package/dist/api/payment-reminders-api.js +8 -8
  27. package/dist/api/payment-setup-api.d.ts +19 -23
  28. package/dist/api/payment-setup-api.js +25 -25
  29. package/dist/api/payments-api.d.ts +26 -29
  30. package/dist/api/payments-api.js +20 -16
  31. package/dist/api/refunds-api.d.ts +260 -0
  32. package/dist/api/refunds-api.js +443 -0
  33. package/dist/api/tenant-bank-account-api.d.ts +361 -0
  34. package/dist/api/tenant-bank-account-api.js +616 -0
  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 +4 -2
  38. package/dist/api.js +4 -2
  39. package/dist/base.d.ts +1 -1
  40. package/dist/base.js +2 -1
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/bank-transaction-response-class.d.ts +122 -0
  48. package/dist/models/{bank-account-class.js → bank-transaction-response-class.js} +1 -1
  49. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  50. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  51. package/dist/models/create-payment-request-dto.d.ts +3 -3
  52. package/dist/models/create-payment-request-dto.js +1 -1
  53. package/dist/models/{sepa-direct-dto.d.ts → create-refund-request-dto.d.ts} +6 -6
  54. package/dist/models/{complete-braintree-payment-setup-request-dto.js → create-refund-request-dto.js} +1 -1
  55. package/dist/models/{validate-pspconfig-response-class.d.ts → create-refund-response-class.d.ts} +8 -7
  56. package/dist/models/{billing-profile-dto.js → create-refund-response-class.js} +1 -1
  57. package/dist/models/{billing-profile-limited-response-dto.d.ts → create-tenant-bank-account-request-dto.d.ts} +15 -27
  58. package/dist/models/{billing-profile-limited-response-dto.js → create-tenant-bank-account-request-dto.js} +1 -1
  59. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  60. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  61. package/dist/models/{get-payment-method-response-class.d.ts → get-bank-transactions-response-class.d.ts} +8 -8
  62. package/dist/models/get-bank-transactions-response-class.js +15 -0
  63. package/dist/models/{get-payment-response-class.d.ts → get-refund-response-class.d.ts} +8 -8
  64. package/dist/models/get-refund-response-class.js +15 -0
  65. package/dist/models/get-request-dto.d.ts +2 -2
  66. package/dist/models/get-request-dto.js +1 -1
  67. package/dist/models/{create-bank-account-request-dto.d.ts → get-tenant-bank-account-response-class.d.ts} +8 -13
  68. package/dist/models/get-tenant-bank-account-response-class.js +15 -0
  69. package/dist/models/index.d.ts +12 -29
  70. package/dist/models/index.js +12 -29
  71. package/dist/models/inline-response200.d.ts +7 -7
  72. package/dist/models/inline-response200.js +1 -1
  73. package/dist/models/inline-response503.d.ts +7 -7
  74. package/dist/models/inline-response503.js +1 -1
  75. package/dist/models/{list-payment-methods-response-class.d.ts → list-bank-transactions-response-class.d.ts} +9 -9
  76. package/dist/models/list-bank-transactions-response-class.js +15 -0
  77. package/dist/models/{list-payments-response-class.d.ts → list-refunds-response-class.d.ts} +9 -9
  78. package/dist/models/list-refunds-response-class.js +15 -0
  79. package/dist/models/refund-class.d.ts +104 -0
  80. package/dist/models/refund-class.js +28 -0
  81. package/dist/models/{payment-method-class.d.ts → tenant-bank-account-response-class.d.ts} +25 -19
  82. package/dist/models/tenant-bank-account-response-class.js +15 -0
  83. package/dist/models/transaction-class.d.ts +1 -1
  84. package/dist/models/transaction-class.js +1 -1
  85. package/dist/models/{symphony-profile-limited-response-dto.d.ts → update-tenant-bank-account-rest-request-dto.d.ts} +12 -18
  86. package/dist/models/update-tenant-bank-account-rest-request-dto.js +15 -0
  87. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
  88. package/dist/models/validate-pspconfig-request-dto.js +1 -8
  89. package/git_push.sh +1 -1
  90. package/index.ts +1 -1
  91. package/models/bank-transaction-response-class.ts +128 -0
  92. package/models/create-payment-reminder-request-dto.ts +1 -1
  93. package/models/create-payment-request-dto.ts +3 -3
  94. package/models/{sepa-direct-dto.ts → create-refund-request-dto.ts} +6 -6
  95. package/models/{validate-pspconfig-response-class.ts → create-refund-response-class.ts} +8 -7
  96. package/models/{billing-profile-limited-response-dto.ts → create-tenant-bank-account-request-dto.ts} +15 -27
  97. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  98. package/models/{get-payment-method-response-class.ts → get-bank-transactions-response-class.ts} +8 -8
  99. package/models/{get-payment-response-class.ts → get-refund-response-class.ts} +8 -8
  100. package/models/get-request-dto.ts +2 -2
  101. package/models/{create-bank-account-request-dto.ts → get-tenant-bank-account-response-class.ts} +8 -13
  102. package/models/index.ts +12 -29
  103. package/models/inline-response200.ts +7 -7
  104. package/models/inline-response503.ts +7 -7
  105. package/models/{list-payment-methods-response-class.ts → list-bank-transactions-response-class.ts} +9 -9
  106. package/models/{list-payments-response-class.ts → list-refunds-response-class.ts} +9 -9
  107. package/models/refund-class.ts +114 -0
  108. package/models/{payment-method-class.ts → tenant-bank-account-response-class.ts} +25 -19
  109. package/models/transaction-class.ts +1 -1
  110. package/models/{symphony-profile-limited-response-dto.ts → update-tenant-bank-account-rest-request-dto.ts} +12 -18
  111. package/models/validate-pspconfig-request-dto.ts +2 -12
  112. package/package.json +1 -2
  113. package/api/payment-service-providers-api.ts +0 -161
  114. package/dist/api/payment-service-providers-api.d.ts +0 -93
  115. package/dist/api/payment-service-providers-api.js +0 -220
  116. package/dist/models/bank-account-class.d.ts +0 -54
  117. package/dist/models/billing-profile-dto.d.ts +0 -38
  118. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  119. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  120. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  121. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  122. package/dist/models/complete-payment-setup-response-class.js +0 -15
  123. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  124. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  125. package/dist/models/create-bank-account-request-dto.js +0 -15
  126. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  127. package/dist/models/create-payment-method-response-class.js +0 -15
  128. package/dist/models/create-payment-response-class.d.ts +0 -25
  129. package/dist/models/create-payment-response-class.js +0 -15
  130. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  131. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  132. package/dist/models/get-payment-method-response-class.js +0 -15
  133. package/dist/models/get-payment-response-class.js +0 -15
  134. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  135. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  136. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  137. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  138. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  139. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  140. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  141. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  142. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  143. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  144. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  145. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  146. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  147. package/dist/models/list-bank-accounts-response-class.js +0 -15
  148. package/dist/models/list-payment-methods-response-class.js +0 -15
  149. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  150. package/dist/models/list-payment-reminders-response-class.js +0 -15
  151. package/dist/models/list-payments-response-class.js +0 -15
  152. package/dist/models/payment-class.d.ts +0 -103
  153. package/dist/models/payment-class.js +0 -15
  154. package/dist/models/payment-method-class.js +0 -15
  155. package/dist/models/payment-reminder-class.d.ts +0 -112
  156. package/dist/models/payment-reminder-class.js +0 -36
  157. package/dist/models/sepa-direct-dto.js +0 -15
  158. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  159. package/dist/models/validate-pspconfig-response-class.js +0 -15
  160. package/models/bank-account-class.ts +0 -60
  161. package/models/billing-profile-dto.ts +0 -44
  162. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  163. package/models/complete-payment-setup-request-dto.ts +0 -38
  164. package/models/complete-payment-setup-response-class.ts +0 -31
  165. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  166. package/models/create-payment-method-response-class.ts +0 -31
  167. package/models/create-payment-response-class.ts +0 -31
  168. package/models/create-psp-payment-method-request-dto.ts +0 -70
  169. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  170. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  171. package/models/initiate-payment-setup-request-dto.ts +0 -50
  172. package/models/initiate-payment-setup-response-class.ts +0 -38
  173. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  174. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  175. package/models/list-bank-accounts-response-class.ts +0 -37
  176. package/models/list-payment-reminders-response-class.ts +0 -37
  177. package/models/payment-class.ts +0 -109
  178. package/models/payment-reminder-class.ts +0 -122
package/dist/api.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -28,10 +28,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/bank-accounts-api"), exports);
31
+ __exportStar(require("./api/bank-transaction-api"), exports);
31
32
  __exportStar(require("./api/default-api"), exports);
32
33
  __exportStar(require("./api/payment-methods-api"), exports);
33
34
  __exportStar(require("./api/payment-reminders-api"), exports);
34
- __exportStar(require("./api/payment-service-providers-api"), exports);
35
35
  __exportStar(require("./api/payment-setup-api"), exports);
36
36
  __exportStar(require("./api/payments-api"), exports);
37
+ __exportStar(require("./api/refunds-api"), exports);
38
+ __exportStar(require("./api/tenant-bank-account-api"), exports);
37
39
  __exportStar(require("./api/webhooks-api"), exports);
package/dist/base.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/base.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -125,6 +125,7 @@ var BaseAPI = /** @class */ (function () {
125
125
  if (configuration) {
126
126
  this.configuration = configuration;
127
127
  this.basePath = configuration.basePath || this.basePath;
128
+ this.configuration.accessToken = this.tokenData.accessToken ? "Bearer ".concat(this.tokenData.accessToken) : '';
128
129
  }
129
130
  else {
130
131
  var _a = this.tokenData, accessToken = _a.accessToken, username = _a.username;
package/dist/common.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -68,7 +68,7 @@ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios
68
68
  * 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.
69
69
  *
70
70
  * The version of the OpenAPI document: 1.0
71
- * Contact: kontakt@emil.de
71
+ * Contact: z
72
72
  *
73
73
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
74
74
  * https://openapi-generator.tech
package/dist/common.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -0,0 +1,122 @@
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: z
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 { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
13
+ import { TransactionClass } from './transaction-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface BankTransactionResponseClass
18
+ */
19
+ export interface BankTransactionResponseClass {
20
+ /**
21
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
22
+ * @type {number}
23
+ * @memberof BankTransactionResponseClass
24
+ */
25
+ 'id': number;
26
+ /**
27
+ * Unique identifier for the object.
28
+ * @type {string}
29
+ * @memberof BankTransactionResponseClass
30
+ */
31
+ 'code': string;
32
+ /**
33
+ * Bank account ID associated with the transaction.
34
+ * @type {number}
35
+ * @memberof BankTransactionResponseClass
36
+ */
37
+ 'bankAccountId': number;
38
+ /**
39
+ * Account number of the bank account
40
+ * @type {string}
41
+ * @memberof BankTransactionResponseClass
42
+ */
43
+ 'bankAccountNumber': string;
44
+ /**
45
+ * Reference number derived from the MT940 swift Insturctions
46
+ * @type {string}
47
+ * @memberof BankTransactionResponseClass
48
+ */
49
+ 'swiftMessageReference'?: string;
50
+ /**
51
+ * Currency of the transaction.
52
+ * @type {string}
53
+ * @memberof BankTransactionResponseClass
54
+ */
55
+ 'currency': string;
56
+ /**
57
+ * Amount of the transaction - can be negative or positive
58
+ * @type {string}
59
+ * @memberof BankTransactionResponseClass
60
+ */
61
+ 'amount': string;
62
+ /**
63
+ * Date on which the transaction was executed. Also known as Value Date
64
+ * @type {string}
65
+ * @memberof BankTransactionResponseClass
66
+ */
67
+ 'transactionDate': string;
68
+ /**
69
+ * Date on which the transaction entry was made in the system. Also known as Booking Date
70
+ * @type {string}
71
+ * @memberof BankTransactionResponseClass
72
+ */
73
+ 'entryDate': string;
74
+ /**
75
+ * Optional reference number that can be given by the customer or bank to uniquely identify a transaction. If no transaction reference is provided the value is set to \'NONREF\'
76
+ * @type {string}
77
+ * @memberof BankTransactionResponseClass
78
+ */
79
+ 'transactionReference': string;
80
+ /**
81
+ * Optional metadata that can be provided by the customer or bank to give more context to the transaction
82
+ * @type {object}
83
+ * @memberof BankTransactionResponseClass
84
+ */
85
+ 'metadata'?: object;
86
+ /**
87
+ * The id of the PSP transaction that this bank transaction is linked to
88
+ * @type {number}
89
+ * @memberof BankTransactionResponseClass
90
+ */
91
+ 'linkedTransactionId': number;
92
+ /**
93
+ * The code of the invoice that this bank transaction is linked to
94
+ * @type {string}
95
+ * @memberof BankTransactionResponseClass
96
+ */
97
+ 'linkedInvoiceCode'?: string;
98
+ /**
99
+ * Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
100
+ * @type {boolean}
101
+ * @memberof BankTransactionResponseClass
102
+ */
103
+ 'isLinked': boolean;
104
+ /**
105
+ * The bank account object that this transaction is belongs to
106
+ * @type {TenantBankAccountResponseClass}
107
+ * @memberof BankTransactionResponseClass
108
+ */
109
+ 'bankAccount': TenantBankAccountResponseClass;
110
+ /**
111
+ * The linked transaction object
112
+ * @type {TransactionClass}
113
+ * @memberof BankTransactionResponseClass
114
+ */
115
+ 'linkedTransaction': TransactionClass;
116
+ /**
117
+ * Time at which the object was created.
118
+ * @type {string}
119
+ * @memberof BankTransactionResponseClass
120
+ */
121
+ 'createdAt': string;
122
+ }
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -46,11 +46,11 @@ export interface CreatePaymentRequestDto {
46
46
  */
47
47
  'metadata': object;
48
48
  /**
49
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
49
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
50
50
  * @type {string}
51
51
  * @memberof CreatePaymentRequestDto
52
52
  */
53
- 'productSlug'?: string;
53
+ 'productSlug': string;
54
54
  /**
55
55
  * Optional payment date.
56
56
  * @type {string}
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -12,13 +12,13 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface SepaDirectDto
15
+ * @interface CreateRefundRequestDto
16
16
  */
17
- export interface SepaDirectDto {
17
+ export interface CreateRefundRequestDto {
18
18
  /**
19
- *
19
+ * The code of the invoice to refund, must be of type Withdraw or Final or Correction
20
20
  * @type {string}
21
- * @memberof SepaDirectDto
21
+ * @memberof CreateRefundRequestDto
22
22
  */
23
- 'iban': string;
23
+ 'invoiceCode': string;
24
24
  }
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,22 +3,23 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { RefundClass } from './refund-class';
12
13
  /**
13
14
  *
14
15
  * @export
15
- * @interface ValidatePSPConfigResponseClass
16
+ * @interface CreateRefundResponseClass
16
17
  */
17
- export interface ValidatePSPConfigResponseClass {
18
+ export interface CreateRefundResponseClass {
18
19
  /**
19
- * Returns if configuration is valid or not.
20
- * @type {boolean}
21
- * @memberof ValidatePSPConfigResponseClass
20
+ * Refund
21
+ * @type {RefundClass}
22
+ * @memberof CreateRefundResponseClass
22
23
  */
23
- 'valid': boolean;
24
+ 'refund': RefundClass;
24
25
  }
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -12,43 +12,31 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface BillingProfileLimitedResponseDto
15
+ * @interface CreateTenantBankAccountRequestDto
16
16
  */
17
- export interface BillingProfileLimitedResponseDto {
17
+ export interface CreateTenantBankAccountRequestDto {
18
18
  /**
19
- *
19
+ * Name of the account given by the user - to quickly identify the account
20
20
  * @type {string}
21
- * @memberof BillingProfileLimitedResponseDto
21
+ * @memberof CreateTenantBankAccountRequestDto
22
22
  */
23
- 'sourceCode': string;
23
+ 'accountName': string;
24
24
  /**
25
- *
25
+ * Name of the bank the account belongs to
26
26
  * @type {string}
27
- * @memberof BillingProfileLimitedResponseDto
27
+ * @memberof CreateTenantBankAccountRequestDto
28
28
  */
29
- 'status': string;
29
+ 'bankName': string;
30
30
  /**
31
- *
31
+ * IBAN number for the bank account
32
32
  * @type {string}
33
- * @memberof BillingProfileLimitedResponseDto
33
+ * @memberof CreateTenantBankAccountRequestDto
34
34
  */
35
- 'brand': string;
35
+ 'iban': string;
36
36
  /**
37
- *
37
+ * The name of the account
38
38
  * @type {string}
39
- * @memberof BillingProfileLimitedResponseDto
39
+ * @memberof CreateTenantBankAccountRequestDto
40
40
  */
41
- 'invoiceLanguage'?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof BillingProfileLimitedResponseDto
46
- */
47
- 'customerSegment': string;
48
- /**
49
- *
50
- * @type {number}
51
- * @memberof BillingProfileLimitedResponseDto
52
- */
53
- 'activeSubsCnt': number;
41
+ 'bookingAccount': string;
54
42
  }
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,23 +3,23 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { PaymentMethodClass } from './payment-method-class';
12
+ import { BankTransactionResponseClass } from './bank-transaction-response-class';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface GetPaymentMethodResponseClass
16
+ * @interface GetBankTransactionsResponseClass
17
17
  */
18
- export interface GetPaymentMethodResponseClass {
18
+ export interface GetBankTransactionsResponseClass {
19
19
  /**
20
- * Payment method
21
- * @type {PaymentMethodClass}
22
- * @memberof GetPaymentMethodResponseClass
20
+ * Bank transaction
21
+ * @type {BankTransactionResponseClass}
22
+ * @memberof GetBankTransactionsResponseClass
23
23
  */
24
- 'paymentMethod': PaymentMethodClass;
24
+ 'bankTransaction': BankTransactionResponseClass;
25
25
  }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: z
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,23 +3,23 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { PaymentClass } from './payment-class';
12
+ import { RefundClass } from './refund-class';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface GetPaymentResponseClass
16
+ * @interface GetRefundResponseClass
17
17
  */
18
- export interface GetPaymentResponseClass {
18
+ export interface GetRefundResponseClass {
19
19
  /**
20
- * Payment
21
- * @type {PaymentClass}
22
- * @memberof GetPaymentResponseClass
20
+ * Refund
21
+ * @type {RefundClass}
22
+ * @memberof GetRefundResponseClass
23
23
  */
24
- 'payment': PaymentClass;
24
+ 'refund': RefundClass;
25
25
  }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: z
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -26,5 +26,5 @@ export interface GetRequestDto {
26
26
  * @type {string}
27
27
  * @memberof GetRequestDto
28
28
  */
29
- 'expand'?: string;
29
+ 'expand': string;
30
30
  }
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech