@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.
- package/.openapi-generator/FILES +11 -1
- package/README.md +2 -2
- package/api/bank-orders-api.ts +24 -24
- package/api/tenant-bank-account-api.ts +8 -8
- package/dist/api/bank-orders-api.d.ts +24 -24
- package/dist/api/bank-orders-api.js +18 -18
- package/dist/api/tenant-bank-account-api.d.ts +8 -8
- package/dist/api/tenant-bank-account-api.js +6 -6
- package/dist/models/bank-order-class.d.ts +6 -6
- package/dist/models/bank-order-entity.d.ts +156 -0
- package/dist/models/bank-order-entity.js +29 -0
- package/dist/models/bank-order-xml-file-entity.d.ts +85 -0
- package/dist/models/bank-order-xml-file-entity.js +15 -0
- package/dist/models/bank-transaction-entity.d.ts +179 -0
- package/dist/models/{financial-account-class.js → bank-transaction-entity.js} +4 -8
- package/dist/models/bank-transaction-invoice-entity.d.ts +98 -0
- package/dist/models/bank-transaction-invoice-entity.js +15 -0
- package/dist/models/create-bank-order-request-dto.d.ts +2 -2
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +27 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +8 -0
- package/dist/models/credit-allocation-entity.d.ts +135 -0
- package/dist/models/credit-allocation-entity.js +34 -0
- package/dist/models/exceeding-credit-entity.d.ts +148 -0
- package/dist/models/exceeding-credit-entity.js +29 -0
- package/dist/models/index.d.ts +11 -1
- package/dist/models/index.js +11 -1
- package/dist/models/invoice-match-suggestion-entity.d.ts +103 -0
- package/dist/models/invoice-match-suggestion-entity.js +15 -0
- package/dist/models/payment-entity.d.ts +133 -0
- package/dist/models/payment-entity.js +15 -0
- package/dist/models/suggestion-generation-progress-entity.d.ts +86 -0
- package/dist/models/suggestion-generation-progress-entity.js +22 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +26 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +8 -0
- package/dist/models/tenant-bank-account-class.d.ts +26 -0
- package/dist/models/tenant-bank-account-class.js +8 -0
- package/dist/models/tenant-bank-account-entity.d.ts +153 -0
- package/dist/models/tenant-bank-account-entity.js +23 -0
- package/dist/models/transaction-entity.d.ts +112 -0
- package/dist/models/transaction-entity.js +23 -0
- package/dist/models/update-bank-order-request-dto.d.ts +2 -2
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +27 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +8 -0
- package/models/bank-order-class.ts +6 -6
- package/models/bank-order-entity.ts +166 -0
- package/models/bank-order-xml-file-entity.ts +91 -0
- package/models/bank-transaction-entity.ts +188 -0
- package/models/bank-transaction-invoice-entity.ts +104 -0
- package/models/create-bank-order-request-dto.ts +2 -2
- package/models/create-tenant-bank-account-request-dto.ts +30 -1
- package/models/credit-allocation-entity.ts +145 -0
- package/models/exceeding-credit-entity.ts +157 -0
- package/models/index.ts +11 -1
- package/models/invoice-match-suggestion-entity.ts +109 -0
- package/models/payment-entity.ts +139 -0
- package/models/suggestion-generation-progress-entity.ts +95 -0
- package/models/tenant-bank-account-class-without-expand-properties.ts +29 -0
- package/models/tenant-bank-account-class.ts +29 -0
- package/models/tenant-bank-account-entity.ts +162 -0
- package/models/transaction-entity.ts +121 -0
- package/models/update-bank-order-request-dto.ts +2 -2
- package/models/update-tenant-bank-account-rest-request-dto.ts +30 -1
- package/package.json +1 -1
- package/dist/models/financial-account-class.d.ts +0 -111
- package/models/financial-account-class.ts +0 -120
|
@@ -0,0 +1,139 @@
|
|
|
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 { TransactionEntity } from './transaction-entity';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PaymentEntity
|
|
22
|
+
*/
|
|
23
|
+
export interface PaymentEntity {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PaymentEntity
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PaymentEntity
|
|
34
|
+
*/
|
|
35
|
+
'owner': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PaymentEntity
|
|
40
|
+
*/
|
|
41
|
+
'psp': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentEntity
|
|
46
|
+
*/
|
|
47
|
+
'code': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PaymentEntity
|
|
52
|
+
*/
|
|
53
|
+
'accountCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PaymentEntity
|
|
58
|
+
*/
|
|
59
|
+
'partnerCode'?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PaymentEntity
|
|
64
|
+
*/
|
|
65
|
+
'productSlug': string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof PaymentEntity
|
|
70
|
+
*/
|
|
71
|
+
'amount': number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PaymentEntity
|
|
76
|
+
*/
|
|
77
|
+
'currency': string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Array<number>}
|
|
81
|
+
* @memberof PaymentEntity
|
|
82
|
+
*/
|
|
83
|
+
'invoiceIds': Array<number>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Array<TransactionEntity>}
|
|
87
|
+
* @memberof PaymentEntity
|
|
88
|
+
*/
|
|
89
|
+
'transactions': Array<TransactionEntity>;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {object}
|
|
93
|
+
* @memberof PaymentEntity
|
|
94
|
+
*/
|
|
95
|
+
'metadata': object;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PaymentEntity
|
|
100
|
+
*/
|
|
101
|
+
'tenantHierarchy': string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PaymentEntity
|
|
106
|
+
*/
|
|
107
|
+
'receivedDate': string;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof PaymentEntity
|
|
112
|
+
*/
|
|
113
|
+
'referenceNumber'?: string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof PaymentEntity
|
|
118
|
+
*/
|
|
119
|
+
'comment'?: string;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof PaymentEntity
|
|
124
|
+
*/
|
|
125
|
+
'createdAt': string;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof PaymentEntity
|
|
130
|
+
*/
|
|
131
|
+
'deletedAt'?: string;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof PaymentEntity
|
|
136
|
+
*/
|
|
137
|
+
'ern': string;
|
|
138
|
+
}
|
|
139
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface SuggestionGenerationProgressEntity
|
|
22
|
+
*/
|
|
23
|
+
export interface SuggestionGenerationProgressEntity {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
34
|
+
*/
|
|
35
|
+
'bankTransactionId': number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
40
|
+
*/
|
|
41
|
+
'status': SuggestionGenerationProgressEntityStatusEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
46
|
+
*/
|
|
47
|
+
'errorMessage'?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
52
|
+
*/
|
|
53
|
+
'owner': string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
58
|
+
*/
|
|
59
|
+
'tenantHierarchy': string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {BankTransactionEntity}
|
|
63
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
64
|
+
*/
|
|
65
|
+
'bankTransaction': BankTransactionEntity;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
70
|
+
*/
|
|
71
|
+
'createdAt': string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
76
|
+
*/
|
|
77
|
+
'updatedAt': string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
82
|
+
*/
|
|
83
|
+
'deletedAt': string;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export const SuggestionGenerationProgressEntityStatusEnum = {
|
|
87
|
+
Pending: 'pending',
|
|
88
|
+
Processing: 'processing',
|
|
89
|
+
Completed: 'completed',
|
|
90
|
+
Failed: 'failed'
|
|
91
|
+
} as const;
|
|
92
|
+
|
|
93
|
+
export type SuggestionGenerationProgressEntityStatusEnum = typeof SuggestionGenerationProgressEntityStatusEnum[keyof typeof SuggestionGenerationProgressEntityStatusEnum];
|
|
94
|
+
|
|
95
|
+
|
|
@@ -110,5 +110,34 @@ export interface TenantBankAccountClassWithoutExpandProperties {
|
|
|
110
110
|
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
111
111
|
*/
|
|
112
112
|
'country'?: string;
|
|
113
|
+
/**
|
|
114
|
+
* SEPA Pain version
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
117
|
+
*/
|
|
118
|
+
'sepaPainVersion': TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum;
|
|
119
|
+
/**
|
|
120
|
+
* Creditor ID
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
123
|
+
*/
|
|
124
|
+
'creditorId': string;
|
|
125
|
+
/**
|
|
126
|
+
* Indicates whether this is the default bank account for the tenant
|
|
127
|
+
* @type {boolean}
|
|
128
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
129
|
+
*/
|
|
130
|
+
'isDefault': boolean;
|
|
113
131
|
}
|
|
114
132
|
|
|
133
|
+
export const TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = {
|
|
134
|
+
_00302: 'pain.008.003.02',
|
|
135
|
+
_00802: 'pain.008.008.02',
|
|
136
|
+
_00109: 'pain.008.001.09',
|
|
137
|
+
_00110: 'pain.008.001.10',
|
|
138
|
+
_00111: 'pain.008.001.11'
|
|
139
|
+
} as const;
|
|
140
|
+
|
|
141
|
+
export type TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum[keyof typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum];
|
|
142
|
+
|
|
143
|
+
|
|
@@ -117,5 +117,34 @@ export interface TenantBankAccountClass {
|
|
|
117
117
|
* @memberof TenantBankAccountClass
|
|
118
118
|
*/
|
|
119
119
|
'country'?: string;
|
|
120
|
+
/**
|
|
121
|
+
* SEPA Pain version
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof TenantBankAccountClass
|
|
124
|
+
*/
|
|
125
|
+
'sepaPainVersion': TenantBankAccountClassSepaPainVersionEnum;
|
|
126
|
+
/**
|
|
127
|
+
* Creditor ID
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof TenantBankAccountClass
|
|
130
|
+
*/
|
|
131
|
+
'creditorId': string;
|
|
132
|
+
/**
|
|
133
|
+
* Indicates whether this is the default bank account for the tenant
|
|
134
|
+
* @type {boolean}
|
|
135
|
+
* @memberof TenantBankAccountClass
|
|
136
|
+
*/
|
|
137
|
+
'isDefault': boolean;
|
|
120
138
|
}
|
|
121
139
|
|
|
140
|
+
export const TenantBankAccountClassSepaPainVersionEnum = {
|
|
141
|
+
_00302: 'pain.008.003.02',
|
|
142
|
+
_00802: 'pain.008.008.02',
|
|
143
|
+
_00109: 'pain.008.001.09',
|
|
144
|
+
_00110: 'pain.008.001.10',
|
|
145
|
+
_00111: 'pain.008.001.11'
|
|
146
|
+
} as const;
|
|
147
|
+
|
|
148
|
+
export type TenantBankAccountClassSepaPainVersionEnum = typeof TenantBankAccountClassSepaPainVersionEnum[keyof typeof TenantBankAccountClassSepaPainVersionEnum];
|
|
149
|
+
|
|
150
|
+
|
|
@@ -0,0 +1,162 @@
|
|
|
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
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface TenantBankAccountEntity
|
|
22
|
+
*/
|
|
23
|
+
export interface TenantBankAccountEntity {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof TenantBankAccountEntity
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TenantBankAccountEntity
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TenantBankAccountEntity
|
|
40
|
+
*/
|
|
41
|
+
'owner': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof TenantBankAccountEntity
|
|
46
|
+
*/
|
|
47
|
+
'bankName': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof TenantBankAccountEntity
|
|
52
|
+
*/
|
|
53
|
+
'iban': string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof TenantBankAccountEntity
|
|
58
|
+
*/
|
|
59
|
+
'accountNumber': string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof TenantBankAccountEntity
|
|
64
|
+
*/
|
|
65
|
+
'accountName': string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof TenantBankAccountEntity
|
|
70
|
+
*/
|
|
71
|
+
'bookingAccount': string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof TenantBankAccountEntity
|
|
76
|
+
*/
|
|
77
|
+
'street'?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof TenantBankAccountEntity
|
|
82
|
+
*/
|
|
83
|
+
'houseNumber'?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof TenantBankAccountEntity
|
|
88
|
+
*/
|
|
89
|
+
'zipCode'?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof TenantBankAccountEntity
|
|
94
|
+
*/
|
|
95
|
+
'city'?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof TenantBankAccountEntity
|
|
100
|
+
*/
|
|
101
|
+
'country'?: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof TenantBankAccountEntity
|
|
106
|
+
*/
|
|
107
|
+
'isDefault': boolean;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof TenantBankAccountEntity
|
|
112
|
+
*/
|
|
113
|
+
'sepaPainVersion'?: TenantBankAccountEntitySepaPainVersionEnum;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof TenantBankAccountEntity
|
|
118
|
+
*/
|
|
119
|
+
'creditorId'?: string;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof TenantBankAccountEntity
|
|
124
|
+
*/
|
|
125
|
+
'tenantHierarchy': string;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {Array<BankTransactionEntity>}
|
|
129
|
+
* @memberof TenantBankAccountEntity
|
|
130
|
+
*/
|
|
131
|
+
'bankTransactions': Array<BankTransactionEntity>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof TenantBankAccountEntity
|
|
136
|
+
*/
|
|
137
|
+
'createdAt'?: string;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof TenantBankAccountEntity
|
|
142
|
+
*/
|
|
143
|
+
'updatedAt'?: string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof TenantBankAccountEntity
|
|
148
|
+
*/
|
|
149
|
+
'deletedAt'?: string;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export const TenantBankAccountEntitySepaPainVersionEnum = {
|
|
153
|
+
_00302: 'pain.008.003.02',
|
|
154
|
+
_00802: 'pain.008.008.02',
|
|
155
|
+
_00109: 'pain.008.001.09',
|
|
156
|
+
_00110: 'pain.008.001.10',
|
|
157
|
+
_00111: 'pain.008.001.11'
|
|
158
|
+
} as const;
|
|
159
|
+
|
|
160
|
+
export type TenantBankAccountEntitySepaPainVersionEnum = typeof TenantBankAccountEntitySepaPainVersionEnum[keyof typeof TenantBankAccountEntitySepaPainVersionEnum];
|
|
161
|
+
|
|
162
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
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 { BankTransactionInvoiceEntity } from './bank-transaction-invoice-entity';
|
|
17
|
+
import { PaymentEntity } from './payment-entity';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface TransactionEntity
|
|
23
|
+
*/
|
|
24
|
+
export interface TransactionEntity {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof TransactionEntity
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TransactionEntity
|
|
35
|
+
*/
|
|
36
|
+
'owner': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TransactionEntity
|
|
41
|
+
*/
|
|
42
|
+
'code': string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof TransactionEntity
|
|
47
|
+
*/
|
|
48
|
+
'paymentId': number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof TransactionEntity
|
|
53
|
+
*/
|
|
54
|
+
'webhookId'?: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof TransactionEntity
|
|
59
|
+
*/
|
|
60
|
+
'timestamp': string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof TransactionEntity
|
|
65
|
+
*/
|
|
66
|
+
'status': TransactionEntityStatusEnum;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof TransactionEntity
|
|
71
|
+
*/
|
|
72
|
+
'rawStatus': string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof TransactionEntity
|
|
77
|
+
*/
|
|
78
|
+
'bankTransactionId'?: number;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof TransactionEntity
|
|
83
|
+
*/
|
|
84
|
+
'createdAt': string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof TransactionEntity
|
|
89
|
+
*/
|
|
90
|
+
'deletedAt'?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof TransactionEntity
|
|
95
|
+
*/
|
|
96
|
+
'tenantHierarchy': string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {PaymentEntity}
|
|
100
|
+
* @memberof TransactionEntity
|
|
101
|
+
*/
|
|
102
|
+
'payment': PaymentEntity;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {BankTransactionInvoiceEntity}
|
|
106
|
+
* @memberof TransactionEntity
|
|
107
|
+
*/
|
|
108
|
+
'bankTransactionInvoice'?: BankTransactionInvoiceEntity;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export const TransactionEntityStatusEnum = {
|
|
112
|
+
Succeeded: 'succeeded',
|
|
113
|
+
Pending: 'pending',
|
|
114
|
+
Failed: 'failed',
|
|
115
|
+
Disputed: 'disputed',
|
|
116
|
+
Refunded: 'refunded'
|
|
117
|
+
} as const;
|
|
118
|
+
|
|
119
|
+
export type TransactionEntityStatusEnum = typeof TransactionEntityStatusEnum[keyof typeof TransactionEntityStatusEnum];
|
|
120
|
+
|
|
121
|
+
|
|
@@ -33,11 +33,11 @@ export interface UpdateBankOrderRequestDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'description'?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Tenant bank account code associated with the bank order.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof UpdateBankOrderRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'tenantBankAccountCode': string;
|
|
41
41
|
/**
|
|
42
42
|
* List of entity codes associated with bank order.
|
|
43
43
|
* @type {Array<string>}
|
|
@@ -33,7 +33,7 @@ export interface UpdateTenantBankAccountRestRequestDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'bankName': string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Number of the booking account this bank account belongs to
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
39
39
|
*/
|
|
@@ -68,5 +68,34 @@ export interface UpdateTenantBankAccountRestRequestDto {
|
|
|
68
68
|
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
69
69
|
*/
|
|
70
70
|
'country': string;
|
|
71
|
+
/**
|
|
72
|
+
* SEPA Pain version
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'sepaPainVersion': UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum;
|
|
77
|
+
/**
|
|
78
|
+
* Creditor ID
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'creditorId': string;
|
|
83
|
+
/**
|
|
84
|
+
* Indicates whether this is the default bank account for the tenant
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'isDefault': boolean;
|
|
71
89
|
}
|
|
72
90
|
|
|
91
|
+
export const UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = {
|
|
92
|
+
_00302: 'pain.008.003.02',
|
|
93
|
+
_00802: 'pain.008.008.02',
|
|
94
|
+
_00109: 'pain.008.001.09',
|
|
95
|
+
_00110: 'pain.008.001.10',
|
|
96
|
+
_00111: 'pain.008.001.11'
|
|
97
|
+
} as const;
|
|
98
|
+
|
|
99
|
+
export type UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum[keyof typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum];
|
|
100
|
+
|
|
101
|
+
|