@emilgroup/billing-sdk-node 1.9.0 → 1.10.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 +3 -0
- package/README.md +2 -2
- package/models/create-invoice-payment-request-dto.ts +60 -0
- package/models/create-invoice-status-request-dto.ts +2 -1
- package/models/index.ts +3 -0
- package/models/invoice-class.ts +15 -1
- package/models/invoice-payment-class.ts +102 -0
- package/{dist/models/create-custom-estimated-invoice-request-dto.js → models/invoice-payments-class.ts} +18 -7
- package/models/invoice-status-class.ts +2 -1
- package/models/omit-type-class.ts +15 -1
- package/package.json +2 -2
- package/dist/api/correction-invoices-api.d.ts +0 -106
- package/dist/api/correction-invoices-api.js +0 -234
- package/dist/api/default-api.d.ts +0 -66
- package/dist/api/default-api.js +0 -200
- package/dist/api/estimated-invoices-api.d.ts +0 -154
- package/dist/api/estimated-invoices-api.js +0 -321
- package/dist/api/initial-invoices-api.d.ts +0 -106
- package/dist/api/initial-invoices-api.js +0 -234
- package/dist/api/invoices-api.d.ts +0 -307
- package/dist/api/invoices-api.js +0 -481
- package/dist/api/recurring-invoices-api.d.ts +0 -106
- package/dist/api/recurring-invoices-api.js +0 -234
- package/dist/api.d.ts +0 -17
- package/dist/api.js +0 -35
- package/dist/base.d.ts +0 -78
- package/dist/base.js +0 -394
- package/dist/common.d.ts +0 -92
- package/dist/common.js +0 -277
- package/dist/configuration.d.ts +0 -90
- package/dist/configuration.js +0 -44
- package/dist/index.d.ts +0 -15
- package/dist/index.js +0 -36
- package/dist/models/create-correction-invoices-response-class.d.ts +0 -25
- package/dist/models/create-correction-invoices-response-class.js +0 -15
- package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +0 -35
- package/dist/models/create-custom-estimated-invoice-response-class.d.ts +0 -24
- package/dist/models/create-custom-estimated-invoice-response-class.js +0 -15
- package/dist/models/create-estimated-invoice-request-dto.d.ts +0 -31
- package/dist/models/create-estimated-invoice-request-dto.js +0 -15
- package/dist/models/create-estimated-invoice-response-class.d.ts +0 -31
- package/dist/models/create-estimated-invoice-response-class.js +0 -15
- package/dist/models/create-invoice-request-dto.d.ts +0 -77
- package/dist/models/create-invoice-request-dto.js +0 -26
- package/dist/models/create-invoice-response-class.d.ts +0 -25
- package/dist/models/create-invoice-response-class.js +0 -15
- package/dist/models/create-invoice-status-request-dto.d.ts +0 -35
- package/dist/models/create-invoice-status-request-dto.js +0 -20
- package/dist/models/create-termination-invoice-request-dto.d.ts +0 -48
- package/dist/models/create-termination-invoice-request-dto.js +0 -15
- package/dist/models/get-invoice-response-class.d.ts +0 -25
- package/dist/models/get-invoice-response-class.js +0 -15
- package/dist/models/index.d.ts +0 -28
- package/dist/models/index.js +0 -44
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response200.js +0 -15
- package/dist/models/inline-response503.d.ts +0 -54
- package/dist/models/inline-response503.js +0 -15
- package/dist/models/invoice-class.d.ts +0 -150
- package/dist/models/invoice-class.js +0 -30
- package/dist/models/invoice-item-class.d.ts +0 -129
- package/dist/models/invoice-item-class.js +0 -24
- package/dist/models/invoice-status-class.d.ts +0 -47
- package/dist/models/invoice-status-class.js +0 -20
- package/dist/models/list-invoices-response-class.d.ts +0 -31
- package/dist/models/list-invoices-response-class.js +0 -15
- package/dist/models/list-policies-billing-dates-response-class.d.ts +0 -31
- package/dist/models/list-policies-billing-dates-response-class.js +0 -15
- package/dist/models/list-request-dto.d.ts +0 -54
- package/dist/models/list-request-dto.js +0 -15
- package/dist/models/omit-type-class.d.ts +0 -143
- package/dist/models/omit-type-class.js +0 -30
- package/dist/models/policy-billing-date-class.d.ts +0 -42
- package/dist/models/policy-billing-date-class.js +0 -15
- package/dist/models/policy-dto.d.ts +0 -122
- package/dist/models/policy-dto.js +0 -22
- package/dist/models/policy-object-dto.d.ts +0 -48
- package/dist/models/policy-object-dto.js +0 -15
- package/dist/models/policy-premium-dto.d.ts +0 -49
- package/dist/models/policy-premium-dto.js +0 -15
- package/dist/models/policy-premium-item-dto.d.ts +0 -55
- package/dist/models/policy-premium-item-dto.js +0 -15
- package/dist/models/policy-version-dto.d.ts +0 -55
- package/dist/models/policy-version-dto.js +0 -15
- package/dist/models/premium-formula-dto.d.ts +0 -72
- package/dist/models/premium-formula-dto.js +0 -15
- package/dist/models/revert-invoice-request-dto.d.ts +0 -24
- package/dist/models/revert-invoice-request-dto.js +0 -15
- package/dist/models/timeslice-dto.d.ts +0 -62
- package/dist/models/timeslice-dto.js +0 -15
|
@@ -1,30 +0,0 @@
|
|
|
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.InvoiceClassStatusEnum = exports.InvoiceClassTypeEnum = void 0;
|
|
17
|
-
exports.InvoiceClassTypeEnum = {
|
|
18
|
-
Initial: 'initial',
|
|
19
|
-
Recurring: 'recurring',
|
|
20
|
-
Correction: 'correction',
|
|
21
|
-
Estimated: 'estimated',
|
|
22
|
-
Penalty: 'penalty',
|
|
23
|
-
Other: 'other',
|
|
24
|
-
Withdraw: 'withdraw',
|
|
25
|
-
Final: 'final'
|
|
26
|
-
};
|
|
27
|
-
exports.InvoiceClassStatusEnum = {
|
|
28
|
-
Open: 'open',
|
|
29
|
-
Paid: 'paid'
|
|
30
|
-
};
|
|
@@ -1,129 +0,0 @@
|
|
|
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
|
-
export declare const InvoiceItemClassUnitEnum: {
|
|
122
|
-
readonly Day: "day";
|
|
123
|
-
readonly Week: "week";
|
|
124
|
-
readonly Month: "month";
|
|
125
|
-
readonly Quarter: "quarter";
|
|
126
|
-
readonly Year: "year";
|
|
127
|
-
readonly OneTimePayment: "oneTimePayment";
|
|
128
|
-
};
|
|
129
|
-
export type InvoiceItemClassUnitEnum = typeof InvoiceItemClassUnitEnum[keyof typeof InvoiceItemClassUnitEnum];
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
export declare const InvoiceStatusClassStatusEnum: {
|
|
44
|
-
readonly Open: "open";
|
|
45
|
-
readonly Paid: "paid";
|
|
46
|
-
};
|
|
47
|
-
export type InvoiceStatusClassStatusEnum = typeof InvoiceStatusClassStatusEnum[keyof typeof InvoiceStatusClassStatusEnum];
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,54 +0,0 @@
|
|
|
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 ListRequestDto
|
|
16
|
-
*/
|
|
17
|
-
export interface ListRequestDto {
|
|
18
|
-
/**
|
|
19
|
-
* Page size
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ListRequestDto
|
|
22
|
-
*/
|
|
23
|
-
'pageSize'?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Page token
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ListRequestDto
|
|
28
|
-
*/
|
|
29
|
-
'pageToken'?: string;
|
|
30
|
-
/**
|
|
31
|
-
* List filter
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ListRequestDto
|
|
34
|
-
*/
|
|
35
|
-
'filter'?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Search query
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ListRequestDto
|
|
40
|
-
*/
|
|
41
|
-
'search'?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Ordering criteria
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof ListRequestDto
|
|
46
|
-
*/
|
|
47
|
-
'order'?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Extra fields to fetch
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof ListRequestDto
|
|
52
|
-
*/
|
|
53
|
-
'expand'?: string;
|
|
54
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,143 +0,0 @@
|
|
|
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
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface OmitTypeClass
|
|
17
|
-
*/
|
|
18
|
-
export interface OmitTypeClass {
|
|
19
|
-
/**
|
|
20
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof OmitTypeClass
|
|
23
|
-
*/
|
|
24
|
-
'id': number;
|
|
25
|
-
/**
|
|
26
|
-
* Unique identifier of the policy that this object belongs to.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof OmitTypeClass
|
|
29
|
-
*/
|
|
30
|
-
'policyCode': string;
|
|
31
|
-
/**
|
|
32
|
-
* Account number.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof OmitTypeClass
|
|
35
|
-
*/
|
|
36
|
-
'accountNumber': string;
|
|
37
|
-
/**
|
|
38
|
-
* Unique identifier for the object.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof OmitTypeClass
|
|
41
|
-
*/
|
|
42
|
-
'code': string;
|
|
43
|
-
/**
|
|
44
|
-
* Invoice type.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof OmitTypeClass
|
|
47
|
-
*/
|
|
48
|
-
'type': OmitTypeClassTypeEnum;
|
|
49
|
-
/**
|
|
50
|
-
* Invoice number.
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof OmitTypeClass
|
|
53
|
-
*/
|
|
54
|
-
'invoiceNumber': string;
|
|
55
|
-
/**
|
|
56
|
-
* Net amount is in cents.
|
|
57
|
-
* @type {number}
|
|
58
|
-
* @memberof OmitTypeClass
|
|
59
|
-
*/
|
|
60
|
-
'netAmount': number;
|
|
61
|
-
/**
|
|
62
|
-
* Tax amount is in cents.
|
|
63
|
-
* @type {number}
|
|
64
|
-
* @memberof OmitTypeClass
|
|
65
|
-
*/
|
|
66
|
-
'taxAmount': number;
|
|
67
|
-
/**
|
|
68
|
-
* Credit amount.
|
|
69
|
-
* @type {number}
|
|
70
|
-
* @memberof OmitTypeClass
|
|
71
|
-
*/
|
|
72
|
-
'creditAmount': number;
|
|
73
|
-
/**
|
|
74
|
-
* Gross amount. This property is sum of taxAmount and netAmount.
|
|
75
|
-
* @type {number}
|
|
76
|
-
* @memberof OmitTypeClass
|
|
77
|
-
*/
|
|
78
|
-
'grossAmount': number;
|
|
79
|
-
/**
|
|
80
|
-
* Invoice status.
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof OmitTypeClass
|
|
83
|
-
*/
|
|
84
|
-
'status': OmitTypeClassStatusEnum;
|
|
85
|
-
/**
|
|
86
|
-
* Invoice due date.
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof OmitTypeClass
|
|
89
|
-
*/
|
|
90
|
-
'dueDate': string;
|
|
91
|
-
/**
|
|
92
|
-
* Metadata contains extra information that the object would need for specific cases.
|
|
93
|
-
* @type {object}
|
|
94
|
-
* @memberof OmitTypeClass
|
|
95
|
-
*/
|
|
96
|
-
'metadata': object;
|
|
97
|
-
/**
|
|
98
|
-
* Start date of billing interval.
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof OmitTypeClass
|
|
101
|
-
*/
|
|
102
|
-
'billingIntervalFrom': string;
|
|
103
|
-
/**
|
|
104
|
-
* End date of billing interval.
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof OmitTypeClass
|
|
107
|
-
*/
|
|
108
|
-
'billingIntervalTo': string;
|
|
109
|
-
/**
|
|
110
|
-
* Time at which the object was created.
|
|
111
|
-
* @type {string}
|
|
112
|
-
* @memberof OmitTypeClass
|
|
113
|
-
*/
|
|
114
|
-
'createdAt': string;
|
|
115
|
-
/**
|
|
116
|
-
* Invoice items.
|
|
117
|
-
* @type {Array<InvoiceItemClass>}
|
|
118
|
-
* @memberof OmitTypeClass
|
|
119
|
-
*/
|
|
120
|
-
'invoiceItems': Array<InvoiceItemClass>;
|
|
121
|
-
/**
|
|
122
|
-
* Invoice currency. EUR is used by default.
|
|
123
|
-
* @type {string}
|
|
124
|
-
* @memberof OmitTypeClass
|
|
125
|
-
*/
|
|
126
|
-
'currency': string;
|
|
127
|
-
}
|
|
128
|
-
export declare const OmitTypeClassTypeEnum: {
|
|
129
|
-
readonly Initial: "initial";
|
|
130
|
-
readonly Recurring: "recurring";
|
|
131
|
-
readonly Correction: "correction";
|
|
132
|
-
readonly Estimated: "estimated";
|
|
133
|
-
readonly Penalty: "penalty";
|
|
134
|
-
readonly Other: "other";
|
|
135
|
-
readonly Withdraw: "withdraw";
|
|
136
|
-
readonly Final: "final";
|
|
137
|
-
};
|
|
138
|
-
export type OmitTypeClassTypeEnum = typeof OmitTypeClassTypeEnum[keyof typeof OmitTypeClassTypeEnum];
|
|
139
|
-
export declare const OmitTypeClassStatusEnum: {
|
|
140
|
-
readonly Open: "open";
|
|
141
|
-
readonly Paid: "paid";
|
|
142
|
-
};
|
|
143
|
-
export type OmitTypeClassStatusEnum = typeof OmitTypeClassStatusEnum[keyof typeof OmitTypeClassStatusEnum];
|
|
@@ -1,30 +0,0 @@
|
|
|
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.OmitTypeClassStatusEnum = exports.OmitTypeClassTypeEnum = void 0;
|
|
17
|
-
exports.OmitTypeClassTypeEnum = {
|
|
18
|
-
Initial: 'initial',
|
|
19
|
-
Recurring: 'recurring',
|
|
20
|
-
Correction: 'correction',
|
|
21
|
-
Estimated: 'estimated',
|
|
22
|
-
Penalty: 'penalty',
|
|
23
|
-
Other: 'other',
|
|
24
|
-
Withdraw: 'withdraw',
|
|
25
|
-
Final: 'final'
|
|
26
|
-
};
|
|
27
|
-
exports.OmitTypeClassStatusEnum = {
|
|
28
|
-
Open: 'open',
|
|
29
|
-
Paid: 'paid'
|
|
30
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
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 PolicyBillingDateClass
|
|
16
|
-
*/
|
|
17
|
-
export interface PolicyBillingDateClass {
|
|
18
|
-
/**
|
|
19
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof PolicyBillingDateClass
|
|
22
|
-
*/
|
|
23
|
-
'id': number;
|
|
24
|
-
/**
|
|
25
|
-
* Unique identifier of the policy that this object belongs to.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PolicyBillingDateClass
|
|
28
|
-
*/
|
|
29
|
-
'policyCode': string;
|
|
30
|
-
/**
|
|
31
|
-
* The next billing date this policy will be invoiced.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof PolicyBillingDateClass
|
|
34
|
-
*/
|
|
35
|
-
'nextBillingDate': string;
|
|
36
|
-
/**
|
|
37
|
-
* This field will be set to true once an invoice has been created on this specific billing date. It is there to avoid a policy being invoiced multiple times in case of retry.
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* @memberof PolicyBillingDateClass
|
|
40
|
-
*/
|
|
41
|
-
'isInvoiced': boolean;
|
|
42
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|