@emilgroup/payment-sdk 1.14.1-beta.67 → 1.14.1-beta.69

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 (65) hide show
  1. package/.openapi-generator/FILES +11 -1
  2. package/README.md +2 -2
  3. package/api/bank-orders-api.ts +24 -24
  4. package/api/tenant-bank-account-api.ts +8 -8
  5. package/dist/api/bank-orders-api.d.ts +24 -24
  6. package/dist/api/bank-orders-api.js +18 -18
  7. package/dist/api/tenant-bank-account-api.d.ts +8 -8
  8. package/dist/api/tenant-bank-account-api.js +6 -6
  9. package/dist/models/bank-order-class.d.ts +6 -6
  10. package/dist/models/bank-order-entity.d.ts +156 -0
  11. package/dist/models/bank-order-entity.js +29 -0
  12. package/dist/models/bank-order-xml-file-entity.d.ts +85 -0
  13. package/dist/models/bank-order-xml-file-entity.js +15 -0
  14. package/dist/models/bank-transaction-entity.d.ts +179 -0
  15. package/dist/models/{financial-account-class.js → bank-transaction-entity.js} +4 -8
  16. package/dist/models/bank-transaction-invoice-entity.d.ts +98 -0
  17. package/dist/models/bank-transaction-invoice-entity.js +15 -0
  18. package/dist/models/create-bank-order-request-dto.d.ts +2 -2
  19. package/dist/models/create-tenant-bank-account-request-dto.d.ts +27 -1
  20. package/dist/models/create-tenant-bank-account-request-dto.js +8 -0
  21. package/dist/models/credit-allocation-entity.d.ts +135 -0
  22. package/dist/models/credit-allocation-entity.js +34 -0
  23. package/dist/models/exceeding-credit-entity.d.ts +148 -0
  24. package/dist/models/exceeding-credit-entity.js +29 -0
  25. package/dist/models/index.d.ts +11 -1
  26. package/dist/models/index.js +11 -1
  27. package/dist/models/invoice-match-suggestion-entity.d.ts +103 -0
  28. package/dist/models/invoice-match-suggestion-entity.js +15 -0
  29. package/dist/models/payment-entity.d.ts +133 -0
  30. package/dist/models/payment-entity.js +15 -0
  31. package/dist/models/suggestion-generation-progress-entity.d.ts +86 -0
  32. package/dist/models/suggestion-generation-progress-entity.js +22 -0
  33. package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +26 -0
  34. package/dist/models/tenant-bank-account-class-without-expand-properties.js +8 -0
  35. package/dist/models/tenant-bank-account-class.d.ts +26 -0
  36. package/dist/models/tenant-bank-account-class.js +8 -0
  37. package/dist/models/tenant-bank-account-entity.d.ts +153 -0
  38. package/dist/models/tenant-bank-account-entity.js +23 -0
  39. package/dist/models/transaction-entity.d.ts +112 -0
  40. package/dist/models/transaction-entity.js +23 -0
  41. package/dist/models/update-bank-order-request-dto.d.ts +2 -2
  42. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +27 -1
  43. package/dist/models/update-tenant-bank-account-rest-request-dto.js +8 -0
  44. package/models/bank-order-class.ts +6 -6
  45. package/models/bank-order-entity.ts +166 -0
  46. package/models/bank-order-xml-file-entity.ts +91 -0
  47. package/models/bank-transaction-entity.ts +188 -0
  48. package/models/bank-transaction-invoice-entity.ts +104 -0
  49. package/models/create-bank-order-request-dto.ts +2 -2
  50. package/models/create-tenant-bank-account-request-dto.ts +30 -1
  51. package/models/credit-allocation-entity.ts +145 -0
  52. package/models/exceeding-credit-entity.ts +157 -0
  53. package/models/index.ts +11 -1
  54. package/models/invoice-match-suggestion-entity.ts +109 -0
  55. package/models/payment-entity.ts +139 -0
  56. package/models/suggestion-generation-progress-entity.ts +95 -0
  57. package/models/tenant-bank-account-class-without-expand-properties.ts +29 -0
  58. package/models/tenant-bank-account-class.ts +29 -0
  59. package/models/tenant-bank-account-entity.ts +162 -0
  60. package/models/transaction-entity.ts +121 -0
  61. package/models/update-bank-order-request-dto.ts +2 -2
  62. package/models/update-tenant-bank-account-rest-request-dto.ts +30 -1
  63. package/package.json +1 -1
  64. package/dist/models/financial-account-class.d.ts +0 -111
  65. package/models/financial-account-class.ts +0 -120
@@ -0,0 +1,112 @@
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 { BankTransactionInvoiceEntity } from './bank-transaction-invoice-entity';
13
+ import { PaymentEntity } from './payment-entity';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface TransactionEntity
18
+ */
19
+ export interface TransactionEntity {
20
+ /**
21
+ *
22
+ * @type {number}
23
+ * @memberof TransactionEntity
24
+ */
25
+ 'id': number;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof TransactionEntity
30
+ */
31
+ 'owner': string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof TransactionEntity
36
+ */
37
+ 'code': string;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof TransactionEntity
42
+ */
43
+ 'paymentId': number;
44
+ /**
45
+ *
46
+ * @type {number}
47
+ * @memberof TransactionEntity
48
+ */
49
+ 'webhookId'?: number;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof TransactionEntity
54
+ */
55
+ 'timestamp': string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof TransactionEntity
60
+ */
61
+ 'status': TransactionEntityStatusEnum;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof TransactionEntity
66
+ */
67
+ 'rawStatus': string;
68
+ /**
69
+ *
70
+ * @type {number}
71
+ * @memberof TransactionEntity
72
+ */
73
+ 'bankTransactionId'?: number;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof TransactionEntity
78
+ */
79
+ 'createdAt': string;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof TransactionEntity
84
+ */
85
+ 'deletedAt'?: string;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof TransactionEntity
90
+ */
91
+ 'tenantHierarchy': string;
92
+ /**
93
+ *
94
+ * @type {PaymentEntity}
95
+ * @memberof TransactionEntity
96
+ */
97
+ 'payment': PaymentEntity;
98
+ /**
99
+ *
100
+ * @type {BankTransactionInvoiceEntity}
101
+ * @memberof TransactionEntity
102
+ */
103
+ 'bankTransactionInvoice'?: BankTransactionInvoiceEntity;
104
+ }
105
+ export declare const TransactionEntityStatusEnum: {
106
+ readonly Succeeded: "succeeded";
107
+ readonly Pending: "pending";
108
+ readonly Failed: "failed";
109
+ readonly Disputed: "disputed";
110
+ readonly Refunded: "refunded";
111
+ };
112
+ export type TransactionEntityStatusEnum = typeof TransactionEntityStatusEnum[keyof typeof TransactionEntityStatusEnum];
@@ -0,0 +1,23 @@
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.TransactionEntityStatusEnum = void 0;
17
+ exports.TransactionEntityStatusEnum = {
18
+ Succeeded: 'succeeded',
19
+ Pending: 'pending',
20
+ Failed: 'failed',
21
+ Disputed: 'disputed',
22
+ Refunded: 'refunded'
23
+ };
@@ -28,11 +28,11 @@ export interface UpdateBankOrderRequestDto {
28
28
  */
29
29
  'description'?: string;
30
30
  /**
31
- * Financial account code associated with the bank order.
31
+ * Tenant bank account code associated with the bank order.
32
32
  * @type {string}
33
33
  * @memberof UpdateBankOrderRequestDto
34
34
  */
35
- 'financialAccountCode': string;
35
+ 'tenantBankAccountCode': string;
36
36
  /**
37
37
  * List of entity codes associated with bank order.
38
38
  * @type {Array<string>}
@@ -28,7 +28,7 @@ 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
  */
@@ -63,4 +63,30 @@ export interface UpdateTenantBankAccountRestRequestDto {
63
63
  * @memberof UpdateTenantBankAccountRestRequestDto
64
64
  */
65
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;
66
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
+ };
@@ -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,11 +65,11 @@ 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
74
  * List of entity codes associated with bank order.
75
75
  * @type {Array<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
+