@emilgroup/payment-sdk 1.14.1-beta.7 → 1.14.1-beta.70

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 (151) hide show
  1. package/.openapi-generator/FILES +32 -1
  2. package/README.md +2 -2
  3. package/api/bank-orders-api.ts +24 -24
  4. package/api/billing-addresses-api.ts +677 -0
  5. package/api/credit-allocation-api.ts +456 -0
  6. package/api/payout-methods-api.ts +672 -0
  7. package/api/policy-payment-methods-api.ts +118 -0
  8. package/api/tenant-bank-account-api.ts +8 -8
  9. package/api.ts +6 -0
  10. package/base.ts +4 -0
  11. package/dist/api/bank-accounts-api.d.ts +6 -6
  12. package/dist/api/bank-orders-api.d.ts +29 -29
  13. package/dist/api/bank-orders-api.js +18 -18
  14. package/dist/api/bank-transaction-api.d.ts +6 -6
  15. package/dist/api/billing-addresses-api.d.ts +384 -0
  16. package/dist/api/billing-addresses-api.js +636 -0
  17. package/dist/api/credit-allocation-api.d.ts +263 -0
  18. package/dist/api/credit-allocation-api.js +445 -0
  19. package/dist/api/exceeding-credits-api.d.ts +2 -2
  20. package/dist/api/health-check-api.d.ts +1 -1
  21. package/dist/api/payment-methods-api.d.ts +3 -3
  22. package/dist/api/payment-reminders-api.d.ts +4 -4
  23. package/dist/api/payment-setup-api.d.ts +2 -2
  24. package/dist/api/payments-api.d.ts +4 -4
  25. package/dist/api/payout-methods-api.d.ts +382 -0
  26. package/dist/api/payout-methods-api.js +635 -0
  27. package/dist/api/policy-payment-methods-api.d.ts +67 -2
  28. package/dist/api/policy-payment-methods-api.js +99 -0
  29. package/dist/api/refunds-api.d.ts +3 -3
  30. package/dist/api/tenant-bank-account-api.d.ts +13 -13
  31. package/dist/api/tenant-bank-account-api.js +6 -6
  32. package/dist/api/webhooks-api.d.ts +1 -1
  33. package/dist/api.d.ts +3 -0
  34. package/dist/api.js +3 -0
  35. package/dist/base.js +3 -1
  36. package/dist/common.d.ts +1 -1
  37. package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
  38. package/dist/models/activate-policy-payment-method-request-dto.js +15 -0
  39. package/dist/models/bank-order-class.d.ts +9 -9
  40. package/dist/models/bank-order-entity.d.ts +156 -0
  41. package/dist/models/bank-order-entity.js +29 -0
  42. package/dist/models/bank-order-xml-file-entity.d.ts +85 -0
  43. package/dist/models/bank-order-xml-file-entity.js +15 -0
  44. package/dist/models/bank-transaction-entity.d.ts +179 -0
  45. package/dist/models/{financial-account-class.js → bank-transaction-entity.js} +4 -8
  46. package/dist/models/bank-transaction-invoice-entity.d.ts +98 -0
  47. package/dist/models/bank-transaction-invoice-entity.js +15 -0
  48. package/dist/models/billing-address-class.d.ts +108 -0
  49. package/dist/models/billing-address-class.js +15 -0
  50. package/dist/models/billing-address-dto.d.ts +6 -0
  51. package/dist/models/create-bank-order-request-dto.d.ts +6 -5
  52. package/dist/models/create-bank-order-request-dto.js +2 -1
  53. package/dist/models/create-billing-address-request-dto.d.ts +66 -0
  54. package/dist/models/create-billing-address-request-dto.js +15 -0
  55. package/dist/models/create-billing-address-response-class.d.ts +25 -0
  56. package/dist/models/create-billing-address-response-class.js +15 -0
  57. package/dist/models/create-credit-allocation-request-dto.d.ts +54 -0
  58. package/dist/models/create-credit-allocation-request-dto.js +21 -0
  59. package/dist/models/create-credit-allocation-response-class.d.ts +25 -0
  60. package/dist/models/create-credit-allocation-response-class.js +15 -0
  61. package/dist/models/create-payout-method-request-dto.d.ts +60 -0
  62. package/dist/models/create-payout-method-request-dto.js +15 -0
  63. package/dist/models/create-payout-method-response-class.d.ts +25 -0
  64. package/dist/models/create-payout-method-response-class.js +15 -0
  65. package/dist/models/create-tenant-bank-account-request-dto.d.ts +57 -1
  66. package/dist/models/create-tenant-bank-account-request-dto.js +8 -0
  67. package/dist/models/credit-allocation-class.d.ts +115 -0
  68. package/dist/models/credit-allocation-class.js +21 -0
  69. package/dist/models/credit-allocation-entity.d.ts +135 -0
  70. package/dist/models/credit-allocation-entity.js +34 -0
  71. package/dist/models/exceeding-credit-class.d.ts +6 -0
  72. package/dist/models/exceeding-credit-entity.d.ts +148 -0
  73. package/dist/models/exceeding-credit-entity.js +29 -0
  74. package/dist/models/get-billing-address-response-class.d.ts +25 -0
  75. package/dist/models/get-billing-address-response-class.js +15 -0
  76. package/dist/models/get-credit-allocation-response-class.d.ts +25 -0
  77. package/dist/models/get-credit-allocation-response-class.js +15 -0
  78. package/dist/models/get-payout-method-response-class.d.ts +25 -0
  79. package/dist/models/get-payout-method-response-class.js +15 -0
  80. package/dist/models/index.d.ts +29 -1
  81. package/dist/models/index.js +29 -1
  82. package/dist/models/invoice-match-suggestion-entity.d.ts +103 -0
  83. package/dist/models/invoice-match-suggestion-entity.js +15 -0
  84. package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
  85. package/dist/models/list-billing-addresses-response-class.js +15 -0
  86. package/dist/models/list-credit-allocations-response-class.d.ts +43 -0
  87. package/dist/models/list-credit-allocations-response-class.js +15 -0
  88. package/dist/models/list-payout-methods-response-class.d.ts +43 -0
  89. package/dist/models/list-payout-methods-response-class.js +15 -0
  90. package/dist/models/payment-entity.d.ts +133 -0
  91. package/dist/models/payment-entity.js +15 -0
  92. package/dist/models/payout-method-class.d.ts +115 -0
  93. package/dist/models/payout-method-class.js +15 -0
  94. package/dist/models/suggestion-generation-progress-entity.d.ts +86 -0
  95. package/dist/models/suggestion-generation-progress-entity.js +22 -0
  96. package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +56 -0
  97. package/dist/models/tenant-bank-account-class-without-expand-properties.js +8 -0
  98. package/dist/models/tenant-bank-account-class.d.ts +56 -0
  99. package/dist/models/tenant-bank-account-class.js +8 -0
  100. package/dist/models/tenant-bank-account-entity.d.ts +153 -0
  101. package/dist/models/tenant-bank-account-entity.js +23 -0
  102. package/dist/models/transaction-entity.d.ts +112 -0
  103. package/dist/models/transaction-entity.js +23 -0
  104. package/dist/models/update-bank-order-request-dto.d.ts +5 -5
  105. package/dist/models/update-billing-address-request-dto.d.ts +66 -0
  106. package/dist/models/update-billing-address-request-dto.js +15 -0
  107. package/dist/models/update-billing-address-response-class.d.ts +25 -0
  108. package/dist/models/update-billing-address-response-class.js +15 -0
  109. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +57 -1
  110. package/dist/models/update-tenant-bank-account-rest-request-dto.js +8 -0
  111. package/models/activate-policy-payment-method-request-dto.ts +30 -0
  112. package/models/bank-order-class.ts +9 -9
  113. package/models/bank-order-entity.ts +166 -0
  114. package/models/bank-order-xml-file-entity.ts +91 -0
  115. package/models/bank-transaction-entity.ts +188 -0
  116. package/models/bank-transaction-invoice-entity.ts +104 -0
  117. package/models/billing-address-class.ts +114 -0
  118. package/models/billing-address-dto.ts +6 -0
  119. package/models/create-bank-order-request-dto.ts +7 -6
  120. package/models/create-billing-address-request-dto.ts +72 -0
  121. package/models/create-billing-address-response-class.ts +31 -0
  122. package/models/create-credit-allocation-request-dto.ts +63 -0
  123. package/models/create-credit-allocation-response-class.ts +31 -0
  124. package/models/create-payout-method-request-dto.ts +66 -0
  125. package/models/create-payout-method-response-class.ts +31 -0
  126. package/models/create-tenant-bank-account-request-dto.ts +60 -1
  127. package/models/credit-allocation-class.ts +124 -0
  128. package/models/credit-allocation-entity.ts +145 -0
  129. package/models/exceeding-credit-class.ts +6 -0
  130. package/models/exceeding-credit-entity.ts +157 -0
  131. package/models/get-billing-address-response-class.ts +31 -0
  132. package/models/get-credit-allocation-response-class.ts +31 -0
  133. package/models/get-payout-method-response-class.ts +31 -0
  134. package/models/index.ts +29 -1
  135. package/models/invoice-match-suggestion-entity.ts +109 -0
  136. package/models/list-billing-addresses-response-class.ts +49 -0
  137. package/models/list-credit-allocations-response-class.ts +49 -0
  138. package/models/list-payout-methods-response-class.ts +49 -0
  139. package/models/payment-entity.ts +139 -0
  140. package/models/{financial-account-class.ts → payout-method-class.ts} +48 -47
  141. package/models/suggestion-generation-progress-entity.ts +95 -0
  142. package/models/tenant-bank-account-class-without-expand-properties.ts +59 -0
  143. package/models/tenant-bank-account-class.ts +59 -0
  144. package/models/tenant-bank-account-entity.ts +162 -0
  145. package/models/transaction-entity.ts +121 -0
  146. package/models/update-bank-order-request-dto.ts +5 -5
  147. package/models/update-billing-address-request-dto.ts +72 -0
  148. package/models/update-billing-address-response-class.ts +31 -0
  149. package/models/update-tenant-bank-account-rest-request-dto.ts +60 -1
  150. package/package.json +2 -2
  151. package/dist/models/financial-account-class.d.ts +0 -111
@@ -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 { BillingAddressClass } from './billing-address-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateBillingAddressResponseClass
17
+ */
18
+ export interface UpdateBillingAddressResponseClass {
19
+ /**
20
+ * The updated billing address
21
+ * @type {BillingAddressClass}
22
+ * @memberof UpdateBillingAddressResponseClass
23
+ */
24
+ 'billingAddress': BillingAddressClass;
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 });
@@ -28,9 +28,65 @@ export interface UpdateTenantBankAccountRestRequestDto {
28
28
  */
29
29
  'bankName': string;
30
30
  /**
31
- * The name of the account
31
+ * Number of the booking account this bank account belongs to
32
32
  * @type {string}
33
33
  * @memberof UpdateTenantBankAccountRestRequestDto
34
34
  */
35
35
  'bookingAccount': string;
36
+ /**
37
+ * Street address
38
+ * @type {string}
39
+ * @memberof UpdateTenantBankAccountRestRequestDto
40
+ */
41
+ 'street'?: string;
42
+ /**
43
+ * House number
44
+ * @type {string}
45
+ * @memberof UpdateTenantBankAccountRestRequestDto
46
+ */
47
+ 'houseNumber'?: string;
48
+ /**
49
+ * ZIP code
50
+ * @type {string}
51
+ * @memberof UpdateTenantBankAccountRestRequestDto
52
+ */
53
+ 'zipCode': string;
54
+ /**
55
+ * City
56
+ * @type {string}
57
+ * @memberof UpdateTenantBankAccountRestRequestDto
58
+ */
59
+ 'city': string;
60
+ /**
61
+ * Country
62
+ * @type {string}
63
+ * @memberof UpdateTenantBankAccountRestRequestDto
64
+ */
65
+ 'country': string;
66
+ /**
67
+ * SEPA Pain version
68
+ * @type {string}
69
+ * @memberof UpdateTenantBankAccountRestRequestDto
70
+ */
71
+ 'sepaPainVersion': UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum;
72
+ /**
73
+ * Creditor ID
74
+ * @type {string}
75
+ * @memberof UpdateTenantBankAccountRestRequestDto
76
+ */
77
+ 'creditorId': string;
78
+ /**
79
+ * Indicates whether this is the default bank account for the tenant
80
+ * @type {boolean}
81
+ * @memberof UpdateTenantBankAccountRestRequestDto
82
+ */
83
+ 'isDefault': boolean;
36
84
  }
85
+ export declare const UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum: {
86
+ readonly _00302: "pain.008.003.02";
87
+ readonly _00802: "pain.008.008.02";
88
+ readonly _00109: "pain.008.001.09";
89
+ readonly _00110: "pain.008.001.10";
90
+ readonly _00111: "pain.008.001.11";
91
+ };
92
+ export type UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum[keyof typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum];
@@ -13,3 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = void 0;
17
+ exports.UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = {
18
+ _00302: 'pain.008.003.02',
19
+ _00802: 'pain.008.008.02',
20
+ _00109: 'pain.008.001.09',
21
+ _00110: 'pain.008.001.10',
22
+ _00111: 'pain.008.001.11'
23
+ };
@@ -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 ActivatePolicyPaymentMethodRequestDto
21
+ */
22
+ export interface ActivatePolicyPaymentMethodRequestDto {
23
+ /**
24
+ * Whether to trigger the Policy Payment Method Activated workflow event.
25
+ * @type {boolean}
26
+ * @memberof ActivatePolicyPaymentMethodRequestDto
27
+ */
28
+ 'shouldTriggerWorkflow'?: boolean;
29
+ }
30
+
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
  import { BankOrderXmlFileClass } from './bank-order-xml-file-class';
17
- import { FinancialAccountClass } from './financial-account-class';
17
+ import { TenantBankAccountEntity } from './tenant-bank-account-entity';
18
18
 
19
19
  /**
20
20
  *
@@ -65,17 +65,17 @@ export interface BankOrderClass {
65
65
  */
66
66
  'description'?: string;
67
67
  /**
68
- * Financial account code associated with the bank order.
68
+ * Tenant bank account code associated with the bank order.
69
69
  * @type {string}
70
70
  * @memberof BankOrderClass
71
71
  */
72
- 'financialAccountCode': string;
72
+ 'tenantBankAccountCode': string;
73
73
  /**
74
- * List of invoice IDs associated with bank order.
75
- * @type {Array<number>}
74
+ * List of entity codes associated with bank order.
75
+ * @type {Array<string>}
76
76
  * @memberof BankOrderClass
77
77
  */
78
- 'invoiceIds': Array<number>;
78
+ 'entityCodes': Array<string>;
79
79
  /**
80
80
  * Day of execution of bank order.
81
81
  * @type {string}
@@ -113,11 +113,11 @@ export interface BankOrderClass {
113
113
  */
114
114
  'updatedBy': string;
115
115
  /**
116
- * The financial account object that this bank order is belongs to
117
- * @type {FinancialAccountClass}
116
+ * The tenant bank account object that this bank order belongs to
117
+ * @type {TenantBankAccountEntity}
118
118
  * @memberof BankOrderClass
119
119
  */
120
- 'financialAccount'?: FinancialAccountClass;
120
+ 'tenantBankAccount'?: TenantBankAccountEntity;
121
121
  /**
122
122
  * The XML file associated with this bank order
123
123
  * @type {BankOrderXmlFileClass}
@@ -0,0 +1,166 @@
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 { BankOrderXmlFileEntity } from './bank-order-xml-file-entity';
17
+ import { BankTransactionEntity } from './bank-transaction-entity';
18
+ import { TenantBankAccountEntity } from './tenant-bank-account-entity';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface BankOrderEntity
24
+ */
25
+ export interface BankOrderEntity {
26
+ /**
27
+ *
28
+ * @type {number}
29
+ * @memberof BankOrderEntity
30
+ */
31
+ 'id': number;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof BankOrderEntity
36
+ */
37
+ 'code': string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof BankOrderEntity
42
+ */
43
+ 'type': BankOrderEntityTypeEnum;
44
+ /**
45
+ *
46
+ * @type {number}
47
+ * @memberof BankOrderEntity
48
+ */
49
+ 'amount': number;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof BankOrderEntity
54
+ */
55
+ 'status': BankOrderEntityStatusEnum;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof BankOrderEntity
60
+ */
61
+ 'orderNumber': string;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof BankOrderEntity
66
+ */
67
+ 'description'?: string;
68
+ /**
69
+ *
70
+ * @type {TenantBankAccountEntity}
71
+ * @memberof BankOrderEntity
72
+ */
73
+ 'tenantBankAccount': TenantBankAccountEntity;
74
+ /**
75
+ *
76
+ * @type {number}
77
+ * @memberof BankOrderEntity
78
+ */
79
+ 'tenantBankAccountId': number;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof BankOrderEntity
84
+ */
85
+ 'tenantBankAccountCode': string;
86
+ /**
87
+ *
88
+ * @type {Array<string>}
89
+ * @memberof BankOrderEntity
90
+ */
91
+ 'entityCodes': Array<string>;
92
+ /**
93
+ *
94
+ * @type {Array<BankTransactionEntity>}
95
+ * @memberof BankOrderEntity
96
+ */
97
+ 'bankTransactions': Array<BankTransactionEntity>;
98
+ /**
99
+ *
100
+ * @type {BankOrderXmlFileEntity}
101
+ * @memberof BankOrderEntity
102
+ */
103
+ 'xmlFile'?: BankOrderXmlFileEntity;
104
+ /**
105
+ *
106
+ * @type {string}
107
+ * @memberof BankOrderEntity
108
+ */
109
+ 'executionDate': string;
110
+ /**
111
+ *
112
+ * @type {string}
113
+ * @memberof BankOrderEntity
114
+ */
115
+ 'dueDate': string;
116
+ /**
117
+ *
118
+ * @type {string}
119
+ * @memberof BankOrderEntity
120
+ */
121
+ 'createdAt': string;
122
+ /**
123
+ *
124
+ * @type {string}
125
+ * @memberof BankOrderEntity
126
+ */
127
+ 'updatedAt': string;
128
+ /**
129
+ *
130
+ * @type {string}
131
+ * @memberof BankOrderEntity
132
+ */
133
+ 'deletedAt'?: string;
134
+ /**
135
+ *
136
+ * @type {string}
137
+ * @memberof BankOrderEntity
138
+ */
139
+ 'owner': string;
140
+ /**
141
+ *
142
+ * @type {string}
143
+ * @memberof BankOrderEntity
144
+ */
145
+ 'tenantHierarchy': string;
146
+ }
147
+
148
+ export const BankOrderEntityTypeEnum = {
149
+ DirectDebit: 'direct_debit',
150
+ PremiumPayment: 'premium_payment',
151
+ ClaimPayment: 'claim_payment',
152
+ CommissionPayment: 'commission_payment'
153
+ } as const;
154
+
155
+ export type BankOrderEntityTypeEnum = typeof BankOrderEntityTypeEnum[keyof typeof BankOrderEntityTypeEnum];
156
+ export const BankOrderEntityStatusEnum = {
157
+ Open: 'open',
158
+ Draft: 'draft',
159
+ Closed: 'closed',
160
+ Accepted: 'accepted',
161
+ Processing: 'processing'
162
+ } as const;
163
+
164
+ export type BankOrderEntityStatusEnum = typeof BankOrderEntityStatusEnum[keyof typeof BankOrderEntityStatusEnum];
165
+
166
+
@@ -0,0 +1,91 @@
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 { BankOrderEntity } from './bank-order-entity';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface BankOrderXmlFileEntity
22
+ */
23
+ export interface BankOrderXmlFileEntity {
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof BankOrderXmlFileEntity
28
+ */
29
+ 'id': number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof BankOrderXmlFileEntity
34
+ */
35
+ 'owner': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof BankOrderXmlFileEntity
40
+ */
41
+ 'xmlContent': string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof BankOrderXmlFileEntity
46
+ */
47
+ 'fileName'?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof BankOrderXmlFileEntity
52
+ */
53
+ 'mimeType'?: string;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof BankOrderXmlFileEntity
58
+ */
59
+ 'fileSize'?: number;
60
+ /**
61
+ *
62
+ * @type {BankOrderEntity}
63
+ * @memberof BankOrderXmlFileEntity
64
+ */
65
+ 'bankOrder': BankOrderEntity;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof BankOrderXmlFileEntity
70
+ */
71
+ 'createdAt': string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof BankOrderXmlFileEntity
76
+ */
77
+ 'updatedAt': string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof BankOrderXmlFileEntity
82
+ */
83
+ 'deletedAt'?: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof BankOrderXmlFileEntity
88
+ */
89
+ 'tenantHierarchy': string;
90
+ }
91
+
@@ -0,0 +1,188 @@
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 { BankOrderEntity } from './bank-order-entity';
17
+ import { BankTransactionInvoiceEntity } from './bank-transaction-invoice-entity';
18
+ import { ExceedingCreditEntity } from './exceeding-credit-entity';
19
+ import { InvoiceMatchSuggestionEntity } from './invoice-match-suggestion-entity';
20
+ import { SuggestionGenerationProgressEntity } from './suggestion-generation-progress-entity';
21
+ import { TenantBankAccountEntity } from './tenant-bank-account-entity';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface BankTransactionEntity
27
+ */
28
+ export interface BankTransactionEntity {
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof BankTransactionEntity
33
+ */
34
+ 'id': number;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof BankTransactionEntity
39
+ */
40
+ 'code': string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof BankTransactionEntity
45
+ */
46
+ 'owner': string;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof BankTransactionEntity
51
+ */
52
+ 'bankAccountId': number;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof BankTransactionEntity
57
+ */
58
+ 'bankAccountNumber': string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof BankTransactionEntity
63
+ */
64
+ 'messageReference': string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof BankTransactionEntity
69
+ */
70
+ 'currency': string;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof BankTransactionEntity
75
+ */
76
+ 'amount': string;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof BankTransactionEntity
81
+ */
82
+ 'transactionDate': string;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof BankTransactionEntity
87
+ */
88
+ 'entryDate': string;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof BankTransactionEntity
93
+ */
94
+ 'label'?: BankTransactionEntityLabelEnum;
95
+ /**
96
+ *
97
+ * @type {string}
98
+ * @memberof BankTransactionEntity
99
+ */
100
+ 'transactionReference': string;
101
+ /**
102
+ *
103
+ * @type {object}
104
+ * @memberof BankTransactionEntity
105
+ */
106
+ 'metadata'?: object;
107
+ /**
108
+ *
109
+ * @type {string}
110
+ * @memberof BankTransactionEntity
111
+ */
112
+ 'tenantHierarchy': string;
113
+ /**
114
+ *
115
+ * @type {TenantBankAccountEntity}
116
+ * @memberof BankTransactionEntity
117
+ */
118
+ 'bankAccount': TenantBankAccountEntity;
119
+ /**
120
+ *
121
+ * @type {boolean}
122
+ * @memberof BankTransactionEntity
123
+ */
124
+ 'isLinked': boolean;
125
+ /**
126
+ *
127
+ * @type {Array<BankTransactionInvoiceEntity>}
128
+ * @memberof BankTransactionEntity
129
+ */
130
+ 'bankTransactionInvoices': Array<BankTransactionInvoiceEntity>;
131
+ /**
132
+ *
133
+ * @type {BankOrderEntity}
134
+ * @memberof BankTransactionEntity
135
+ */
136
+ 'linkedBankOrder'?: BankOrderEntity;
137
+ /**
138
+ *
139
+ * @type {Array<ExceedingCreditEntity>}
140
+ * @memberof BankTransactionEntity
141
+ */
142
+ 'exceedingCredits': Array<ExceedingCreditEntity>;
143
+ /**
144
+ *
145
+ * @type {string}
146
+ * @memberof BankTransactionEntity
147
+ */
148
+ 'transactionHash': string;
149
+ /**
150
+ *
151
+ * @type {string}
152
+ * @memberof BankTransactionEntity
153
+ */
154
+ 'createdAt': string;
155
+ /**
156
+ *
157
+ * @type {string}
158
+ * @memberof BankTransactionEntity
159
+ */
160
+ 'deletedAt': string;
161
+ /**
162
+ *
163
+ * @type {Array<InvoiceMatchSuggestionEntity>}
164
+ * @memberof BankTransactionEntity
165
+ */
166
+ 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionEntity>;
167
+ /**
168
+ *
169
+ * @type {SuggestionGenerationProgressEntity}
170
+ * @memberof BankTransactionEntity
171
+ */
172
+ 'suggestionGenerationProgress'?: SuggestionGenerationProgressEntity;
173
+ /**
174
+ *
175
+ * @type {string}
176
+ * @memberof BankTransactionEntity
177
+ */
178
+ 'importedFrom': string;
179
+ }
180
+
181
+ export const BankTransactionEntityLabelEnum = {
182
+ Automated: 'automated',
183
+ Manual: 'manual'
184
+ } as const;
185
+
186
+ export type BankTransactionEntityLabelEnum = typeof BankTransactionEntityLabelEnum[keyof typeof BankTransactionEntityLabelEnum];
187
+
188
+