@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,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 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
+
@@ -39,6 +39,12 @@ export interface CreditAllocationClass {
39
39
  * @memberof CreditAllocationClass
40
40
  */
41
41
  'exceedingCreditCodes': Array<string>;
42
+ /**
43
+ * Partner code derived from the policy related to the exceeding credits.
44
+ * @type {string}
45
+ * @memberof CreditAllocationClass
46
+ */
47
+ 'partnerCode': string;
42
48
  /**
43
49
  * Policy code associated with the credit.
44
50
  * @type {string}
@@ -33,6 +33,12 @@ export interface CreditAllocationEntity {
33
33
  * @memberof CreditAllocationEntity
34
34
  */
35
35
  'code': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CreditAllocationEntity
40
+ */
41
+ 'partnerCode': string;
36
42
  /**
37
43
  *
38
44
  * @type {string}
@@ -33,11 +33,29 @@ export interface ExceedingCreditClass {
33
33
  */
34
34
  'currency'?: ExceedingCreditClassCurrencyEnum;
35
35
  /**
36
- * The bank transaction code of the credit
36
+ * The bank transaction code of the credit; empty on a return-premium credit, which no bank transaction caused
37
37
  * @type {string}
38
38
  * @memberof ExceedingCreditClass
39
39
  */
40
- 'bankTransactionCode': string;
40
+ 'bankTransactionCode'?: string;
41
+ /**
42
+ * Where the credit comes from: overpayment (the customer paid more than invoiced) or return_premium (a reversing document gave back more than the customer still owes)
43
+ * @type {string}
44
+ * @memberof ExceedingCreditClass
45
+ */
46
+ 'origin': ExceedingCreditClassOriginEnum;
47
+ /**
48
+ * The withdrawal, correction or termination invoice that caused a return-premium credit
49
+ * @type {string}
50
+ * @memberof ExceedingCreditClass
51
+ */
52
+ 'reversingInvoiceCode'?: string;
53
+ /**
54
+ * The number of the invoice that caused a return-premium credit
55
+ * @type {string}
56
+ * @memberof ExceedingCreditClass
57
+ */
58
+ 'reversingInvoiceNumber'?: string;
41
59
  /**
42
60
  * The description of the credit
43
61
  * @type {string}
@@ -127,5 +145,11 @@ export const ExceedingCreditClassCurrencyEnum = {
127
145
  } as const;
128
146
 
129
147
  export type ExceedingCreditClassCurrencyEnum = typeof ExceedingCreditClassCurrencyEnum[keyof typeof ExceedingCreditClassCurrencyEnum];
148
+ export const ExceedingCreditClassOriginEnum = {
149
+ Overpayment: 'overpayment',
150
+ ReturnPremium: 'return_premium'
151
+ } as const;
152
+
153
+ export type ExceedingCreditClassOriginEnum = typeof ExceedingCreditClassOriginEnum[keyof typeof ExceedingCreditClassOriginEnum];
130
154
 
131
155
 
@@ -63,19 +63,37 @@ export interface ExceedingCreditEntity {
63
63
  * @type {number}
64
64
  * @memberof ExceedingCreditEntity
65
65
  */
66
- 'bankTransactionId': number;
66
+ 'bankTransactionId'?: number;
67
67
  /**
68
68
  *
69
69
  * @type {BankTransactionEntity}
70
70
  * @memberof ExceedingCreditEntity
71
71
  */
72
- 'bankTransaction': BankTransactionEntity;
72
+ 'bankTransaction'?: BankTransactionEntity;
73
73
  /**
74
74
  *
75
75
  * @type {string}
76
76
  * @memberof ExceedingCreditEntity
77
77
  */
78
78
  'bankTransactionCode': string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof ExceedingCreditEntity
83
+ */
84
+ 'origin': ExceedingCreditEntityOriginEnum;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof ExceedingCreditEntity
89
+ */
90
+ 'reversingInvoiceCode'?: string;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof ExceedingCreditEntity
95
+ */
96
+ 'reversingInvoiceNumber'?: string;
79
97
  /**
80
98
  *
81
99
  * @type {string}
@@ -136,6 +154,12 @@ export interface ExceedingCreditEntity {
136
154
  * @memberof ExceedingCreditEntity
137
155
  */
138
156
  'tenantHierarchy': string;
157
+ /**
158
+ *
159
+ * @type {boolean}
160
+ * @memberof ExceedingCreditEntity
161
+ */
162
+ 'createdEventPending': boolean;
139
163
  }
140
164
 
141
165
  export const ExceedingCreditEntityCurrencyEnum = {
@@ -153,5 +177,11 @@ export const ExceedingCreditEntityCurrencyEnum = {
153
177
  } as const;
154
178
 
155
179
  export type ExceedingCreditEntityCurrencyEnum = typeof ExceedingCreditEntityCurrencyEnum[keyof typeof ExceedingCreditEntityCurrencyEnum];
180
+ export const ExceedingCreditEntityOriginEnum = {
181
+ Overpayment: 'overpayment',
182
+ ReturnPremium: 'return_premium'
183
+ } as const;
184
+
185
+ export type ExceedingCreditEntityOriginEnum = typeof ExceedingCreditEntityOriginEnum[keyof typeof ExceedingCreditEntityOriginEnum];
156
186
 
157
187
 
@@ -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 { BankOrderTextsClass } from './bank-order-texts-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetBankOrderTextsResponseClass
22
+ */
23
+ export interface GetBankOrderTextsResponseClass {
24
+ /**
25
+ * Bank order texts of the tenant
26
+ * @type {BankOrderTextsClass}
27
+ * @memberof GetBankOrderTextsResponseClass
28
+ */
29
+ 'bankOrderTexts': BankOrderTextsClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -4,6 +4,7 @@ export * from './bank-account-class-without-expand-properties';
4
4
  export * from './bank-data-class';
5
5
  export * from './bank-order-class';
6
6
  export * from './bank-order-entity';
7
+ export * from './bank-order-texts-class';
7
8
  export * from './bank-order-xml-file-class';
8
9
  export * from './bank-order-xml-file-entity';
9
10
  export * from './bank-transaction-class';
@@ -31,6 +32,8 @@ export * from './create-billing-address-request-dto';
31
32
  export * from './create-billing-address-response-class';
32
33
  export * from './create-credit-allocation-request-dto';
33
34
  export * from './create-credit-allocation-response-class';
35
+ export * from './create-exceeding-credit-request-dto';
36
+ export * from './create-exceeding-credit-response-class';
34
37
  export * from './create-payment-method-response-class';
35
38
  export * from './create-payment-order-dto';
36
39
  export * from './create-payment-order-request-dto';
@@ -50,6 +53,8 @@ export * from './create-policy-payment-method-response-class';
50
53
  export * from './create-psp-payment-method-request-dto';
51
54
  export * from './create-refund-request-dto';
52
55
  export * from './create-refund-response-class';
56
+ export * from './create-return-premium-credits-request-dto';
57
+ export * from './create-return-premium-credits-response-class';
53
58
  export * from './create-tenant-bank-account-request-dto';
54
59
  export * from './create-tenant-bank-account-response-class';
55
60
  export * from './credit-allocation-class';
@@ -63,6 +68,7 @@ export * from './exceeding-credit-entity';
63
68
  export * from './generate-invoice-match-suggestions-response-class';
64
69
  export * from './get-bank-account-response-class';
65
70
  export * from './get-bank-order-response-class';
71
+ export * from './get-bank-order-texts-response-class';
66
72
  export * from './get-bank-transactions-response-class';
67
73
  export * from './get-billing-address-response-class';
68
74
  export * from './get-credit-allocation-response-class';
@@ -90,6 +96,8 @@ export * from './inline-response503';
90
96
  export * from './invoice-allocation-dto';
91
97
  export * from './invoice-match-suggestion-class';
92
98
  export * from './invoice-match-suggestion-entity';
99
+ export * from './link-bank-transaction-payment-requests-request-dto-rest';
100
+ export * from './link-bank-transaction-payment-requests-response-class';
93
101
  export * from './link-bank-transaction-request-dto-rest';
94
102
  export * from './link-bank-transactions-response-class';
95
103
  export * from './list-bank-accounts-response-class';
@@ -115,8 +123,10 @@ export * from './payment-class-without-expand-properties';
115
123
  export * from './payment-entity';
116
124
  export * from './payment-method-class';
117
125
  export * from './payment-receipt-class';
126
+ export * from './payment-receipt-entity';
118
127
  export * from './payment-reminder-class';
119
128
  export * from './payment-request-class';
129
+ export * from './payment-request-entity';
120
130
  export * from './payout-method-class';
121
131
  export * from './policy-payment-method-class';
122
132
  export * from './primary-bank-account-response-class';
@@ -139,6 +149,8 @@ export * from './update-bank-account-request-dto-rest';
139
149
  export * from './update-bank-account-response-class';
140
150
  export * from './update-bank-order-request-dto';
141
151
  export * from './update-bank-order-response-class';
152
+ export * from './update-bank-order-texts-request-dto';
153
+ export * from './update-bank-order-texts-response-class';
142
154
  export * from './update-billing-address-request-dto';
143
155
  export * from './update-billing-address-response-class';
144
156
  export * from './update-payment-receipt-response-class';
@@ -0,0 +1,36 @@
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
+
@@ -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 { 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
+
@@ -22,17 +22,17 @@ import { BillingAddressClass } from './billing-address-class';
22
22
  */
23
23
  export interface ListBillingAddressesResponseClass {
24
24
  /**
25
- * Next page token.
26
- * @type {string}
25
+ * The billing addresses
26
+ * @type {Array<BillingAddressClass>}
27
27
  * @memberof ListBillingAddressesResponseClass
28
28
  */
29
- 'nextPageToken': string;
29
+ 'items': Array<BillingAddressClass>;
30
30
  /**
31
- * Total amount of items.
32
- * @type {number}
31
+ * Next page token.
32
+ * @type {string}
33
33
  * @memberof ListBillingAddressesResponseClass
34
34
  */
35
- 'totalItems': number;
35
+ 'nextPageToken': string;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListBillingAddressesResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * The billing addresses
44
- * @type {Array<BillingAddressClass>}
43
+ * Total amount of items.
44
+ * @type {number}
45
45
  * @memberof ListBillingAddressesResponseClass
46
46
  */
47
- 'items': Array<BillingAddressClass>;
47
+ 'totalItems': number;
48
48
  }
49
49
 
@@ -21,29 +21,17 @@ import { ExceedingCreditClass } from './exceeding-credit-class';
21
21
  * @interface ListExceedingCreditsResponseClass
22
22
  */
23
23
  export interface ListExceedingCreditsResponseClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListExceedingCreditsResponseClass
28
- */
29
- 'nextPageToken': string;
30
- /**
31
- * Total amount of items.
32
- * @type {number}
33
- * @memberof ListExceedingCreditsResponseClass
34
- */
35
- 'totalItems': number;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListExceedingCreditsResponseClass
40
- */
41
- 'itemsPerPage': number;
42
24
  /**
43
25
  * The list of exceeding credits.
44
26
  * @type {Array<ExceedingCreditClass>}
45
27
  * @memberof ListExceedingCreditsResponseClass
46
28
  */
47
29
  'items': Array<ExceedingCreditClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListExceedingCreditsResponseClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -22,17 +22,17 @@ import { PaymentReceiptClass } from './payment-receipt-class';
22
22
  */
23
23
  export interface ListPaymentReceiptsResponseClass {
24
24
  /**
25
- * Next page token.
26
- * @type {string}
25
+ * The list of payment receipts.
26
+ * @type {Array<PaymentReceiptClass>}
27
27
  * @memberof ListPaymentReceiptsResponseClass
28
28
  */
29
- 'nextPageToken': string;
29
+ 'items': Array<PaymentReceiptClass>;
30
30
  /**
31
- * Total amount of items.
32
- * @type {number}
31
+ * Next page token.
32
+ * @type {string}
33
33
  * @memberof ListPaymentReceiptsResponseClass
34
34
  */
35
- 'totalItems': number;
35
+ 'nextPageToken': string;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListPaymentReceiptsResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * The list of payment receipts.
44
- * @type {Array<PaymentReceiptClass>}
43
+ * Total amount of items.
44
+ * @type {number}
45
45
  * @memberof ListPaymentReceiptsResponseClass
46
46
  */
47
- 'items': Array<PaymentReceiptClass>;
47
+ 'totalItems': number;
48
48
  }
49
49
 
@@ -21,29 +21,17 @@ import { PaymentRequestClass } from './payment-request-class';
21
21
  * @interface ListPaymentRequestsResponseClass
22
22
  */
23
23
  export interface ListPaymentRequestsResponseClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListPaymentRequestsResponseClass
28
- */
29
- 'nextPageToken': string;
30
- /**
31
- * Total amount of items.
32
- * @type {number}
33
- * @memberof ListPaymentRequestsResponseClass
34
- */
35
- 'totalItems': number;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListPaymentRequestsResponseClass
40
- */
41
- 'itemsPerPage': number;
42
24
  /**
43
25
  * The list of payment requests.
44
26
  * @type {Array<PaymentRequestClass>}
45
27
  * @memberof ListPaymentRequestsResponseClass
46
28
  */
47
29
  'items': Array<PaymentRequestClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPaymentRequestsResponseClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -22,17 +22,17 @@ import { PayoutMethodClass } from './payout-method-class';
22
22
  */
23
23
  export interface ListPayoutMethodsResponseClass {
24
24
  /**
25
- * Next page token.
26
- * @type {string}
25
+ * The payout methods
26
+ * @type {Array<PayoutMethodClass>}
27
27
  * @memberof ListPayoutMethodsResponseClass
28
28
  */
29
- 'nextPageToken': string;
29
+ 'items': Array<PayoutMethodClass>;
30
30
  /**
31
- * Total amount of items.
32
- * @type {number}
31
+ * Next page token.
32
+ * @type {string}
33
33
  * @memberof ListPayoutMethodsResponseClass
34
34
  */
35
- 'totalItems': number;
35
+ 'nextPageToken': string;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListPayoutMethodsResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * The payout methods
44
- * @type {Array<PayoutMethodClass>}
43
+ * Total amount of items.
44
+ * @type {number}
45
45
  * @memberof ListPayoutMethodsResponseClass
46
46
  */
47
- 'items': Array<PayoutMethodClass>;
47
+ 'totalItems': number;
48
48
  }
49
49
 
@@ -21,29 +21,17 @@ import { RefundClass } from './refund-class';
21
21
  * @interface ListRefundsResponseClass
22
22
  */
23
23
  export interface ListRefundsResponseClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListRefundsResponseClass
28
- */
29
- 'nextPageToken': string;
30
- /**
31
- * Total amount of items.
32
- * @type {number}
33
- * @memberof ListRefundsResponseClass
34
- */
35
- 'totalItems': number;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListRefundsResponseClass
40
- */
41
- 'itemsPerPage': number;
42
24
  /**
43
25
  * The list of refunds.
44
26
  * @type {Array<RefundClass>}
45
27
  * @memberof ListRefundsResponseClass
46
28
  */
47
29
  'items': Array<RefundClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListRefundsResponseClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -49,7 +49,7 @@ export interface PaymentClassWithoutExpandProperties {
49
49
  * @type {string}
50
50
  * @memberof PaymentClassWithoutExpandProperties
51
51
  */
52
- 'partnerCode'?: string;
52
+ 'partnerCode': string;
53
53
  /**
54
54
  * Amount to be paid in cents. 100 to charge 1€.
55
55
  * @type {number}
@@ -81,7 +81,7 @@ export interface PaymentClassWithoutExpandProperties {
81
81
  */
82
82
  'productSlug'?: string;
83
83
  /**
84
- * Time at which the payment was actually received.
84
+ * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
85
85
  * @type {string}
86
86
  * @memberof PaymentClassWithoutExpandProperties
87
87
  */
@@ -50,7 +50,7 @@ export interface PaymentClass {
50
50
  * @type {string}
51
51
  * @memberof PaymentClass
52
52
  */
53
- 'partnerCode'?: string;
53
+ 'partnerCode': string;
54
54
  /**
55
55
  * Amount to be paid in cents. 100 to charge 1€.
56
56
  * @type {number}
@@ -88,7 +88,7 @@ export interface PaymentClass {
88
88
  */
89
89
  'productSlug'?: string;
90
90
  /**
91
- * Time at which the payment was actually received.
91
+ * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
92
92
  * @type {string}
93
93
  * @memberof PaymentClass
94
94
  */
@@ -56,7 +56,7 @@ export interface PaymentEntity {
56
56
  * @type {string}
57
57
  * @memberof PaymentEntity
58
58
  */
59
- 'partnerCode'?: string;
59
+ 'partnerCode': string;
60
60
  /**
61
61
  *
62
62
  * @type {string}
@@ -51,7 +51,7 @@ export interface PaymentReceiptClass {
51
51
  */
52
52
  'direction': PaymentReceiptClassDirectionEnum;
53
53
  /**
54
- * Date the payment was confirmed
54
+ * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
55
55
  * @type {string}
56
56
  * @memberof PaymentReceiptClass
57
57
  */
@@ -62,6 +62,12 @@ export interface PaymentReceiptClass {
62
62
  * @memberof PaymentReceiptClass
63
63
  */
64
64
  'paymentRequestCode'?: string;
65
+ /**
66
+ * The number of the payment request the payment receipt pays; read from the payment request, not stored on the receipt.
67
+ * @type {string}
68
+ * @memberof PaymentReceiptClass
69
+ */
70
+ 'paymentRequestNumber'?: string;
65
71
  /**
66
72
  * The payment service provider that produced the payment receipt.
67
73
  * @type {string}
@@ -74,6 +80,12 @@ export interface PaymentReceiptClass {
74
80
  * @memberof PaymentReceiptClass
75
81
  */
76
82
  'comment'?: string;
83
+ /**
84
+ * The code of the bank transaction whose link created the payment receipt; unset for a receipt created by hand.
85
+ * @type {string}
86
+ * @memberof PaymentReceiptClass
87
+ */
88
+ 'bankTransactionCode'?: string;
77
89
  /**
78
90
  * Time at which the object was created.
79
91
  * @type {string}