@emilgroup/billing-sdk-node 1.8.0 → 1.10.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 (90) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/default-api.ts +124 -0
  4. package/api/invoices-api.ts +32 -32
  5. package/api.ts +2 -0
  6. package/base.ts +1 -0
  7. package/models/create-invoice-payment-request-dto.ts +60 -0
  8. package/models/create-invoice-status-request-dto.ts +2 -1
  9. package/models/index.ts +5 -0
  10. package/models/inline-response200.ts +48 -0
  11. package/models/inline-response503.ts +48 -0
  12. package/models/invoice-class.ts +15 -1
  13. package/models/invoice-payment-class.ts +102 -0
  14. package/{dist/models/create-custom-estimated-invoice-request-dto.js → models/invoice-payments-class.ts} +18 -7
  15. package/models/invoice-status-class.ts +2 -1
  16. package/models/omit-type-class.ts +15 -1
  17. package/package.json +1 -1
  18. package/dist/api/correction-invoices-api.d.ts +0 -106
  19. package/dist/api/correction-invoices-api.js +0 -234
  20. package/dist/api/estimated-invoices-api.d.ts +0 -154
  21. package/dist/api/estimated-invoices-api.js +0 -321
  22. package/dist/api/initial-invoices-api.d.ts +0 -106
  23. package/dist/api/initial-invoices-api.js +0 -234
  24. package/dist/api/invoices-api.d.ts +0 -307
  25. package/dist/api/invoices-api.js +0 -481
  26. package/dist/api/recurring-invoices-api.d.ts +0 -106
  27. package/dist/api/recurring-invoices-api.js +0 -234
  28. package/dist/api.d.ts +0 -16
  29. package/dist/api.js +0 -34
  30. package/dist/base.d.ts +0 -77
  31. package/dist/base.js +0 -393
  32. package/dist/common.d.ts +0 -92
  33. package/dist/common.js +0 -277
  34. package/dist/configuration.d.ts +0 -90
  35. package/dist/configuration.js +0 -44
  36. package/dist/index.d.ts +0 -15
  37. package/dist/index.js +0 -36
  38. package/dist/models/create-correction-invoices-response-class.d.ts +0 -25
  39. package/dist/models/create-correction-invoices-response-class.js +0 -15
  40. package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +0 -35
  41. package/dist/models/create-custom-estimated-invoice-response-class.d.ts +0 -24
  42. package/dist/models/create-custom-estimated-invoice-response-class.js +0 -15
  43. package/dist/models/create-estimated-invoice-request-dto.d.ts +0 -31
  44. package/dist/models/create-estimated-invoice-request-dto.js +0 -15
  45. package/dist/models/create-estimated-invoice-response-class.d.ts +0 -31
  46. package/dist/models/create-estimated-invoice-response-class.js +0 -15
  47. package/dist/models/create-invoice-request-dto.d.ts +0 -77
  48. package/dist/models/create-invoice-request-dto.js +0 -26
  49. package/dist/models/create-invoice-response-class.d.ts +0 -25
  50. package/dist/models/create-invoice-response-class.js +0 -15
  51. package/dist/models/create-invoice-status-request-dto.d.ts +0 -35
  52. package/dist/models/create-invoice-status-request-dto.js +0 -20
  53. package/dist/models/create-termination-invoice-request-dto.d.ts +0 -48
  54. package/dist/models/create-termination-invoice-request-dto.js +0 -15
  55. package/dist/models/get-invoice-response-class.d.ts +0 -25
  56. package/dist/models/get-invoice-response-class.js +0 -15
  57. package/dist/models/index.d.ts +0 -26
  58. package/dist/models/index.js +0 -42
  59. package/dist/models/invoice-class.d.ts +0 -150
  60. package/dist/models/invoice-class.js +0 -30
  61. package/dist/models/invoice-item-class.d.ts +0 -129
  62. package/dist/models/invoice-item-class.js +0 -24
  63. package/dist/models/invoice-status-class.d.ts +0 -47
  64. package/dist/models/invoice-status-class.js +0 -20
  65. package/dist/models/list-invoices-response-class.d.ts +0 -31
  66. package/dist/models/list-invoices-response-class.js +0 -15
  67. package/dist/models/list-policies-billing-dates-response-class.d.ts +0 -31
  68. package/dist/models/list-policies-billing-dates-response-class.js +0 -15
  69. package/dist/models/list-request-dto.d.ts +0 -54
  70. package/dist/models/list-request-dto.js +0 -15
  71. package/dist/models/omit-type-class.d.ts +0 -143
  72. package/dist/models/omit-type-class.js +0 -30
  73. package/dist/models/policy-billing-date-class.d.ts +0 -42
  74. package/dist/models/policy-billing-date-class.js +0 -15
  75. package/dist/models/policy-dto.d.ts +0 -122
  76. package/dist/models/policy-dto.js +0 -22
  77. package/dist/models/policy-object-dto.d.ts +0 -48
  78. package/dist/models/policy-object-dto.js +0 -15
  79. package/dist/models/policy-premium-dto.d.ts +0 -49
  80. package/dist/models/policy-premium-dto.js +0 -15
  81. package/dist/models/policy-premium-item-dto.d.ts +0 -55
  82. package/dist/models/policy-premium-item-dto.js +0 -15
  83. package/dist/models/policy-version-dto.d.ts +0 -55
  84. package/dist/models/policy-version-dto.js +0 -15
  85. package/dist/models/premium-formula-dto.d.ts +0 -72
  86. package/dist/models/premium-formula-dto.js +0 -15
  87. package/dist/models/revert-invoice-request-dto.d.ts +0 -24
  88. package/dist/models/revert-invoice-request-dto.js +0 -15
  89. package/dist/models/timeslice-dto.d.ts +0 -62
  90. package/dist/models/timeslice-dto.js +0 -15
@@ -1,24 +0,0 @@
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.InvoiceItemClassUnitEnum = void 0;
17
- exports.InvoiceItemClassUnitEnum = {
18
- Day: 'day',
19
- Week: 'week',
20
- Month: 'month',
21
- Quarter: 'quarter',
22
- Year: 'year',
23
- OneTimePayment: 'oneTimePayment'
24
- };
@@ -1,47 +0,0 @@
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 InvoiceStatusClass
16
- */
17
- export interface InvoiceStatusClass {
18
- /**
19
- * Internal unique identifier for the object. You should not have to use this, use code instead.
20
- * @type {number}
21
- * @memberof InvoiceStatusClass
22
- */
23
- 'id': number;
24
- /**
25
- * Unique identifier referencing the invoice.
26
- * @type {number}
27
- * @memberof InvoiceStatusClass
28
- */
29
- 'invoiceId': number;
30
- /**
31
- * Invoice type.
32
- * @type {string}
33
- * @memberof InvoiceStatusClass
34
- */
35
- 'status': InvoiceStatusClassStatusEnum;
36
- /**
37
- * Time at which the object was created.
38
- * @type {string}
39
- * @memberof InvoiceStatusClass
40
- */
41
- 'createdAt': string;
42
- }
43
- export declare const InvoiceStatusClassStatusEnum: {
44
- readonly Open: "open";
45
- readonly Paid: "paid";
46
- };
47
- export type InvoiceStatusClassStatusEnum = typeof InvoiceStatusClassStatusEnum[keyof typeof InvoiceStatusClassStatusEnum];
@@ -1,20 +0,0 @@
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.InvoiceStatusClassStatusEnum = void 0;
17
- exports.InvoiceStatusClassStatusEnum = {
18
- Open: 'open',
19
- Paid: 'paid'
20
- };
@@ -1,31 +0,0 @@
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 { InvoiceClass } from './invoice-class';
13
- /**
14
- *
15
- * @export
16
- * @interface ListInvoicesResponseClass
17
- */
18
- export interface ListInvoicesResponseClass {
19
- /**
20
- * Invoices list items.
21
- * @type {Array<InvoiceClass>}
22
- * @memberof ListInvoicesResponseClass
23
- */
24
- 'items': Array<InvoiceClass>;
25
- /**
26
- * Next page token.
27
- * @type {string}
28
- * @memberof ListInvoicesResponseClass
29
- */
30
- 'nextPageToken': string;
31
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,31 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,54 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,143 +0,0 @@
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
- * Unique identifier for the object.
39
- * @type {string}
40
- * @memberof OmitTypeClass
41
- */
42
- 'code': string;
43
- /**
44
- * Invoice type.
45
- * @type {string}
46
- * @memberof OmitTypeClass
47
- */
48
- 'type': OmitTypeClassTypeEnum;
49
- /**
50
- * Invoice number.
51
- * @type {string}
52
- * @memberof OmitTypeClass
53
- */
54
- 'invoiceNumber': string;
55
- /**
56
- * Net amount is in cents.
57
- * @type {number}
58
- * @memberof OmitTypeClass
59
- */
60
- 'netAmount': number;
61
- /**
62
- * Tax amount is in cents.
63
- * @type {number}
64
- * @memberof OmitTypeClass
65
- */
66
- 'taxAmount': number;
67
- /**
68
- * Credit amount.
69
- * @type {number}
70
- * @memberof OmitTypeClass
71
- */
72
- 'creditAmount': number;
73
- /**
74
- * Gross amount. This property is sum of taxAmount and netAmount.
75
- * @type {number}
76
- * @memberof OmitTypeClass
77
- */
78
- 'grossAmount': number;
79
- /**
80
- * Invoice status.
81
- * @type {string}
82
- * @memberof OmitTypeClass
83
- */
84
- 'status': OmitTypeClassStatusEnum;
85
- /**
86
- * Invoice due date.
87
- * @type {string}
88
- * @memberof OmitTypeClass
89
- */
90
- 'dueDate': string;
91
- /**
92
- * Metadata contains extra information that the object would need for specific cases.
93
- * @type {object}
94
- * @memberof OmitTypeClass
95
- */
96
- 'metadata': object;
97
- /**
98
- * Start date of billing interval.
99
- * @type {string}
100
- * @memberof OmitTypeClass
101
- */
102
- 'billingIntervalFrom': string;
103
- /**
104
- * End date of billing interval.
105
- * @type {string}
106
- * @memberof OmitTypeClass
107
- */
108
- 'billingIntervalTo': string;
109
- /**
110
- * Time at which the object was created.
111
- * @type {string}
112
- * @memberof OmitTypeClass
113
- */
114
- 'createdAt': string;
115
- /**
116
- * Invoice items.
117
- * @type {Array<InvoiceItemClass>}
118
- * @memberof OmitTypeClass
119
- */
120
- 'invoiceItems': Array<InvoiceItemClass>;
121
- /**
122
- * Invoice currency. EUR is used by default.
123
- * @type {string}
124
- * @memberof OmitTypeClass
125
- */
126
- 'currency': string;
127
- }
128
- export declare const OmitTypeClassTypeEnum: {
129
- readonly Initial: "initial";
130
- readonly Recurring: "recurring";
131
- readonly Correction: "correction";
132
- readonly Estimated: "estimated";
133
- readonly Penalty: "penalty";
134
- readonly Other: "other";
135
- readonly Withdraw: "withdraw";
136
- readonly Final: "final";
137
- };
138
- export type OmitTypeClassTypeEnum = typeof OmitTypeClassTypeEnum[keyof typeof OmitTypeClassTypeEnum];
139
- export declare const OmitTypeClassStatusEnum: {
140
- readonly Open: "open";
141
- readonly Paid: "paid";
142
- };
143
- export type OmitTypeClassStatusEnum = typeof OmitTypeClassStatusEnum[keyof typeof OmitTypeClassStatusEnum];
@@ -1,30 +0,0 @@
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
- };
@@ -1,42 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,122 +0,0 @@
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];
@@ -1,22 +0,0 @@
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
- };
@@ -1,48 +0,0 @@
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
- }