@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
package/models/policy-dto.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
|
|
@@ -22,70 +22,110 @@ import { PolicyVersionDto } from './policy-version-dto';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface PolicyDto {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PolicyDto
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
26
32
|
* @type {string}
|
|
27
33
|
* @memberof PolicyDto
|
|
28
34
|
*/
|
|
29
|
-
'
|
|
35
|
+
'code': string;
|
|
30
36
|
/**
|
|
31
|
-
*
|
|
37
|
+
* Policy number.
|
|
32
38
|
* @type {string}
|
|
33
39
|
* @memberof PolicyDto
|
|
34
40
|
*/
|
|
35
|
-
'
|
|
41
|
+
'policyNumber': string;
|
|
36
42
|
/**
|
|
37
|
-
*
|
|
43
|
+
* Internal policy number.
|
|
38
44
|
* @type {string}
|
|
39
45
|
* @memberof PolicyDto
|
|
40
46
|
*/
|
|
41
|
-
'
|
|
47
|
+
'internalPolicyNumber': string;
|
|
42
48
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {
|
|
49
|
+
* Unique identifier referencing the policy product version.
|
|
50
|
+
* @type {number}
|
|
45
51
|
* @memberof PolicyDto
|
|
46
52
|
*/
|
|
47
|
-
'
|
|
53
|
+
'productVersionId': number;
|
|
48
54
|
/**
|
|
49
|
-
*
|
|
55
|
+
* Unique identifier referencing the policy product.
|
|
50
56
|
* @type {number}
|
|
51
57
|
* @memberof PolicyDto
|
|
52
58
|
*/
|
|
53
|
-
'
|
|
59
|
+
'productId': number;
|
|
54
60
|
/**
|
|
55
|
-
*
|
|
61
|
+
* Unique identifier of the account that this object belongs to.
|
|
56
62
|
* @type {string}
|
|
57
63
|
* @memberof PolicyDto
|
|
58
64
|
*/
|
|
59
|
-
'
|
|
65
|
+
'accountCode': string;
|
|
60
66
|
/**
|
|
61
|
-
*
|
|
67
|
+
* Policy status. This property shows different statuses depending on the status of a policy: ACTIVE, WITHDRAW, TERMINATED, SUSPENDED.
|
|
62
68
|
* @type {string}
|
|
63
69
|
* @memberof PolicyDto
|
|
64
70
|
*/
|
|
65
|
-
'
|
|
71
|
+
'status': PolicyDtoStatusEnum;
|
|
66
72
|
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {
|
|
73
|
+
* Policy holder.
|
|
74
|
+
* @type {string}
|
|
69
75
|
* @memberof PolicyDto
|
|
70
76
|
*/
|
|
71
|
-
'
|
|
77
|
+
'holder': string;
|
|
72
78
|
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {
|
|
79
|
+
* Time at which the object was created.
|
|
80
|
+
* @type {string}
|
|
75
81
|
* @memberof PolicyDto
|
|
76
82
|
*/
|
|
77
|
-
'
|
|
83
|
+
'createdAt': string;
|
|
84
|
+
/**
|
|
85
|
+
* Time at which the object was updated.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PolicyDto
|
|
88
|
+
*/
|
|
89
|
+
'updatedAt': string;
|
|
90
|
+
/**
|
|
91
|
+
* Policy versions.
|
|
92
|
+
* @type {Array<PolicyVersionDto>}
|
|
93
|
+
* @memberof PolicyDto
|
|
94
|
+
*/
|
|
95
|
+
'versions': Array<PolicyVersionDto>;
|
|
96
|
+
/**
|
|
97
|
+
* Product name.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PolicyDto
|
|
100
|
+
*/
|
|
101
|
+
'productName': string;
|
|
102
|
+
/**
|
|
103
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PolicyDto
|
|
106
|
+
*/
|
|
107
|
+
'productSlug': string;
|
|
78
108
|
/**
|
|
79
109
|
*
|
|
80
110
|
* @type {string}
|
|
81
111
|
* @memberof PolicyDto
|
|
82
112
|
*/
|
|
83
|
-
'
|
|
113
|
+
'policyStartDate': string;
|
|
84
114
|
/**
|
|
85
115
|
*
|
|
86
|
-
* @type {
|
|
116
|
+
* @type {string}
|
|
87
117
|
* @memberof PolicyDto
|
|
88
118
|
*/
|
|
89
|
-
'
|
|
119
|
+
'tenantHierarchy': string;
|
|
90
120
|
}
|
|
91
121
|
|
|
122
|
+
export const PolicyDtoStatusEnum = {
|
|
123
|
+
Active: 'ACTIVE',
|
|
124
|
+
Withdraw: 'WITHDRAW',
|
|
125
|
+
Terminated: 'TERMINATED',
|
|
126
|
+
Suspended: 'SUSPENDED'
|
|
127
|
+
} as const;
|
|
128
|
+
|
|
129
|
+
export type PolicyDtoStatusEnum = typeof PolicyDtoStatusEnum[keyof typeof PolicyDtoStatusEnum];
|
|
130
|
+
|
|
131
|
+
|
|
@@ -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,28 +21,28 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface PolicyObjectDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {object}
|
|
26
|
-
* @memberof PolicyObjectDto
|
|
27
|
-
*/
|
|
28
|
-
'data': object;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
24
|
+
* Unique identifier referencing the insured object.
|
|
31
25
|
* @type {number}
|
|
32
26
|
* @memberof PolicyObjectDto
|
|
33
27
|
*/
|
|
34
28
|
'insuredObjectId': number;
|
|
35
29
|
/**
|
|
36
|
-
*
|
|
30
|
+
* Insured object name.
|
|
37
31
|
* @type {string}
|
|
38
32
|
* @memberof PolicyObjectDto
|
|
39
33
|
*/
|
|
40
34
|
'insuredObjectName': string;
|
|
41
35
|
/**
|
|
42
|
-
*
|
|
36
|
+
* Insured object summary.
|
|
43
37
|
* @type {string}
|
|
44
38
|
* @memberof PolicyObjectDto
|
|
45
39
|
*/
|
|
46
40
|
'summary': string;
|
|
41
|
+
/**
|
|
42
|
+
* Insured object data.
|
|
43
|
+
* @type {object}
|
|
44
|
+
* @memberof PolicyObjectDto
|
|
45
|
+
*/
|
|
46
|
+
'data': object;
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -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,28 +22,28 @@ import { PolicyPremiumItemDto } from './policy-premium-item-dto';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface PolicyPremiumDto {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
25
|
+
* The grand total of a policy premium is the net sum of all policy premium items.
|
|
26
|
+
* @type {number}
|
|
27
27
|
* @memberof PolicyPremiumDto
|
|
28
28
|
*/
|
|
29
|
-
'
|
|
29
|
+
'grandTotal': number;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Time at which the object was created.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof PolicyPremiumDto
|
|
34
34
|
*/
|
|
35
|
-
'
|
|
35
|
+
'createdAt'?: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {
|
|
37
|
+
* Time at which the object was updated.
|
|
38
|
+
* @type {string}
|
|
39
39
|
* @memberof PolicyPremiumDto
|
|
40
40
|
*/
|
|
41
|
-
'
|
|
41
|
+
'updatedAt'?: string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {
|
|
43
|
+
* Premium Items.
|
|
44
|
+
* @type {Array<PolicyPremiumItemDto>}
|
|
45
45
|
* @memberof PolicyPremiumDto
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'premiumItems': Array<PolicyPremiumItemDto>;
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -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,34 +22,40 @@ import { PremiumFormulaDto } from './premium-formula-dto';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface PolicyPremiumItemDto {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Unique identifier referencing the item premium formula.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PolicyPremiumItemDto
|
|
28
|
+
*/
|
|
29
|
+
'premiumFormulaId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Item total.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PolicyPremiumItemDto
|
|
34
|
+
*/
|
|
35
|
+
'total': number;
|
|
36
|
+
/**
|
|
37
|
+
* Time at which the object was created.
|
|
26
38
|
* @type {string}
|
|
27
39
|
* @memberof PolicyPremiumItemDto
|
|
28
40
|
*/
|
|
29
41
|
'createdAt': string;
|
|
30
42
|
/**
|
|
31
|
-
*
|
|
43
|
+
* Time at which the object was updated.
|
|
32
44
|
* @type {string}
|
|
33
45
|
* @memberof PolicyPremiumItemDto
|
|
34
46
|
*/
|
|
35
|
-
'updatedAt'
|
|
47
|
+
'updatedAt'?: string;
|
|
36
48
|
/**
|
|
37
|
-
*
|
|
49
|
+
* Item premium formula entity.
|
|
38
50
|
* @type {PremiumFormulaDto}
|
|
39
51
|
* @memberof PolicyPremiumItemDto
|
|
40
52
|
*/
|
|
41
53
|
'premiumFormula': PremiumFormulaDto;
|
|
42
54
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {
|
|
55
|
+
* It indicates if the premium override exist.
|
|
56
|
+
* @type {boolean}
|
|
45
57
|
* @memberof PolicyPremiumItemDto
|
|
46
58
|
*/
|
|
47
|
-
'
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof PolicyPremiumItemDto
|
|
52
|
-
*/
|
|
53
|
-
'total': number;
|
|
59
|
+
'isOverride'?: boolean;
|
|
54
60
|
}
|
|
55
61
|
|
|
@@ -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,40 +22,40 @@ import { TimesliceDto } from './timeslice-dto';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface PolicyVersionDto {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PolicyVersionDto
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* It indicates if the policy version is current.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof PolicyVersionDto
|
|
34
|
+
*/
|
|
35
|
+
'isCurrent': boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
26
38
|
* @type {object}
|
|
27
39
|
* @memberof PolicyVersionDto
|
|
28
40
|
*/
|
|
29
41
|
'metadata': object;
|
|
30
42
|
/**
|
|
31
|
-
*
|
|
43
|
+
* Time at which the object was created.
|
|
32
44
|
* @type {string}
|
|
33
45
|
* @memberof PolicyVersionDto
|
|
34
46
|
*/
|
|
35
47
|
'createdAt': string;
|
|
36
48
|
/**
|
|
37
|
-
*
|
|
49
|
+
* Time at which the object was updated.
|
|
38
50
|
* @type {string}
|
|
39
51
|
* @memberof PolicyVersionDto
|
|
40
52
|
*/
|
|
41
53
|
'updatedAt': string;
|
|
42
54
|
/**
|
|
43
|
-
*
|
|
55
|
+
* Policy timeline.
|
|
44
56
|
* @type {Array<TimesliceDto>}
|
|
45
57
|
* @memberof PolicyVersionDto
|
|
46
58
|
*/
|
|
47
59
|
'timeline': Array<TimesliceDto>;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof PolicyVersionDto
|
|
52
|
-
*/
|
|
53
|
-
'id': number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {boolean}
|
|
57
|
-
* @memberof PolicyVersionDto
|
|
58
|
-
*/
|
|
59
|
-
'isCurrent': boolean;
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -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,58 +21,58 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface PremiumFormulaDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof PremiumFormulaDto
|
|
27
|
-
*/
|
|
28
|
-
'createdAt': string;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof PremiumFormulaDto
|
|
33
|
-
*/
|
|
34
|
-
'updatedAt': string;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
37
25
|
* @type {number}
|
|
38
26
|
* @memberof PremiumFormulaDto
|
|
39
27
|
*/
|
|
40
28
|
'id': number;
|
|
41
29
|
/**
|
|
42
|
-
*
|
|
30
|
+
* Unique identifier referencing the product version.
|
|
43
31
|
* @type {number}
|
|
44
32
|
* @memberof PremiumFormulaDto
|
|
45
33
|
*/
|
|
46
34
|
'productVersionId': number;
|
|
47
35
|
/**
|
|
48
|
-
*
|
|
36
|
+
* Premium group name.
|
|
49
37
|
* @type {string}
|
|
50
38
|
* @memberof PremiumFormulaDto
|
|
51
39
|
*/
|
|
52
40
|
'group': string;
|
|
53
41
|
/**
|
|
54
|
-
*
|
|
42
|
+
* Premium name.
|
|
55
43
|
* @type {string}
|
|
56
44
|
* @memberof PremiumFormulaDto
|
|
57
45
|
*/
|
|
58
46
|
'name': string;
|
|
59
47
|
/**
|
|
60
|
-
*
|
|
48
|
+
* Premium expression.
|
|
61
49
|
* @type {string}
|
|
62
50
|
* @memberof PremiumFormulaDto
|
|
63
51
|
*/
|
|
64
52
|
'expression': string;
|
|
65
53
|
/**
|
|
66
|
-
*
|
|
54
|
+
* Type of Premium that is based on time.
|
|
67
55
|
* @type {string}
|
|
68
56
|
* @memberof PremiumFormulaDto
|
|
69
57
|
*/
|
|
70
58
|
'type': string;
|
|
71
59
|
/**
|
|
72
|
-
*
|
|
60
|
+
* This is unit of Premium. Premium units are determined based on day, week, month and year.
|
|
73
61
|
* @type {string}
|
|
74
62
|
* @memberof PremiumFormulaDto
|
|
75
63
|
*/
|
|
76
64
|
'unit': string;
|
|
65
|
+
/**
|
|
66
|
+
* Time at which the object was created.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PremiumFormulaDto
|
|
69
|
+
*/
|
|
70
|
+
'createdAt'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Time at which the object was updated.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PremiumFormulaDto
|
|
75
|
+
*/
|
|
76
|
+
'updatedAt'?: string;
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -0,0 +1,30 @@
|
|
|
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 RevertInvoiceRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface RevertInvoiceRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for the object.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RevertInvoiceRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'invoiceCode': string;
|
|
29
|
+
}
|
|
30
|
+
|
package/models/timeslice-dto.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
|
|
@@ -23,46 +23,46 @@ import { PolicyPremiumDto } from './policy-premium-dto';
|
|
|
23
23
|
*/
|
|
24
24
|
export interface TimesliceDto {
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof TimesliceDto
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Timeslice policy data.
|
|
27
33
|
* @type {Array<PolicyObjectDto>}
|
|
28
34
|
* @memberof TimesliceDto
|
|
29
35
|
*/
|
|
30
36
|
'policyObjects': Array<PolicyObjectDto>;
|
|
31
37
|
/**
|
|
32
|
-
*
|
|
38
|
+
* Timeslice validity start.
|
|
33
39
|
* @type {string}
|
|
34
40
|
* @memberof TimesliceDto
|
|
35
41
|
*/
|
|
36
42
|
'from': string;
|
|
37
43
|
/**
|
|
38
|
-
*
|
|
44
|
+
* Timeslice validity end.
|
|
39
45
|
* @type {string}
|
|
40
46
|
* @memberof TimesliceDto
|
|
41
47
|
*/
|
|
42
48
|
'to': string;
|
|
43
49
|
/**
|
|
44
|
-
*
|
|
50
|
+
* Time at which the object was created.
|
|
45
51
|
* @type {string}
|
|
46
52
|
* @memberof TimesliceDto
|
|
47
53
|
*/
|
|
48
54
|
'createdAt': string;
|
|
49
55
|
/**
|
|
50
|
-
*
|
|
56
|
+
* Time at which the object was updated.
|
|
51
57
|
* @type {string}
|
|
52
58
|
* @memberof TimesliceDto
|
|
53
59
|
*/
|
|
54
60
|
'updatedAt': string;
|
|
55
61
|
/**
|
|
56
|
-
*
|
|
62
|
+
* Timeslice premium.
|
|
57
63
|
* @type {PolicyPremiumDto}
|
|
58
64
|
* @memberof TimesliceDto
|
|
59
65
|
*/
|
|
60
66
|
'premium': PolicyPremiumDto;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {number}
|
|
64
|
-
* @memberof TimesliceDto
|
|
65
|
-
*/
|
|
66
|
-
'id': number;
|
|
67
67
|
}
|
|
68
68
|
|