@emilgroup/payment-sdk 1.14.1-beta.7 → 1.14.1-beta.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +32 -1
- package/README.md +2 -2
- package/api/bank-orders-api.ts +24 -24
- package/api/billing-addresses-api.ts +677 -0
- package/api/credit-allocation-api.ts +456 -0
- package/api/payout-methods-api.ts +672 -0
- package/api/policy-payment-methods-api.ts +118 -0
- package/api/tenant-bank-account-api.ts +8 -8
- package/api.ts +6 -0
- package/base.ts +4 -0
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-orders-api.d.ts +29 -29
- package/dist/api/bank-orders-api.js +18 -18
- package/dist/api/bank-transaction-api.d.ts +6 -6
- package/dist/api/billing-addresses-api.d.ts +384 -0
- package/dist/api/billing-addresses-api.js +636 -0
- package/dist/api/credit-allocation-api.d.ts +263 -0
- package/dist/api/credit-allocation-api.js +445 -0
- package/dist/api/exceeding-credits-api.d.ts +2 -2
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payout-methods-api.d.ts +382 -0
- package/dist/api/payout-methods-api.js +635 -0
- package/dist/api/policy-payment-methods-api.d.ts +67 -2
- package/dist/api/policy-payment-methods-api.js +99 -0
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/tenant-bank-account-api.d.ts +13 -13
- package/dist/api/tenant-bank-account-api.js +6 -6
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.js +3 -1
- package/dist/common.d.ts +1 -1
- package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
- package/dist/models/activate-policy-payment-method-request-dto.js +15 -0
- package/dist/models/bank-order-class.d.ts +9 -9
- 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/billing-address-class.d.ts +108 -0
- package/dist/models/billing-address-class.js +15 -0
- package/dist/models/billing-address-dto.d.ts +6 -0
- package/dist/models/create-bank-order-request-dto.d.ts +6 -5
- package/dist/models/create-bank-order-request-dto.js +2 -1
- package/dist/models/create-billing-address-request-dto.d.ts +66 -0
- package/dist/models/create-billing-address-request-dto.js +15 -0
- package/dist/models/create-billing-address-response-class.d.ts +25 -0
- package/dist/models/create-billing-address-response-class.js +15 -0
- package/dist/models/create-credit-allocation-request-dto.d.ts +54 -0
- package/dist/models/create-credit-allocation-request-dto.js +21 -0
- package/dist/models/create-credit-allocation-response-class.d.ts +25 -0
- package/dist/models/create-credit-allocation-response-class.js +15 -0
- package/dist/models/create-payout-method-request-dto.d.ts +60 -0
- package/dist/models/create-payout-method-request-dto.js +15 -0
- package/dist/models/create-payout-method-response-class.d.ts +25 -0
- package/dist/models/create-payout-method-response-class.js +15 -0
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +57 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +8 -0
- package/dist/models/credit-allocation-class.d.ts +115 -0
- package/dist/models/credit-allocation-class.js +21 -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-class.d.ts +6 -0
- package/dist/models/exceeding-credit-entity.d.ts +148 -0
- package/dist/models/exceeding-credit-entity.js +29 -0
- package/dist/models/get-billing-address-response-class.d.ts +25 -0
- package/dist/models/get-billing-address-response-class.js +15 -0
- package/dist/models/get-credit-allocation-response-class.d.ts +25 -0
- package/dist/models/get-credit-allocation-response-class.js +15 -0
- package/dist/models/get-payout-method-response-class.d.ts +25 -0
- package/dist/models/get-payout-method-response-class.js +15 -0
- package/dist/models/index.d.ts +29 -1
- package/dist/models/index.js +29 -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/list-billing-addresses-response-class.d.ts +43 -0
- package/dist/models/list-billing-addresses-response-class.js +15 -0
- package/dist/models/list-credit-allocations-response-class.d.ts +43 -0
- package/dist/models/list-credit-allocations-response-class.js +15 -0
- package/dist/models/list-payout-methods-response-class.d.ts +43 -0
- package/dist/models/list-payout-methods-response-class.js +15 -0
- package/dist/models/payment-entity.d.ts +133 -0
- package/dist/models/payment-entity.js +15 -0
- package/dist/models/payout-method-class.d.ts +115 -0
- package/dist/models/payout-method-class.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 +56 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +8 -0
- package/dist/models/tenant-bank-account-class.d.ts +56 -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 +5 -5
- package/dist/models/update-billing-address-request-dto.d.ts +66 -0
- package/dist/models/update-billing-address-request-dto.js +15 -0
- package/dist/models/update-billing-address-response-class.d.ts +25 -0
- package/dist/models/update-billing-address-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +57 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +8 -0
- package/models/activate-policy-payment-method-request-dto.ts +30 -0
- package/models/bank-order-class.ts +9 -9
- 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/billing-address-class.ts +114 -0
- package/models/billing-address-dto.ts +6 -0
- package/models/create-bank-order-request-dto.ts +7 -6
- package/models/create-billing-address-request-dto.ts +72 -0
- package/models/create-billing-address-response-class.ts +31 -0
- package/models/create-credit-allocation-request-dto.ts +63 -0
- package/models/create-credit-allocation-response-class.ts +31 -0
- package/models/create-payout-method-request-dto.ts +66 -0
- package/models/create-payout-method-response-class.ts +31 -0
- package/models/create-tenant-bank-account-request-dto.ts +60 -1
- package/models/credit-allocation-class.ts +124 -0
- package/models/credit-allocation-entity.ts +145 -0
- package/models/exceeding-credit-class.ts +6 -0
- package/models/exceeding-credit-entity.ts +157 -0
- package/models/get-billing-address-response-class.ts +31 -0
- package/models/get-credit-allocation-response-class.ts +31 -0
- package/models/get-payout-method-response-class.ts +31 -0
- package/models/index.ts +29 -1
- package/models/invoice-match-suggestion-entity.ts +109 -0
- package/models/list-billing-addresses-response-class.ts +49 -0
- package/models/list-credit-allocations-response-class.ts +49 -0
- package/models/list-payout-methods-response-class.ts +49 -0
- package/models/payment-entity.ts +139 -0
- package/models/{financial-account-class.ts → payout-method-class.ts} +48 -47
- package/models/suggestion-generation-progress-entity.ts +95 -0
- package/models/tenant-bank-account-class-without-expand-properties.ts +59 -0
- package/models/tenant-bank-account-class.ts +59 -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 +5 -5
- package/models/update-billing-address-request-dto.ts +72 -0
- package/models/update-billing-address-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +60 -1
- package/package.json +2 -2
- package/dist/models/financial-account-class.d.ts +0 -111
|
@@ -0,0 +1,156 @@
|
|
|
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 { BankOrderXmlFileEntity } from './bank-order-xml-file-entity';
|
|
13
|
+
import { BankTransactionEntity } from './bank-transaction-entity';
|
|
14
|
+
import { TenantBankAccountEntity } from './tenant-bank-account-entity';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface BankOrderEntity
|
|
19
|
+
*/
|
|
20
|
+
export interface BankOrderEntity {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof BankOrderEntity
|
|
25
|
+
*/
|
|
26
|
+
'id': number;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof BankOrderEntity
|
|
31
|
+
*/
|
|
32
|
+
'code': string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof BankOrderEntity
|
|
37
|
+
*/
|
|
38
|
+
'type': BankOrderEntityTypeEnum;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof BankOrderEntity
|
|
43
|
+
*/
|
|
44
|
+
'amount': number;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof BankOrderEntity
|
|
49
|
+
*/
|
|
50
|
+
'status': BankOrderEntityStatusEnum;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof BankOrderEntity
|
|
55
|
+
*/
|
|
56
|
+
'orderNumber': string;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof BankOrderEntity
|
|
61
|
+
*/
|
|
62
|
+
'description'?: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {TenantBankAccountEntity}
|
|
66
|
+
* @memberof BankOrderEntity
|
|
67
|
+
*/
|
|
68
|
+
'tenantBankAccount': TenantBankAccountEntity;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {number}
|
|
72
|
+
* @memberof BankOrderEntity
|
|
73
|
+
*/
|
|
74
|
+
'tenantBankAccountId': number;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof BankOrderEntity
|
|
79
|
+
*/
|
|
80
|
+
'tenantBankAccountCode': string;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {Array<string>}
|
|
84
|
+
* @memberof BankOrderEntity
|
|
85
|
+
*/
|
|
86
|
+
'entityCodes': Array<string>;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {Array<BankTransactionEntity>}
|
|
90
|
+
* @memberof BankOrderEntity
|
|
91
|
+
*/
|
|
92
|
+
'bankTransactions': Array<BankTransactionEntity>;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {BankOrderXmlFileEntity}
|
|
96
|
+
* @memberof BankOrderEntity
|
|
97
|
+
*/
|
|
98
|
+
'xmlFile'?: BankOrderXmlFileEntity;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof BankOrderEntity
|
|
103
|
+
*/
|
|
104
|
+
'executionDate': string;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof BankOrderEntity
|
|
109
|
+
*/
|
|
110
|
+
'dueDate': string;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof BankOrderEntity
|
|
115
|
+
*/
|
|
116
|
+
'createdAt': string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof BankOrderEntity
|
|
121
|
+
*/
|
|
122
|
+
'updatedAt': string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof BankOrderEntity
|
|
127
|
+
*/
|
|
128
|
+
'deletedAt'?: string;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @type {string}
|
|
132
|
+
* @memberof BankOrderEntity
|
|
133
|
+
*/
|
|
134
|
+
'owner': string;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof BankOrderEntity
|
|
139
|
+
*/
|
|
140
|
+
'tenantHierarchy': string;
|
|
141
|
+
}
|
|
142
|
+
export declare const BankOrderEntityTypeEnum: {
|
|
143
|
+
readonly DirectDebit: "direct_debit";
|
|
144
|
+
readonly PremiumPayment: "premium_payment";
|
|
145
|
+
readonly ClaimPayment: "claim_payment";
|
|
146
|
+
readonly CommissionPayment: "commission_payment";
|
|
147
|
+
};
|
|
148
|
+
export type BankOrderEntityTypeEnum = typeof BankOrderEntityTypeEnum[keyof typeof BankOrderEntityTypeEnum];
|
|
149
|
+
export declare const BankOrderEntityStatusEnum: {
|
|
150
|
+
readonly Open: "open";
|
|
151
|
+
readonly Draft: "draft";
|
|
152
|
+
readonly Closed: "closed";
|
|
153
|
+
readonly Accepted: "accepted";
|
|
154
|
+
readonly Processing: "processing";
|
|
155
|
+
};
|
|
156
|
+
export type BankOrderEntityStatusEnum = typeof BankOrderEntityStatusEnum[keyof typeof BankOrderEntityStatusEnum];
|
|
@@ -0,0 +1,29 @@
|
|
|
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.BankOrderEntityStatusEnum = exports.BankOrderEntityTypeEnum = void 0;
|
|
17
|
+
exports.BankOrderEntityTypeEnum = {
|
|
18
|
+
DirectDebit: 'direct_debit',
|
|
19
|
+
PremiumPayment: 'premium_payment',
|
|
20
|
+
ClaimPayment: 'claim_payment',
|
|
21
|
+
CommissionPayment: 'commission_payment'
|
|
22
|
+
};
|
|
23
|
+
exports.BankOrderEntityStatusEnum = {
|
|
24
|
+
Open: 'open',
|
|
25
|
+
Draft: 'draft',
|
|
26
|
+
Closed: 'closed',
|
|
27
|
+
Accepted: 'accepted',
|
|
28
|
+
Processing: 'processing'
|
|
29
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { BankOrderEntity } from './bank-order-entity';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BankOrderXmlFileEntity
|
|
17
|
+
*/
|
|
18
|
+
export interface BankOrderXmlFileEntity {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof BankOrderXmlFileEntity
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BankOrderXmlFileEntity
|
|
29
|
+
*/
|
|
30
|
+
'owner': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BankOrderXmlFileEntity
|
|
35
|
+
*/
|
|
36
|
+
'xmlContent': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof BankOrderXmlFileEntity
|
|
41
|
+
*/
|
|
42
|
+
'fileName'?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof BankOrderXmlFileEntity
|
|
47
|
+
*/
|
|
48
|
+
'mimeType'?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof BankOrderXmlFileEntity
|
|
53
|
+
*/
|
|
54
|
+
'fileSize'?: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {BankOrderEntity}
|
|
58
|
+
* @memberof BankOrderXmlFileEntity
|
|
59
|
+
*/
|
|
60
|
+
'bankOrder': BankOrderEntity;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof BankOrderXmlFileEntity
|
|
65
|
+
*/
|
|
66
|
+
'createdAt': string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof BankOrderXmlFileEntity
|
|
71
|
+
*/
|
|
72
|
+
'updatedAt': string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof BankOrderXmlFileEntity
|
|
77
|
+
*/
|
|
78
|
+
'deletedAt'?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof BankOrderXmlFileEntity
|
|
83
|
+
*/
|
|
84
|
+
'tenantHierarchy': string;
|
|
85
|
+
}
|
|
@@ -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,179 @@
|
|
|
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 { BankOrderEntity } from './bank-order-entity';
|
|
13
|
+
import { BankTransactionInvoiceEntity } from './bank-transaction-invoice-entity';
|
|
14
|
+
import { ExceedingCreditEntity } from './exceeding-credit-entity';
|
|
15
|
+
import { InvoiceMatchSuggestionEntity } from './invoice-match-suggestion-entity';
|
|
16
|
+
import { SuggestionGenerationProgressEntity } from './suggestion-generation-progress-entity';
|
|
17
|
+
import { TenantBankAccountEntity } from './tenant-bank-account-entity';
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface BankTransactionEntity
|
|
22
|
+
*/
|
|
23
|
+
export interface BankTransactionEntity {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof BankTransactionEntity
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BankTransactionEntity
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BankTransactionEntity
|
|
40
|
+
*/
|
|
41
|
+
'owner': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof BankTransactionEntity
|
|
46
|
+
*/
|
|
47
|
+
'bankAccountId': number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BankTransactionEntity
|
|
52
|
+
*/
|
|
53
|
+
'bankAccountNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BankTransactionEntity
|
|
58
|
+
*/
|
|
59
|
+
'messageReference': string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BankTransactionEntity
|
|
64
|
+
*/
|
|
65
|
+
'currency': string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof BankTransactionEntity
|
|
70
|
+
*/
|
|
71
|
+
'amount': string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof BankTransactionEntity
|
|
76
|
+
*/
|
|
77
|
+
'transactionDate': string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof BankTransactionEntity
|
|
82
|
+
*/
|
|
83
|
+
'entryDate': string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof BankTransactionEntity
|
|
88
|
+
*/
|
|
89
|
+
'label'?: BankTransactionEntityLabelEnum;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BankTransactionEntity
|
|
94
|
+
*/
|
|
95
|
+
'transactionReference': string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {object}
|
|
99
|
+
* @memberof BankTransactionEntity
|
|
100
|
+
*/
|
|
101
|
+
'metadata'?: object;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof BankTransactionEntity
|
|
106
|
+
*/
|
|
107
|
+
'tenantHierarchy': string;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {TenantBankAccountEntity}
|
|
111
|
+
* @memberof BankTransactionEntity
|
|
112
|
+
*/
|
|
113
|
+
'bankAccount': TenantBankAccountEntity;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {boolean}
|
|
117
|
+
* @memberof BankTransactionEntity
|
|
118
|
+
*/
|
|
119
|
+
'isLinked': boolean;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {Array<BankTransactionInvoiceEntity>}
|
|
123
|
+
* @memberof BankTransactionEntity
|
|
124
|
+
*/
|
|
125
|
+
'bankTransactionInvoices': Array<BankTransactionInvoiceEntity>;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {BankOrderEntity}
|
|
129
|
+
* @memberof BankTransactionEntity
|
|
130
|
+
*/
|
|
131
|
+
'linkedBankOrder'?: BankOrderEntity;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {Array<ExceedingCreditEntity>}
|
|
135
|
+
* @memberof BankTransactionEntity
|
|
136
|
+
*/
|
|
137
|
+
'exceedingCredits': Array<ExceedingCreditEntity>;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof BankTransactionEntity
|
|
142
|
+
*/
|
|
143
|
+
'transactionHash': string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof BankTransactionEntity
|
|
148
|
+
*/
|
|
149
|
+
'createdAt': string;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof BankTransactionEntity
|
|
154
|
+
*/
|
|
155
|
+
'deletedAt': string;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {Array<InvoiceMatchSuggestionEntity>}
|
|
159
|
+
* @memberof BankTransactionEntity
|
|
160
|
+
*/
|
|
161
|
+
'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionEntity>;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {SuggestionGenerationProgressEntity}
|
|
165
|
+
* @memberof BankTransactionEntity
|
|
166
|
+
*/
|
|
167
|
+
'suggestionGenerationProgress'?: SuggestionGenerationProgressEntity;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof BankTransactionEntity
|
|
172
|
+
*/
|
|
173
|
+
'importedFrom': string;
|
|
174
|
+
}
|
|
175
|
+
export declare const BankTransactionEntityLabelEnum: {
|
|
176
|
+
readonly Automated: "automated";
|
|
177
|
+
readonly Manual: "manual";
|
|
178
|
+
};
|
|
179
|
+
export type BankTransactionEntityLabelEnum = typeof BankTransactionEntityLabelEnum[keyof typeof BankTransactionEntityLabelEnum];
|
|
@@ -13,12 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Equity: 'equity',
|
|
21
|
-
Revenue: 'revenue',
|
|
22
|
-
Expense: 'expense',
|
|
23
|
-
OpeningBalance: 'opening_balance'
|
|
16
|
+
exports.BankTransactionEntityLabelEnum = void 0;
|
|
17
|
+
exports.BankTransactionEntityLabelEnum = {
|
|
18
|
+
Automated: 'automated',
|
|
19
|
+
Manual: 'manual'
|
|
24
20
|
};
|
|
@@ -0,0 +1,98 @@
|
|
|
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
|
+
import { TransactionEntity } from './transaction-entity';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BankTransactionInvoiceEntity
|
|
18
|
+
*/
|
|
19
|
+
export interface BankTransactionInvoiceEntity {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof BankTransactionInvoiceEntity
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof BankTransactionInvoiceEntity
|
|
30
|
+
*/
|
|
31
|
+
'code': string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof BankTransactionInvoiceEntity
|
|
36
|
+
*/
|
|
37
|
+
'bankTransactionId': number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof BankTransactionInvoiceEntity
|
|
42
|
+
*/
|
|
43
|
+
'invoiceCode': string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof BankTransactionInvoiceEntity
|
|
48
|
+
*/
|
|
49
|
+
'invoiceNumber': string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof BankTransactionInvoiceEntity
|
|
54
|
+
*/
|
|
55
|
+
'owner': string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof BankTransactionInvoiceEntity
|
|
60
|
+
*/
|
|
61
|
+
'tenantHierarchy': string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof BankTransactionInvoiceEntity
|
|
66
|
+
*/
|
|
67
|
+
'linkedTransactionId'?: number;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {TransactionEntity}
|
|
71
|
+
* @memberof BankTransactionInvoiceEntity
|
|
72
|
+
*/
|
|
73
|
+
'linkedTransaction'?: TransactionEntity;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {BankTransactionEntity}
|
|
77
|
+
* @memberof BankTransactionInvoiceEntity
|
|
78
|
+
*/
|
|
79
|
+
'bankTransaction': BankTransactionEntity;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof BankTransactionInvoiceEntity
|
|
84
|
+
*/
|
|
85
|
+
'createdAt': string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof BankTransactionInvoiceEntity
|
|
90
|
+
*/
|
|
91
|
+
'updatedAt': string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof BankTransactionInvoiceEntity
|
|
96
|
+
*/
|
|
97
|
+
'deletedAt': string;
|
|
98
|
+
}
|
|
@@ -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,108 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BillingAddressClass
|
|
16
|
+
*/
|
|
17
|
+
export interface BillingAddressClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BillingAddressClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BillingAddressClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* First name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BillingAddressClass
|
|
34
|
+
*/
|
|
35
|
+
'firstName': string;
|
|
36
|
+
/**
|
|
37
|
+
* Last name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BillingAddressClass
|
|
40
|
+
*/
|
|
41
|
+
'lastName': string;
|
|
42
|
+
/**
|
|
43
|
+
* Street name
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BillingAddressClass
|
|
46
|
+
*/
|
|
47
|
+
'street': string;
|
|
48
|
+
/**
|
|
49
|
+
* House number
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BillingAddressClass
|
|
52
|
+
*/
|
|
53
|
+
'houseNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
* ZIP code
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BillingAddressClass
|
|
58
|
+
*/
|
|
59
|
+
'zipCode': string;
|
|
60
|
+
/**
|
|
61
|
+
* City
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BillingAddressClass
|
|
64
|
+
*/
|
|
65
|
+
'city': string;
|
|
66
|
+
/**
|
|
67
|
+
* Country code
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof BillingAddressClass
|
|
70
|
+
*/
|
|
71
|
+
'countryCode'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Unique identifier of the account that this object belongs to.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof BillingAddressClass
|
|
76
|
+
*/
|
|
77
|
+
'accountCode': string;
|
|
78
|
+
/**
|
|
79
|
+
* Unique identifier of the partner that this object belongs to.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof BillingAddressClass
|
|
82
|
+
*/
|
|
83
|
+
'partnerCode': string;
|
|
84
|
+
/**
|
|
85
|
+
* Time at which the object was created.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof BillingAddressClass
|
|
88
|
+
*/
|
|
89
|
+
'createdAt': string;
|
|
90
|
+
/**
|
|
91
|
+
* Time at which the object was updated.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BillingAddressClass
|
|
94
|
+
*/
|
|
95
|
+
'updatedAt': string;
|
|
96
|
+
/**
|
|
97
|
+
* Identifier of the user who created the record.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof BillingAddressClass
|
|
100
|
+
*/
|
|
101
|
+
'createdBy': string;
|
|
102
|
+
/**
|
|
103
|
+
* Identifier of the user who last updated the record.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof BillingAddressClass
|
|
106
|
+
*/
|
|
107
|
+
'updatedBy': string;
|
|
108
|
+
}
|