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