@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.
Files changed (114) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/correction-invoices-api.ts +29 -11
  4. package/api/estimated-invoices-api.ts +17 -9
  5. package/api/initial-invoices-api.ts +29 -11
  6. package/api/invoices-api.ts +95 -87
  7. package/api/recurring-invoices-api.ts +29 -11
  8. package/api.ts +1 -6
  9. package/base.ts +6 -5
  10. package/common.ts +2 -2
  11. package/configuration.ts +1 -1
  12. package/dist/api/correction-invoices-api.d.ts +21 -8
  13. package/dist/api/correction-invoices-api.js +21 -11
  14. package/dist/api/estimated-invoices-api.d.ts +17 -9
  15. package/dist/api/estimated-invoices-api.js +17 -9
  16. package/dist/api/initial-invoices-api.d.ts +21 -8
  17. package/dist/api/initial-invoices-api.js +21 -11
  18. package/dist/api/invoices-api.d.ts +95 -87
  19. package/dist/api/invoices-api.js +53 -45
  20. package/dist/api/recurring-invoices-api.d.ts +21 -8
  21. package/dist/api/recurring-invoices-api.js +21 -11
  22. package/dist/api.d.ts +1 -5
  23. package/dist/api.js +1 -7
  24. package/dist/base.d.ts +4 -3
  25. package/dist/base.js +6 -5
  26. package/dist/common.d.ts +2 -2
  27. package/dist/common.js +1 -1
  28. package/dist/configuration.d.ts +1 -1
  29. package/dist/configuration.js +1 -1
  30. package/dist/index.d.ts +2 -2
  31. package/dist/index.js +3 -2
  32. package/dist/models/create-correction-invoices-response-class.d.ts +5 -5
  33. package/dist/models/create-correction-invoices-response-class.js +1 -1
  34. package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +3 -3
  35. package/dist/models/create-custom-estimated-invoice-request-dto.js +1 -1
  36. package/dist/models/create-custom-estimated-invoice-response-class.d.ts +1 -1
  37. package/dist/models/create-custom-estimated-invoice-response-class.js +1 -1
  38. package/dist/models/create-estimated-invoice-request-dto.d.ts +3 -3
  39. package/dist/models/create-estimated-invoice-request-dto.js +1 -1
  40. package/dist/models/create-estimated-invoice-response-class.d.ts +3 -3
  41. package/dist/models/create-estimated-invoice-response-class.js +1 -1
  42. package/dist/models/create-invoice-request-dto.d.ts +16 -14
  43. package/dist/models/create-invoice-request-dto.js +4 -2
  44. package/dist/models/create-invoice-response-class.d.ts +5 -5
  45. package/dist/models/create-invoice-response-class.js +1 -1
  46. package/dist/models/create-invoice-status-request-dto.d.ts +35 -0
  47. package/dist/models/create-invoice-status-request-dto.js +20 -0
  48. package/dist/models/create-termination-invoice-request-dto.d.ts +48 -0
  49. package/dist/models/create-termination-invoice-request-dto.js +15 -0
  50. package/dist/models/currency-class.d.ts +48 -0
  51. package/dist/models/currency-class.js +15 -0
  52. package/dist/models/index.d.ts +7 -0
  53. package/dist/models/index.js +7 -0
  54. package/dist/models/invoice-class.d.ts +50 -20
  55. package/dist/models/invoice-class.js +16 -1
  56. package/dist/models/invoice-item-class.d.ts +26 -17
  57. package/dist/models/invoice-item-class.js +10 -1
  58. package/dist/models/invoice-status-class.d.ts +47 -0
  59. package/dist/models/invoice-status-class.js +20 -0
  60. package/dist/models/list-invoices-response-class.d.ts +3 -3
  61. package/dist/models/list-invoices-response-class.js +1 -1
  62. package/dist/models/list-policies-billing-dates-response-class.d.ts +6 -5
  63. package/dist/models/list-policies-billing-dates-response-class.js +1 -1
  64. package/dist/models/list-request-dto.d.ts +1 -1
  65. package/dist/models/list-request-dto.js +1 -1
  66. package/dist/models/omit-type-class.d.ts +144 -0
  67. package/dist/models/omit-type-class.js +30 -0
  68. package/dist/models/policy-billing-date-class.d.ts +42 -0
  69. package/dist/models/policy-billing-date-class.js +15 -0
  70. package/dist/models/policy-dto.d.ts +62 -25
  71. package/dist/models/policy-dto.js +8 -1
  72. package/dist/models/policy-object-dto.d.ts +10 -10
  73. package/dist/models/policy-object-dto.js +1 -1
  74. package/dist/models/policy-premium-dto.d.ts +12 -12
  75. package/dist/models/policy-premium-dto.js +1 -1
  76. package/dist/models/policy-premium-item-dto.d.ts +20 -14
  77. package/dist/models/policy-premium-item-dto.js +1 -1
  78. package/dist/models/policy-version-dto.d.ts +17 -17
  79. package/dist/models/policy-version-dto.js +1 -1
  80. package/dist/models/premium-formula-dto.d.ts +20 -20
  81. package/dist/models/premium-formula-dto.js +1 -1
  82. package/dist/models/revert-invoice-request-dto.d.ts +24 -0
  83. package/dist/models/revert-invoice-request-dto.js +15 -0
  84. package/dist/models/timeslice-dto.d.ts +13 -13
  85. package/dist/models/timeslice-dto.js +1 -1
  86. package/index.ts +2 -2
  87. package/models/create-correction-invoices-response-class.ts +5 -5
  88. package/models/create-custom-estimated-invoice-request-dto.ts +3 -3
  89. package/models/create-custom-estimated-invoice-response-class.ts +1 -1
  90. package/models/create-estimated-invoice-request-dto.ts +3 -3
  91. package/models/create-estimated-invoice-response-class.ts +3 -3
  92. package/models/create-invoice-request-dto.ts +17 -15
  93. package/models/create-invoice-response-class.ts +5 -5
  94. package/models/create-invoice-status-request-dto.ts +44 -0
  95. package/models/create-termination-invoice-request-dto.ts +54 -0
  96. package/models/currency-class.ts +54 -0
  97. package/models/index.ts +7 -0
  98. package/models/invoice-class.ts +54 -20
  99. package/models/invoice-item-class.ts +29 -17
  100. package/models/invoice-status-class.ts +56 -0
  101. package/models/list-invoices-response-class.ts +3 -3
  102. package/models/list-policies-billing-dates-response-class.ts +6 -5
  103. package/models/list-request-dto.ts +1 -1
  104. package/models/omit-type-class.ts +154 -0
  105. package/models/policy-billing-date-class.ts +48 -0
  106. package/models/policy-dto.ts +65 -25
  107. package/models/policy-object-dto.ts +10 -10
  108. package/models/policy-premium-dto.ts +12 -12
  109. package/models/policy-premium-item-dto.ts +20 -14
  110. package/models/policy-version-dto.ts +17 -17
  111. package/models/premium-formula-dto.ts +20 -20
  112. package/models/revert-invoice-request-dto.ts +30 -0
  113. package/models/timeslice-dto.ts +13 -13
  114. package/package.json +1 -1
@@ -6,7 +6,7 @@
6
6
  * The EMIL BillingService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -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
@@ -6,7 +6,7 @@
6
6
  * The EMIL BillingService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -0,0 +1,144 @@
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 { CurrencyClass } from './currency-class';
13
+ import { InvoiceItemClass } from './invoice-item-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
+ * Unique identifier for the object.
40
+ * @type {string}
41
+ * @memberof OmitTypeClass
42
+ */
43
+ 'code': string;
44
+ /**
45
+ * Invoice type.
46
+ * @type {string}
47
+ * @memberof OmitTypeClass
48
+ */
49
+ 'type': OmitTypeClassTypeEnum;
50
+ /**
51
+ * Invoice number.
52
+ * @type {string}
53
+ * @memberof OmitTypeClass
54
+ */
55
+ 'invoiceNumber': string;
56
+ /**
57
+ * Net amount is in cents.
58
+ * @type {number}
59
+ * @memberof OmitTypeClass
60
+ */
61
+ 'netAmount': number;
62
+ /**
63
+ * Tax amount is in cents.
64
+ * @type {number}
65
+ * @memberof OmitTypeClass
66
+ */
67
+ 'taxAmount': number;
68
+ /**
69
+ * Credit amount.
70
+ * @type {number}
71
+ * @memberof OmitTypeClass
72
+ */
73
+ 'creditAmount': number;
74
+ /**
75
+ * Gross amount. This property is sum of taxAmount and netAmount.
76
+ * @type {number}
77
+ * @memberof OmitTypeClass
78
+ */
79
+ 'grossAmount': number;
80
+ /**
81
+ * Invoice status.
82
+ * @type {string}
83
+ * @memberof OmitTypeClass
84
+ */
85
+ 'status': OmitTypeClassStatusEnum;
86
+ /**
87
+ * Invoice due date.
88
+ * @type {string}
89
+ * @memberof OmitTypeClass
90
+ */
91
+ 'dueDate': string;
92
+ /**
93
+ * Metadata contains extra information that the object would need for specific cases.
94
+ * @type {object}
95
+ * @memberof OmitTypeClass
96
+ */
97
+ 'metadata': object;
98
+ /**
99
+ * Start date of billing interval.
100
+ * @type {string}
101
+ * @memberof OmitTypeClass
102
+ */
103
+ 'billingIntervalFrom': string;
104
+ /**
105
+ * End date of billing interval.
106
+ * @type {string}
107
+ * @memberof OmitTypeClass
108
+ */
109
+ 'billingIntervalTo': string;
110
+ /**
111
+ * Time at which the object was created.
112
+ * @type {string}
113
+ * @memberof OmitTypeClass
114
+ */
115
+ 'createdAt': string;
116
+ /**
117
+ * Invoice items.
118
+ * @type {Array<InvoiceItemClass>}
119
+ * @memberof OmitTypeClass
120
+ */
121
+ 'invoiceItems': Array<InvoiceItemClass>;
122
+ /**
123
+ * Invoice currency. EUR is used by default.
124
+ * @type {CurrencyClass}
125
+ * @memberof OmitTypeClass
126
+ */
127
+ 'currency': CurrencyClass;
128
+ }
129
+ export declare const OmitTypeClassTypeEnum: {
130
+ readonly Initial: "initial";
131
+ readonly Recurring: "recurring";
132
+ readonly Correction: "correction";
133
+ readonly Estimated: "estimated";
134
+ readonly Penalty: "penalty";
135
+ readonly Other: "other";
136
+ readonly Withdraw: "withdraw";
137
+ readonly Final: "final";
138
+ };
139
+ export type OmitTypeClassTypeEnum = typeof OmitTypeClassTypeEnum[keyof typeof OmitTypeClassTypeEnum];
140
+ export declare const OmitTypeClassStatusEnum: {
141
+ readonly Open: "open";
142
+ readonly Paid: "paid";
143
+ };
144
+ export type OmitTypeClassStatusEnum = typeof OmitTypeClassStatusEnum[keyof typeof OmitTypeClassStatusEnum];
@@ -0,0 +1,30 @@
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
+ };
@@ -0,0 +1,42 @@
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
+ }
@@ -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
@@ -17,69 +17,106 @@ import { PolicyVersionDto } from './policy-version-dto';
17
17
  */
18
18
  export interface PolicyDto {
19
19
  /**
20
- *
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof PolicyDto
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier for the object.
21
27
  * @type {string}
22
28
  * @memberof PolicyDto
23
29
  */
24
- 'policyStartDate': string;
30
+ 'code': string;
25
31
  /**
26
- *
32
+ * Policy number.
27
33
  * @type {string}
28
34
  * @memberof PolicyDto
29
35
  */
30
- 'createdAt': string;
36
+ 'policyNumber': string;
31
37
  /**
32
- *
38
+ * Internal policy number.
33
39
  * @type {string}
34
40
  * @memberof PolicyDto
35
41
  */
36
- 'updatedAt': string;
42
+ 'internalPolicyNumber': string;
37
43
  /**
38
- *
39
- * @type {Array<PolicyVersionDto>}
44
+ * Unique identifier referencing the policy product version.
45
+ * @type {number}
40
46
  * @memberof PolicyDto
41
47
  */
42
- 'versions': Array<PolicyVersionDto>;
48
+ 'productVersionId': number;
43
49
  /**
44
- *
50
+ * Unique identifier referencing the policy product.
45
51
  * @type {number}
46
52
  * @memberof PolicyDto
47
53
  */
48
- 'id': number;
54
+ 'productId': number;
49
55
  /**
50
- *
56
+ * Unique identifier of the account that this object belongs to.
51
57
  * @type {string}
52
58
  * @memberof PolicyDto
53
59
  */
54
- 'code': string;
60
+ 'accountCode': string;
55
61
  /**
56
- *
62
+ * Policy status. This property shows different statuses depending on the status of a policy: ACTIVE, WITHDRAW, TERMINATED, SUSPENDED.
57
63
  * @type {string}
58
64
  * @memberof PolicyDto
59
65
  */
60
- 'policyNumber': string;
66
+ 'status': PolicyDtoStatusEnum;
61
67
  /**
62
- *
63
- * @type {number}
68
+ * Policy holder.
69
+ * @type {string}
64
70
  * @memberof PolicyDto
65
71
  */
66
- 'productVersionId': number;
72
+ 'holder': string;
67
73
  /**
68
- *
69
- * @type {number}
74
+ * Time at which the object was created.
75
+ * @type {string}
70
76
  * @memberof PolicyDto
71
77
  */
72
- 'productId': number;
78
+ 'createdAt': string;
79
+ /**
80
+ * Time at which the object was updated.
81
+ * @type {string}
82
+ * @memberof PolicyDto
83
+ */
84
+ 'updatedAt': string;
85
+ /**
86
+ * Policy versions.
87
+ * @type {Array<PolicyVersionDto>}
88
+ * @memberof PolicyDto
89
+ */
90
+ 'versions': Array<PolicyVersionDto>;
91
+ /**
92
+ * Product name.
93
+ * @type {string}
94
+ * @memberof PolicyDto
95
+ */
96
+ 'productName': string;
97
+ /**
98
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
99
+ * @type {string}
100
+ * @memberof PolicyDto
101
+ */
102
+ 'productSlug': string;
73
103
  /**
74
104
  *
75
105
  * @type {string}
76
106
  * @memberof PolicyDto
77
107
  */
78
- 'accountCode': string;
108
+ 'policyStartDate': string;
79
109
  /**
80
110
  *
81
- * @type {number}
111
+ * @type {string}
82
112
  * @memberof PolicyDto
83
113
  */
84
- 'statusId': number;
114
+ 'tenantHierarchy': string;
85
115
  }
116
+ export declare const PolicyDtoStatusEnum: {
117
+ readonly Active: "ACTIVE";
118
+ readonly Withdraw: "WITHDRAW";
119
+ readonly Terminated: "TERMINATED";
120
+ readonly Suspended: "SUSPENDED";
121
+ };
122
+ export type PolicyDtoStatusEnum = typeof PolicyDtoStatusEnum[keyof typeof PolicyDtoStatusEnum];
@@ -6,10 +6,17 @@
6
6
  * The EMIL BillingService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PolicyDtoStatusEnum = void 0;
17
+ exports.PolicyDtoStatusEnum = {
18
+ Active: 'ACTIVE',
19
+ Withdraw: 'WITHDRAW',
20
+ Terminated: 'TERMINATED',
21
+ Suspended: 'SUSPENDED'
22
+ };
@@ -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,27 +16,27 @@
16
16
  */
17
17
  export interface PolicyObjectDto {
18
18
  /**
19
- *
20
- * @type {object}
21
- * @memberof PolicyObjectDto
22
- */
23
- 'data': object;
24
- /**
25
- *
19
+ * Unique identifier referencing the insured object.
26
20
  * @type {number}
27
21
  * @memberof PolicyObjectDto
28
22
  */
29
23
  'insuredObjectId': number;
30
24
  /**
31
- *
25
+ * Insured object name.
32
26
  * @type {string}
33
27
  * @memberof PolicyObjectDto
34
28
  */
35
29
  'insuredObjectName': string;
36
30
  /**
37
- *
31
+ * Insured object summary.
38
32
  * @type {string}
39
33
  * @memberof PolicyObjectDto
40
34
  */
41
35
  'summary': string;
36
+ /**
37
+ * Insured object data.
38
+ * @type {object}
39
+ * @memberof PolicyObjectDto
40
+ */
41
+ 'data': object;
42
42
  }
@@ -6,7 +6,7 @@
6
6
  * The EMIL BillingService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -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
@@ -17,27 +17,27 @@ import { PolicyPremiumItemDto } from './policy-premium-item-dto';
17
17
  */
18
18
  export interface PolicyPremiumDto {
19
19
  /**
20
- *
21
- * @type {string}
20
+ * The grand total of a policy premium is the net sum of all policy premium items.
21
+ * @type {number}
22
22
  * @memberof PolicyPremiumDto
23
23
  */
24
- 'createdAt': string;
24
+ 'grandTotal': number;
25
25
  /**
26
- *
26
+ * Time at which the object was created.
27
27
  * @type {string}
28
28
  * @memberof PolicyPremiumDto
29
29
  */
30
- 'updatedAt': string;
30
+ 'createdAt'?: string;
31
31
  /**
32
- *
33
- * @type {Array<PolicyPremiumItemDto>}
32
+ * Time at which the object was updated.
33
+ * @type {string}
34
34
  * @memberof PolicyPremiumDto
35
35
  */
36
- 'premiumItems': Array<PolicyPremiumItemDto>;
36
+ 'updatedAt'?: string;
37
37
  /**
38
- *
39
- * @type {number}
38
+ * Premium Items.
39
+ * @type {Array<PolicyPremiumItemDto>}
40
40
  * @memberof PolicyPremiumDto
41
41
  */
42
- 'grandTotal': number;
42
+ 'premiumItems': Array<PolicyPremiumItemDto>;
43
43
  }
@@ -6,7 +6,7 @@
6
6
  * The EMIL BillingService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -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
@@ -17,33 +17,39 @@ import { PremiumFormulaDto } from './premium-formula-dto';
17
17
  */
18
18
  export interface PolicyPremiumItemDto {
19
19
  /**
20
- *
20
+ * Unique identifier referencing the item premium formula.
21
+ * @type {number}
22
+ * @memberof PolicyPremiumItemDto
23
+ */
24
+ 'premiumFormulaId': number;
25
+ /**
26
+ * Item total.
27
+ * @type {number}
28
+ * @memberof PolicyPremiumItemDto
29
+ */
30
+ 'total': number;
31
+ /**
32
+ * Time at which the object was created.
21
33
  * @type {string}
22
34
  * @memberof PolicyPremiumItemDto
23
35
  */
24
36
  'createdAt': string;
25
37
  /**
26
- *
38
+ * Time at which the object was updated.
27
39
  * @type {string}
28
40
  * @memberof PolicyPremiumItemDto
29
41
  */
30
- 'updatedAt': string;
42
+ 'updatedAt'?: string;
31
43
  /**
32
- *
44
+ * Item premium formula entity.
33
45
  * @type {PremiumFormulaDto}
34
46
  * @memberof PolicyPremiumItemDto
35
47
  */
36
48
  'premiumFormula': PremiumFormulaDto;
37
49
  /**
38
- *
39
- * @type {number}
50
+ * It indicates if the premium override exist.
51
+ * @type {boolean}
40
52
  * @memberof PolicyPremiumItemDto
41
53
  */
42
- 'premiumFormulaId': number;
43
- /**
44
- *
45
- * @type {number}
46
- * @memberof PolicyPremiumItemDto
47
- */
48
- 'total': number;
54
+ 'isOverride'?: boolean;
49
55
  }
@@ -6,7 +6,7 @@
6
6
  * The EMIL BillingService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -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
@@ -17,39 +17,39 @@ import { TimesliceDto } from './timeslice-dto';
17
17
  */
18
18
  export interface PolicyVersionDto {
19
19
  /**
20
- *
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof PolicyVersionDto
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * It indicates if the policy version is current.
27
+ * @type {boolean}
28
+ * @memberof PolicyVersionDto
29
+ */
30
+ 'isCurrent': boolean;
31
+ /**
32
+ * Metadata contains extra information that the object would need for specific cases.
21
33
  * @type {object}
22
34
  * @memberof PolicyVersionDto
23
35
  */
24
36
  'metadata': object;
25
37
  /**
26
- *
38
+ * Time at which the object was created.
27
39
  * @type {string}
28
40
  * @memberof PolicyVersionDto
29
41
  */
30
42
  'createdAt': string;
31
43
  /**
32
- *
44
+ * Time at which the object was updated.
33
45
  * @type {string}
34
46
  * @memberof PolicyVersionDto
35
47
  */
36
48
  'updatedAt': string;
37
49
  /**
38
- *
50
+ * Policy timeline.
39
51
  * @type {Array<TimesliceDto>}
40
52
  * @memberof PolicyVersionDto
41
53
  */
42
54
  'timeline': Array<TimesliceDto>;
43
- /**
44
- *
45
- * @type {number}
46
- * @memberof PolicyVersionDto
47
- */
48
- 'id': number;
49
- /**
50
- *
51
- * @type {boolean}
52
- * @memberof PolicyVersionDto
53
- */
54
- 'isCurrent': boolean;
55
55
  }
@@ -6,7 +6,7 @@
6
6
  * The EMIL BillingService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech