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

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 (147) hide show
  1. package/.openapi-generator/FILES +0 -8
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +18 -48
  4. package/api/bank-orders-api.ts +15 -40
  5. package/api/bank-transaction-api.ts +26 -181
  6. package/api/billing-addresses-api.ts +15 -40
  7. package/api/credit-allocation-api.ts +9 -24
  8. package/api/exceeding-credits-api.ts +6 -240
  9. package/api/health-check-api.ts +1 -1
  10. package/api/ibanvalidator-api.ts +3 -8
  11. package/api/payment-methods-api.ts +9 -24
  12. package/api/payment-receipts-api.ts +15 -40
  13. package/api/payment-reminders-api.ts +12 -32
  14. package/api/payment-requests-api.ts +27 -52
  15. package/api/payment-setup-api.ts +6 -16
  16. package/api/payments-api.ts +16 -46
  17. package/api/payout-methods-api.ts +18 -48
  18. package/api/policy-payment-methods-api.ts +9 -24
  19. package/api/refunds-api.ts +9 -24
  20. package/api/tenant-bank-account-api.ts +15 -40
  21. package/api/webhooks-api.ts +2 -2
  22. package/base.ts +43 -239
  23. package/common.ts +2 -3
  24. package/configuration.ts +0 -20
  25. package/dist/api/bank-accounts-api.d.ts +6 -6
  26. package/dist/api/bank-accounts-api.js +46 -82
  27. package/dist/api/bank-orders-api.d.ts +5 -5
  28. package/dist/api/bank-orders-api.js +38 -67
  29. package/dist/api/bank-transaction-api.d.ts +14 -80
  30. package/dist/api/bank-transaction-api.js +52 -194
  31. package/dist/api/billing-addresses-api.d.ts +5 -5
  32. package/dist/api/billing-addresses-api.js +39 -71
  33. package/dist/api/credit-allocation-api.d.ts +3 -3
  34. package/dist/api/credit-allocation-api.js +23 -41
  35. package/dist/api/exceeding-credits-api.d.ts +2 -116
  36. package/dist/api/exceeding-credits-api.js +15 -226
  37. package/dist/api/health-check-api.d.ts +1 -1
  38. package/dist/api/health-check-api.js +1 -1
  39. package/dist/api/ibanvalidator-api.d.ts +1 -1
  40. package/dist/api/ibanvalidator-api.js +8 -15
  41. package/dist/api/payment-methods-api.d.ts +3 -3
  42. package/dist/api/payment-methods-api.js +23 -41
  43. package/dist/api/payment-receipts-api.d.ts +5 -5
  44. package/dist/api/payment-receipts-api.js +38 -67
  45. package/dist/api/payment-reminders-api.d.ts +4 -4
  46. package/dist/api/payment-reminders-api.js +31 -56
  47. package/dist/api/payment-requests-api.d.ts +17 -17
  48. package/dist/api/payment-requests-api.js +47 -76
  49. package/dist/api/payment-setup-api.d.ts +2 -2
  50. package/dist/api/payment-setup-api.js +16 -30
  51. package/dist/api/payments-api.d.ts +4 -4
  52. package/dist/api/payments-api.js +34 -62
  53. package/dist/api/payout-methods-api.d.ts +6 -6
  54. package/dist/api/payout-methods-api.js +46 -82
  55. package/dist/api/policy-payment-methods-api.d.ts +3 -3
  56. package/dist/api/policy-payment-methods-api.js +23 -41
  57. package/dist/api/refunds-api.d.ts +3 -3
  58. package/dist/api/refunds-api.js +22 -37
  59. package/dist/api/tenant-bank-account-api.d.ts +5 -5
  60. package/dist/api/tenant-bank-account-api.js +38 -67
  61. package/dist/api/webhooks-api.d.ts +2 -2
  62. package/dist/api/webhooks-api.js +2 -2
  63. package/dist/base.d.ts +0 -26
  64. package/dist/base.js +60 -243
  65. package/dist/common.d.ts +1 -1
  66. package/dist/common.js +0 -1
  67. package/dist/configuration.d.ts +0 -17
  68. package/dist/configuration.js +0 -2
  69. package/dist/models/bank-transaction-class.d.ts +0 -7
  70. package/dist/models/bank-transaction-entity.d.ts +0 -7
  71. package/dist/models/bank-transaction-invoice-entity.d.ts +0 -24
  72. package/dist/models/create-payment-order-dto.d.ts +1 -1
  73. package/dist/models/create-payment-receipt-request-dto.d.ts +3 -3
  74. package/dist/models/create-payment-request-dto.d.ts +1 -1
  75. package/dist/models/create-payment-request-request-dto.d.ts +0 -6
  76. package/dist/models/credit-allocation-class.d.ts +0 -6
  77. package/dist/models/credit-allocation-entity.d.ts +0 -6
  78. package/dist/models/exceeding-credit-class.d.ts +2 -25
  79. package/dist/models/exceeding-credit-class.js +1 -5
  80. package/dist/models/exceeding-credit-entity.d.ts +2 -31
  81. package/dist/models/exceeding-credit-entity.js +1 -5
  82. package/dist/models/index.d.ts +0 -8
  83. package/dist/models/index.js +0 -8
  84. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  85. package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
  86. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  87. package/dist/models/list-payment-requests-response-class.d.ts +18 -6
  88. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  89. package/dist/models/list-refunds-response-class.d.ts +18 -6
  90. package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
  91. package/dist/models/payment-class.d.ts +2 -2
  92. package/dist/models/payment-entity.d.ts +1 -1
  93. package/dist/models/payment-receipt-class.d.ts +1 -13
  94. package/dist/models/payment-request-class.d.ts +6 -13
  95. package/dist/models/payment-request-class.js +0 -1
  96. package/dist/models/shared-transaction-class.d.ts +0 -6
  97. package/dist/models/transaction-entity.d.ts +0 -6
  98. package/models/bank-transaction-class.ts +0 -7
  99. package/models/bank-transaction-entity.ts +0 -7
  100. package/models/bank-transaction-invoice-entity.ts +0 -24
  101. package/models/create-payment-order-dto.ts +1 -1
  102. package/models/create-payment-receipt-request-dto.ts +3 -3
  103. package/models/create-payment-request-dto.ts +1 -1
  104. package/models/create-payment-request-request-dto.ts +0 -6
  105. package/models/credit-allocation-class.ts +0 -6
  106. package/models/credit-allocation-entity.ts +0 -6
  107. package/models/exceeding-credit-class.ts +2 -26
  108. package/models/exceeding-credit-entity.ts +2 -32
  109. package/models/index.ts +0 -8
  110. package/models/list-billing-addresses-response-class.ts +9 -9
  111. package/models/list-exceeding-credits-response-class.ts +18 -6
  112. package/models/list-payment-receipts-response-class.ts +9 -9
  113. package/models/list-payment-requests-response-class.ts +18 -6
  114. package/models/list-payout-methods-response-class.ts +9 -9
  115. package/models/list-refunds-response-class.ts +18 -6
  116. package/models/payment-class-without-expand-properties.ts +2 -2
  117. package/models/payment-class.ts +2 -2
  118. package/models/payment-entity.ts +1 -1
  119. package/models/payment-receipt-class.ts +1 -13
  120. package/models/payment-request-class.ts +6 -13
  121. package/models/shared-transaction-class.ts +0 -6
  122. package/models/transaction-entity.ts +0 -6
  123. package/package.json +2 -2
  124. package/dist/models/create-exceeding-credit-request-dto.d.ts +0 -48
  125. package/dist/models/create-exceeding-credit-request-dto.js +0 -15
  126. package/dist/models/create-exceeding-credit-response-class.d.ts +0 -25
  127. package/dist/models/create-exceeding-credit-response-class.js +0 -15
  128. package/dist/models/create-return-premium-credits-request-dto.d.ts +0 -24
  129. package/dist/models/create-return-premium-credits-request-dto.js +0 -15
  130. package/dist/models/create-return-premium-credits-response-class.d.ts +0 -25
  131. package/dist/models/create-return-premium-credits-response-class.js +0 -15
  132. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +0 -30
  133. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +0 -15
  134. package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +0 -25
  135. package/dist/models/link-bank-transaction-payment-requests-response-class.js +0 -15
  136. package/dist/models/payment-receipt-entity.d.ts +0 -139
  137. package/dist/models/payment-receipt-entity.js +0 -20
  138. package/dist/models/payment-request-entity.d.ts +0 -223
  139. package/dist/models/payment-request-entity.js +0 -39
  140. package/models/create-exceeding-credit-request-dto.ts +0 -54
  141. package/models/create-exceeding-credit-response-class.ts +0 -31
  142. package/models/create-return-premium-credits-request-dto.ts +0 -30
  143. package/models/create-return-premium-credits-response-class.ts +0 -31
  144. package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +0 -36
  145. package/models/link-bank-transaction-payment-requests-response-class.ts +0 -31
  146. package/models/payment-receipt-entity.ts +0 -148
  147. package/models/payment-request-entity.ts +0 -233
@@ -1,223 +0,0 @@
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];
@@ -1,39 +0,0 @@
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
- };
@@ -1,54 +0,0 @@
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
-
@@ -1,31 +0,0 @@
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
-
@@ -1,30 +0,0 @@
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
-
@@ -1,31 +0,0 @@
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 CreateReturnPremiumCreditsResponseClass
22
- */
23
- export interface CreateReturnPremiumCreditsResponseClass {
24
- /**
25
- * The return-premium credits of the reversing document, one per reversed invoice that gets money back
26
- * @type {Array<ExceedingCreditClass>}
27
- * @memberof CreateReturnPremiumCreditsResponseClass
28
- */
29
- 'exceedingCredits': Array<ExceedingCreditClass>;
30
- }
31
-
@@ -1,36 +0,0 @@
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 LinkBankTransactionPaymentRequestsRequestDtoRest
21
- */
22
- export interface LinkBankTransactionPaymentRequestsRequestDtoRest {
23
- /**
24
- * Codes of the open payout payment requests the outgoing bank transaction paid; up to 1000, no duplicates, empty when only bank orders are linked. Together with the payment requests of the bank orders their amounts must add up to the transaction amount.
25
- * @type {Array<string>}
26
- * @memberof LinkBankTransactionPaymentRequestsRequestDtoRest
27
- */
28
- 'paymentRequestCodes': Array<string>;
29
- /**
30
- * Codes of payout bank orders the transaction paid whole: the link pays every open payment request each order holds in the transaction currency. Up to 1000, no duplicates; a payment request may not also be listed in paymentRequestCodes.
31
- * @type {Array<string>}
32
- * @memberof LinkBankTransactionPaymentRequestsRequestDtoRest
33
- */
34
- 'bankOrderCodes'?: Array<string>;
35
- }
36
-
@@ -1,31 +0,0 @@
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 { BankTransactionClass } from './bank-transaction-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface LinkBankTransactionPaymentRequestsResponseClass
22
- */
23
- export interface LinkBankTransactionPaymentRequestsResponseClass {
24
- /**
25
- * The linked bank transaction, with the payment receipts the link created
26
- * @type {BankTransactionClass}
27
- * @memberof LinkBankTransactionPaymentRequestsResponseClass
28
- */
29
- 'bankTransaction': BankTransactionClass;
30
- }
31
-
@@ -1,148 +0,0 @@
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 { BankTransactionEntity } from './bank-transaction-entity';
17
- import { PaymentRequestEntity } from './payment-request-entity';
18
-
19
- /**
20
- *
21
- * @export
22
- * @interface PaymentReceiptEntity
23
- */
24
- export interface PaymentReceiptEntity {
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof PaymentReceiptEntity
29
- */
30
- 'id': number;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof PaymentReceiptEntity
35
- */
36
- 'code': string;
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof PaymentReceiptEntity
41
- */
42
- 'amount': number;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof PaymentReceiptEntity
47
- */
48
- 'currency': string;
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof PaymentReceiptEntity
53
- */
54
- 'direction': PaymentReceiptEntityDirectionEnum;
55
- /**
56
- *
57
- * @type {string}
58
- * @memberof PaymentReceiptEntity
59
- */
60
- 'dateOfPayment': string;
61
- /**
62
- *
63
- * @type {string}
64
- * @memberof PaymentReceiptEntity
65
- */
66
- 'paymentRequestCode'?: string;
67
- /**
68
- *
69
- * @type {string}
70
- * @memberof PaymentReceiptEntity
71
- */
72
- 'psp'?: string;
73
- /**
74
- *
75
- * @type {string}
76
- * @memberof PaymentReceiptEntity
77
- */
78
- 'comment'?: string;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof PaymentReceiptEntity
83
- */
84
- 'paymentRequestNumber'?: string;
85
- /**
86
- *
87
- * @type {PaymentRequestEntity}
88
- * @memberof PaymentReceiptEntity
89
- */
90
- 'paymentRequest'?: PaymentRequestEntity;
91
- /**
92
- *
93
- * @type {number}
94
- * @memberof PaymentReceiptEntity
95
- */
96
- 'bankTransactionId'?: number;
97
- /**
98
- *
99
- * @type {string}
100
- * @memberof PaymentReceiptEntity
101
- */
102
- 'bankTransactionCode'?: string;
103
- /**
104
- *
105
- * @type {BankTransactionEntity}
106
- * @memberof PaymentReceiptEntity
107
- */
108
- 'bankTransaction'?: BankTransactionEntity;
109
- /**
110
- *
111
- * @type {string}
112
- * @memberof PaymentReceiptEntity
113
- */
114
- 'createdAt'?: string;
115
- /**
116
- *
117
- * @type {string}
118
- * @memberof PaymentReceiptEntity
119
- */
120
- 'updatedAt'?: string;
121
- /**
122
- *
123
- * @type {string}
124
- * @memberof PaymentReceiptEntity
125
- */
126
- 'deletedAt'?: string;
127
- /**
128
- *
129
- * @type {string}
130
- * @memberof PaymentReceiptEntity
131
- */
132
- 'owner': string;
133
- /**
134
- *
135
- * @type {string}
136
- * @memberof PaymentReceiptEntity
137
- */
138
- 'tenantHierarchy': string;
139
- }
140
-
141
- export const PaymentReceiptEntityDirectionEnum = {
142
- Collect: 'collect',
143
- Disburse: 'disburse'
144
- } as const;
145
-
146
- export type PaymentReceiptEntityDirectionEnum = typeof PaymentReceiptEntityDirectionEnum[keyof typeof PaymentReceiptEntityDirectionEnum];
147
-
148
-