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