@emilgroup/payment-sdk 1.14.1-beta.68 → 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/dist/api/bank-orders-api.d.ts +24 -24
- package/dist/api/bank-orders-api.js +18 -18
- 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/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-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/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/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-entity.ts +162 -0
- package/models/transaction-entity.ts +121 -0
- package/models/update-bank-order-request-dto.ts +2 -2
- 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,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
|
+
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { BankTransactionEntity } from './bank-transaction-entity';
|
|
17
|
+
import { TransactionEntity } from './transaction-entity';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface BankTransactionInvoiceEntity
|
|
23
|
+
*/
|
|
24
|
+
export interface BankTransactionInvoiceEntity {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof BankTransactionInvoiceEntity
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BankTransactionInvoiceEntity
|
|
35
|
+
*/
|
|
36
|
+
'code': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof BankTransactionInvoiceEntity
|
|
41
|
+
*/
|
|
42
|
+
'bankTransactionId': number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof BankTransactionInvoiceEntity
|
|
47
|
+
*/
|
|
48
|
+
'invoiceCode': string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof BankTransactionInvoiceEntity
|
|
53
|
+
*/
|
|
54
|
+
'invoiceNumber': string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof BankTransactionInvoiceEntity
|
|
59
|
+
*/
|
|
60
|
+
'owner': string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof BankTransactionInvoiceEntity
|
|
65
|
+
*/
|
|
66
|
+
'tenantHierarchy': string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof BankTransactionInvoiceEntity
|
|
71
|
+
*/
|
|
72
|
+
'linkedTransactionId'?: number;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {TransactionEntity}
|
|
76
|
+
* @memberof BankTransactionInvoiceEntity
|
|
77
|
+
*/
|
|
78
|
+
'linkedTransaction'?: TransactionEntity;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {BankTransactionEntity}
|
|
82
|
+
* @memberof BankTransactionInvoiceEntity
|
|
83
|
+
*/
|
|
84
|
+
'bankTransaction': BankTransactionEntity;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof BankTransactionInvoiceEntity
|
|
89
|
+
*/
|
|
90
|
+
'createdAt': string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof BankTransactionInvoiceEntity
|
|
95
|
+
*/
|
|
96
|
+
'updatedAt': string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof BankTransactionInvoiceEntity
|
|
101
|
+
*/
|
|
102
|
+
'deletedAt': string;
|
|
103
|
+
}
|
|
104
|
+
|
|
@@ -39,11 +39,11 @@ export interface CreateBankOrderRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'description'?: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Tenant bank account code associated with the bank order.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreateBankOrderRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'tenantBankAccountCode': string;
|
|
47
47
|
/**
|
|
48
48
|
* List of entity codes associated with bank order.
|
|
49
49
|
* @type {Array<string>}
|
|
@@ -0,0 +1,145 @@
|
|
|
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 { ExceedingCreditEntity } from './exceeding-credit-entity';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreditAllocationEntity
|
|
22
|
+
*/
|
|
23
|
+
export interface CreditAllocationEntity {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CreditAllocationEntity
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreditAllocationEntity
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreditAllocationEntity
|
|
40
|
+
*/
|
|
41
|
+
'policyCode': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreditAllocationEntity
|
|
46
|
+
*/
|
|
47
|
+
'policyNumber': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CreditAllocationEntity
|
|
52
|
+
*/
|
|
53
|
+
'allocationAmount': number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof CreditAllocationEntity
|
|
58
|
+
*/
|
|
59
|
+
'exceedingCreditCodes': Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<ExceedingCreditEntity>}
|
|
63
|
+
* @memberof CreditAllocationEntity
|
|
64
|
+
*/
|
|
65
|
+
'exceedingCredits': Array<ExceedingCreditEntity>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreditAllocationEntity
|
|
70
|
+
*/
|
|
71
|
+
'allocationCurrency': CreditAllocationEntityAllocationCurrencyEnum;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreditAllocationEntity
|
|
76
|
+
*/
|
|
77
|
+
'allocationType': CreditAllocationEntityAllocationTypeEnum;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreditAllocationEntity
|
|
82
|
+
*/
|
|
83
|
+
'financialAccountCode'?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CreditAllocationEntity
|
|
88
|
+
*/
|
|
89
|
+
'bookingDate': string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof CreditAllocationEntity
|
|
94
|
+
*/
|
|
95
|
+
'createdAt': string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof CreditAllocationEntity
|
|
100
|
+
*/
|
|
101
|
+
'updatedAt': string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof CreditAllocationEntity
|
|
106
|
+
*/
|
|
107
|
+
'deletedAt'?: string;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof CreditAllocationEntity
|
|
112
|
+
*/
|
|
113
|
+
'owner': string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof CreditAllocationEntity
|
|
118
|
+
*/
|
|
119
|
+
'tenantHierarchy': string;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export const CreditAllocationEntityAllocationCurrencyEnum = {
|
|
123
|
+
Eur: 'EUR',
|
|
124
|
+
Usd: 'USD',
|
|
125
|
+
Gbp: 'GBP',
|
|
126
|
+
Chf: 'CHF',
|
|
127
|
+
Pln: 'PLN',
|
|
128
|
+
Aud: 'AUD',
|
|
129
|
+
Cad: 'CAD',
|
|
130
|
+
Ddk: 'DDK',
|
|
131
|
+
Huf: 'HUF',
|
|
132
|
+
Nok: 'NOK',
|
|
133
|
+
Sek: 'SEK'
|
|
134
|
+
} as const;
|
|
135
|
+
|
|
136
|
+
export type CreditAllocationEntityAllocationCurrencyEnum = typeof CreditAllocationEntityAllocationCurrencyEnum[keyof typeof CreditAllocationEntityAllocationCurrencyEnum];
|
|
137
|
+
export const CreditAllocationEntityAllocationTypeEnum = {
|
|
138
|
+
NextInvoice: 'next_invoice',
|
|
139
|
+
LastInvoice: 'last_invoice',
|
|
140
|
+
SeparateRefund: 'separate_refund'
|
|
141
|
+
} as const;
|
|
142
|
+
|
|
143
|
+
export type CreditAllocationEntityAllocationTypeEnum = typeof CreditAllocationEntityAllocationTypeEnum[keyof typeof CreditAllocationEntityAllocationTypeEnum];
|
|
144
|
+
|
|
145
|
+
|