@emilgroup/billing-sdk-node 1.25.0 → 1.26.0
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 +17 -0
- package/README.md +2 -2
- package/api/correction-invoices-api.ts +4 -2
- package/api/estimated-invoices-api.ts +12 -6
- package/api/initial-invoices-api.ts +4 -2
- package/api/invoices-api.ts +12 -6
- package/api/recurring-invoices-api.ts +4 -2
- package/dist/api/correction-invoices-api.d.ts +4 -3
- package/dist/api/estimated-invoices-api.d.ts +12 -9
- package/dist/api/initial-invoices-api.d.ts +4 -3
- package/dist/api/invoices-api.d.ts +12 -9
- package/dist/api/recurring-invoices-api.d.ts +4 -3
- package/dist/models/create-correction-invoices-response-class.d.ts +25 -0
- package/dist/models/create-correction-invoices-response-class.js +15 -0
- package/dist/models/create-custom-estimated-invoice-response-class.d.ts +24 -0
- package/dist/models/create-custom-estimated-invoice-response-class.js +15 -0
- package/dist/models/create-estimated-invoice-for-interval-response-class.d.ts +25 -0
- package/dist/models/create-estimated-invoice-for-interval-response-class.js +15 -0
- package/dist/models/create-estimated-invoice-request-dto.d.ts +7 -1
- package/dist/models/create-estimated-invoice-response-class.d.ts +37 -0
- package/dist/models/create-estimated-invoice-response-class.js +15 -0
- package/dist/models/create-invoice-payment-request-dto.d.ts +7 -1
- package/dist/models/create-invoice-request-dto.d.ts +4 -4
- package/dist/models/create-invoice-response-class.d.ts +25 -0
- package/dist/models/create-invoice-response-class.js +15 -0
- package/dist/models/create-invoice-status-request-dto.d.ts +37 -0
- package/dist/models/create-invoice-status-request-dto.js +22 -0
- package/dist/models/create-termination-invoice-request-dto.d.ts +54 -0
- package/dist/models/create-termination-invoice-request-dto.js +15 -0
- package/dist/models/get-invoice-response-class.d.ts +25 -0
- package/dist/models/get-invoice-response-class.js +15 -0
- package/dist/models/index.d.ts +17 -0
- package/dist/models/index.js +17 -0
- package/dist/models/invoice-class.d.ts +183 -0
- package/dist/models/invoice-class.js +32 -0
- package/dist/models/invoice-item-class.d.ts +153 -0
- package/dist/models/invoice-item-class.js +24 -0
- package/dist/models/invoice-payment-class.d.ts +108 -0
- package/dist/models/invoice-payment-class.js +15 -0
- package/dist/models/invoice-payments-class.d.ts +25 -0
- package/dist/models/invoice-payments-class.js +15 -0
- package/dist/models/invoice-status-class.d.ts +61 -0
- package/dist/models/invoice-status-class.js +22 -0
- package/dist/models/list-invoices-response-class.d.ts +31 -0
- package/dist/models/list-invoices-response-class.js +15 -0
- package/dist/models/list-policies-billing-dates-response-class.d.ts +31 -0
- package/dist/models/list-policies-billing-dates-response-class.js +15 -0
- package/dist/models/omit-type-class.d.ts +176 -0
- package/dist/models/omit-type-class.js +32 -0
- package/dist/models/policy-billing-date-class.d.ts +54 -0
- package/dist/models/policy-billing-date-class.js +15 -0
- package/dist/models/policy-dto.d.ts +23 -3
- package/dist/models/policy-dto.js +8 -0
- package/dist/models/policy-object-dto.d.ts +8 -2
- package/dist/models/policy-premium-dto.d.ts +2 -2
- package/dist/models/policy-premium-item-dto.d.ts +2 -2
- package/dist/models/policy-version-dto.d.ts +3 -3
- package/dist/models/premium-formula-dto.d.ts +2 -2
- package/dist/models/timeslice-dto.d.ts +1 -1
- package/models/create-correction-invoices-response-class.ts +31 -0
- package/models/create-custom-estimated-invoice-response-class.ts +30 -0
- package/models/create-estimated-invoice-for-interval-response-class.ts +31 -0
- package/models/create-estimated-invoice-request-dto.ts +7 -1
- package/models/create-estimated-invoice-response-class.ts +43 -0
- package/models/create-invoice-payment-request-dto.ts +7 -1
- package/models/create-invoice-request-dto.ts +4 -4
- package/models/create-invoice-response-class.ts +31 -0
- package/models/create-invoice-status-request-dto.ts +46 -0
- package/models/create-termination-invoice-request-dto.ts +60 -0
- package/models/get-invoice-response-class.ts +31 -0
- package/models/index.ts +17 -0
- package/models/invoice-class.ts +193 -0
- package/models/invoice-item-class.ts +162 -0
- package/models/invoice-payment-class.ts +114 -0
- package/models/invoice-payments-class.ts +31 -0
- package/models/invoice-status-class.ts +70 -0
- package/models/list-invoices-response-class.ts +37 -0
- package/models/list-policies-billing-dates-response-class.ts +37 -0
- package/models/omit-type-class.ts +186 -0
- package/models/policy-billing-date-class.ts +60 -0
- package/models/policy-dto.ts +26 -3
- package/models/policy-object-dto.ts +8 -2
- package/models/policy-premium-dto.ts +2 -2
- package/models/policy-premium-item-dto.ts +2 -2
- package/models/policy-version-dto.ts +3 -3
- package/models/premium-formula-dto.ts +2 -2
- package/models/timeslice-dto.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
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 { InvoiceItemClass } from './invoice-item-class';
|
|
17
|
+
import { InvoicePaymentsClass } from './invoice-payments-class';
|
|
18
|
+
import { InvoiceStatusClass } from './invoice-status-class';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface InvoiceClass
|
|
24
|
+
*/
|
|
25
|
+
export interface InvoiceClass {
|
|
26
|
+
/**
|
|
27
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof InvoiceClass
|
|
30
|
+
*/
|
|
31
|
+
'id': number;
|
|
32
|
+
/**
|
|
33
|
+
* Unique identifier of the policy that this object belongs to.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof InvoiceClass
|
|
36
|
+
*/
|
|
37
|
+
'policyCode': string;
|
|
38
|
+
/**
|
|
39
|
+
* Account number.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof InvoiceClass
|
|
42
|
+
*/
|
|
43
|
+
'accountNumber': string;
|
|
44
|
+
/**
|
|
45
|
+
* Policy number.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof InvoiceClass
|
|
48
|
+
*/
|
|
49
|
+
'policyNumber': string;
|
|
50
|
+
/**
|
|
51
|
+
* Unique identifier for the object.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof InvoiceClass
|
|
54
|
+
*/
|
|
55
|
+
'code': string;
|
|
56
|
+
/**
|
|
57
|
+
* Invoice type.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof InvoiceClass
|
|
60
|
+
*/
|
|
61
|
+
'type': InvoiceClassTypeEnum;
|
|
62
|
+
/**
|
|
63
|
+
* Invoice number.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof InvoiceClass
|
|
66
|
+
*/
|
|
67
|
+
'invoiceNumber': string;
|
|
68
|
+
/**
|
|
69
|
+
* Net amount is in cents.
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof InvoiceClass
|
|
72
|
+
*/
|
|
73
|
+
'netAmount': number;
|
|
74
|
+
/**
|
|
75
|
+
* Tax amount is in cents.
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof InvoiceClass
|
|
78
|
+
*/
|
|
79
|
+
'taxAmount': number;
|
|
80
|
+
/**
|
|
81
|
+
* Credit amount.
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof InvoiceClass
|
|
84
|
+
*/
|
|
85
|
+
'creditAmount': number;
|
|
86
|
+
/**
|
|
87
|
+
* Gross amount. This property is sum of taxAmount and netAmount.
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof InvoiceClass
|
|
90
|
+
*/
|
|
91
|
+
'grossAmount': number;
|
|
92
|
+
/**
|
|
93
|
+
* Paid amount. This property is amount paid by this invoice. The amount corresponds to the sum (positives and negatives) of all payments relating to that invoice.
|
|
94
|
+
* @type {number}
|
|
95
|
+
* @memberof InvoiceClass
|
|
96
|
+
*/
|
|
97
|
+
'paidAmount': number;
|
|
98
|
+
/**
|
|
99
|
+
* Invoice status.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof InvoiceClass
|
|
102
|
+
*/
|
|
103
|
+
'status': InvoiceClassStatusEnum;
|
|
104
|
+
/**
|
|
105
|
+
* Invoice due date.
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof InvoiceClass
|
|
108
|
+
*/
|
|
109
|
+
'dueDate': string;
|
|
110
|
+
/**
|
|
111
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
112
|
+
* @type {object}
|
|
113
|
+
* @memberof InvoiceClass
|
|
114
|
+
*/
|
|
115
|
+
'metadata': object;
|
|
116
|
+
/**
|
|
117
|
+
* Start date of billing interval.
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof InvoiceClass
|
|
120
|
+
*/
|
|
121
|
+
'billingIntervalFrom': string;
|
|
122
|
+
/**
|
|
123
|
+
* End date of billing interval.
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof InvoiceClass
|
|
126
|
+
*/
|
|
127
|
+
'billingIntervalTo': string;
|
|
128
|
+
/**
|
|
129
|
+
* Time at which the object was created.
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof InvoiceClass
|
|
132
|
+
*/
|
|
133
|
+
'createdAt': string;
|
|
134
|
+
/**
|
|
135
|
+
* Invoice items.
|
|
136
|
+
* @type {Array<InvoiceItemClass>}
|
|
137
|
+
* @memberof InvoiceClass
|
|
138
|
+
*/
|
|
139
|
+
'invoiceItems': Array<InvoiceItemClass>;
|
|
140
|
+
/**
|
|
141
|
+
* Invoice statuses.
|
|
142
|
+
* @type {Array<InvoiceStatusClass>}
|
|
143
|
+
* @memberof InvoiceClass
|
|
144
|
+
*/
|
|
145
|
+
'statuses': Array<InvoiceStatusClass>;
|
|
146
|
+
/**
|
|
147
|
+
* Invoice currency. EUR is used by default.
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof InvoiceClass
|
|
150
|
+
*/
|
|
151
|
+
'currency': string;
|
|
152
|
+
/**
|
|
153
|
+
* Invoice payments.
|
|
154
|
+
* @type {InvoicePaymentsClass}
|
|
155
|
+
* @memberof InvoiceClass
|
|
156
|
+
*/
|
|
157
|
+
'payments': InvoicePaymentsClass;
|
|
158
|
+
/**
|
|
159
|
+
* Identifier of the user who created the record.
|
|
160
|
+
* @type {string}
|
|
161
|
+
* @memberof InvoiceClass
|
|
162
|
+
*/
|
|
163
|
+
'createdBy': string;
|
|
164
|
+
/**
|
|
165
|
+
* Identifier of the user who last updated the record.
|
|
166
|
+
* @type {string}
|
|
167
|
+
* @memberof InvoiceClass
|
|
168
|
+
*/
|
|
169
|
+
'updatedBy': string;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export const InvoiceClassTypeEnum = {
|
|
173
|
+
Initial: 'initial',
|
|
174
|
+
Recurring: 'recurring',
|
|
175
|
+
Correction: 'correction',
|
|
176
|
+
Estimated: 'estimated',
|
|
177
|
+
Penalty: 'penalty',
|
|
178
|
+
Other: 'other',
|
|
179
|
+
Withdraw: 'withdraw',
|
|
180
|
+
Final: 'final'
|
|
181
|
+
} as const;
|
|
182
|
+
|
|
183
|
+
export type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
|
|
184
|
+
export const InvoiceClassStatusEnum = {
|
|
185
|
+
Open: 'open',
|
|
186
|
+
Paid: 'paid',
|
|
187
|
+
PartiallyPaid: 'partially-paid',
|
|
188
|
+
Refunded: 'refunded'
|
|
189
|
+
} as const;
|
|
190
|
+
|
|
191
|
+
export type InvoiceClassStatusEnum = typeof InvoiceClassStatusEnum[keyof typeof InvoiceClassStatusEnum];
|
|
192
|
+
|
|
193
|
+
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InvoiceItemClass
|
|
21
|
+
*/
|
|
22
|
+
export interface InvoiceItemClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof InvoiceItemClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier referencing the premium formula.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof InvoiceItemClass
|
|
33
|
+
*/
|
|
34
|
+
'premiumFormulaId': number;
|
|
35
|
+
/**
|
|
36
|
+
* Product name.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InvoiceItemClass
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* Unique identifier of the tax that this object belongs to.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof InvoiceItemClass
|
|
45
|
+
*/
|
|
46
|
+
'taxCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* Unit of Premium..Premium units are determined based on time or distance.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof InvoiceItemClass
|
|
51
|
+
*/
|
|
52
|
+
'unit': InvoiceItemClassUnitEnum;
|
|
53
|
+
/**
|
|
54
|
+
* Invoice group.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof InvoiceItemClass
|
|
57
|
+
*/
|
|
58
|
+
'group': string;
|
|
59
|
+
/**
|
|
60
|
+
* Item quantity. this property determines number of days during the billing interval.
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof InvoiceItemClass
|
|
63
|
+
*/
|
|
64
|
+
'quantity': number;
|
|
65
|
+
/**
|
|
66
|
+
* Item price per unit.
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof InvoiceItemClass
|
|
69
|
+
*/
|
|
70
|
+
'pricePerUnit': number;
|
|
71
|
+
/**
|
|
72
|
+
* Item tax rate.
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof InvoiceItemClass
|
|
75
|
+
*/
|
|
76
|
+
'taxRate': number;
|
|
77
|
+
/**
|
|
78
|
+
* Net amount is in cents. It is calculated by multiplying the quantity and the price Per unit.
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof InvoiceItemClass
|
|
81
|
+
*/
|
|
82
|
+
'netAmount': number;
|
|
83
|
+
/**
|
|
84
|
+
* Tax amount is in cents.
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof InvoiceItemClass
|
|
87
|
+
*/
|
|
88
|
+
'taxAmount': number;
|
|
89
|
+
/**
|
|
90
|
+
* Gross amount. This property is sum of taxAmount and netAmount.
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @memberof InvoiceItemClass
|
|
93
|
+
*/
|
|
94
|
+
'grossAmount': number;
|
|
95
|
+
/**
|
|
96
|
+
* Credit amount.
|
|
97
|
+
* @type {number}
|
|
98
|
+
* @memberof InvoiceItemClass
|
|
99
|
+
*/
|
|
100
|
+
'creditAmount': number;
|
|
101
|
+
/**
|
|
102
|
+
* This is the date from which the invoice item interval starts.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof InvoiceItemClass
|
|
105
|
+
*/
|
|
106
|
+
'billingIntervalFrom': string;
|
|
107
|
+
/**
|
|
108
|
+
* This is the date that the invoice item interval ends.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof InvoiceItemClass
|
|
111
|
+
*/
|
|
112
|
+
'billingIntervalTo': string;
|
|
113
|
+
/**
|
|
114
|
+
* Type of Premium item.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof InvoiceItemClass
|
|
117
|
+
*/
|
|
118
|
+
'itemType'?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Visibility of Premium item.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof InvoiceItemClass
|
|
123
|
+
*/
|
|
124
|
+
'visibility'?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Invoice item quantity per day.
|
|
127
|
+
* @type {number}
|
|
128
|
+
* @memberof InvoiceItemClass
|
|
129
|
+
*/
|
|
130
|
+
'quantityPerDays': number;
|
|
131
|
+
/**
|
|
132
|
+
* Invoice item price per day.
|
|
133
|
+
* @type {number}
|
|
134
|
+
* @memberof InvoiceItemClass
|
|
135
|
+
*/
|
|
136
|
+
'pricePerDay': number;
|
|
137
|
+
/**
|
|
138
|
+
* Identifier of the user who created the record.
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof InvoiceItemClass
|
|
141
|
+
*/
|
|
142
|
+
'createdBy': string;
|
|
143
|
+
/**
|
|
144
|
+
* Identifier of the user who last updated the record.
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof InvoiceItemClass
|
|
147
|
+
*/
|
|
148
|
+
'updatedBy': string;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export const InvoiceItemClassUnitEnum = {
|
|
152
|
+
Day: 'day',
|
|
153
|
+
Week: 'week',
|
|
154
|
+
Month: 'month',
|
|
155
|
+
Quarter: 'quarter',
|
|
156
|
+
Year: 'year',
|
|
157
|
+
OneTimePayment: 'oneTimePayment'
|
|
158
|
+
} as const;
|
|
159
|
+
|
|
160
|
+
export type InvoiceItemClassUnitEnum = typeof InvoiceItemClassUnitEnum[keyof typeof InvoiceItemClassUnitEnum];
|
|
161
|
+
|
|
162
|
+
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InvoicePaymentClass
|
|
21
|
+
*/
|
|
22
|
+
export interface InvoicePaymentClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof InvoicePaymentClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier referencing the invoice.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof InvoicePaymentClass
|
|
33
|
+
*/
|
|
34
|
+
'invoiceId': number;
|
|
35
|
+
/**
|
|
36
|
+
* Payment amount is in cents.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof InvoicePaymentClass
|
|
39
|
+
*/
|
|
40
|
+
'transactionAmount': number;
|
|
41
|
+
/**
|
|
42
|
+
* This is the date when the payment was made.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof InvoicePaymentClass
|
|
45
|
+
*/
|
|
46
|
+
'transactionDate': string;
|
|
47
|
+
/**
|
|
48
|
+
* Transaction reference.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof InvoicePaymentClass
|
|
51
|
+
*/
|
|
52
|
+
'transactionReference': string;
|
|
53
|
+
/**
|
|
54
|
+
* Payment comment.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof InvoicePaymentClass
|
|
57
|
+
*/
|
|
58
|
+
'comment': string;
|
|
59
|
+
/**
|
|
60
|
+
* Invoice gross amount is in cents.
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof InvoicePaymentClass
|
|
63
|
+
*/
|
|
64
|
+
'invoiceGrossAmount': number;
|
|
65
|
+
/**
|
|
66
|
+
* Invoice paid amount before payment. The amount is in cents.
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof InvoicePaymentClass
|
|
69
|
+
*/
|
|
70
|
+
'oldInvoicePaidAmount': number;
|
|
71
|
+
/**
|
|
72
|
+
* Invoice paid amount after payment. The amount is in cents.
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof InvoicePaymentClass
|
|
75
|
+
*/
|
|
76
|
+
'newInvoicePaidAmount': number;
|
|
77
|
+
/**
|
|
78
|
+
* Invoice status before payment.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof InvoicePaymentClass
|
|
81
|
+
*/
|
|
82
|
+
'oldInvoiceStatus': string;
|
|
83
|
+
/**
|
|
84
|
+
* Invoice status after payment.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof InvoicePaymentClass
|
|
87
|
+
*/
|
|
88
|
+
'newInvoiceStatus': string;
|
|
89
|
+
/**
|
|
90
|
+
* Unique identifier referencing the payment.
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @memberof InvoicePaymentClass
|
|
93
|
+
*/
|
|
94
|
+
'paymentId': number;
|
|
95
|
+
/**
|
|
96
|
+
* Time at which the object was created.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof InvoicePaymentClass
|
|
99
|
+
*/
|
|
100
|
+
'createdAt': string;
|
|
101
|
+
/**
|
|
102
|
+
* Identifier of the user who created the record.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof InvoicePaymentClass
|
|
105
|
+
*/
|
|
106
|
+
'createdBy': string;
|
|
107
|
+
/**
|
|
108
|
+
* Identifier of the user who last updated the record.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof InvoicePaymentClass
|
|
111
|
+
*/
|
|
112
|
+
'updatedBy': string;
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
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 { InvoicePaymentClass } from './invoice-payment-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface InvoicePaymentsClass
|
|
22
|
+
*/
|
|
23
|
+
export interface InvoicePaymentsClass {
|
|
24
|
+
/**
|
|
25
|
+
* Invoice payments.
|
|
26
|
+
* @type {Array<InvoicePaymentClass>}
|
|
27
|
+
* @memberof InvoicePaymentsClass
|
|
28
|
+
*/
|
|
29
|
+
'payments': Array<InvoicePaymentClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InvoiceStatusClass
|
|
21
|
+
*/
|
|
22
|
+
export interface InvoiceStatusClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof InvoiceStatusClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier referencing the invoice.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof InvoiceStatusClass
|
|
33
|
+
*/
|
|
34
|
+
'invoiceId': number;
|
|
35
|
+
/**
|
|
36
|
+
* Invoice type.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InvoiceStatusClass
|
|
39
|
+
*/
|
|
40
|
+
'status': InvoiceStatusClassStatusEnum;
|
|
41
|
+
/**
|
|
42
|
+
* Time at which the object was created.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof InvoiceStatusClass
|
|
45
|
+
*/
|
|
46
|
+
'createdAt': string;
|
|
47
|
+
/**
|
|
48
|
+
* Identifier of the user who created the record.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof InvoiceStatusClass
|
|
51
|
+
*/
|
|
52
|
+
'createdBy': string;
|
|
53
|
+
/**
|
|
54
|
+
* Identifier of the user who last updated the record.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof InvoiceStatusClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedBy': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export const InvoiceStatusClassStatusEnum = {
|
|
62
|
+
Open: 'open',
|
|
63
|
+
Paid: 'paid',
|
|
64
|
+
PartiallyPaid: 'partially-paid',
|
|
65
|
+
Refunded: 'refunded'
|
|
66
|
+
} as const;
|
|
67
|
+
|
|
68
|
+
export type InvoiceStatusClassStatusEnum = typeof InvoiceStatusClassStatusEnum[keyof typeof InvoiceStatusClassStatusEnum];
|
|
69
|
+
|
|
70
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
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 { InvoiceClass } from './invoice-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListInvoicesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListInvoicesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Invoices list items.
|
|
26
|
+
* @type {Array<InvoiceClass>}
|
|
27
|
+
* @memberof ListInvoicesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<InvoiceClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListInvoicesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
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 { PolicyBillingDateClass } from './policy-billing-date-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPoliciesBillingDatesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPoliciesBillingDatesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Invoices list items.
|
|
26
|
+
* @type {Array<PolicyBillingDateClass>}
|
|
27
|
+
* @memberof ListPoliciesBillingDatesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<PolicyBillingDateClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListPoliciesBillingDatesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|