@emilgroup/tenant-sdk 1.0.1 → 1.2.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 (264) hide show
  1. package/.openapi-generator/FILES +16 -72
  2. package/README.md +2 -2
  3. package/api/custom-schema-api.ts +52 -60
  4. package/api/{user-subscription-api.ts → invite-organizations-api.ts} +139 -161
  5. package/api/invite-users-api.ts +75 -79
  6. package/api/organizations-api.ts +459 -0
  7. package/api/users-api.ts +138 -148
  8. package/api.ts +4 -18
  9. package/dist/api/custom-schema-api.d.ts +42 -42
  10. package/dist/api/custom-schema-api.js +31 -38
  11. package/dist/api/{user-subscription-api.d.ts → invite-organizations-api.d.ts} +89 -103
  12. package/dist/api/{user-subscription-api.js → invite-organizations-api.js} +106 -114
  13. package/dist/api/invite-users-api.d.ts +63 -60
  14. package/dist/api/invite-users-api.js +40 -49
  15. package/dist/api/organizations-api.d.ts +263 -0
  16. package/dist/api/{settings-api.js → organizations-api.js} +135 -195
  17. package/dist/api/users-api.d.ts +113 -109
  18. package/dist/api/users-api.js +76 -93
  19. package/dist/api.d.ts +2 -9
  20. package/dist/api.js +2 -9
  21. package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
  22. package/dist/models/{manage-subscription-request-dto.d.ts → batch-delete-response-class.d.ts} +5 -5
  23. package/dist/models/create-custom-schema-request-dto.d.ts +1 -0
  24. package/dist/models/create-custom-schema-request-dto.js +2 -1
  25. package/dist/models/{insurance-response-class.d.ts → delete-response-class.d.ts} +6 -6
  26. package/dist/models/{get-embedded-url-response-class.d.ts → disable-users-response-class.d.ts} +6 -6
  27. package/dist/models/{insurance-company-response-class.d.ts → enable-users-response-class.d.ts} +6 -6
  28. package/dist/models/{create-alert-response-class.d.ts → get-organization-response-class.d.ts} +7 -7
  29. package/dist/models/index.d.ts +14 -63
  30. package/dist/models/index.js +14 -63
  31. package/dist/models/invite-org-request-dto.d.ts +78 -0
  32. package/dist/models/invite-user-request-dto.d.ts +8 -2
  33. package/dist/models/invite-users-request-dto.d.ts +2 -2
  34. package/dist/models/invite-users-response-class.d.ts +24 -0
  35. package/dist/models/{list-user-subscriptions-response-class.d.ts → list-org-invitations-response-class.d.ts} +8 -8
  36. package/dist/models/{list-data-reports-response-class.d.ts → list-organizations-response-class.d.ts} +8 -8
  37. package/dist/models/org-invitation-class.d.ts +103 -0
  38. package/dist/models/{create-dashboard-response-class.d.ts → org-invitation-response-class.d.ts} +7 -7
  39. package/dist/models/organization-class.d.ts +96 -0
  40. package/dist/models/set-setting-request-dto.d.ts +10 -4
  41. package/dist/models/subscription-class.d.ts +9 -2
  42. package/dist/models/update-custom-schema-request-dto.d.ts +1 -0
  43. package/dist/models/update-custom-schema-request-dto.js +2 -1
  44. package/dist/models/update-organization-request-dto-rest.d.ts +60 -0
  45. package/dist/models/{channel-response-class.d.ts → update-organization-response-class.d.ts} +7 -12
  46. package/dist/models/user-class.d.ts +13 -5
  47. package/models/assign-user-roles-request-dto.ts +2 -2
  48. package/models/{manage-subscription-request-dto.ts → batch-delete-response-class.ts} +5 -5
  49. package/models/create-custom-schema-request-dto.ts +2 -1
  50. package/models/{insurance-response-class.ts → delete-response-class.ts} +6 -6
  51. package/models/{get-embedded-url-response-class.ts → disable-users-response-class.ts} +6 -6
  52. package/models/{insurance-company-response-class.ts → enable-users-response-class.ts} +6 -6
  53. package/models/{channel-response-class.ts → get-organization-response-class.ts} +7 -12
  54. package/models/index.ts +14 -63
  55. package/models/invite-org-request-dto.ts +84 -0
  56. package/models/invite-user-request-dto.ts +8 -2
  57. package/models/invite-users-request-dto.ts +2 -2
  58. package/models/invite-users-response-class.ts +30 -0
  59. package/models/{list-user-subscriptions-response-class.ts → list-org-invitations-response-class.ts} +8 -8
  60. package/models/{list-data-reports-response-class.ts → list-organizations-response-class.ts} +8 -8
  61. package/models/org-invitation-class.ts +109 -0
  62. package/models/{create-alert-response-class.ts → org-invitation-response-class.ts} +7 -7
  63. package/models/organization-class.ts +102 -0
  64. package/models/set-setting-request-dto.ts +10 -4
  65. package/models/subscription-class.ts +9 -2
  66. package/models/update-custom-schema-request-dto.ts +2 -1
  67. package/models/update-organization-request-dto-rest.ts +66 -0
  68. package/models/{create-dashboard-response-class.ts → update-organization-response-class.ts} +7 -7
  69. package/models/user-class.ts +13 -5
  70. package/package.json +2 -2
  71. package/api/alerts-api.ts +0 -860
  72. package/api/dashboard-api.ts +0 -792
  73. package/api/data-report-api.ts +0 -687
  74. package/api/data-report-executor-api.ts +0 -181
  75. package/api/reports-api.ts +0 -860
  76. package/api/scenario-analysis-api.ts +0 -977
  77. package/api/settings-api.ts +0 -484
  78. package/api/tariff-comparisons-api.ts +0 -381
  79. package/dist/api/alerts-api.d.ts +0 -479
  80. package/dist/api/alerts-api.js +0 -752
  81. package/dist/api/dashboard-api.d.ts +0 -434
  82. package/dist/api/dashboard-api.js +0 -724
  83. package/dist/api/data-report-api.d.ts +0 -380
  84. package/dist/api/data-report-api.js +0 -645
  85. package/dist/api/data-report-executor-api.d.ts +0 -102
  86. package/dist/api/data-report-executor-api.js +0 -232
  87. package/dist/api/reports-api.d.ts +0 -479
  88. package/dist/api/reports-api.js +0 -752
  89. package/dist/api/scenario-analysis-api.d.ts +0 -529
  90. package/dist/api/scenario-analysis-api.js +0 -895
  91. package/dist/api/settings-api.d.ts +0 -264
  92. package/dist/api/tariff-comparisons-api.d.ts +0 -206
  93. package/dist/api/tariff-comparisons-api.js +0 -409
  94. package/dist/models/alert-class.d.ts +0 -90
  95. package/dist/models/alert-history-class.d.ts +0 -108
  96. package/dist/models/compare-tariffs-request-dto.d.ts +0 -37
  97. package/dist/models/compare-tariffs-request-dto.js +0 -22
  98. package/dist/models/compare-tariffs-response-class.d.ts +0 -31
  99. package/dist/models/condition-dto.d.ts +0 -43
  100. package/dist/models/condition-dto.js +0 -22
  101. package/dist/models/create-alert-request-dto.d.ts +0 -79
  102. package/dist/models/create-alert-request-dto.js +0 -27
  103. package/dist/models/create-dashboard-request-dto.d.ts +0 -70
  104. package/dist/models/create-dashboard-request-dto.js +0 -29
  105. package/dist/models/create-data-report-request-dto.d.ts +0 -61
  106. package/dist/models/create-data-report-response-class.d.ts +0 -25
  107. package/dist/models/create-report-request-dto.d.ts +0 -49
  108. package/dist/models/create-report-request-dto.js +0 -22
  109. package/dist/models/create-report-response-class.d.ts +0 -25
  110. package/dist/models/create-scenario-analysis-request-dto.d.ts +0 -74
  111. package/dist/models/create-scenario-analysis-request-dto.js +0 -22
  112. package/dist/models/create-scenario-analysis-response-class.d.ts +0 -25
  113. package/dist/models/dashboard-class.d.ts +0 -78
  114. package/dist/models/data-report-class.d.ts +0 -79
  115. package/dist/models/data-report-filter-class.d.ts +0 -72
  116. package/dist/models/data-report-filter-dto.d.ts +0 -48
  117. package/dist/models/data-report-filter-single-value-dto.d.ts +0 -42
  118. package/dist/models/data-report-filter-single-value-dto.js +0 -15
  119. package/dist/models/data-report-filter-value-dto.d.ts +0 -31
  120. package/dist/models/data-report-filter-value-dto.js +0 -15
  121. package/dist/models/get-alert-response-class.d.ts +0 -25
  122. package/dist/models/get-alert-response-class.js +0 -15
  123. package/dist/models/get-dashboard-response-class.d.ts +0 -25
  124. package/dist/models/get-dashboard-response-class.js +0 -15
  125. package/dist/models/get-data-report-response-class.d.ts +0 -25
  126. package/dist/models/get-data-report-response-class.js +0 -15
  127. package/dist/models/get-embedded-url-response-class.js +0 -15
  128. package/dist/models/get-report-response-class.d.ts +0 -25
  129. package/dist/models/get-report-response-class.js +0 -15
  130. package/dist/models/get-scenario-analysis-response-class.d.ts +0 -25
  131. package/dist/models/get-scenario-analysis-response-class.js +0 -15
  132. package/dist/models/grouped-tariff-class.d.ts +0 -30
  133. package/dist/models/grouped-tariff-class.js +0 -15
  134. package/dist/models/insurance-company-response-class.js +0 -15
  135. package/dist/models/insurance-response-class.js +0 -15
  136. package/dist/models/list-alert-history-response-class.d.ts +0 -31
  137. package/dist/models/list-alert-history-response-class.js +0 -15
  138. package/dist/models/list-alerts-response-class.d.ts +0 -31
  139. package/dist/models/list-alerts-response-class.js +0 -15
  140. package/dist/models/list-channels-response-class.d.ts +0 -25
  141. package/dist/models/list-channels-response-class.js +0 -15
  142. package/dist/models/list-dashboards-response-class.d.ts +0 -31
  143. package/dist/models/list-dashboards-response-class.js +0 -15
  144. package/dist/models/list-data-reports-response-class.js +0 -15
  145. package/dist/models/list-insurance-companies-response-class.d.ts +0 -25
  146. package/dist/models/list-insurance-companies-response-class.js +0 -15
  147. package/dist/models/list-report-history-response-class.d.ts +0 -31
  148. package/dist/models/list-report-history-response-class.js +0 -15
  149. package/dist/models/list-reports-response-class.d.ts +0 -31
  150. package/dist/models/list-reports-response-class.js +0 -15
  151. package/dist/models/list-scenario-analyses-response-class.d.ts +0 -31
  152. package/dist/models/list-scenario-analyses-response-class.js +0 -15
  153. package/dist/models/list-scenario-analysis-dates-response-class.d.ts +0 -25
  154. package/dist/models/list-scenario-analysis-dates-response-class.js +0 -15
  155. package/dist/models/list-tariff-insurance-companies-response-class.d.ts +0 -25
  156. package/dist/models/list-tariff-insurance-companies-response-class.js +0 -15
  157. package/dist/models/list-tariffs-response-class.d.ts +0 -25
  158. package/dist/models/list-tariffs-response-class.js +0 -15
  159. package/dist/models/list-user-subscriptions-response-class.js +0 -15
  160. package/dist/models/manage-subscription-request-dto.js +0 -15
  161. package/dist/models/manage-subscription-response-class.d.ts +0 -25
  162. package/dist/models/manage-subscription-response-class.js +0 -15
  163. package/dist/models/report-class.d.ts +0 -66
  164. package/dist/models/report-class.js +0 -15
  165. package/dist/models/report-history-class.d.ts +0 -48
  166. package/dist/models/report-history-class.js +0 -15
  167. package/dist/models/run-data-report-request-dto.d.ts +0 -31
  168. package/dist/models/run-data-report-request-dto.js +0 -15
  169. package/dist/models/run-data-report-response-class.d.ts +0 -24
  170. package/dist/models/run-data-report-response-class.js +0 -15
  171. package/dist/models/scenario-analysis-class.d.ts +0 -108
  172. package/dist/models/scenario-analysis-class.js +0 -15
  173. package/dist/models/scenario-analysis-date-response-class.d.ts +0 -36
  174. package/dist/models/scenario-analysis-date-response-class.js +0 -15
  175. package/dist/models/set-tenant-setting-response-class.d.ts +0 -36
  176. package/dist/models/set-tenant-setting-response-class.js +0 -15
  177. package/dist/models/update-alert-request-dto.d.ts +0 -72
  178. package/dist/models/update-alert-request-dto.js +0 -21
  179. package/dist/models/update-alert-response-class.d.ts +0 -25
  180. package/dist/models/update-alert-response-class.js +0 -15
  181. package/dist/models/update-dashboard-request-dto.d.ts +0 -76
  182. package/dist/models/update-dashboard-request-dto.js +0 -29
  183. package/dist/models/update-dashboard-response-class.d.ts +0 -25
  184. package/dist/models/update-dashboard-response-class.js +0 -15
  185. package/dist/models/update-data-report-request-dto.d.ts +0 -61
  186. package/dist/models/update-data-report-request-dto.js +0 -15
  187. package/dist/models/update-data-report-response-class.d.ts +0 -25
  188. package/dist/models/update-data-report-response-class.js +0 -15
  189. package/dist/models/update-report-request-dto.d.ts +0 -55
  190. package/dist/models/update-report-request-dto.js +0 -22
  191. package/dist/models/update-report-response-class.d.ts +0 -25
  192. package/dist/models/update-report-response-class.js +0 -15
  193. package/dist/models/update-scenario-analysis-request-dto.d.ts +0 -74
  194. package/dist/models/update-scenario-analysis-request-dto.js +0 -22
  195. package/dist/models/update-scenario-analysis-response-class.d.ts +0 -25
  196. package/dist/models/update-scenario-analysis-response-class.js +0 -15
  197. package/models/alert-class.ts +0 -96
  198. package/models/alert-history-class.ts +0 -114
  199. package/models/compare-tariffs-request-dto.ts +0 -46
  200. package/models/compare-tariffs-response-class.ts +0 -37
  201. package/models/condition-dto.ts +0 -52
  202. package/models/create-alert-request-dto.ts +0 -89
  203. package/models/create-dashboard-request-dto.ts +0 -81
  204. package/models/create-data-report-request-dto.ts +0 -67
  205. package/models/create-data-report-response-class.ts +0 -31
  206. package/models/create-report-request-dto.ts +0 -58
  207. package/models/create-report-response-class.ts +0 -31
  208. package/models/create-scenario-analysis-request-dto.ts +0 -83
  209. package/models/create-scenario-analysis-response-class.ts +0 -31
  210. package/models/dashboard-class.ts +0 -84
  211. package/models/data-report-class.ts +0 -85
  212. package/models/data-report-filter-class.ts +0 -78
  213. package/models/data-report-filter-dto.ts +0 -54
  214. package/models/data-report-filter-single-value-dto.ts +0 -48
  215. package/models/data-report-filter-value-dto.ts +0 -37
  216. package/models/get-alert-response-class.ts +0 -31
  217. package/models/get-dashboard-response-class.ts +0 -31
  218. package/models/get-data-report-response-class.ts +0 -31
  219. package/models/get-report-response-class.ts +0 -31
  220. package/models/get-scenario-analysis-response-class.ts +0 -31
  221. package/models/grouped-tariff-class.ts +0 -36
  222. package/models/list-alert-history-response-class.ts +0 -37
  223. package/models/list-alerts-response-class.ts +0 -37
  224. package/models/list-channels-response-class.ts +0 -31
  225. package/models/list-dashboards-response-class.ts +0 -37
  226. package/models/list-insurance-companies-response-class.ts +0 -31
  227. package/models/list-report-history-response-class.ts +0 -37
  228. package/models/list-reports-response-class.ts +0 -37
  229. package/models/list-scenario-analyses-response-class.ts +0 -37
  230. package/models/list-scenario-analysis-dates-response-class.ts +0 -31
  231. package/models/list-tariff-insurance-companies-response-class.ts +0 -31
  232. package/models/list-tariffs-response-class.ts +0 -31
  233. package/models/manage-subscription-response-class.ts +0 -31
  234. package/models/report-class.ts +0 -72
  235. package/models/report-history-class.ts +0 -54
  236. package/models/run-data-report-request-dto.ts +0 -37
  237. package/models/run-data-report-response-class.ts +0 -30
  238. package/models/scenario-analysis-class.ts +0 -114
  239. package/models/scenario-analysis-date-response-class.ts +0 -42
  240. package/models/set-tenant-setting-response-class.ts +0 -42
  241. package/models/update-alert-request-dto.ts +0 -81
  242. package/models/update-alert-response-class.ts +0 -31
  243. package/models/update-dashboard-request-dto.ts +0 -87
  244. package/models/update-dashboard-response-class.ts +0 -31
  245. package/models/update-data-report-request-dto.ts +0 -67
  246. package/models/update-data-report-response-class.ts +0 -31
  247. package/models/update-report-request-dto.ts +0 -64
  248. package/models/update-report-response-class.ts +0 -31
  249. package/models/update-scenario-analysis-request-dto.ts +0 -83
  250. package/models/update-scenario-analysis-response-class.ts +0 -31
  251. /package/dist/models/{alert-class.js → batch-delete-response-class.js} +0 -0
  252. /package/dist/models/{alert-history-class.js → delete-response-class.js} +0 -0
  253. /package/dist/models/{channel-response-class.js → disable-users-response-class.js} +0 -0
  254. /package/dist/models/{compare-tariffs-response-class.js → enable-users-response-class.js} +0 -0
  255. /package/dist/models/{create-alert-response-class.js → get-organization-response-class.js} +0 -0
  256. /package/dist/models/{create-dashboard-response-class.js → invite-org-request-dto.js} +0 -0
  257. /package/dist/models/{create-data-report-request-dto.js → invite-users-response-class.js} +0 -0
  258. /package/dist/models/{create-data-report-response-class.js → list-org-invitations-response-class.js} +0 -0
  259. /package/dist/models/{create-report-response-class.js → list-organizations-response-class.js} +0 -0
  260. /package/dist/models/{create-scenario-analysis-response-class.js → org-invitation-class.js} +0 -0
  261. /package/dist/models/{dashboard-class.js → org-invitation-response-class.js} +0 -0
  262. /package/dist/models/{data-report-class.js → organization-class.js} +0 -0
  263. /package/dist/models/{data-report-filter-class.js → update-organization-request-dto-rest.js} +0 -0
  264. /package/dist/models/{data-report-filter-dto.js → update-organization-response-class.js} +0 -0
@@ -1,529 +0,0 @@
1
- /**
2
- * EMIL Tenant Service
3
- * The EMIL TenantService 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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
- import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
15
- import { CreateScenarioAnalysisRequestDto } from '../models';
16
- import { CreateScenarioAnalysisResponseClass } from '../models';
17
- import { GetScenarioAnalysisResponseClass } from '../models';
18
- import { ListChannelsResponseClass } from '../models';
19
- import { ListInsuranceCompaniesResponseClass } from '../models';
20
- import { ListScenarioAnalysesResponseClass } from '../models';
21
- import { ListScenarioAnalysisDatesResponseClass } from '../models';
22
- import { UpdateScenarioAnalysisRequestDto } from '../models';
23
- import { UpdateScenarioAnalysisResponseClass } from '../models';
24
- /**
25
- * ScenarioAnalysisApi - axios parameter creator
26
- * @export
27
- */
28
- export declare const ScenarioAnalysisApiAxiosParamCreator: (configuration?: Configuration) => {
29
- /**
30
- *
31
- * @param {CreateScenarioAnalysisRequestDto} createScenarioAnalysisRequestDto
32
- * @param {string} [authorization] Bearer Token
33
- * @param {*} [options] Override http request option.
34
- * @throws {RequiredError}
35
- */
36
- createScenarioAnalysis: (createScenarioAnalysisRequestDto: CreateScenarioAnalysisRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
- /**
38
- *
39
- * @param {number} id
40
- * @param {string} [authorization] Bearer Token
41
- * @param {*} [options] Override http request option.
42
- * @throws {RequiredError}
43
- */
44
- deleteScenarioAnalysis: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
- /**
46
- *
47
- * @param {string} code
48
- * @param {string} code2 code
49
- * @param {string} [authorization] Bearer Token
50
- * @param {string} [expand] Fields to expand response by
51
- * @param {*} [options] Override http request option.
52
- * @throws {RequiredError}
53
- */
54
- getScenarioAnalysis: (code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
- /**
56
- *
57
- * @param {string} [authorization] Bearer Token
58
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] Product type [ car | homeowner | household | private-liability ]
59
- * @param {*} [options] Override http request option.
60
- * @throws {RequiredError}
61
- */
62
- listChannels: (authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig) => Promise<RequestArgs>;
63
- /**
64
- *
65
- * @param {string} [authorization] Bearer Token
66
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] Product type [ car | homeowner | household | private-liability ]
67
- * @param {*} [options] Override http request option.
68
- * @throws {RequiredError}
69
- */
70
- listInsuranceCompanies: (authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig) => Promise<RequestArgs>;
71
- /**
72
- *
73
- * @param {string} [authorization] Bearer Token
74
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
75
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
76
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
77
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
78
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
79
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
80
- * @param {*} [options] Override http request option.
81
- * @throws {RequiredError}
82
- */
83
- listScenarioAnalyses: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
84
- /**
85
- *
86
- * @param {string} [authorization] Bearer Token
87
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] Product type [ car | homeowner | household | private-liability ]
88
- * @param {*} [options] Override http request option.
89
- * @throws {RequiredError}
90
- */
91
- listScenarioAnalysisDates: (authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig) => Promise<RequestArgs>;
92
- /**
93
- *
94
- * @param {string} code
95
- * @param {UpdateScenarioAnalysisRequestDto} updateScenarioAnalysisRequestDto
96
- * @param {string} [authorization] Bearer Token
97
- * @param {*} [options] Override http request option.
98
- * @throws {RequiredError}
99
- */
100
- updateScenarioAnalysis: (code: string, updateScenarioAnalysisRequestDto: UpdateScenarioAnalysisRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
101
- };
102
- /**
103
- * ScenarioAnalysisApi - functional programming interface
104
- * @export
105
- */
106
- export declare const ScenarioAnalysisApiFp: (configuration?: Configuration) => {
107
- /**
108
- *
109
- * @param {CreateScenarioAnalysisRequestDto} createScenarioAnalysisRequestDto
110
- * @param {string} [authorization] Bearer Token
111
- * @param {*} [options] Override http request option.
112
- * @throws {RequiredError}
113
- */
114
- createScenarioAnalysis(createScenarioAnalysisRequestDto: CreateScenarioAnalysisRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateScenarioAnalysisResponseClass>>;
115
- /**
116
- *
117
- * @param {number} id
118
- * @param {string} [authorization] Bearer Token
119
- * @param {*} [options] Override http request option.
120
- * @throws {RequiredError}
121
- */
122
- deleteScenarioAnalysis(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
123
- /**
124
- *
125
- * @param {string} code
126
- * @param {string} code2 code
127
- * @param {string} [authorization] Bearer Token
128
- * @param {string} [expand] Fields to expand response by
129
- * @param {*} [options] Override http request option.
130
- * @throws {RequiredError}
131
- */
132
- getScenarioAnalysis(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetScenarioAnalysisResponseClass>>;
133
- /**
134
- *
135
- * @param {string} [authorization] Bearer Token
136
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] Product type [ car | homeowner | household | private-liability ]
137
- * @param {*} [options] Override http request option.
138
- * @throws {RequiredError}
139
- */
140
- listChannels(authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListChannelsResponseClass>>;
141
- /**
142
- *
143
- * @param {string} [authorization] Bearer Token
144
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] Product type [ car | homeowner | household | private-liability ]
145
- * @param {*} [options] Override http request option.
146
- * @throws {RequiredError}
147
- */
148
- listInsuranceCompanies(authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInsuranceCompaniesResponseClass>>;
149
- /**
150
- *
151
- * @param {string} [authorization] Bearer Token
152
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
153
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
154
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
155
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
156
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
157
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
158
- * @param {*} [options] Override http request option.
159
- * @throws {RequiredError}
160
- */
161
- listScenarioAnalyses(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListScenarioAnalysesResponseClass>>;
162
- /**
163
- *
164
- * @param {string} [authorization] Bearer Token
165
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] Product type [ car | homeowner | household | private-liability ]
166
- * @param {*} [options] Override http request option.
167
- * @throws {RequiredError}
168
- */
169
- listScenarioAnalysisDates(authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListScenarioAnalysisDatesResponseClass>>;
170
- /**
171
- *
172
- * @param {string} code
173
- * @param {UpdateScenarioAnalysisRequestDto} updateScenarioAnalysisRequestDto
174
- * @param {string} [authorization] Bearer Token
175
- * @param {*} [options] Override http request option.
176
- * @throws {RequiredError}
177
- */
178
- updateScenarioAnalysis(code: string, updateScenarioAnalysisRequestDto: UpdateScenarioAnalysisRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateScenarioAnalysisResponseClass>>;
179
- };
180
- /**
181
- * ScenarioAnalysisApi - factory interface
182
- * @export
183
- */
184
- export declare const ScenarioAnalysisApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
185
- /**
186
- *
187
- * @param {CreateScenarioAnalysisRequestDto} createScenarioAnalysisRequestDto
188
- * @param {string} [authorization] Bearer Token
189
- * @param {*} [options] Override http request option.
190
- * @throws {RequiredError}
191
- */
192
- createScenarioAnalysis(createScenarioAnalysisRequestDto: CreateScenarioAnalysisRequestDto, authorization?: string, options?: any): AxiosPromise<CreateScenarioAnalysisResponseClass>;
193
- /**
194
- *
195
- * @param {number} id
196
- * @param {string} [authorization] Bearer Token
197
- * @param {*} [options] Override http request option.
198
- * @throws {RequiredError}
199
- */
200
- deleteScenarioAnalysis(id: number, authorization?: string, options?: any): AxiosPromise<void>;
201
- /**
202
- *
203
- * @param {string} code
204
- * @param {string} code2 code
205
- * @param {string} [authorization] Bearer Token
206
- * @param {string} [expand] Fields to expand response by
207
- * @param {*} [options] Override http request option.
208
- * @throws {RequiredError}
209
- */
210
- getScenarioAnalysis(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetScenarioAnalysisResponseClass>;
211
- /**
212
- *
213
- * @param {string} [authorization] Bearer Token
214
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] Product type [ car | homeowner | household | private-liability ]
215
- * @param {*} [options] Override http request option.
216
- * @throws {RequiredError}
217
- */
218
- listChannels(authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: any): AxiosPromise<ListChannelsResponseClass>;
219
- /**
220
- *
221
- * @param {string} [authorization] Bearer Token
222
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] Product type [ car | homeowner | household | private-liability ]
223
- * @param {*} [options] Override http request option.
224
- * @throws {RequiredError}
225
- */
226
- listInsuranceCompanies(authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: any): AxiosPromise<ListInsuranceCompaniesResponseClass>;
227
- /**
228
- *
229
- * @param {string} [authorization] Bearer Token
230
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
231
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
232
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
233
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
234
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
235
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
236
- * @param {*} [options] Override http request option.
237
- * @throws {RequiredError}
238
- */
239
- listScenarioAnalyses(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListScenarioAnalysesResponseClass>;
240
- /**
241
- *
242
- * @param {string} [authorization] Bearer Token
243
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] Product type [ car | homeowner | household | private-liability ]
244
- * @param {*} [options] Override http request option.
245
- * @throws {RequiredError}
246
- */
247
- listScenarioAnalysisDates(authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: any): AxiosPromise<ListScenarioAnalysisDatesResponseClass>;
248
- /**
249
- *
250
- * @param {string} code
251
- * @param {UpdateScenarioAnalysisRequestDto} updateScenarioAnalysisRequestDto
252
- * @param {string} [authorization] Bearer Token
253
- * @param {*} [options] Override http request option.
254
- * @throws {RequiredError}
255
- */
256
- updateScenarioAnalysis(code: string, updateScenarioAnalysisRequestDto: UpdateScenarioAnalysisRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateScenarioAnalysisResponseClass>;
257
- };
258
- /**
259
- * Request parameters for createScenarioAnalysis operation in ScenarioAnalysisApi.
260
- * @export
261
- * @interface ScenarioAnalysisApiCreateScenarioAnalysisRequest
262
- */
263
- export interface ScenarioAnalysisApiCreateScenarioAnalysisRequest {
264
- /**
265
- *
266
- * @type {CreateScenarioAnalysisRequestDto}
267
- * @memberof ScenarioAnalysisApiCreateScenarioAnalysis
268
- */
269
- readonly createScenarioAnalysisRequestDto: CreateScenarioAnalysisRequestDto;
270
- /**
271
- * Bearer Token
272
- * @type {string}
273
- * @memberof ScenarioAnalysisApiCreateScenarioAnalysis
274
- */
275
- readonly authorization?: string;
276
- }
277
- /**
278
- * Request parameters for deleteScenarioAnalysis operation in ScenarioAnalysisApi.
279
- * @export
280
- * @interface ScenarioAnalysisApiDeleteScenarioAnalysisRequest
281
- */
282
- export interface ScenarioAnalysisApiDeleteScenarioAnalysisRequest {
283
- /**
284
- *
285
- * @type {number}
286
- * @memberof ScenarioAnalysisApiDeleteScenarioAnalysis
287
- */
288
- readonly id: number;
289
- /**
290
- * Bearer Token
291
- * @type {string}
292
- * @memberof ScenarioAnalysisApiDeleteScenarioAnalysis
293
- */
294
- readonly authorization?: string;
295
- }
296
- /**
297
- * Request parameters for getScenarioAnalysis operation in ScenarioAnalysisApi.
298
- * @export
299
- * @interface ScenarioAnalysisApiGetScenarioAnalysisRequest
300
- */
301
- export interface ScenarioAnalysisApiGetScenarioAnalysisRequest {
302
- /**
303
- *
304
- * @type {string}
305
- * @memberof ScenarioAnalysisApiGetScenarioAnalysis
306
- */
307
- readonly code: string;
308
- /**
309
- * code
310
- * @type {string}
311
- * @memberof ScenarioAnalysisApiGetScenarioAnalysis
312
- */
313
- readonly code2: string;
314
- /**
315
- * Bearer Token
316
- * @type {string}
317
- * @memberof ScenarioAnalysisApiGetScenarioAnalysis
318
- */
319
- readonly authorization?: string;
320
- /**
321
- * Fields to expand response by
322
- * @type {string}
323
- * @memberof ScenarioAnalysisApiGetScenarioAnalysis
324
- */
325
- readonly expand?: string;
326
- }
327
- /**
328
- * Request parameters for listChannels operation in ScenarioAnalysisApi.
329
- * @export
330
- * @interface ScenarioAnalysisApiListChannelsRequest
331
- */
332
- export interface ScenarioAnalysisApiListChannelsRequest {
333
- /**
334
- * Bearer Token
335
- * @type {string}
336
- * @memberof ScenarioAnalysisApiListChannels
337
- */
338
- readonly authorization?: string;
339
- /**
340
- * Product type [ car | homeowner | household | private-liability ]
341
- * @type {'car' | 'homeowner' | 'household' | 'privateLiability'}
342
- * @memberof ScenarioAnalysisApiListChannels
343
- */
344
- readonly product?: 'car' | 'homeowner' | 'household' | 'privateLiability';
345
- }
346
- /**
347
- * Request parameters for listInsuranceCompanies operation in ScenarioAnalysisApi.
348
- * @export
349
- * @interface ScenarioAnalysisApiListInsuranceCompaniesRequest
350
- */
351
- export interface ScenarioAnalysisApiListInsuranceCompaniesRequest {
352
- /**
353
- * Bearer Token
354
- * @type {string}
355
- * @memberof ScenarioAnalysisApiListInsuranceCompanies
356
- */
357
- readonly authorization?: string;
358
- /**
359
- * Product type [ car | homeowner | household | private-liability ]
360
- * @type {'car' | 'homeowner' | 'household' | 'privateLiability'}
361
- * @memberof ScenarioAnalysisApiListInsuranceCompanies
362
- */
363
- readonly product?: 'car' | 'homeowner' | 'household' | 'privateLiability';
364
- }
365
- /**
366
- * Request parameters for listScenarioAnalyses operation in ScenarioAnalysisApi.
367
- * @export
368
- * @interface ScenarioAnalysisApiListScenarioAnalysesRequest
369
- */
370
- export interface ScenarioAnalysisApiListScenarioAnalysesRequest {
371
- /**
372
- * Bearer Token
373
- * @type {string}
374
- * @memberof ScenarioAnalysisApiListScenarioAnalyses
375
- */
376
- readonly authorization?: string;
377
- /**
378
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
379
- * @type {any}
380
- * @memberof ScenarioAnalysisApiListScenarioAnalyses
381
- */
382
- readonly pageSize?: any;
383
- /**
384
- * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
385
- * @type {any}
386
- * @memberof ScenarioAnalysisApiListScenarioAnalyses
387
- */
388
- readonly pageToken?: any;
389
- /**
390
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
391
- * @type {any}
392
- * @memberof ScenarioAnalysisApiListScenarioAnalyses
393
- */
394
- readonly filter?: any;
395
- /**
396
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
397
- * @type {any}
398
- * @memberof ScenarioAnalysisApiListScenarioAnalyses
399
- */
400
- readonly search?: any;
401
- /**
402
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
403
- * @type {any}
404
- * @memberof ScenarioAnalysisApiListScenarioAnalyses
405
- */
406
- readonly order?: any;
407
- /**
408
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
409
- * @type {any}
410
- * @memberof ScenarioAnalysisApiListScenarioAnalyses
411
- */
412
- readonly expand?: any;
413
- }
414
- /**
415
- * Request parameters for listScenarioAnalysisDates operation in ScenarioAnalysisApi.
416
- * @export
417
- * @interface ScenarioAnalysisApiListScenarioAnalysisDatesRequest
418
- */
419
- export interface ScenarioAnalysisApiListScenarioAnalysisDatesRequest {
420
- /**
421
- * Bearer Token
422
- * @type {string}
423
- * @memberof ScenarioAnalysisApiListScenarioAnalysisDates
424
- */
425
- readonly authorization?: string;
426
- /**
427
- * Product type [ car | homeowner | household | private-liability ]
428
- * @type {'car' | 'homeowner' | 'household' | 'privateLiability'}
429
- * @memberof ScenarioAnalysisApiListScenarioAnalysisDates
430
- */
431
- readonly product?: 'car' | 'homeowner' | 'household' | 'privateLiability';
432
- }
433
- /**
434
- * Request parameters for updateScenarioAnalysis operation in ScenarioAnalysisApi.
435
- * @export
436
- * @interface ScenarioAnalysisApiUpdateScenarioAnalysisRequest
437
- */
438
- export interface ScenarioAnalysisApiUpdateScenarioAnalysisRequest {
439
- /**
440
- *
441
- * @type {string}
442
- * @memberof ScenarioAnalysisApiUpdateScenarioAnalysis
443
- */
444
- readonly code: string;
445
- /**
446
- *
447
- * @type {UpdateScenarioAnalysisRequestDto}
448
- * @memberof ScenarioAnalysisApiUpdateScenarioAnalysis
449
- */
450
- readonly updateScenarioAnalysisRequestDto: UpdateScenarioAnalysisRequestDto;
451
- /**
452
- * Bearer Token
453
- * @type {string}
454
- * @memberof ScenarioAnalysisApiUpdateScenarioAnalysis
455
- */
456
- readonly authorization?: string;
457
- }
458
- /**
459
- * ScenarioAnalysisApi - object-oriented interface
460
- * @export
461
- * @class ScenarioAnalysisApi
462
- * @extends {BaseAPI}
463
- */
464
- export declare class ScenarioAnalysisApi extends BaseAPI {
465
- /**
466
- *
467
- * @param {ScenarioAnalysisApiCreateScenarioAnalysisRequest} requestParameters Request parameters.
468
- * @param {*} [options] Override http request option.
469
- * @throws {RequiredError}
470
- * @memberof ScenarioAnalysisApi
471
- */
472
- createScenarioAnalysis(requestParameters: ScenarioAnalysisApiCreateScenarioAnalysisRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateScenarioAnalysisResponseClass, any>>;
473
- /**
474
- *
475
- * @param {ScenarioAnalysisApiDeleteScenarioAnalysisRequest} requestParameters Request parameters.
476
- * @param {*} [options] Override http request option.
477
- * @throws {RequiredError}
478
- * @memberof ScenarioAnalysisApi
479
- */
480
- deleteScenarioAnalysis(requestParameters: ScenarioAnalysisApiDeleteScenarioAnalysisRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
481
- /**
482
- *
483
- * @param {ScenarioAnalysisApiGetScenarioAnalysisRequest} requestParameters Request parameters.
484
- * @param {*} [options] Override http request option.
485
- * @throws {RequiredError}
486
- * @memberof ScenarioAnalysisApi
487
- */
488
- getScenarioAnalysis(requestParameters: ScenarioAnalysisApiGetScenarioAnalysisRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetScenarioAnalysisResponseClass, any>>;
489
- /**
490
- *
491
- * @param {ScenarioAnalysisApiListChannelsRequest} requestParameters Request parameters.
492
- * @param {*} [options] Override http request option.
493
- * @throws {RequiredError}
494
- * @memberof ScenarioAnalysisApi
495
- */
496
- listChannels(requestParameters?: ScenarioAnalysisApiListChannelsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListChannelsResponseClass, any>>;
497
- /**
498
- *
499
- * @param {ScenarioAnalysisApiListInsuranceCompaniesRequest} requestParameters Request parameters.
500
- * @param {*} [options] Override http request option.
501
- * @throws {RequiredError}
502
- * @memberof ScenarioAnalysisApi
503
- */
504
- listInsuranceCompanies(requestParameters?: ScenarioAnalysisApiListInsuranceCompaniesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInsuranceCompaniesResponseClass, any>>;
505
- /**
506
- *
507
- * @param {ScenarioAnalysisApiListScenarioAnalysesRequest} requestParameters Request parameters.
508
- * @param {*} [options] Override http request option.
509
- * @throws {RequiredError}
510
- * @memberof ScenarioAnalysisApi
511
- */
512
- listScenarioAnalyses(requestParameters?: ScenarioAnalysisApiListScenarioAnalysesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListScenarioAnalysesResponseClass, any>>;
513
- /**
514
- *
515
- * @param {ScenarioAnalysisApiListScenarioAnalysisDatesRequest} requestParameters Request parameters.
516
- * @param {*} [options] Override http request option.
517
- * @throws {RequiredError}
518
- * @memberof ScenarioAnalysisApi
519
- */
520
- listScenarioAnalysisDates(requestParameters?: ScenarioAnalysisApiListScenarioAnalysisDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListScenarioAnalysisDatesResponseClass, any>>;
521
- /**
522
- *
523
- * @param {ScenarioAnalysisApiUpdateScenarioAnalysisRequest} requestParameters Request parameters.
524
- * @param {*} [options] Override http request option.
525
- * @throws {RequiredError}
526
- * @memberof ScenarioAnalysisApi
527
- */
528
- updateScenarioAnalysis(requestParameters: ScenarioAnalysisApiUpdateScenarioAnalysisRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateScenarioAnalysisResponseClass, any>>;
529
- }