@emilgroup/billing-sdk-node 1.3.0 → 1.4.1
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 +7 -0
- package/README.md +2 -2
- package/api/correction-invoices-api.ts +29 -11
- package/api/estimated-invoices-api.ts +17 -9
- package/api/initial-invoices-api.ts +29 -11
- package/api/invoices-api.ts +95 -87
- package/api/recurring-invoices-api.ts +29 -11
- package/api.ts +1 -6
- package/base.ts +6 -5
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/correction-invoices-api.d.ts +21 -8
- package/dist/api/correction-invoices-api.js +21 -11
- package/dist/api/estimated-invoices-api.d.ts +17 -9
- package/dist/api/estimated-invoices-api.js +17 -9
- package/dist/api/initial-invoices-api.d.ts +21 -8
- package/dist/api/initial-invoices-api.js +21 -11
- package/dist/api/invoices-api.d.ts +95 -87
- package/dist/api/invoices-api.js +53 -45
- package/dist/api/recurring-invoices-api.d.ts +21 -8
- package/dist/api/recurring-invoices-api.js +21 -11
- package/dist/api.d.ts +1 -5
- package/dist/api.js +1 -7
- package/dist/base.d.ts +4 -3
- package/dist/base.js +6 -5
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -2
- package/dist/models/create-correction-invoices-response-class.d.ts +5 -5
- package/dist/models/create-correction-invoices-response-class.js +1 -1
- package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +3 -3
- package/dist/models/create-custom-estimated-invoice-request-dto.js +1 -1
- package/dist/models/create-custom-estimated-invoice-response-class.d.ts +1 -1
- package/dist/models/create-custom-estimated-invoice-response-class.js +1 -1
- package/dist/models/create-estimated-invoice-request-dto.d.ts +3 -3
- package/dist/models/create-estimated-invoice-request-dto.js +1 -1
- package/dist/models/create-estimated-invoice-response-class.d.ts +3 -3
- package/dist/models/create-estimated-invoice-response-class.js +1 -1
- package/dist/models/create-invoice-request-dto.d.ts +16 -14
- package/dist/models/create-invoice-request-dto.js +4 -2
- package/dist/models/create-invoice-response-class.d.ts +5 -5
- package/dist/models/create-invoice-response-class.js +1 -1
- package/dist/models/create-invoice-status-request-dto.d.ts +35 -0
- package/dist/models/create-invoice-status-request-dto.js +20 -0
- package/dist/models/create-termination-invoice-request-dto.d.ts +48 -0
- package/dist/models/create-termination-invoice-request-dto.js +15 -0
- package/dist/models/currency-class.d.ts +48 -0
- package/dist/models/currency-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/invoice-class.d.ts +50 -20
- package/dist/models/invoice-class.js +16 -1
- package/dist/models/invoice-item-class.d.ts +26 -17
- package/dist/models/invoice-item-class.js +10 -1
- package/dist/models/invoice-status-class.d.ts +47 -0
- package/dist/models/invoice-status-class.js +20 -0
- package/dist/models/list-invoices-response-class.d.ts +3 -3
- package/dist/models/list-invoices-response-class.js +1 -1
- package/dist/models/list-policies-billing-dates-response-class.d.ts +6 -5
- package/dist/models/list-policies-billing-dates-response-class.js +1 -1
- package/dist/models/list-request-dto.d.ts +1 -1
- package/dist/models/list-request-dto.js +1 -1
- package/dist/models/omit-type-class.d.ts +144 -0
- package/dist/models/omit-type-class.js +30 -0
- package/dist/models/policy-billing-date-class.d.ts +42 -0
- package/dist/models/policy-billing-date-class.js +15 -0
- package/dist/models/policy-dto.d.ts +62 -25
- package/dist/models/policy-dto.js +8 -1
- package/dist/models/policy-object-dto.d.ts +10 -10
- package/dist/models/policy-object-dto.js +1 -1
- package/dist/models/policy-premium-dto.d.ts +12 -12
- package/dist/models/policy-premium-dto.js +1 -1
- package/dist/models/policy-premium-item-dto.d.ts +20 -14
- package/dist/models/policy-premium-item-dto.js +1 -1
- package/dist/models/policy-version-dto.d.ts +17 -17
- package/dist/models/policy-version-dto.js +1 -1
- package/dist/models/premium-formula-dto.d.ts +20 -20
- package/dist/models/premium-formula-dto.js +1 -1
- package/dist/models/revert-invoice-request-dto.d.ts +24 -0
- package/dist/models/revert-invoice-request-dto.js +15 -0
- package/dist/models/timeslice-dto.d.ts +13 -13
- package/dist/models/timeslice-dto.js +1 -1
- package/index.ts +2 -2
- package/models/create-correction-invoices-response-class.ts +5 -5
- package/models/create-custom-estimated-invoice-request-dto.ts +3 -3
- package/models/create-custom-estimated-invoice-response-class.ts +1 -1
- package/models/create-estimated-invoice-request-dto.ts +3 -3
- package/models/create-estimated-invoice-response-class.ts +3 -3
- package/models/create-invoice-request-dto.ts +17 -15
- package/models/create-invoice-response-class.ts +5 -5
- package/models/create-invoice-status-request-dto.ts +44 -0
- package/models/create-termination-invoice-request-dto.ts +54 -0
- package/models/currency-class.ts +54 -0
- package/models/index.ts +7 -0
- package/models/invoice-class.ts +54 -20
- package/models/invoice-item-class.ts +29 -17
- package/models/invoice-status-class.ts +56 -0
- package/models/list-invoices-response-class.ts +3 -3
- package/models/list-policies-billing-dates-response-class.ts +6 -5
- package/models/list-request-dto.ts +1 -1
- package/models/omit-type-class.ts +154 -0
- package/models/policy-billing-date-class.ts +48 -0
- package/models/policy-dto.ts +65 -25
- package/models/policy-object-dto.ts +10 -10
- package/models/policy-premium-dto.ts +12 -12
- package/models/policy-premium-item-dto.ts +20 -14
- package/models/policy-version-dto.ts +17 -17
- package/models/premium-formula-dto.ts +20 -20
- package/models/revert-invoice-request-dto.ts +30 -0
- package/models/timeslice-dto.ts +13 -13
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL BillingService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -16,57 +16,57 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface PremiumFormulaDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PremiumFormulaDto
|
|
22
|
-
*/
|
|
23
|
-
'createdAt': string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PremiumFormulaDto
|
|
28
|
-
*/
|
|
29
|
-
'updatedAt': string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
32
20
|
* @type {number}
|
|
33
21
|
* @memberof PremiumFormulaDto
|
|
34
22
|
*/
|
|
35
23
|
'id': number;
|
|
36
24
|
/**
|
|
37
|
-
*
|
|
25
|
+
* Unique identifier referencing the product version.
|
|
38
26
|
* @type {number}
|
|
39
27
|
* @memberof PremiumFormulaDto
|
|
40
28
|
*/
|
|
41
29
|
'productVersionId': number;
|
|
42
30
|
/**
|
|
43
|
-
*
|
|
31
|
+
* Premium group name.
|
|
44
32
|
* @type {string}
|
|
45
33
|
* @memberof PremiumFormulaDto
|
|
46
34
|
*/
|
|
47
35
|
'group': string;
|
|
48
36
|
/**
|
|
49
|
-
*
|
|
37
|
+
* Premium name.
|
|
50
38
|
* @type {string}
|
|
51
39
|
* @memberof PremiumFormulaDto
|
|
52
40
|
*/
|
|
53
41
|
'name': string;
|
|
54
42
|
/**
|
|
55
|
-
*
|
|
43
|
+
* Premium expression.
|
|
56
44
|
* @type {string}
|
|
57
45
|
* @memberof PremiumFormulaDto
|
|
58
46
|
*/
|
|
59
47
|
'expression': string;
|
|
60
48
|
/**
|
|
61
|
-
*
|
|
49
|
+
* Type of Premium that is based on time.
|
|
62
50
|
* @type {string}
|
|
63
51
|
* @memberof PremiumFormulaDto
|
|
64
52
|
*/
|
|
65
53
|
'type': string;
|
|
66
54
|
/**
|
|
67
|
-
*
|
|
55
|
+
* This is unit of Premium. Premium units are determined based on day, week, month and year.
|
|
68
56
|
* @type {string}
|
|
69
57
|
* @memberof PremiumFormulaDto
|
|
70
58
|
*/
|
|
71
59
|
'unit': string;
|
|
60
|
+
/**
|
|
61
|
+
* Time at which the object was created.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PremiumFormulaDto
|
|
64
|
+
*/
|
|
65
|
+
'createdAt'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Time at which the object was updated.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PremiumFormulaDto
|
|
70
|
+
*/
|
|
71
|
+
'updatedAt'?: string;
|
|
72
72
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 RevertInvoiceRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RevertInvoiceRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the object.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RevertInvoiceRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'invoiceCode': string;
|
|
24
|
+
}
|
|
@@ -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 });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL BillingService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -18,45 +18,45 @@ import { PolicyPremiumDto } from './policy-premium-dto';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface TimesliceDto {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof TimesliceDto
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
* Timeslice policy data.
|
|
22
28
|
* @type {Array<PolicyObjectDto>}
|
|
23
29
|
* @memberof TimesliceDto
|
|
24
30
|
*/
|
|
25
31
|
'policyObjects': Array<PolicyObjectDto>;
|
|
26
32
|
/**
|
|
27
|
-
*
|
|
33
|
+
* Timeslice validity start.
|
|
28
34
|
* @type {string}
|
|
29
35
|
* @memberof TimesliceDto
|
|
30
36
|
*/
|
|
31
37
|
'from': string;
|
|
32
38
|
/**
|
|
33
|
-
*
|
|
39
|
+
* Timeslice validity end.
|
|
34
40
|
* @type {string}
|
|
35
41
|
* @memberof TimesliceDto
|
|
36
42
|
*/
|
|
37
43
|
'to': string;
|
|
38
44
|
/**
|
|
39
|
-
*
|
|
45
|
+
* Time at which the object was created.
|
|
40
46
|
* @type {string}
|
|
41
47
|
* @memberof TimesliceDto
|
|
42
48
|
*/
|
|
43
49
|
'createdAt': string;
|
|
44
50
|
/**
|
|
45
|
-
*
|
|
51
|
+
* Time at which the object was updated.
|
|
46
52
|
* @type {string}
|
|
47
53
|
* @memberof TimesliceDto
|
|
48
54
|
*/
|
|
49
55
|
'updatedAt': string;
|
|
50
56
|
/**
|
|
51
|
-
*
|
|
57
|
+
* Timeslice premium.
|
|
52
58
|
* @type {PolicyPremiumDto}
|
|
53
59
|
* @memberof TimesliceDto
|
|
54
60
|
*/
|
|
55
61
|
'premium': PolicyPremiumDto;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {number}
|
|
59
|
-
* @memberof TimesliceDto
|
|
60
|
-
*/
|
|
61
|
-
'id': number;
|
|
62
62
|
}
|
package/index.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The EMIL BillingService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
export { BaseAPI } from "./base";
|
|
16
|
+
export { Environment, BaseAPI } from "./base";
|
|
17
17
|
export * from "./api";
|
|
18
18
|
export * from "./configuration";
|
|
19
19
|
export * from "./models";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The EMIL BillingService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { OmitTypeClass } from './omit-type-class';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
@@ -22,10 +22,10 @@ import { InvoiceClass } from './invoice-class';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface CreateCorrectionInvoicesResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
* Correction invoices response
|
|
26
|
-
* @type {
|
|
25
|
+
* Correction invoices response.
|
|
26
|
+
* @type {OmitTypeClass}
|
|
27
27
|
* @memberof CreateCorrectionInvoicesResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'invoices':
|
|
29
|
+
'invoices': OmitTypeClass;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The EMIL BillingService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreateCustomEstimatedInvoiceRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Required data to create a custom application.
|
|
25
25
|
* @type {object}
|
|
26
26
|
* @memberof CreateCustomEstimatedInvoiceRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'data': object;
|
|
29
29
|
/**
|
|
30
|
-
* Custom premium provider
|
|
30
|
+
* Custom premium provider.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CreateCustomEstimatedInvoiceRequestDto
|
|
33
33
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The EMIL BillingService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -22,13 +22,13 @@ import { PolicyDto } from './policy-dto';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface CreateEstimatedInvoiceRequestDto {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Policy.
|
|
26
26
|
* @type {PolicyDto}
|
|
27
27
|
* @memberof CreateEstimatedInvoiceRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'policy': PolicyDto;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
32
32
|
* @type {object}
|
|
33
33
|
* @memberof CreateEstimatedInvoiceRequestDto
|
|
34
34
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The EMIL BillingService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -22,13 +22,13 @@ import { InvoiceClass } from './invoice-class';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface CreateEstimatedInvoiceResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Estimated invoice response.
|
|
26
26
|
* @type {InvoiceClass}
|
|
27
27
|
* @memberof CreateEstimatedInvoiceResponseClass
|
|
28
28
|
*/
|
|
29
29
|
'invoice': InvoiceClass;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* In some cases, custom premium calculation needs to be used. In that case, a custom object is returned. It can hold up any kind of information. For more information, check the general documentation.
|
|
32
32
|
* @type {object}
|
|
33
33
|
* @memberof CreateEstimatedInvoiceResponseClass
|
|
34
34
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The EMIL BillingService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -21,53 +21,53 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreateInvoiceRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Unique number for the invoice. If not set, the system will automatically assign a value.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreateInvoiceRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'invoiceNumber'?: string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Account number.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CreateInvoiceRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'accountNumber': string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Unique identifier of the policy that this object belongs to.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreateInvoiceRequestDto
|
|
39
39
|
*/
|
|
40
40
|
'policyCode': string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Type of the invoice.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateInvoiceRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'type': CreateInvoiceRequestDtoTypeEnum;
|
|
47
|
+
/**
|
|
48
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
43
49
|
* @type {object}
|
|
44
50
|
* @memberof CreateInvoiceRequestDto
|
|
45
51
|
*/
|
|
46
52
|
'metadata'?: object;
|
|
47
53
|
/**
|
|
48
|
-
*
|
|
54
|
+
* This is the date from which the invoice item interval starts.
|
|
49
55
|
* @type {string}
|
|
50
56
|
* @memberof CreateInvoiceRequestDto
|
|
51
57
|
*/
|
|
52
58
|
'billingIntervalFrom': string;
|
|
53
59
|
/**
|
|
54
|
-
*
|
|
60
|
+
* This is the date that the invoice item interval ends.
|
|
55
61
|
* @type {string}
|
|
56
62
|
* @memberof CreateInvoiceRequestDto
|
|
57
63
|
*/
|
|
58
64
|
'billingIntervalTo': string;
|
|
59
65
|
/**
|
|
60
|
-
* Invoice due date
|
|
66
|
+
* Invoice due date.
|
|
61
67
|
* @type {string}
|
|
62
68
|
* @memberof CreateInvoiceRequestDto
|
|
63
69
|
*/
|
|
64
70
|
'dueDate'?: string;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof CreateInvoiceRequestDto
|
|
69
|
-
*/
|
|
70
|
-
'type': CreateInvoiceRequestDtoTypeEnum;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export const CreateInvoiceRequestDtoTypeEnum = {
|
|
@@ -76,7 +76,9 @@ export const CreateInvoiceRequestDtoTypeEnum = {
|
|
|
76
76
|
Correction: 'correction',
|
|
77
77
|
Estimated: 'estimated',
|
|
78
78
|
Penalty: 'penalty',
|
|
79
|
-
Other: 'other'
|
|
79
|
+
Other: 'other',
|
|
80
|
+
Withdraw: 'withdraw',
|
|
81
|
+
Final: 'final'
|
|
80
82
|
} as const;
|
|
81
83
|
|
|
82
84
|
export type CreateInvoiceRequestDtoTypeEnum = typeof CreateInvoiceRequestDtoTypeEnum[keyof typeof CreateInvoiceRequestDtoTypeEnum];
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The EMIL BillingService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { OmitTypeClass } from './omit-type-class';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
@@ -22,10 +22,10 @@ import { InvoiceClass } from './invoice-class';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface CreateInvoiceResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
25
|
+
* Invoice response.
|
|
26
|
+
* @type {OmitTypeClass}
|
|
27
27
|
* @memberof CreateInvoiceResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'invoice':
|
|
29
|
+
'invoice': OmitTypeClass;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -0,0 +1,44 @@
|
|
|
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 CreateInvoiceStatusRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateInvoiceStatusRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CreateInvoiceStatusRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'invoiceId': number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateInvoiceStatusRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'status': CreateInvoiceStatusRequestDtoStatusEnum;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export const CreateInvoiceStatusRequestDtoStatusEnum = {
|
|
38
|
+
Open: 'open',
|
|
39
|
+
Paid: 'paid'
|
|
40
|
+
} as const;
|
|
41
|
+
|
|
42
|
+
export type CreateInvoiceStatusRequestDtoStatusEnum = typeof CreateInvoiceStatusRequestDtoStatusEnum[keyof typeof CreateInvoiceStatusRequestDtoStatusEnum];
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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 CreateTerminationInvoiceRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTerminationInvoiceRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateTerminationInvoiceRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'policyCode': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateTerminationInvoiceRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'accountNumber': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {object}
|
|
38
|
+
* @memberof CreateTerminationInvoiceRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'metadata'?: object;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateTerminationInvoiceRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'billingIntervalFrom': string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateTerminationInvoiceRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'billingIntervalTo': string;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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 CurrencyClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CurrencyClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CurrencyClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Name of currency in English.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CurrencyClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* Name of currency in native language.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CurrencyClass
|
|
39
|
+
*/
|
|
40
|
+
'nativeName': string;
|
|
41
|
+
/**
|
|
42
|
+
* Code defined by ISO 4217 standard.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CurrencyClass
|
|
45
|
+
*/
|
|
46
|
+
'code': string;
|
|
47
|
+
/**
|
|
48
|
+
* Currency symbols are graphical representations used to denote a particular currency in written or printed form.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CurrencyClass
|
|
51
|
+
*/
|
|
52
|
+
'symbol': string;
|
|
53
|
+
}
|
|
54
|
+
|
package/models/index.ts
CHANGED
|
@@ -5,15 +5,22 @@ export * from './create-estimated-invoice-request-dto';
|
|
|
5
5
|
export * from './create-estimated-invoice-response-class';
|
|
6
6
|
export * from './create-invoice-request-dto';
|
|
7
7
|
export * from './create-invoice-response-class';
|
|
8
|
+
export * from './create-invoice-status-request-dto';
|
|
9
|
+
export * from './create-termination-invoice-request-dto';
|
|
10
|
+
export * from './currency-class';
|
|
8
11
|
export * from './invoice-class';
|
|
9
12
|
export * from './invoice-item-class';
|
|
13
|
+
export * from './invoice-status-class';
|
|
10
14
|
export * from './list-invoices-response-class';
|
|
11
15
|
export * from './list-policies-billing-dates-response-class';
|
|
12
16
|
export * from './list-request-dto';
|
|
17
|
+
export * from './omit-type-class';
|
|
18
|
+
export * from './policy-billing-date-class';
|
|
13
19
|
export * from './policy-dto';
|
|
14
20
|
export * from './policy-object-dto';
|
|
15
21
|
export * from './policy-premium-dto';
|
|
16
22
|
export * from './policy-premium-item-dto';
|
|
17
23
|
export * from './policy-version-dto';
|
|
18
24
|
export * from './premium-formula-dto';
|
|
25
|
+
export * from './revert-invoice-request-dto';
|
|
19
26
|
export * from './timeslice-dto';
|