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