@emilgroup/tenant-sdk 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/.openapi-generator/FILES +57 -14
  2. package/README.md +2 -2
  3. package/api/alerts-api.ts +860 -0
  4. package/api/custom-schema-api.ts +60 -52
  5. package/api/dashboard-api.ts +792 -0
  6. package/api/data-report-api.ts +75 -65
  7. package/api/data-report-executor-api.ts +26 -10
  8. package/api/invite-users-api.ts +79 -75
  9. package/api/reports-api.ts +860 -0
  10. package/api/scenario-analysis-api.ts +977 -0
  11. package/api/settings-api.ts +484 -0
  12. package/api/tariff-comparisons-api.ts +381 -0
  13. package/api/{invite-organizations-api.ts → user-subscription-api.ts} +161 -139
  14. package/api/users-api.ts +148 -138
  15. package/api.ts +14 -4
  16. package/dist/api/alerts-api.d.ts +479 -0
  17. package/dist/api/alerts-api.js +752 -0
  18. package/dist/api/custom-schema-api.d.ts +42 -42
  19. package/dist/api/custom-schema-api.js +38 -31
  20. package/dist/api/dashboard-api.d.ts +434 -0
  21. package/dist/api/dashboard-api.js +724 -0
  22. package/dist/api/data-report-api.d.ts +52 -52
  23. package/dist/api/data-report-api.js +49 -40
  24. package/dist/api/data-report-executor-api.d.ts +16 -7
  25. package/dist/api/data-report-executor-api.js +17 -9
  26. package/dist/api/invite-users-api.d.ts +60 -63
  27. package/dist/api/invite-users-api.js +49 -40
  28. package/dist/api/reports-api.d.ts +479 -0
  29. package/dist/api/reports-api.js +752 -0
  30. package/dist/api/scenario-analysis-api.d.ts +529 -0
  31. package/dist/api/scenario-analysis-api.js +895 -0
  32. package/dist/api/settings-api.d.ts +264 -0
  33. package/dist/api/settings-api.js +509 -0
  34. package/dist/api/tariff-comparisons-api.d.ts +206 -0
  35. package/dist/api/{organizations-api.js → tariff-comparisons-api.js} +158 -99
  36. package/dist/api/{organizations-api.d.ts → user-subscription-api.d.ts} +103 -88
  37. package/dist/api/{invite-organizations-api.js → user-subscription-api.js} +114 -106
  38. package/dist/api/users-api.d.ts +109 -113
  39. package/dist/api/users-api.js +93 -76
  40. package/dist/api.d.ts +7 -2
  41. package/dist/api.js +7 -2
  42. package/dist/models/alert-class.d.ts +90 -0
  43. package/dist/models/alert-history-class.d.ts +108 -0
  44. package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
  45. package/dist/models/channel-response-class.d.ts +30 -0
  46. package/dist/models/compare-tariffs-request-dto.d.ts +37 -0
  47. package/dist/models/compare-tariffs-request-dto.js +22 -0
  48. package/dist/models/compare-tariffs-response-class.d.ts +31 -0
  49. package/dist/models/condition-dto.d.ts +43 -0
  50. package/dist/models/condition-dto.js +22 -0
  51. package/dist/models/create-alert-request-dto.d.ts +79 -0
  52. package/dist/models/create-alert-request-dto.js +27 -0
  53. package/dist/models/create-alert-response-class.d.ts +25 -0
  54. package/dist/models/create-custom-schema-request-dto.d.ts +0 -1
  55. package/dist/models/create-custom-schema-request-dto.js +1 -2
  56. package/dist/models/create-dashboard-request-dto.d.ts +70 -0
  57. package/dist/models/create-dashboard-request-dto.js +29 -0
  58. package/dist/models/create-dashboard-response-class.d.ts +25 -0
  59. package/dist/models/create-report-request-dto.d.ts +49 -0
  60. package/dist/models/create-report-request-dto.js +22 -0
  61. package/dist/models/create-report-response-class.d.ts +25 -0
  62. package/dist/models/create-scenario-analysis-request-dto.d.ts +74 -0
  63. package/dist/models/create-scenario-analysis-request-dto.js +22 -0
  64. package/dist/models/create-scenario-analysis-response-class.d.ts +25 -0
  65. package/dist/models/dashboard-class.d.ts +78 -0
  66. package/dist/models/get-alert-response-class.d.ts +25 -0
  67. package/dist/models/get-dashboard-response-class.d.ts +25 -0
  68. package/dist/models/{delete-response-class.d.ts → get-embedded-url-response-class.d.ts} +6 -6
  69. package/dist/models/get-report-response-class.d.ts +25 -0
  70. package/dist/models/get-report-response-class.js +15 -0
  71. package/dist/models/get-scenario-analysis-response-class.d.ts +25 -0
  72. package/dist/models/get-scenario-analysis-response-class.js +15 -0
  73. package/dist/models/grouped-tariff-class.d.ts +30 -0
  74. package/dist/models/grouped-tariff-class.js +15 -0
  75. package/dist/models/index.d.ts +50 -12
  76. package/dist/models/index.js +50 -12
  77. package/dist/models/{enable-users-response-class.d.ts → insurance-company-response-class.d.ts} +6 -6
  78. package/dist/models/insurance-company-response-class.js +15 -0
  79. package/dist/models/{disable-users-response-class.d.ts → insurance-response-class.d.ts} +6 -6
  80. package/dist/models/insurance-response-class.js +15 -0
  81. package/dist/models/invite-user-request-dto.d.ts +2 -8
  82. package/dist/models/invite-users-request-dto.d.ts +2 -2
  83. package/dist/models/{list-organizations-response-class.d.ts → list-alert-history-response-class.d.ts} +9 -9
  84. package/dist/models/list-alert-history-response-class.js +15 -0
  85. package/dist/models/list-alerts-response-class.d.ts +31 -0
  86. package/dist/models/list-alerts-response-class.js +15 -0
  87. package/dist/models/list-channels-response-class.d.ts +25 -0
  88. package/dist/models/list-channels-response-class.js +15 -0
  89. package/dist/models/list-dashboards-response-class.d.ts +31 -0
  90. package/dist/models/list-dashboards-response-class.js +15 -0
  91. package/dist/models/list-insurance-companies-response-class.d.ts +25 -0
  92. package/dist/models/list-insurance-companies-response-class.js +15 -0
  93. package/dist/models/list-report-history-response-class.d.ts +31 -0
  94. package/dist/models/list-report-history-response-class.js +15 -0
  95. package/dist/models/list-reports-response-class.d.ts +31 -0
  96. package/dist/models/list-reports-response-class.js +15 -0
  97. package/dist/models/list-scenario-analyses-response-class.d.ts +31 -0
  98. package/dist/models/list-scenario-analyses-response-class.js +15 -0
  99. package/dist/models/list-scenario-analysis-dates-response-class.d.ts +25 -0
  100. package/dist/models/list-scenario-analysis-dates-response-class.js +15 -0
  101. package/dist/models/list-tariff-insurance-companies-response-class.d.ts +25 -0
  102. package/dist/models/list-tariff-insurance-companies-response-class.js +15 -0
  103. package/dist/models/list-tariffs-response-class.d.ts +25 -0
  104. package/dist/models/list-tariffs-response-class.js +15 -0
  105. package/dist/models/{list-org-invitations-response-class.d.ts → list-user-subscriptions-response-class.d.ts} +8 -8
  106. package/dist/models/list-user-subscriptions-response-class.js +15 -0
  107. package/dist/models/{batch-delete-response-class.d.ts → manage-subscription-request-dto.d.ts} +5 -5
  108. package/dist/models/manage-subscription-request-dto.js +15 -0
  109. package/dist/models/manage-subscription-response-class.d.ts +25 -0
  110. package/dist/models/manage-subscription-response-class.js +15 -0
  111. package/dist/models/report-class.d.ts +66 -0
  112. package/dist/models/report-class.js +15 -0
  113. package/dist/models/report-history-class.d.ts +48 -0
  114. package/dist/models/report-history-class.js +15 -0
  115. package/dist/models/scenario-analysis-class.d.ts +108 -0
  116. package/dist/models/scenario-analysis-class.js +15 -0
  117. package/dist/models/scenario-analysis-date-response-class.d.ts +36 -0
  118. package/dist/models/scenario-analysis-date-response-class.js +15 -0
  119. package/dist/models/set-setting-request-dto.d.ts +4 -10
  120. package/dist/models/set-tenant-setting-response-class.d.ts +36 -0
  121. package/dist/models/set-tenant-setting-response-class.js +15 -0
  122. package/dist/models/subscription-class.d.ts +2 -9
  123. package/dist/models/update-alert-request-dto.d.ts +72 -0
  124. package/dist/models/update-alert-request-dto.js +21 -0
  125. package/dist/models/update-alert-response-class.d.ts +25 -0
  126. package/dist/models/update-alert-response-class.js +15 -0
  127. package/dist/models/update-custom-schema-request-dto.d.ts +0 -1
  128. package/dist/models/update-custom-schema-request-dto.js +1 -2
  129. package/dist/models/update-dashboard-request-dto.d.ts +76 -0
  130. package/dist/models/update-dashboard-request-dto.js +29 -0
  131. package/dist/models/update-dashboard-response-class.d.ts +25 -0
  132. package/dist/models/update-dashboard-response-class.js +15 -0
  133. package/dist/models/update-report-request-dto.d.ts +55 -0
  134. package/dist/models/update-report-request-dto.js +22 -0
  135. package/dist/models/update-report-response-class.d.ts +25 -0
  136. package/dist/models/update-report-response-class.js +15 -0
  137. package/dist/models/update-scenario-analysis-request-dto.d.ts +74 -0
  138. package/dist/models/update-scenario-analysis-request-dto.js +22 -0
  139. package/dist/models/update-scenario-analysis-response-class.d.ts +25 -0
  140. package/dist/models/update-scenario-analysis-response-class.js +15 -0
  141. package/dist/models/user-class.d.ts +5 -13
  142. package/models/alert-class.ts +96 -0
  143. package/models/alert-history-class.ts +114 -0
  144. package/models/assign-user-roles-request-dto.ts +2 -2
  145. package/models/channel-response-class.ts +36 -0
  146. package/models/compare-tariffs-request-dto.ts +46 -0
  147. package/models/compare-tariffs-response-class.ts +37 -0
  148. package/models/condition-dto.ts +52 -0
  149. package/models/create-alert-request-dto.ts +89 -0
  150. package/models/create-alert-response-class.ts +31 -0
  151. package/models/create-custom-schema-request-dto.ts +1 -2
  152. package/models/create-dashboard-request-dto.ts +81 -0
  153. package/models/create-dashboard-response-class.ts +31 -0
  154. package/models/create-report-request-dto.ts +58 -0
  155. package/models/create-report-response-class.ts +31 -0
  156. package/models/create-scenario-analysis-request-dto.ts +83 -0
  157. package/models/create-scenario-analysis-response-class.ts +31 -0
  158. package/models/dashboard-class.ts +84 -0
  159. package/models/get-alert-response-class.ts +31 -0
  160. package/models/get-dashboard-response-class.ts +31 -0
  161. package/models/{disable-users-response-class.ts → get-embedded-url-response-class.ts} +6 -6
  162. package/models/get-report-response-class.ts +31 -0
  163. package/models/get-scenario-analysis-response-class.ts +31 -0
  164. package/models/grouped-tariff-class.ts +36 -0
  165. package/models/index.ts +50 -12
  166. package/models/{enable-users-response-class.ts → insurance-company-response-class.ts} +6 -6
  167. package/models/{delete-response-class.ts → insurance-response-class.ts} +6 -6
  168. package/models/invite-user-request-dto.ts +2 -8
  169. package/models/invite-users-request-dto.ts +2 -2
  170. package/models/{list-organizations-response-class.ts → list-alert-history-response-class.ts} +9 -9
  171. package/models/list-alerts-response-class.ts +37 -0
  172. package/models/list-channels-response-class.ts +31 -0
  173. package/models/list-dashboards-response-class.ts +37 -0
  174. package/models/list-insurance-companies-response-class.ts +31 -0
  175. package/models/list-report-history-response-class.ts +37 -0
  176. package/models/list-reports-response-class.ts +37 -0
  177. package/models/list-scenario-analyses-response-class.ts +37 -0
  178. package/models/list-scenario-analysis-dates-response-class.ts +31 -0
  179. package/models/list-tariff-insurance-companies-response-class.ts +31 -0
  180. package/models/list-tariffs-response-class.ts +31 -0
  181. package/models/{list-org-invitations-response-class.ts → list-user-subscriptions-response-class.ts} +8 -8
  182. package/models/{batch-delete-response-class.ts → manage-subscription-request-dto.ts} +5 -5
  183. package/models/manage-subscription-response-class.ts +31 -0
  184. package/models/report-class.ts +72 -0
  185. package/models/report-history-class.ts +54 -0
  186. package/models/scenario-analysis-class.ts +114 -0
  187. package/models/scenario-analysis-date-response-class.ts +42 -0
  188. package/models/set-setting-request-dto.ts +4 -10
  189. package/models/set-tenant-setting-response-class.ts +42 -0
  190. package/models/subscription-class.ts +2 -9
  191. package/models/update-alert-request-dto.ts +81 -0
  192. package/models/update-alert-response-class.ts +31 -0
  193. package/models/update-custom-schema-request-dto.ts +1 -2
  194. package/models/update-dashboard-request-dto.ts +87 -0
  195. package/models/update-dashboard-response-class.ts +31 -0
  196. package/models/update-report-request-dto.ts +64 -0
  197. package/models/update-report-response-class.ts +31 -0
  198. package/models/update-scenario-analysis-request-dto.ts +83 -0
  199. package/models/update-scenario-analysis-response-class.ts +31 -0
  200. package/models/user-class.ts +5 -13
  201. package/package.json +1 -1
  202. package/api/organizations-api.ts +0 -339
  203. package/dist/api/invite-organizations-api.d.ts +0 -198
  204. package/dist/models/get-organization-response-class.d.ts +0 -25
  205. package/dist/models/invite-org-request-dto.d.ts +0 -78
  206. package/dist/models/invite-users-response-class.d.ts +0 -24
  207. package/dist/models/org-invitation-class.d.ts +0 -103
  208. package/dist/models/org-invitation-response-class.d.ts +0 -25
  209. package/dist/models/organization-class.d.ts +0 -84
  210. package/models/get-organization-response-class.ts +0 -31
  211. package/models/invite-org-request-dto.ts +0 -84
  212. package/models/invite-users-response-class.ts +0 -30
  213. package/models/org-invitation-class.ts +0 -109
  214. package/models/org-invitation-response-class.ts +0 -31
  215. package/models/organization-class.ts +0 -90
  216. /package/dist/models/{batch-delete-response-class.js → alert-class.js} +0 -0
  217. /package/dist/models/{delete-response-class.js → alert-history-class.js} +0 -0
  218. /package/dist/models/{disable-users-response-class.js → channel-response-class.js} +0 -0
  219. /package/dist/models/{enable-users-response-class.js → compare-tariffs-response-class.js} +0 -0
  220. /package/dist/models/{get-organization-response-class.js → create-alert-response-class.js} +0 -0
  221. /package/dist/models/{invite-org-request-dto.js → create-dashboard-response-class.js} +0 -0
  222. /package/dist/models/{invite-users-response-class.js → create-report-response-class.js} +0 -0
  223. /package/dist/models/{list-org-invitations-response-class.js → create-scenario-analysis-response-class.js} +0 -0
  224. /package/dist/models/{list-organizations-response-class.js → dashboard-class.js} +0 -0
  225. /package/dist/models/{org-invitation-class.js → get-alert-response-class.js} +0 -0
  226. /package/dist/models/{org-invitation-response-class.js → get-dashboard-response-class.js} +0 -0
  227. /package/dist/models/{organization-class.js → get-embedded-url-response-class.js} +0 -0
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ReportClass } from './report-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateReportResponseClass
22
+ */
23
+ export interface CreateReportResponseClass {
24
+ /**
25
+ * Report
26
+ * @type {ReportClass}
27
+ * @memberof CreateReportResponseClass
28
+ */
29
+ 'report': ReportClass;
30
+ }
31
+
@@ -0,0 +1,83 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ConditionDto } from './condition-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateScenarioAnalysisRequestDto
22
+ */
23
+ export interface CreateScenarioAnalysisRequestDto {
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateScenarioAnalysisRequestDto
28
+ */
29
+ 'insuranceStartDate': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreateScenarioAnalysisRequestDto
34
+ */
35
+ 'name': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CreateScenarioAnalysisRequestDto
40
+ */
41
+ 'dashboardName': string;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof CreateScenarioAnalysisRequestDto
46
+ */
47
+ 'week': number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof CreateScenarioAnalysisRequestDto
52
+ */
53
+ 'year': number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof CreateScenarioAnalysisRequestDto
58
+ */
59
+ 'day': number;
60
+ /**
61
+ *
62
+ * @type {Array<ConditionDto>}
63
+ * @memberof CreateScenarioAnalysisRequestDto
64
+ */
65
+ 'conditions': Array<ConditionDto>;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof CreateScenarioAnalysisRequestDto
70
+ */
71
+ 'productType'?: CreateScenarioAnalysisRequestDtoProductTypeEnum;
72
+ }
73
+
74
+ export const CreateScenarioAnalysisRequestDtoProductTypeEnum = {
75
+ Car: 'car',
76
+ Homeowner: 'homeowner',
77
+ Household: 'household',
78
+ PrivateLiability: 'privateLiability'
79
+ } as const;
80
+
81
+ export type CreateScenarioAnalysisRequestDtoProductTypeEnum = typeof CreateScenarioAnalysisRequestDtoProductTypeEnum[keyof typeof CreateScenarioAnalysisRequestDtoProductTypeEnum];
82
+
83
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ScenarioAnalysisClass } from './scenario-analysis-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateScenarioAnalysisResponseClass
22
+ */
23
+ export interface CreateScenarioAnalysisResponseClass {
24
+ /**
25
+ * Scenario analysis response
26
+ * @type {ScenarioAnalysisClass}
27
+ * @memberof CreateScenarioAnalysisResponseClass
28
+ */
29
+ 'scenarioAnalysis': ScenarioAnalysisClass;
30
+ }
31
+
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface DashboardClass
21
+ */
22
+ export interface DashboardClass {
23
+ /**
24
+ * Dashboard id
25
+ * @type {number}
26
+ * @memberof DashboardClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Dashboard code
31
+ * @type {string}
32
+ * @memberof DashboardClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Dashboard name
37
+ * @type {string}
38
+ * @memberof DashboardClass
39
+ */
40
+ 'name': string;
41
+ /**
42
+ * Dashboard provider id
43
+ * @type {string}
44
+ * @memberof DashboardClass
45
+ */
46
+ 'providerId': string;
47
+ /**
48
+ * Dashboard source
49
+ * @type {string}
50
+ * @memberof DashboardClass
51
+ */
52
+ 'provider': string;
53
+ /**
54
+ * Dashboard category
55
+ * @type {string}
56
+ * @memberof DashboardClass
57
+ */
58
+ 'category': string;
59
+ /**
60
+ * Dashboard description
61
+ * @type {string}
62
+ * @memberof DashboardClass
63
+ */
64
+ 'description': string;
65
+ /**
66
+ * Dashboard product
67
+ * @type {string}
68
+ * @memberof DashboardClass
69
+ */
70
+ 'product': string;
71
+ /**
72
+ * Created at
73
+ * @type {string}
74
+ * @memberof DashboardClass
75
+ */
76
+ 'createdAt': string;
77
+ /**
78
+ * Updated at
79
+ * @type {string}
80
+ * @memberof DashboardClass
81
+ */
82
+ 'updatedAt': string;
83
+ }
84
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { AlertClass } from './alert-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetAlertResponseClass
22
+ */
23
+ export interface GetAlertResponseClass {
24
+ /**
25
+ * Alert
26
+ * @type {AlertClass}
27
+ * @memberof GetAlertResponseClass
28
+ */
29
+ 'alert': AlertClass;
30
+ }
31
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { DashboardClass } from './dashboard-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetDashboardResponseClass
22
+ */
23
+ export interface GetDashboardResponseClass {
24
+ /**
25
+ * Dashboard
26
+ * @type {DashboardClass}
27
+ * @memberof GetDashboardResponseClass
28
+ */
29
+ 'dashboard': DashboardClass;
30
+ }
31
+
@@ -17,14 +17,14 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface DisableUsersResponseClass
20
+ * @interface GetEmbeddedUrlResponseClass
21
21
  */
22
- export interface DisableUsersResponseClass {
22
+ export interface GetEmbeddedUrlResponseClass {
23
23
  /**
24
- *
25
- * @type {object}
26
- * @memberof DisableUsersResponseClass
24
+ * Embedded url
25
+ * @type {string}
26
+ * @memberof GetEmbeddedUrlResponseClass
27
27
  */
28
- 'response': object;
28
+ 'url': string;
29
29
  }
30
30
 
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ReportClass } from './report-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetReportResponseClass
22
+ */
23
+ export interface GetReportResponseClass {
24
+ /**
25
+ * Report
26
+ * @type {ReportClass}
27
+ * @memberof GetReportResponseClass
28
+ */
29
+ 'report': ReportClass;
30
+ }
31
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ScenarioAnalysisClass } from './scenario-analysis-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetScenarioAnalysisResponseClass
22
+ */
23
+ export interface GetScenarioAnalysisResponseClass {
24
+ /**
25
+ * Scenario analysis
26
+ * @type {ScenarioAnalysisClass}
27
+ * @memberof GetScenarioAnalysisResponseClass
28
+ */
29
+ 'scenarioAnalysis': ScenarioAnalysisClass;
30
+ }
31
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface GroupedTariffClass
21
+ */
22
+ export interface GroupedTariffClass {
23
+ /**
24
+ * Insurer Name
25
+ * @type {string}
26
+ * @memberof GroupedTariffClass
27
+ */
28
+ 'groupTitle': string;
29
+ /**
30
+ * Tariff info
31
+ * @type {Array<string>}
32
+ * @memberof GroupedTariffClass
33
+ */
34
+ 'infoItems': Array<string>;
35
+ }
36
+
package/models/index.ts CHANGED
@@ -1,60 +1,98 @@
1
+ export * from './alert-class';
2
+ export * from './alert-history-class';
1
3
  export * from './assign-user-roles-request-dto';
2
4
  export * from './assign-user-roles-response-class';
3
5
  export * from './batch-delete-request-dto';
4
- export * from './batch-delete-response-class';
6
+ export * from './channel-response-class';
7
+ export * from './compare-tariffs-request-dto';
8
+ export * from './compare-tariffs-response-class';
9
+ export * from './condition-dto';
10
+ export * from './create-alert-request-dto';
11
+ export * from './create-alert-response-class';
5
12
  export * from './create-custom-schema-request-dto';
6
13
  export * from './create-custom-schema-response-class';
14
+ export * from './create-dashboard-request-dto';
15
+ export * from './create-dashboard-response-class';
7
16
  export * from './create-data-report-request-dto';
8
17
  export * from './create-data-report-response-class';
9
18
  export * from './create-permission-request-dto';
19
+ export * from './create-report-request-dto';
20
+ export * from './create-report-response-class';
10
21
  export * from './create-role-request-dto';
22
+ export * from './create-scenario-analysis-request-dto';
23
+ export * from './create-scenario-analysis-response-class';
11
24
  export * from './create-tenant-request-dto';
12
25
  export * from './custom-field-dto';
13
26
  export * from './custom-schema-class';
14
27
  export * from './dbconfig-dto';
28
+ export * from './dashboard-class';
15
29
  export * from './data-report-class';
16
30
  export * from './data-report-filter-class';
17
31
  export * from './data-report-filter-dto';
18
32
  export * from './data-report-filter-single-value-dto';
19
33
  export * from './data-report-filter-value-dto';
20
- export * from './delete-response-class';
21
34
  export * from './disable-user-response-class';
22
35
  export * from './disable-users-request-dto';
23
- export * from './disable-users-response-class';
24
36
  export * from './enable-user-response-class';
25
37
  export * from './enable-users-request-dto';
26
- export * from './enable-users-response-class';
38
+ export * from './get-alert-response-class';
27
39
  export * from './get-custom-schema-response-class';
40
+ export * from './get-dashboard-response-class';
28
41
  export * from './get-data-report-response-class';
29
- export * from './get-organization-response-class';
42
+ export * from './get-embedded-url-response-class';
43
+ export * from './get-report-response-class';
44
+ export * from './get-scenario-analysis-response-class';
30
45
  export * from './get-settings-response-class';
31
46
  export * from './get-user-response-class';
47
+ export * from './grouped-tariff-class';
48
+ export * from './insurance-company-response-class';
49
+ export * from './insurance-response-class';
32
50
  export * from './invite-class';
33
- export * from './invite-org-request-dto';
34
51
  export * from './invite-user-request-dto';
35
52
  export * from './invite-user-response-class';
36
53
  export * from './invite-users-request-dto';
37
- export * from './invite-users-response-class';
54
+ export * from './list-alert-history-response-class';
55
+ export * from './list-alerts-response-class';
56
+ export * from './list-channels-response-class';
38
57
  export * from './list-custom-schemas-response-class';
58
+ export * from './list-dashboards-response-class';
39
59
  export * from './list-data-reports-response-class';
60
+ export * from './list-insurance-companies-response-class';
40
61
  export * from './list-invites-response-class';
41
- export * from './list-org-invitations-response-class';
42
- export * from './list-organizations-response-class';
62
+ export * from './list-report-history-response-class';
63
+ export * from './list-reports-response-class';
64
+ export * from './list-scenario-analyses-response-class';
65
+ export * from './list-scenario-analysis-dates-response-class';
66
+ export * from './list-tariff-insurance-companies-response-class';
67
+ export * from './list-tariffs-response-class';
68
+ export * from './list-user-subscriptions-response-class';
43
69
  export * from './list-users-response-class';
44
- export * from './org-invitation-class';
45
- export * from './org-invitation-response-class';
46
- export * from './organization-class';
70
+ export * from './manage-subscription-request-dto';
71
+ export * from './manage-subscription-response-class';
47
72
  export * from './permission-class';
73
+ export * from './report-class';
74
+ export * from './report-history-class';
48
75
  export * from './role-class';
49
76
  export * from './run-data-report-request-dto';
50
77
  export * from './run-data-report-response-class';
78
+ export * from './scenario-analysis-class';
79
+ export * from './scenario-analysis-date-response-class';
51
80
  export * from './set-setting-request-dto';
81
+ export * from './set-tenant-setting-response-class';
52
82
  export * from './set-user-setting-response-class';
53
83
  export * from './subscription-class';
54
84
  export * from './tenant-admin-user-dto';
85
+ export * from './update-alert-request-dto';
86
+ export * from './update-alert-response-class';
55
87
  export * from './update-custom-schema-request-dto';
56
88
  export * from './update-custom-schema-response-class';
89
+ export * from './update-dashboard-request-dto';
90
+ export * from './update-dashboard-response-class';
57
91
  export * from './update-data-report-request-dto';
58
92
  export * from './update-data-report-response-class';
93
+ export * from './update-report-request-dto';
94
+ export * from './update-report-response-class';
59
95
  export * from './update-role-request-dto';
96
+ export * from './update-scenario-analysis-request-dto';
97
+ export * from './update-scenario-analysis-response-class';
60
98
  export * from './user-class';
@@ -17,14 +17,14 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface EnableUsersResponseClass
20
+ * @interface InsuranceCompanyResponseClass
21
21
  */
22
- export interface EnableUsersResponseClass {
22
+ export interface InsuranceCompanyResponseClass {
23
23
  /**
24
- *
25
- * @type {object}
26
- * @memberof EnableUsersResponseClass
24
+ * insurance company name
25
+ * @type {string}
26
+ * @memberof InsuranceCompanyResponseClass
27
27
  */
28
- 'response': object;
28
+ 'name': string;
29
29
  }
30
30
 
@@ -17,14 +17,14 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface DeleteResponseClass
20
+ * @interface InsuranceResponseClass
21
21
  */
22
- export interface DeleteResponseClass {
22
+ export interface InsuranceResponseClass {
23
23
  /**
24
- *
25
- * @type {object}
26
- * @memberof DeleteResponseClass
24
+ * Insurance name
25
+ * @type {string}
26
+ * @memberof InsuranceResponseClass
27
27
  */
28
- 'response': object;
28
+ 'name': string;
29
29
  }
30
30
 
@@ -26,17 +26,11 @@ export interface InviteUserRequestDto {
26
26
  * @memberof InviteUserRequestDto
27
27
  */
28
28
  'email': string;
29
- /**
30
- * Organization associated with the user.
31
- * @type {number}
32
- * @memberof InviteUserRequestDto
33
- */
34
- 'organizationId'?: number;
35
29
  /**
36
30
  * Role ids to be assigned.
37
- * @type {Array<number>}
31
+ * @type {Array<string>}
38
32
  * @memberof InviteUserRequestDto
39
33
  */
40
- 'roleIds': Array<number>;
34
+ 'roleIds': Array<string>;
41
35
  }
42
36
 
@@ -28,9 +28,9 @@ export interface InviteUsersRequestDto {
28
28
  'emails': Array<string>;
29
29
  /**
30
30
  * Role ids to be assigned.
31
- * @type {Array<number>}
31
+ * @type {Array<string>}
32
32
  * @memberof InviteUsersRequestDto
33
33
  */
34
- 'roleIds': Array<number>;
34
+ 'roleIds': Array<string>;
35
35
  }
36
36
 
@@ -13,24 +13,24 @@
13
13
  */
14
14
 
15
15
 
16
- import { OrganizationClass } from './organization-class';
16
+ import { AlertHistoryClass } from './alert-history-class';
17
17
 
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface ListOrganizationsResponseClass
21
+ * @interface ListAlertHistoryResponseClass
22
22
  */
23
- export interface ListOrganizationsResponseClass {
23
+ export interface ListAlertHistoryResponseClass {
24
24
  /**
25
- * Organization
26
- * @type {Array<OrganizationClass>}
27
- * @memberof ListOrganizationsResponseClass
25
+ * Alert history
26
+ * @type {Array<AlertHistoryClass>}
27
+ * @memberof ListAlertHistoryResponseClass
28
28
  */
29
- 'items': Array<OrganizationClass>;
29
+ 'items': Array<AlertHistoryClass>;
30
30
  /**
31
- * Next page token.
31
+ * Next page token
32
32
  * @type {string}
33
- * @memberof ListOrganizationsResponseClass
33
+ * @memberof ListAlertHistoryResponseClass
34
34
  */
35
35
  'nextPageToken': string;
36
36
  }
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { AlertClass } from './alert-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListAlertsResponseClass
22
+ */
23
+ export interface ListAlertsResponseClass {
24
+ /**
25
+ * Alerts
26
+ * @type {Array<AlertClass>}
27
+ * @memberof ListAlertsResponseClass
28
+ */
29
+ 'items': Array<AlertClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListAlertsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+