@emilgroup/payment-sdk 1.22.1-beta.83 → 1.22.1-beta.85

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 (165) hide show
  1. package/.openapi-generator/FILES +13 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +48 -18
  4. package/api/bank-order-texts-api.ts +265 -0
  5. package/api/bank-orders-api.ts +40 -15
  6. package/api/bank-transaction-api.ts +181 -26
  7. package/api/billing-addresses-api.ts +40 -15
  8. package/api/credit-allocation-api.ts +24 -9
  9. package/api/exceeding-credits-api.ts +240 -6
  10. package/api/health-check-api.ts +1 -1
  11. package/api/ibanvalidator-api.ts +8 -3
  12. package/api/payment-methods-api.ts +24 -9
  13. package/api/payment-receipts-api.ts +40 -15
  14. package/api/payment-reminders-api.ts +32 -12
  15. package/api/payment-requests-api.ts +52 -27
  16. package/api/payment-setup-api.ts +16 -6
  17. package/api/payments-api.ts +46 -16
  18. package/api/payout-methods-api.ts +48 -18
  19. package/api/policy-payment-methods-api.ts +24 -9
  20. package/api/refunds-api.ts +24 -9
  21. package/api/tenant-bank-account-api.ts +40 -15
  22. package/api/webhooks-api.ts +2 -2
  23. package/api.ts +2 -0
  24. package/base.ts +239 -43
  25. package/common.ts +3 -2
  26. package/configuration.ts +20 -0
  27. package/dist/api/bank-accounts-api.d.ts +6 -6
  28. package/dist/api/bank-accounts-api.js +82 -46
  29. package/dist/api/bank-order-texts-api.d.ts +144 -0
  30. package/dist/api/bank-order-texts-api.js +325 -0
  31. package/dist/api/bank-orders-api.d.ts +5 -5
  32. package/dist/api/bank-orders-api.js +67 -38
  33. package/dist/api/bank-transaction-api.d.ts +80 -14
  34. package/dist/api/bank-transaction-api.js +194 -52
  35. package/dist/api/billing-addresses-api.d.ts +5 -5
  36. package/dist/api/billing-addresses-api.js +71 -39
  37. package/dist/api/credit-allocation-api.d.ts +3 -3
  38. package/dist/api/credit-allocation-api.js +41 -23
  39. package/dist/api/exceeding-credits-api.d.ts +116 -2
  40. package/dist/api/exceeding-credits-api.js +226 -15
  41. package/dist/api/health-check-api.d.ts +1 -1
  42. package/dist/api/health-check-api.js +1 -1
  43. package/dist/api/ibanvalidator-api.d.ts +1 -1
  44. package/dist/api/ibanvalidator-api.js +15 -8
  45. package/dist/api/payment-methods-api.d.ts +3 -3
  46. package/dist/api/payment-methods-api.js +41 -23
  47. package/dist/api/payment-receipts-api.d.ts +5 -5
  48. package/dist/api/payment-receipts-api.js +67 -38
  49. package/dist/api/payment-reminders-api.d.ts +4 -4
  50. package/dist/api/payment-reminders-api.js +56 -31
  51. package/dist/api/payment-requests-api.d.ts +17 -17
  52. package/dist/api/payment-requests-api.js +76 -47
  53. package/dist/api/payment-setup-api.d.ts +2 -2
  54. package/dist/api/payment-setup-api.js +30 -16
  55. package/dist/api/payments-api.d.ts +4 -4
  56. package/dist/api/payments-api.js +62 -34
  57. package/dist/api/payout-methods-api.d.ts +6 -6
  58. package/dist/api/payout-methods-api.js +82 -46
  59. package/dist/api/policy-payment-methods-api.d.ts +3 -3
  60. package/dist/api/policy-payment-methods-api.js +41 -23
  61. package/dist/api/refunds-api.d.ts +3 -3
  62. package/dist/api/refunds-api.js +37 -22
  63. package/dist/api/tenant-bank-account-api.d.ts +5 -5
  64. package/dist/api/tenant-bank-account-api.js +67 -38
  65. package/dist/api/webhooks-api.d.ts +2 -2
  66. package/dist/api/webhooks-api.js +2 -2
  67. package/dist/api.d.ts +1 -0
  68. package/dist/api.js +1 -0
  69. package/dist/base.d.ts +26 -0
  70. package/dist/base.js +243 -60
  71. package/dist/common.d.ts +1 -1
  72. package/dist/common.js +1 -0
  73. package/dist/configuration.d.ts +17 -0
  74. package/dist/configuration.js +2 -0
  75. package/dist/models/bank-order-texts-class.d.ts +42 -0
  76. package/dist/models/bank-order-texts-class.js +15 -0
  77. package/dist/models/bank-transaction-class.d.ts +7 -0
  78. package/dist/models/bank-transaction-entity.d.ts +7 -0
  79. package/dist/models/bank-transaction-invoice-entity.d.ts +24 -0
  80. package/dist/models/create-exceeding-credit-request-dto.d.ts +48 -0
  81. package/dist/models/create-exceeding-credit-request-dto.js +15 -0
  82. package/dist/models/create-exceeding-credit-response-class.d.ts +25 -0
  83. package/dist/models/create-exceeding-credit-response-class.js +15 -0
  84. package/dist/models/create-payment-order-dto.d.ts +1 -1
  85. package/dist/models/create-payment-receipt-request-dto.d.ts +3 -3
  86. package/dist/models/create-payment-request-dto.d.ts +1 -1
  87. package/dist/models/create-payment-request-request-dto.d.ts +6 -0
  88. package/dist/models/create-return-premium-credits-request-dto.d.ts +24 -0
  89. package/dist/models/create-return-premium-credits-request-dto.js +15 -0
  90. package/dist/models/create-return-premium-credits-response-class.d.ts +25 -0
  91. package/dist/models/create-return-premium-credits-response-class.js +15 -0
  92. package/dist/models/credit-allocation-class.d.ts +6 -0
  93. package/dist/models/credit-allocation-entity.d.ts +6 -0
  94. package/dist/models/exceeding-credit-class.d.ts +25 -2
  95. package/dist/models/exceeding-credit-class.js +5 -1
  96. package/dist/models/exceeding-credit-entity.d.ts +31 -2
  97. package/dist/models/exceeding-credit-entity.js +5 -1
  98. package/dist/models/get-bank-order-texts-response-class.d.ts +25 -0
  99. package/dist/models/get-bank-order-texts-response-class.js +15 -0
  100. package/dist/models/index.d.ts +12 -0
  101. package/dist/models/index.js +12 -0
  102. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +30 -0
  103. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +15 -0
  104. package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +25 -0
  105. package/dist/models/link-bank-transaction-payment-requests-response-class.js +15 -0
  106. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  107. package/dist/models/list-exceeding-credits-response-class.d.ts +6 -18
  108. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  109. package/dist/models/list-payment-requests-response-class.d.ts +6 -18
  110. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  111. package/dist/models/list-refunds-response-class.d.ts +6 -18
  112. package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
  113. package/dist/models/payment-class.d.ts +2 -2
  114. package/dist/models/payment-entity.d.ts +1 -1
  115. package/dist/models/payment-receipt-class.d.ts +13 -1
  116. package/dist/models/payment-receipt-entity.d.ts +139 -0
  117. package/dist/models/payment-receipt-entity.js +20 -0
  118. package/dist/models/payment-request-class.d.ts +13 -6
  119. package/dist/models/payment-request-class.js +1 -0
  120. package/dist/models/payment-request-entity.d.ts +223 -0
  121. package/dist/models/payment-request-entity.js +39 -0
  122. package/dist/models/shared-transaction-class.d.ts +6 -0
  123. package/dist/models/transaction-entity.d.ts +6 -0
  124. package/dist/models/update-bank-order-texts-request-dto.d.ts +32 -0
  125. package/dist/models/update-bank-order-texts-request-dto.js +15 -0
  126. package/dist/models/update-bank-order-texts-response-class.d.ts +25 -0
  127. package/dist/models/update-bank-order-texts-response-class.js +15 -0
  128. package/models/bank-order-texts-class.ts +48 -0
  129. package/models/bank-transaction-class.ts +7 -0
  130. package/models/bank-transaction-entity.ts +7 -0
  131. package/models/bank-transaction-invoice-entity.ts +24 -0
  132. package/models/create-exceeding-credit-request-dto.ts +54 -0
  133. package/models/create-exceeding-credit-response-class.ts +31 -0
  134. package/models/create-payment-order-dto.ts +1 -1
  135. package/models/create-payment-receipt-request-dto.ts +3 -3
  136. package/models/create-payment-request-dto.ts +1 -1
  137. package/models/create-payment-request-request-dto.ts +6 -0
  138. package/models/create-return-premium-credits-request-dto.ts +30 -0
  139. package/models/create-return-premium-credits-response-class.ts +31 -0
  140. package/models/credit-allocation-class.ts +6 -0
  141. package/models/credit-allocation-entity.ts +6 -0
  142. package/models/exceeding-credit-class.ts +26 -2
  143. package/models/exceeding-credit-entity.ts +32 -2
  144. package/models/get-bank-order-texts-response-class.ts +31 -0
  145. package/models/index.ts +12 -0
  146. package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +36 -0
  147. package/models/link-bank-transaction-payment-requests-response-class.ts +31 -0
  148. package/models/list-billing-addresses-response-class.ts +9 -9
  149. package/models/list-exceeding-credits-response-class.ts +6 -18
  150. package/models/list-payment-receipts-response-class.ts +9 -9
  151. package/models/list-payment-requests-response-class.ts +6 -18
  152. package/models/list-payout-methods-response-class.ts +9 -9
  153. package/models/list-refunds-response-class.ts +6 -18
  154. package/models/payment-class-without-expand-properties.ts +2 -2
  155. package/models/payment-class.ts +2 -2
  156. package/models/payment-entity.ts +1 -1
  157. package/models/payment-receipt-class.ts +13 -1
  158. package/models/payment-receipt-entity.ts +148 -0
  159. package/models/payment-request-class.ts +13 -6
  160. package/models/payment-request-entity.ts +233 -0
  161. package/models/shared-transaction-class.ts +6 -0
  162. package/models/transaction-entity.ts +6 -0
  163. package/models/update-bank-order-texts-request-dto.ts +36 -0
  164. package/models/update-bank-order-texts-response-class.ts +31 -0
  165. package/package.json +2 -2
@@ -0,0 +1,223 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { CreditAllocationEntity } from './credit-allocation-entity';
13
+ import { PaymentReceiptEntity } from './payment-receipt-entity';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaymentRequestEntity
18
+ */
19
+ export interface PaymentRequestEntity {
20
+ /**
21
+ *
22
+ * @type {number}
23
+ * @memberof PaymentRequestEntity
24
+ */
25
+ 'id': number;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof PaymentRequestEntity
30
+ */
31
+ 'code': string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof PaymentRequestEntity
36
+ */
37
+ 'paymentRequestNumber': string;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof PaymentRequestEntity
42
+ */
43
+ 'amount': number;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof PaymentRequestEntity
48
+ */
49
+ 'currency': string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof PaymentRequestEntity
54
+ */
55
+ 'direction': PaymentRequestEntityDirectionEnum;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof PaymentRequestEntity
60
+ */
61
+ 'financialEntityCode': string;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof PaymentRequestEntity
66
+ */
67
+ 'financialEntityNumber': string;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof PaymentRequestEntity
72
+ */
73
+ 'financialEntityType': PaymentRequestEntityFinancialEntityTypeEnum;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof PaymentRequestEntity
78
+ */
79
+ 'domainEntityCode': string;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof PaymentRequestEntity
84
+ */
85
+ 'domainEntityNumber': string;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof PaymentRequestEntity
90
+ */
91
+ 'domainEntityType': PaymentRequestEntityDomainEntityTypeEnum;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof PaymentRequestEntity
96
+ */
97
+ 'status': PaymentRequestEntityStatusEnum;
98
+ /**
99
+ *
100
+ * @type {string}
101
+ * @memberof PaymentRequestEntity
102
+ */
103
+ 'partnerCode': string;
104
+ /**
105
+ *
106
+ * @type {string}
107
+ * @memberof PaymentRequestEntity
108
+ */
109
+ 'paymentMethodCode'?: string;
110
+ /**
111
+ *
112
+ * @type {string}
113
+ * @memberof PaymentRequestEntity
114
+ */
115
+ 'paymentMethodType'?: string;
116
+ /**
117
+ *
118
+ * @type {string}
119
+ * @memberof PaymentRequestEntity
120
+ */
121
+ 'paymentMethodPsp'?: string;
122
+ /**
123
+ *
124
+ * @type {string}
125
+ * @memberof PaymentRequestEntity
126
+ */
127
+ 'settlementCode'?: string;
128
+ /**
129
+ *
130
+ * @type {string}
131
+ * @memberof PaymentRequestEntity
132
+ */
133
+ 'bankOrderCode'?: string;
134
+ /**
135
+ *
136
+ * @type {string}
137
+ * @memberof PaymentRequestEntity
138
+ */
139
+ 'bankOrderNumber'?: string;
140
+ /**
141
+ *
142
+ * @type {boolean}
143
+ * @memberof PaymentRequestEntity
144
+ */
145
+ 'recipientHasBankDetails'?: boolean;
146
+ /**
147
+ *
148
+ * @type {Array<PaymentReceiptEntity>}
149
+ * @memberof PaymentRequestEntity
150
+ */
151
+ 'paymentReceipts': Array<PaymentReceiptEntity>;
152
+ /**
153
+ *
154
+ * @type {CreditAllocationEntity}
155
+ * @memberof PaymentRequestEntity
156
+ */
157
+ 'creditAllocation'?: CreditAllocationEntity;
158
+ /**
159
+ *
160
+ * @type {{ [key: string]: object; }}
161
+ * @memberof PaymentRequestEntity
162
+ */
163
+ 'metadata'?: {
164
+ [key: string]: object;
165
+ };
166
+ /**
167
+ *
168
+ * @type {string}
169
+ * @memberof PaymentRequestEntity
170
+ */
171
+ 'createdAt': string;
172
+ /**
173
+ *
174
+ * @type {string}
175
+ * @memberof PaymentRequestEntity
176
+ */
177
+ 'updatedAt': string;
178
+ /**
179
+ *
180
+ * @type {string}
181
+ * @memberof PaymentRequestEntity
182
+ */
183
+ 'deletedAt'?: string;
184
+ /**
185
+ *
186
+ * @type {string}
187
+ * @memberof PaymentRequestEntity
188
+ */
189
+ 'owner': string;
190
+ /**
191
+ *
192
+ * @type {string}
193
+ * @memberof PaymentRequestEntity
194
+ */
195
+ 'tenantHierarchy': string;
196
+ }
197
+ export declare const PaymentRequestEntityDirectionEnum: {
198
+ readonly Collect: "collect";
199
+ readonly Disburse: "disburse";
200
+ };
201
+ export type PaymentRequestEntityDirectionEnum = typeof PaymentRequestEntityDirectionEnum[keyof typeof PaymentRequestEntityDirectionEnum];
202
+ export declare const PaymentRequestEntityFinancialEntityTypeEnum: {
203
+ readonly ClaimRegulation: "claim_regulation";
204
+ readonly RefundAllocation: "refund_allocation";
205
+ readonly CommissionSettlement: "commission_settlement";
206
+ readonly Other: "other";
207
+ };
208
+ export type PaymentRequestEntityFinancialEntityTypeEnum = typeof PaymentRequestEntityFinancialEntityTypeEnum[keyof typeof PaymentRequestEntityFinancialEntityTypeEnum];
209
+ export declare const PaymentRequestEntityDomainEntityTypeEnum: {
210
+ readonly Other: "other";
211
+ readonly Claim: "claim";
212
+ readonly Policy: "policy";
213
+ };
214
+ export type PaymentRequestEntityDomainEntityTypeEnum = typeof PaymentRequestEntityDomainEntityTypeEnum[keyof typeof PaymentRequestEntityDomainEntityTypeEnum];
215
+ export declare const PaymentRequestEntityStatusEnum: {
216
+ readonly Open: "open";
217
+ readonly Approved: "approved";
218
+ readonly Pending: "pending";
219
+ readonly Paid: "paid";
220
+ readonly Failed: "failed";
221
+ readonly Withdrawn: "withdrawn";
222
+ };
223
+ export type PaymentRequestEntityStatusEnum = typeof PaymentRequestEntityStatusEnum[keyof typeof PaymentRequestEntityStatusEnum];
@@ -0,0 +1,39 @@
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: kontakt@emil.de
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 });
16
+ exports.PaymentRequestEntityStatusEnum = exports.PaymentRequestEntityDomainEntityTypeEnum = exports.PaymentRequestEntityFinancialEntityTypeEnum = exports.PaymentRequestEntityDirectionEnum = void 0;
17
+ exports.PaymentRequestEntityDirectionEnum = {
18
+ Collect: 'collect',
19
+ Disburse: 'disburse'
20
+ };
21
+ exports.PaymentRequestEntityFinancialEntityTypeEnum = {
22
+ ClaimRegulation: 'claim_regulation',
23
+ RefundAllocation: 'refund_allocation',
24
+ CommissionSettlement: 'commission_settlement',
25
+ Other: 'other'
26
+ };
27
+ exports.PaymentRequestEntityDomainEntityTypeEnum = {
28
+ Other: 'other',
29
+ Claim: 'claim',
30
+ Policy: 'policy'
31
+ };
32
+ exports.PaymentRequestEntityStatusEnum = {
33
+ Open: 'open',
34
+ Approved: 'approved',
35
+ Pending: 'pending',
36
+ Paid: 'paid',
37
+ Failed: 'failed',
38
+ Withdrawn: 'withdrawn'
39
+ };
@@ -69,4 +69,10 @@ export interface SharedTransactionClass {
69
69
  * @memberof SharedTransactionClass
70
70
  */
71
71
  'updatedBy': string;
72
+ /**
73
+ * Code of the bank transaction this transaction was matched from. Absent for payments that did not come from a bank transaction.
74
+ * @type {string}
75
+ * @memberof SharedTransactionClass
76
+ */
77
+ 'bankTransactionCode'?: string;
72
78
  }
@@ -71,6 +71,12 @@ export interface TransactionEntity {
71
71
  * @memberof TransactionEntity
72
72
  */
73
73
  'bankTransactionId'?: number;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof TransactionEntity
78
+ */
79
+ 'bankTransactionCode'?: string;
74
80
  /**
75
81
  *
76
82
  * @type {string}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateBankOrderTextsRequestDto
16
+ */
17
+ export interface UpdateBankOrderTextsRequestDto {
18
+ /**
19
+ * Templates per bank order type (`directDebit`): a default template and product templates keyed by product slug. Placeholders: `{{bankOrder.orderNumber}}`, `{{invoice.invoiceNumber}}`, `{{policy.policyNumber}}`, `{{policy.productName}}`, `{{policy.tariffVariant}}`.
20
+ * @type {{ [key: string]: object; }}
21
+ * @memberof UpdateBankOrderTextsRequestDto
22
+ */
23
+ 'templates'?: {
24
+ [key: string]: object;
25
+ };
26
+ /**
27
+ * Version the texts were loaded with. Leave it out on the first save. A save against an older version is refused.
28
+ * @type {number}
29
+ * @memberof UpdateBankOrderTextsRequestDto
30
+ */
31
+ 'version'?: number;
32
+ }
@@ -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: kontakt@emil.de
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 });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BankOrderTextsClass } from './bank-order-texts-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateBankOrderTextsResponseClass
17
+ */
18
+ export interface UpdateBankOrderTextsResponseClass {
19
+ /**
20
+ * Bank order texts of the tenant
21
+ * @type {BankOrderTextsClass}
22
+ * @memberof UpdateBankOrderTextsResponseClass
23
+ */
24
+ 'bankOrderTexts': BankOrderTextsClass;
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: kontakt@emil.de
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 });
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface BankOrderTextsClass
21
+ */
22
+ export interface BankOrderTextsClass {
23
+ /**
24
+ * Templates per bank order type (`directDebit`): a default template and product templates keyed by product slug.
25
+ * @type {object}
26
+ * @memberof BankOrderTextsClass
27
+ */
28
+ 'templates': object;
29
+ /**
30
+ * Version of the stored texts. Send it back when saving.
31
+ * @type {number}
32
+ * @memberof BankOrderTextsClass
33
+ */
34
+ 'version': number;
35
+ /**
36
+ * When the texts were last saved.
37
+ * @type {string}
38
+ * @memberof BankOrderTextsClass
39
+ */
40
+ 'updatedAt'?: string;
41
+ /**
42
+ * Who saved the texts last.
43
+ * @type {string}
44
+ * @memberof BankOrderTextsClass
45
+ */
46
+ 'updatedBy'?: string;
47
+ }
48
+
@@ -16,6 +16,7 @@
16
16
  import { BankOrderClass } from './bank-order-class';
17
17
  import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
18
18
  import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
19
+ import { PaymentReceiptClass } from './payment-receipt-class';
19
20
  import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
20
21
  import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
21
22
 
@@ -157,6 +158,12 @@ export interface BankTransactionClass {
157
158
  * @memberof BankTransactionClass
158
159
  */
159
160
  'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
161
+ /**
162
+ * Payment receipts created by linking this outgoing transaction to payment requests
163
+ * @type {Array<PaymentReceiptClass>}
164
+ * @memberof BankTransactionClass
165
+ */
166
+ 'paymentReceipts'?: Array<PaymentReceiptClass>;
160
167
  }
161
168
 
162
169
  export const BankTransactionClassLabelEnum = {
@@ -17,6 +17,7 @@ import { BankOrderEntity } from './bank-order-entity';
17
17
  import { BankTransactionInvoiceEntity } from './bank-transaction-invoice-entity';
18
18
  import { ExceedingCreditEntity } from './exceeding-credit-entity';
19
19
  import { InvoiceMatchSuggestionEntity } from './invoice-match-suggestion-entity';
20
+ import { PaymentReceiptEntity } from './payment-receipt-entity';
20
21
  import { SuggestionGenerationProgressEntity } from './suggestion-generation-progress-entity';
21
22
  import { TenantBankAccountEntity } from './tenant-bank-account-entity';
22
23
 
@@ -140,6 +141,12 @@ export interface BankTransactionEntity {
140
141
  * @memberof BankTransactionEntity
141
142
  */
142
143
  'exceedingCredits': Array<ExceedingCreditEntity>;
144
+ /**
145
+ *
146
+ * @type {Array<PaymentReceiptEntity>}
147
+ * @memberof BankTransactionEntity
148
+ */
149
+ 'paymentReceipts': Array<PaymentReceiptEntity>;
143
150
  /**
144
151
  *
145
152
  * @type {string}
@@ -82,6 +82,30 @@ export interface BankTransactionInvoiceEntity {
82
82
  * @memberof BankTransactionInvoiceEntity
83
83
  */
84
84
  'bankTransaction': BankTransactionEntity;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof BankTransactionInvoiceEntity
89
+ */
90
+ 'unlinkCode'?: string | null;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof BankTransactionInvoiceEntity
95
+ */
96
+ 'unlinkedPaymentCode'?: string | null;
97
+ /**
98
+ *
99
+ * @type {Array<string>}
100
+ * @memberof BankTransactionInvoiceEntity
101
+ */
102
+ 'unlinkedCreditCodes'?: Array<string> | null;
103
+ /**
104
+ *
105
+ * @type {string}
106
+ * @memberof BankTransactionInvoiceEntity
107
+ */
108
+ 'unlinkEventPublishedAt'?: string | null;
85
109
  /**
86
110
  *
87
111
  * @type {string}
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateExceedingCreditRequestDto
21
+ */
22
+ export interface CreateExceedingCreditRequestDto {
23
+ /**
24
+ * The amount of the credit
25
+ * @type {number}
26
+ * @memberof CreateExceedingCreditRequestDto
27
+ */
28
+ 'amount': number;
29
+ /**
30
+ * The description of the credit
31
+ * @type {string}
32
+ * @memberof CreateExceedingCreditRequestDto
33
+ */
34
+ 'description'?: string;
35
+ /**
36
+ * The policy code of the credit
37
+ * @type {string}
38
+ * @memberof CreateExceedingCreditRequestDto
39
+ */
40
+ 'policyCode': string;
41
+ /**
42
+ * The transaction code of the credit
43
+ * @type {string}
44
+ * @memberof CreateExceedingCreditRequestDto
45
+ */
46
+ 'bankTransactionCode': string;
47
+ /**
48
+ * The invoice code of the credit
49
+ * @type {string}
50
+ * @memberof CreateExceedingCreditRequestDto
51
+ */
52
+ 'invoiceCode': string;
53
+ }
54
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ExceedingCreditClass } from './exceeding-credit-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateExceedingCreditResponseClass
22
+ */
23
+ export interface CreateExceedingCreditResponseClass {
24
+ /**
25
+ * Exceeding credit
26
+ * @type {ExceedingCreditClass}
27
+ * @memberof CreateExceedingCreditResponseClass
28
+ */
29
+ 'exceedingCredit': ExceedingCreditClass;
30
+ }
31
+
@@ -33,7 +33,7 @@ export interface CreatePaymentOrderDto {
33
33
  */
34
34
  'comment'?: string;
35
35
  /**
36
- * Optional payment date.
36
+ * The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
37
37
  * @type {string}
38
38
  * @memberof CreatePaymentOrderDto
39
39
  */
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface CreatePaymentReceiptRequestDto {
23
23
  /**
24
- * amount
24
+ * Amount in cents, always positive. In the payment request\'s direction it pays the request, at most what it still has open; in the opposite direction it records money that came back, at most what its receipts have paid.
25
25
  * @type {number}
26
26
  * @memberof CreatePaymentReceiptRequestDto
27
27
  */
@@ -33,13 +33,13 @@ export interface CreatePaymentReceiptRequestDto {
33
33
  */
34
34
  'currency': string;
35
35
  /**
36
- * The flow of the payment: disburse or collect
36
+ * The flow of the payment: disburse or collect. The payment request\'s own direction pays it; the opposite direction records money that came back, for example a returned payout is collect on a disburse request.
37
37
  * @type {string}
38
38
  * @memberof CreatePaymentReceiptRequestDto
39
39
  */
40
40
  'direction': CreatePaymentReceiptRequestDtoDirectionEnum;
41
41
  /**
42
- * Date the payment was confirmed
42
+ * The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
43
43
  * @type {string}
44
44
  * @memberof CreatePaymentReceiptRequestDto
45
45
  */
@@ -63,7 +63,7 @@ export interface CreatePaymentRequestDto {
63
63
  */
64
64
  'productSlug'?: string;
65
65
  /**
66
- * Optional payment date.
66
+ * The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
67
67
  * @type {string}
68
68
  * @memberof CreatePaymentRequestDto
69
69
  */
@@ -74,6 +74,12 @@ export interface CreatePaymentRequestRequestDto {
74
74
  * @memberof CreatePaymentRequestRequestDto
75
75
  */
76
76
  'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
77
+ /**
78
+ * Code of the settlement the payment request was created for.
79
+ * @type {string}
80
+ * @memberof CreatePaymentRequestRequestDto
81
+ */
82
+ 'settlementCode'?: string;
77
83
  /**
78
84
  * Code of the partner the payment request was created for.
79
85
  * @type {string}
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateReturnPremiumCreditsRequestDto
21
+ */
22
+ export interface CreateReturnPremiumCreditsRequestDto {
23
+ /**
24
+ * The code of the reversing document (withdrawal, correction or final invoice) to create the return-premium credits for
25
+ * @type {string}
26
+ * @memberof CreateReturnPremiumCreditsRequestDto
27
+ */
28
+ 'reversingInvoiceCode': string;
29
+ }
30
+