@emilgroup/billing-sdk 1.0.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 (97) hide show
  1. package/.openapi-generator/FILES +37 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/correction-invoices-api.ts +161 -0
  6. package/api/estimated-invoices-api.ts +264 -0
  7. package/api/initial-invoices-api.ts +161 -0
  8. package/api/invoices-api.ts +398 -0
  9. package/api/recurring-invoices-api.ts +161 -0
  10. package/api.ts +40 -0
  11. package/base.ts +247 -0
  12. package/common.ts +198 -0
  13. package/configuration.ts +101 -0
  14. package/dist/api/correction-invoices-api.d.ts +93 -0
  15. package/dist/api/correction-invoices-api.js +220 -0
  16. package/dist/api/estimated-invoices-api.d.ts +146 -0
  17. package/dist/api/estimated-invoices-api.js +309 -0
  18. package/dist/api/initial-invoices-api.d.ts +93 -0
  19. package/dist/api/initial-invoices-api.js +220 -0
  20. package/dist/api/invoices-api.d.ts +234 -0
  21. package/dist/api/invoices-api.js +369 -0
  22. package/dist/api/recurring-invoices-api.d.ts +93 -0
  23. package/dist/api/recurring-invoices-api.js +220 -0
  24. package/dist/api.d.ts +20 -0
  25. package/dist/api.js +40 -0
  26. package/dist/base.d.ts +72 -0
  27. package/dist/base.js +293 -0
  28. package/dist/common.d.ts +91 -0
  29. package/dist/common.js +276 -0
  30. package/dist/configuration.d.ts +83 -0
  31. package/dist/configuration.js +44 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.js +35 -0
  34. package/dist/models/create-correction-invoices-response-class.d.ts +25 -0
  35. package/dist/models/create-correction-invoices-response-class.js +15 -0
  36. package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +35 -0
  37. package/dist/models/create-custom-estimated-invoice-request-dto.js +20 -0
  38. package/dist/models/create-custom-estimated-invoice-response-class.d.ts +24 -0
  39. package/dist/models/create-custom-estimated-invoice-response-class.js +15 -0
  40. package/dist/models/create-estimated-invoice-request-dto.d.ts +31 -0
  41. package/dist/models/create-estimated-invoice-request-dto.js +15 -0
  42. package/dist/models/create-estimated-invoice-response-class.d.ts +31 -0
  43. package/dist/models/create-estimated-invoice-response-class.js +15 -0
  44. package/dist/models/create-invoice-request-dto.d.ts +75 -0
  45. package/dist/models/create-invoice-request-dto.js +24 -0
  46. package/dist/models/create-invoice-response-class.d.ts +25 -0
  47. package/dist/models/create-invoice-response-class.js +15 -0
  48. package/dist/models/index.d.ts +19 -0
  49. package/dist/models/index.js +35 -0
  50. package/dist/models/invoice-class.d.ts +121 -0
  51. package/dist/models/invoice-class.js +15 -0
  52. package/dist/models/invoice-item-class.d.ts +108 -0
  53. package/dist/models/invoice-item-class.js +15 -0
  54. package/dist/models/list-invoices-response-class.d.ts +31 -0
  55. package/dist/models/list-invoices-response-class.js +15 -0
  56. package/dist/models/list-policies-billing-dates-response-class.d.ts +30 -0
  57. package/dist/models/list-policies-billing-dates-response-class.js +15 -0
  58. package/dist/models/list-request-dto.d.ts +54 -0
  59. package/dist/models/list-request-dto.js +15 -0
  60. package/dist/models/policy-dto.d.ts +85 -0
  61. package/dist/models/policy-dto.js +15 -0
  62. package/dist/models/policy-object-dto.d.ts +42 -0
  63. package/dist/models/policy-object-dto.js +15 -0
  64. package/dist/models/policy-premium-dto.d.ts +43 -0
  65. package/dist/models/policy-premium-dto.js +15 -0
  66. package/dist/models/policy-premium-item-dto.d.ts +49 -0
  67. package/dist/models/policy-premium-item-dto.js +15 -0
  68. package/dist/models/policy-version-dto.d.ts +55 -0
  69. package/dist/models/policy-version-dto.js +15 -0
  70. package/dist/models/premium-formula-dto.d.ts +72 -0
  71. package/dist/models/premium-formula-dto.js +15 -0
  72. package/dist/models/timeslice-dto.d.ts +62 -0
  73. package/dist/models/timeslice-dto.js +15 -0
  74. package/git_push.sh +57 -0
  75. package/index.ts +19 -0
  76. package/models/create-correction-invoices-response-class.ts +31 -0
  77. package/models/create-custom-estimated-invoice-request-dto.ts +44 -0
  78. package/models/create-custom-estimated-invoice-response-class.ts +30 -0
  79. package/models/create-estimated-invoice-request-dto.ts +37 -0
  80. package/models/create-estimated-invoice-response-class.ts +37 -0
  81. package/models/create-invoice-request-dto.ts +84 -0
  82. package/models/create-invoice-response-class.ts +31 -0
  83. package/models/index.ts +19 -0
  84. package/models/invoice-class.ts +127 -0
  85. package/models/invoice-item-class.ts +114 -0
  86. package/models/list-invoices-response-class.ts +37 -0
  87. package/models/list-policies-billing-dates-response-class.ts +36 -0
  88. package/models/list-request-dto.ts +60 -0
  89. package/models/policy-dto.ts +91 -0
  90. package/models/policy-object-dto.ts +48 -0
  91. package/models/policy-premium-dto.ts +49 -0
  92. package/models/policy-premium-item-dto.ts +55 -0
  93. package/models/policy-version-dto.ts +61 -0
  94. package/models/premium-formula-dto.ts +78 -0
  95. package/models/timeslice-dto.ts +68 -0
  96. package/package.json +27 -0
  97. package/tsconfig.json +22 -0
@@ -0,0 +1,121 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 InvoiceClass
17
+ */
18
+ export interface InvoiceClass {
19
+ /**
20
+ * Invoice id
21
+ * @type {number}
22
+ * @memberof InvoiceClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * policy code
27
+ * @type {string}
28
+ * @memberof InvoiceClass
29
+ */
30
+ 'policyCode': string;
31
+ /**
32
+ * Account number
33
+ * @type {string}
34
+ * @memberof InvoiceClass
35
+ */
36
+ 'accountNumber': string;
37
+ /**
38
+ * Invoice code
39
+ * @type {string}
40
+ * @memberof InvoiceClass
41
+ */
42
+ 'code': string;
43
+ /**
44
+ * Invoice type
45
+ * @type {string}
46
+ * @memberof InvoiceClass
47
+ */
48
+ 'type': string;
49
+ /**
50
+ * Invoice number
51
+ * @type {string}
52
+ * @memberof InvoiceClass
53
+ */
54
+ 'invoiceNumber': string;
55
+ /**
56
+ * Net amount
57
+ * @type {number}
58
+ * @memberof InvoiceClass
59
+ */
60
+ 'netAmount': number;
61
+ /**
62
+ * Tax amount
63
+ * @type {number}
64
+ * @memberof InvoiceClass
65
+ */
66
+ 'taxAmount': number;
67
+ /**
68
+ * Credit amount
69
+ * @type {number}
70
+ * @memberof InvoiceClass
71
+ */
72
+ 'creditAmount': number;
73
+ /**
74
+ * Gross amount
75
+ * @type {number}
76
+ * @memberof InvoiceClass
77
+ */
78
+ 'grossAmount': number;
79
+ /**
80
+ * Invoice status
81
+ * @type {string}
82
+ * @memberof InvoiceClass
83
+ */
84
+ 'status': string;
85
+ /**
86
+ * Invoice due date
87
+ * @type {string}
88
+ * @memberof InvoiceClass
89
+ */
90
+ 'dueDate': string;
91
+ /**
92
+ * Invoice metadata
93
+ * @type {object}
94
+ * @memberof InvoiceClass
95
+ */
96
+ 'metadata': object;
97
+ /**
98
+ * Invoice billing interval from
99
+ * @type {string}
100
+ * @memberof InvoiceClass
101
+ */
102
+ 'billingIntervalFrom': string;
103
+ /**
104
+ * Invoice billing interval to
105
+ * @type {string}
106
+ * @memberof InvoiceClass
107
+ */
108
+ 'billingIntervalTo': string;
109
+ /**
110
+ * Invoice created at
111
+ * @type {string}
112
+ * @memberof InvoiceClass
113
+ */
114
+ 'createdAt': string;
115
+ /**
116
+ * Invoice items
117
+ * @type {Array<InvoiceItemClass>}
118
+ * @memberof InvoiceClass
119
+ */
120
+ 'invoiceItems': Array<InvoiceItemClass>;
121
+ }
@@ -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
+ *
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,108 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 InvoiceItemClass
16
+ */
17
+ export interface InvoiceItemClass {
18
+ /**
19
+ * Invoice item id
20
+ * @type {number}
21
+ * @memberof InvoiceItemClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Premium formula id
26
+ * @type {number}
27
+ * @memberof InvoiceItemClass
28
+ */
29
+ 'premiumFormulaId': number;
30
+ /**
31
+ * product name
32
+ * @type {string}
33
+ * @memberof InvoiceItemClass
34
+ */
35
+ 'name': string;
36
+ /**
37
+ * tax code
38
+ * @type {string}
39
+ * @memberof InvoiceItemClass
40
+ */
41
+ 'taxCode': string;
42
+ /**
43
+ * Invoice type
44
+ * @type {string}
45
+ * @memberof InvoiceItemClass
46
+ */
47
+ 'unit': string;
48
+ /**
49
+ * group
50
+ * @type {string}
51
+ * @memberof InvoiceItemClass
52
+ */
53
+ 'group': string;
54
+ /**
55
+ * Item quantity
56
+ * @type {number}
57
+ * @memberof InvoiceItemClass
58
+ */
59
+ 'quantity': number;
60
+ /**
61
+ * Item price per unit
62
+ * @type {number}
63
+ * @memberof InvoiceItemClass
64
+ */
65
+ 'pricePerUnit': number;
66
+ /**
67
+ * Item tax rate
68
+ * @type {number}
69
+ * @memberof InvoiceItemClass
70
+ */
71
+ 'taxRate': number;
72
+ /**
73
+ * Net amount
74
+ * @type {number}
75
+ * @memberof InvoiceItemClass
76
+ */
77
+ 'netAmount': number;
78
+ /**
79
+ * Net tax amount
80
+ * @type {number}
81
+ * @memberof InvoiceItemClass
82
+ */
83
+ 'taxAmount': number;
84
+ /**
85
+ * Gross amount
86
+ * @type {number}
87
+ * @memberof InvoiceItemClass
88
+ */
89
+ 'grossAmount': number;
90
+ /**
91
+ * Credit amount
92
+ * @type {number}
93
+ * @memberof InvoiceItemClass
94
+ */
95
+ 'creditAmount': number;
96
+ /**
97
+ * Invoice item interval from
98
+ * @type {string}
99
+ * @memberof InvoiceItemClass
100
+ */
101
+ 'billingIntervalFrom': string;
102
+ /**
103
+ * Invoice item interval to
104
+ * @type {string}
105
+ * @memberof InvoiceItemClass
106
+ */
107
+ 'billingIntervalTo': string;
108
+ }
@@ -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
+ *
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
+ *
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
+ }
@@ -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
+ *
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,30 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 ListPoliciesBillingDatesResponseClass
16
+ */
17
+ export interface ListPoliciesBillingDatesResponseClass {
18
+ /**
19
+ * Invoices list items
20
+ * @type {Array<string>}
21
+ * @memberof ListPoliciesBillingDatesResponseClass
22
+ */
23
+ 'items': Array<string>;
24
+ /**
25
+ * Next page token
26
+ * @type {string}
27
+ * @memberof ListPoliciesBillingDatesResponseClass
28
+ */
29
+ 'nextPageToken': string;
30
+ }
@@ -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
+ *
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
+ *
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
+ *
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,85 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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
+ *
21
+ * @type {string}
22
+ * @memberof PolicyDto
23
+ */
24
+ 'policyStartDate': string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof PolicyDto
29
+ */
30
+ 'createdAt': string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof PolicyDto
35
+ */
36
+ 'updatedAt': string;
37
+ /**
38
+ *
39
+ * @type {Array<PolicyVersionDto>}
40
+ * @memberof PolicyDto
41
+ */
42
+ 'versions': Array<PolicyVersionDto>;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof PolicyDto
47
+ */
48
+ 'id': number;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof PolicyDto
53
+ */
54
+ 'code': string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof PolicyDto
59
+ */
60
+ 'policyNumber': string;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof PolicyDto
65
+ */
66
+ 'productVersionId': number;
67
+ /**
68
+ *
69
+ * @type {number}
70
+ * @memberof PolicyDto
71
+ */
72
+ 'productId': number;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof PolicyDto
77
+ */
78
+ 'accountCode': string;
79
+ /**
80
+ *
81
+ * @type {number}
82
+ * @memberof PolicyDto
83
+ */
84
+ 'statusId': number;
85
+ }
@@ -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
+ *
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,42 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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
+ *
20
+ * @type {object}
21
+ * @memberof PolicyObjectDto
22
+ */
23
+ 'data': object;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof PolicyObjectDto
28
+ */
29
+ 'insuredObjectId': number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PolicyObjectDto
34
+ */
35
+ 'insuredObjectName': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PolicyObjectDto
40
+ */
41
+ 'summary': string;
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
+ *
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,43 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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
+ *
21
+ * @type {string}
22
+ * @memberof PolicyPremiumDto
23
+ */
24
+ 'createdAt': string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof PolicyPremiumDto
29
+ */
30
+ 'updatedAt': string;
31
+ /**
32
+ *
33
+ * @type {Array<PolicyPremiumItemDto>}
34
+ * @memberof PolicyPremiumDto
35
+ */
36
+ 'premiumItems': Array<PolicyPremiumItemDto>;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof PolicyPremiumDto
41
+ */
42
+ 'grandTotal': number;
43
+ }
@@ -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
+ *
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
+ *
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
+ *
21
+ * @type {string}
22
+ * @memberof PolicyPremiumItemDto
23
+ */
24
+ 'createdAt': string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof PolicyPremiumItemDto
29
+ */
30
+ 'updatedAt': string;
31
+ /**
32
+ *
33
+ * @type {PremiumFormulaDto}
34
+ * @memberof PolicyPremiumItemDto
35
+ */
36
+ 'premiumFormula': PremiumFormulaDto;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof PolicyPremiumItemDto
41
+ */
42
+ 'premiumFormulaId': number;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof PolicyPremiumItemDto
47
+ */
48
+ 'total': number;
49
+ }