@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,133 @@
|
|
|
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 { TransactionEntity } from './transaction-entity';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaymentEntity
|
|
17
|
+
*/
|
|
18
|
+
export interface PaymentEntity {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PaymentEntity
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaymentEntity
|
|
29
|
+
*/
|
|
30
|
+
'owner': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PaymentEntity
|
|
35
|
+
*/
|
|
36
|
+
'psp': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PaymentEntity
|
|
41
|
+
*/
|
|
42
|
+
'code': string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PaymentEntity
|
|
47
|
+
*/
|
|
48
|
+
'accountCode'?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof PaymentEntity
|
|
53
|
+
*/
|
|
54
|
+
'partnerCode'?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof PaymentEntity
|
|
59
|
+
*/
|
|
60
|
+
'productSlug': string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof PaymentEntity
|
|
65
|
+
*/
|
|
66
|
+
'amount': number;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof PaymentEntity
|
|
71
|
+
*/
|
|
72
|
+
'currency': string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Array<number>}
|
|
76
|
+
* @memberof PaymentEntity
|
|
77
|
+
*/
|
|
78
|
+
'invoiceIds': Array<number>;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Array<TransactionEntity>}
|
|
82
|
+
* @memberof PaymentEntity
|
|
83
|
+
*/
|
|
84
|
+
'transactions': Array<TransactionEntity>;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {object}
|
|
88
|
+
* @memberof PaymentEntity
|
|
89
|
+
*/
|
|
90
|
+
'metadata': object;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof PaymentEntity
|
|
95
|
+
*/
|
|
96
|
+
'tenantHierarchy': string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof PaymentEntity
|
|
101
|
+
*/
|
|
102
|
+
'receivedDate': string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof PaymentEntity
|
|
107
|
+
*/
|
|
108
|
+
'referenceNumber'?: string;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof PaymentEntity
|
|
113
|
+
*/
|
|
114
|
+
'comment'?: string;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof PaymentEntity
|
|
119
|
+
*/
|
|
120
|
+
'createdAt': string;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof PaymentEntity
|
|
125
|
+
*/
|
|
126
|
+
'deletedAt'?: string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof PaymentEntity
|
|
131
|
+
*/
|
|
132
|
+
'ern': string;
|
|
133
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { BankTransactionEntity } from './bank-transaction-entity';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuggestionGenerationProgressEntity
|
|
17
|
+
*/
|
|
18
|
+
export interface SuggestionGenerationProgressEntity {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
29
|
+
*/
|
|
30
|
+
'bankTransactionId': number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
35
|
+
*/
|
|
36
|
+
'status': SuggestionGenerationProgressEntityStatusEnum;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
41
|
+
*/
|
|
42
|
+
'errorMessage'?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
47
|
+
*/
|
|
48
|
+
'owner': string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
53
|
+
*/
|
|
54
|
+
'tenantHierarchy': string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {BankTransactionEntity}
|
|
58
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
59
|
+
*/
|
|
60
|
+
'bankTransaction': BankTransactionEntity;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
65
|
+
*/
|
|
66
|
+
'createdAt': string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
71
|
+
*/
|
|
72
|
+
'updatedAt': string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
77
|
+
*/
|
|
78
|
+
'deletedAt': string;
|
|
79
|
+
}
|
|
80
|
+
export declare const SuggestionGenerationProgressEntityStatusEnum: {
|
|
81
|
+
readonly Pending: "pending";
|
|
82
|
+
readonly Processing: "processing";
|
|
83
|
+
readonly Completed: "completed";
|
|
84
|
+
readonly Failed: "failed";
|
|
85
|
+
};
|
|
86
|
+
export type SuggestionGenerationProgressEntityStatusEnum = typeof SuggestionGenerationProgressEntityStatusEnum[keyof typeof SuggestionGenerationProgressEntityStatusEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
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.SuggestionGenerationProgressEntityStatusEnum = void 0;
|
|
17
|
+
exports.SuggestionGenerationProgressEntityStatusEnum = {
|
|
18
|
+
Pending: 'pending',
|
|
19
|
+
Processing: 'processing',
|
|
20
|
+
Completed: 'completed',
|
|
21
|
+
Failed: 'failed'
|
|
22
|
+
};
|
|
@@ -0,0 +1,153 @@
|
|
|
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 { BankTransactionEntity } from './bank-transaction-entity';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TenantBankAccountEntity
|
|
17
|
+
*/
|
|
18
|
+
export interface TenantBankAccountEntity {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof TenantBankAccountEntity
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TenantBankAccountEntity
|
|
29
|
+
*/
|
|
30
|
+
'code': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TenantBankAccountEntity
|
|
35
|
+
*/
|
|
36
|
+
'owner': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TenantBankAccountEntity
|
|
41
|
+
*/
|
|
42
|
+
'bankName': string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof TenantBankAccountEntity
|
|
47
|
+
*/
|
|
48
|
+
'iban': string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof TenantBankAccountEntity
|
|
53
|
+
*/
|
|
54
|
+
'accountNumber': string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof TenantBankAccountEntity
|
|
59
|
+
*/
|
|
60
|
+
'accountName': string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof TenantBankAccountEntity
|
|
65
|
+
*/
|
|
66
|
+
'bookingAccount': string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof TenantBankAccountEntity
|
|
71
|
+
*/
|
|
72
|
+
'street'?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof TenantBankAccountEntity
|
|
77
|
+
*/
|
|
78
|
+
'houseNumber'?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof TenantBankAccountEntity
|
|
83
|
+
*/
|
|
84
|
+
'zipCode'?: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof TenantBankAccountEntity
|
|
89
|
+
*/
|
|
90
|
+
'city'?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof TenantBankAccountEntity
|
|
95
|
+
*/
|
|
96
|
+
'country'?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {boolean}
|
|
100
|
+
* @memberof TenantBankAccountEntity
|
|
101
|
+
*/
|
|
102
|
+
'isDefault': boolean;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof TenantBankAccountEntity
|
|
107
|
+
*/
|
|
108
|
+
'sepaPainVersion'?: TenantBankAccountEntitySepaPainVersionEnum;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof TenantBankAccountEntity
|
|
113
|
+
*/
|
|
114
|
+
'creditorId'?: string;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof TenantBankAccountEntity
|
|
119
|
+
*/
|
|
120
|
+
'tenantHierarchy': string;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {Array<BankTransactionEntity>}
|
|
124
|
+
* @memberof TenantBankAccountEntity
|
|
125
|
+
*/
|
|
126
|
+
'bankTransactions': Array<BankTransactionEntity>;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof TenantBankAccountEntity
|
|
131
|
+
*/
|
|
132
|
+
'createdAt'?: string;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof TenantBankAccountEntity
|
|
137
|
+
*/
|
|
138
|
+
'updatedAt'?: string;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof TenantBankAccountEntity
|
|
143
|
+
*/
|
|
144
|
+
'deletedAt'?: string;
|
|
145
|
+
}
|
|
146
|
+
export declare const TenantBankAccountEntitySepaPainVersionEnum: {
|
|
147
|
+
readonly _00302: "pain.008.003.02";
|
|
148
|
+
readonly _00802: "pain.008.008.02";
|
|
149
|
+
readonly _00109: "pain.008.001.09";
|
|
150
|
+
readonly _00110: "pain.008.001.10";
|
|
151
|
+
readonly _00111: "pain.008.001.11";
|
|
152
|
+
};
|
|
153
|
+
export type TenantBankAccountEntitySepaPainVersionEnum = typeof TenantBankAccountEntitySepaPainVersionEnum[keyof typeof TenantBankAccountEntitySepaPainVersionEnum];
|
|
@@ -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.TenantBankAccountEntitySepaPainVersionEnum = void 0;
|
|
17
|
+
exports.TenantBankAccountEntitySepaPainVersionEnum = {
|
|
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,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
|
-
*
|
|
31
|
+
* Tenant bank account code associated with the bank order.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdateBankOrderRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'
|
|
35
|
+
'tenantBankAccountCode': string;
|
|
36
36
|
/**
|
|
37
37
|
* List of entity codes associated with bank order.
|
|
38
38
|
* @type {Array<string>}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { BankOrderXmlFileClass } from './bank-order-xml-file-class';
|
|
17
|
-
import {
|
|
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
|
-
*
|
|
68
|
+
* Tenant bank account code associated with the bank order.
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @memberof BankOrderClass
|
|
71
71
|
*/
|
|
72
|
-
'
|
|
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
|
|
117
|
-
* @type {
|
|
116
|
+
* The tenant bank account object that this bank order belongs to
|
|
117
|
+
* @type {TenantBankAccountEntity}
|
|
118
118
|
* @memberof BankOrderClass
|
|
119
119
|
*/
|
|
120
|
-
'
|
|
120
|
+
'tenantBankAccount'?: TenantBankAccountEntity;
|
|
121
121
|
/**
|
|
122
122
|
* The XML file associated with this bank order
|
|
123
123
|
* @type {BankOrderXmlFileClass}
|