@emilgroup/insurance-sdk-node 1.2.0 → 1.5.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 (348) hide show
  1. package/.openapi-generator/FILES +19 -5
  2. package/README.md +2 -2
  3. package/api/insured-object-types-api.ts +29 -29
  4. package/api/insured-objects-api.ts +44 -33
  5. package/api/leads-api.ts +187 -7
  6. package/api/policies-api.ts +276 -41
  7. package/api/premium-formulas-api.ts +669 -0
  8. package/api/product-factors-api.ts +889 -0
  9. package/api/product-fields-api.ts +843 -0
  10. package/api/product-versions-api.ts +301 -0
  11. package/api/products-api.ts +201 -2665
  12. package/api.ts +9 -1
  13. package/base.ts +23 -33
  14. package/common.ts +62 -1
  15. package/configuration.ts +1 -1
  16. package/dist/api/insured-object-types-api.d.ts +29 -29
  17. package/dist/api/insured-object-types-api.js +25 -25
  18. package/dist/api/insured-objects-api.d.ts +38 -29
  19. package/dist/api/insured-objects-api.js +31 -27
  20. package/dist/api/leads-api.d.ts +114 -10
  21. package/dist/api/leads-api.js +125 -2
  22. package/dist/api/policies-api.d.ts +171 -41
  23. package/dist/api/policies-api.js +231 -34
  24. package/dist/api/premium-formulas-api.d.ts +376 -0
  25. package/dist/api/premium-formulas-api.js +634 -0
  26. package/dist/api/product-factors-api.d.ts +493 -0
  27. package/dist/api/product-factors-api.js +788 -0
  28. package/dist/api/product-fields-api.d.ts +477 -0
  29. package/dist/api/product-fields-api.js +757 -0
  30. package/dist/api/product-versions-api.d.ts +171 -0
  31. package/dist/api/product-versions-api.js +334 -0
  32. package/dist/api/products-api.d.ts +25 -1388
  33. package/dist/api/products-api.js +137 -2118
  34. package/dist/api.d.ts +5 -1
  35. package/dist/api.js +5 -1
  36. package/dist/base.d.ts +2 -3
  37. package/dist/base.js +20 -22
  38. package/dist/common.d.ts +27 -1
  39. package/dist/common.js +36 -3
  40. package/dist/configuration.d.ts +1 -1
  41. package/dist/configuration.js +1 -1
  42. package/dist/index.d.ts +1 -1
  43. package/dist/index.js +1 -1
  44. package/dist/models/calculate-custom-premium-request-dto.d.ts +4 -4
  45. package/dist/models/calculate-custom-premium-request-dto.js +1 -1
  46. package/dist/models/calculate-premium-request-dto.d.ts +9 -9
  47. package/dist/models/calculate-premium-request-dto.js +1 -1
  48. package/dist/models/create-account-request-dto.d.ts +44 -14
  49. package/dist/models/create-account-request-dto.js +12 -1
  50. package/dist/models/create-bank-account-request-dto.d.ts +3 -3
  51. package/dist/models/create-bank-account-request-dto.js +1 -1
  52. package/dist/models/create-custom-application-request-dto.d.ts +5 -5
  53. package/dist/models/create-custom-application-request-dto.js +1 -1
  54. package/dist/models/create-dummy-policy-request-dto.d.ts +4 -4
  55. package/dist/models/create-dummy-policy-request-dto.js +1 -1
  56. package/dist/models/create-insured-object-request-dto.d.ts +5 -5
  57. package/dist/models/create-insured-object-request-dto.js +1 -1
  58. package/dist/models/create-insured-object-response-class.d.ts +5 -5
  59. package/dist/models/create-insured-object-response-class.js +1 -1
  60. package/dist/models/create-lead-request-dto.d.ts +23 -23
  61. package/dist/models/create-lead-request-dto.js +1 -1
  62. package/dist/models/create-lead-response-class.d.ts +25 -0
  63. package/dist/models/{grpc-policy-object-dto.js → create-lead-response-class.js} +1 -1
  64. package/dist/models/create-policy-request-dto.d.ts +19 -7
  65. package/dist/models/create-policy-request-dto.js +1 -1
  66. package/dist/models/create-policy-response-class.d.ts +1 -1
  67. package/dist/models/create-policy-response-class.js +1 -1
  68. package/dist/models/create-premium-formula-request-dto.d.ts +10 -9
  69. package/dist/models/create-premium-formula-request-dto.js +3 -2
  70. package/dist/models/create-premium-formula-response-class.d.ts +2 -2
  71. package/dist/models/create-premium-formula-response-class.js +1 -1
  72. package/dist/models/create-product-field-request-dto.d.ts +2 -2
  73. package/dist/models/create-product-field-request-dto.js +1 -1
  74. package/dist/models/create-product-field-response-class.d.ts +2 -2
  75. package/dist/models/create-product-field-response-class.js +1 -1
  76. package/dist/models/create-product-request-dto.d.ts +6 -6
  77. package/dist/models/create-product-request-dto.js +1 -1
  78. package/dist/models/create-product-response-class.d.ts +1 -1
  79. package/dist/models/create-product-response-class.js +1 -1
  80. package/dist/models/csv-product-factor-dto.d.ts +6 -6
  81. package/dist/models/csv-product-factor-dto.js +1 -1
  82. package/dist/models/delete-request-dto.d.ts +2 -2
  83. package/dist/models/delete-request-dto.js +1 -1
  84. package/dist/models/{get-insured-object-request-dto.d.ts → delete-response-class.d.ts} +7 -7
  85. package/dist/models/{to-grpc-create-policy-request-dto.js → delete-response-class.js} +1 -1
  86. package/dist/models/get-insured-object-response-class.d.ts +2 -2
  87. package/dist/models/get-insured-object-response-class.js +1 -1
  88. package/dist/models/get-lead-response-class.d.ts +25 -0
  89. package/dist/models/{grpc-update-policy-request-dto.js → get-lead-response-class.js} +1 -1
  90. package/dist/models/{grpc-policy-object-dto.d.ts → get-policy-data-by-date-request-dto.d.ts} +11 -11
  91. package/dist/models/{get-insured-object-request-dto.js → get-policy-data-by-date-request-dto.js} +1 -1
  92. package/dist/models/get-policy-request-dto.d.ts +3 -3
  93. package/dist/models/get-policy-request-dto.js +1 -1
  94. package/dist/models/get-policy-response-class.d.ts +2 -2
  95. package/dist/models/get-policy-response-class.js +1 -1
  96. package/dist/models/get-premium-formula-request-dto.d.ts +2 -2
  97. package/dist/models/get-premium-formula-request-dto.js +1 -1
  98. package/dist/models/get-premium-formula-response-class.d.ts +2 -2
  99. package/dist/models/get-premium-formula-response-class.js +1 -1
  100. package/dist/models/get-product-factor-response-class.d.ts +2 -2
  101. package/dist/models/get-product-factor-response-class.js +1 -1
  102. package/dist/models/get-product-factor-value-request-dto.d.ts +1 -1
  103. package/dist/models/get-product-factor-value-request-dto.js +1 -1
  104. package/dist/models/get-product-factor-value-response-class.d.ts +2 -2
  105. package/dist/models/get-product-factor-value-response-class.js +1 -1
  106. package/dist/models/get-product-factors-for-version-request-dto.d.ts +4 -4
  107. package/dist/models/get-product-factors-for-version-request-dto.js +1 -1
  108. package/dist/models/get-product-factors-for-version-response-class.d.ts +1 -1
  109. package/dist/models/get-product-factors-for-version-response-class.js +1 -1
  110. package/dist/models/get-product-field-request-dto.d.ts +2 -2
  111. package/dist/models/get-product-field-request-dto.js +1 -1
  112. package/dist/models/get-product-field-response-class.d.ts +2 -2
  113. package/dist/models/get-product-field-response-class.js +1 -1
  114. package/dist/models/get-product-request-dto.d.ts +1 -1
  115. package/dist/models/get-product-request-dto.js +1 -1
  116. package/dist/models/get-product-response-class.d.ts +1 -1
  117. package/dist/models/get-product-response-class.js +1 -1
  118. package/dist/models/get-product-version-request-dto.d.ts +2 -2
  119. package/dist/models/get-product-version-request-dto.js +1 -1
  120. package/dist/models/get-product-version-response-class.d.ts +1 -1
  121. package/dist/models/get-product-version-response-class.js +1 -1
  122. package/dist/models/grouped-product-factor-class.d.ts +4 -4
  123. package/dist/models/grouped-product-factor-class.js +1 -1
  124. package/dist/models/grouped-product-factor-value-class.d.ts +10 -4
  125. package/dist/models/grouped-product-factor-value-class.js +1 -1
  126. package/dist/models/grouped-product-factors-response-class.d.ts +1 -1
  127. package/dist/models/grouped-product-factors-response-class.js +1 -1
  128. package/dist/models/index.d.ts +15 -5
  129. package/dist/models/index.js +15 -5
  130. package/dist/models/insured-object-class.d.ts +13 -13
  131. package/dist/models/insured-object-class.js +1 -1
  132. package/dist/models/insured-object-type-class.d.ts +6 -6
  133. package/dist/models/insured-object-type-class.js +1 -1
  134. package/dist/models/lead-bank-account-class.d.ts +30 -0
  135. package/dist/models/lead-bank-account-class.js +15 -0
  136. package/dist/models/lead-class.d.ts +102 -0
  137. package/dist/models/lead-class.js +22 -0
  138. package/dist/models/list-insured-object-types-response-class.d.ts +2 -2
  139. package/dist/models/list-insured-object-types-response-class.js +1 -1
  140. package/dist/models/list-insured-objects-response-class.d.ts +5 -4
  141. package/dist/models/list-insured-objects-response-class.js +1 -1
  142. package/dist/models/list-leads-response-class.d.ts +31 -0
  143. package/dist/models/list-leads-response-class.js +15 -0
  144. package/dist/models/list-policies-response-class.d.ts +2 -2
  145. package/dist/models/list-policies-response-class.js +1 -1
  146. package/dist/models/list-premium-formulas-response-class.d.ts +3 -3
  147. package/dist/models/list-premium-formulas-response-class.js +1 -1
  148. package/dist/models/list-product-factors-response-class.d.ts +7 -7
  149. package/dist/models/list-product-factors-response-class.js +1 -1
  150. package/dist/models/list-product-field-types-response-class.d.ts +6 -5
  151. package/dist/models/list-product-field-types-response-class.js +1 -1
  152. package/dist/models/list-product-fields-response-class.d.ts +3 -3
  153. package/dist/models/list-product-fields-response-class.js +1 -1
  154. package/dist/models/list-products-response-class.d.ts +4 -4
  155. package/dist/models/list-products-response-class.js +1 -1
  156. package/dist/models/list-request-dto.d.ts +6 -6
  157. package/dist/models/list-request-dto.js +1 -1
  158. package/dist/models/omit-type-class.d.ts +60 -0
  159. package/dist/models/omit-type-class.js +15 -0
  160. package/dist/models/policy-class.d.ts +34 -16
  161. package/dist/models/policy-class.js +1 -1
  162. package/dist/models/policy-object-class.d.ts +5 -5
  163. package/dist/models/policy-object-class.js +1 -1
  164. package/dist/models/policy-object-dto.d.ts +3 -3
  165. package/dist/models/policy-object-dto.js +1 -1
  166. package/dist/models/policy-premium-class.d.ts +5 -5
  167. package/dist/models/policy-premium-class.js +1 -1
  168. package/dist/models/policy-premium-item-class.d.ts +7 -7
  169. package/dist/models/policy-premium-item-class.js +1 -1
  170. package/dist/models/policy-version-class.d.ts +6 -6
  171. package/dist/models/policy-version-class.js +1 -1
  172. package/dist/models/premium-formula-class.d.ts +10 -17
  173. package/dist/models/premium-formula-class.js +1 -1
  174. package/dist/models/premium-override-dto.d.ts +7 -6
  175. package/dist/models/premium-override-dto.js +3 -2
  176. package/dist/models/premium-override-request-class.d.ts +25 -0
  177. package/dist/models/premium-override-request-class.js +15 -0
  178. package/dist/models/premium-override-request-dto.d.ts +2 -2
  179. package/dist/models/premium-override-request-dto.js +1 -1
  180. package/dist/models/product-class.d.ts +10 -10
  181. package/dist/models/product-class.js +1 -1
  182. package/dist/models/product-factor-class.d.ts +8 -15
  183. package/dist/models/product-factor-class.js +1 -1
  184. package/dist/models/product-factor-value-class.d.ts +8 -28
  185. package/dist/models/product-factor-value-class.js +1 -1
  186. package/dist/models/product-field-class.d.ts +13 -13
  187. package/dist/models/product-field-class.js +1 -1
  188. package/dist/models/product-field-type-class.d.ts +48 -0
  189. package/dist/models/product-field-type-class.js +15 -0
  190. package/dist/models/product-version-class.d.ts +15 -8
  191. package/dist/models/product-version-class.js +8 -1
  192. package/dist/models/shared-product-field-class.d.ts +114 -0
  193. package/dist/models/shared-product-field-class.js +15 -0
  194. package/dist/models/shared-update-premium-formula-request-dto.d.ts +72 -0
  195. package/dist/models/{create-claim-request-dto.js → shared-update-premium-formula-request-dto.js} +10 -9
  196. package/dist/models/store-product-factors-request-dto.d.ts +2 -2
  197. package/dist/models/store-product-factors-request-dto.js +1 -1
  198. package/dist/models/store-product-factors-response-class.d.ts +1 -1
  199. package/dist/models/store-product-factors-response-class.js +1 -1
  200. package/dist/models/suspend-policy-request-dto.d.ts +24 -0
  201. package/dist/models/suspend-policy-request-dto.js +15 -0
  202. package/dist/models/suspend-policy-response-class.d.ts +25 -0
  203. package/dist/models/suspend-policy-response-class.js +15 -0
  204. package/dist/models/terminate-policy-request-dto.d.ts +3 -3
  205. package/dist/models/terminate-policy-request-dto.js +1 -1
  206. package/dist/models/terminate-policy-response-class.d.ts +1 -1
  207. package/dist/models/terminate-policy-response-class.js +1 -1
  208. package/dist/models/timeslice-class.d.ts +8 -8
  209. package/dist/models/timeslice-class.js +1 -1
  210. package/dist/models/update-insured-object-request-dto.d.ts +6 -6
  211. package/dist/models/update-insured-object-request-dto.js +1 -1
  212. package/dist/models/update-lead-request-dto.d.ts +8 -14
  213. package/dist/models/update-lead-request-dto.js +1 -1
  214. package/dist/models/update-lead-response-class.d.ts +25 -0
  215. package/dist/models/update-lead-response-class.js +15 -0
  216. package/dist/models/update-policy-request-dto.d.ts +24 -5
  217. package/dist/models/update-policy-request-dto.js +8 -1
  218. package/dist/models/update-policy-response-class.d.ts +1 -1
  219. package/dist/models/update-policy-response-class.js +1 -1
  220. package/dist/models/update-premium-formula-request-dto.d.ts +10 -15
  221. package/dist/models/update-premium-formula-request-dto.js +3 -2
  222. package/dist/models/update-premium-formula-response-class.d.ts +2 -2
  223. package/dist/models/update-premium-formula-response-class.js +1 -1
  224. package/dist/models/update-product-field-request-dto.d.ts +15 -15
  225. package/dist/models/update-product-field-request-dto.js +1 -1
  226. package/dist/models/update-product-field-response-class.d.ts +2 -2
  227. package/dist/models/update-product-field-response-class.js +1 -1
  228. package/dist/models/update-product-request-dto.d.ts +5 -5
  229. package/dist/models/update-product-request-dto.js +1 -1
  230. package/dist/models/update-product-response-class.d.ts +1 -1
  231. package/dist/models/update-product-response-class.js +1 -1
  232. package/dist/models/update-product-version-request-dto.d.ts +5 -5
  233. package/dist/models/update-product-version-request-dto.js +1 -1
  234. package/dist/models/update-product-version-response-class.d.ts +1 -1
  235. package/dist/models/update-product-version-response-class.js +1 -1
  236. package/dist/models/uploaded-document-dto.d.ts +2 -2
  237. package/dist/models/uploaded-document-dto.js +1 -1
  238. package/dist/models/validate-product-factors-request-dto.d.ts +2 -2
  239. package/dist/models/validate-product-factors-request-dto.js +1 -1
  240. package/dist/models/withdraw-policy-response-class.d.ts +1 -1
  241. package/dist/models/withdraw-policy-response-class.js +1 -1
  242. package/index.ts +1 -1
  243. package/models/calculate-custom-premium-request-dto.ts +3 -3
  244. package/models/calculate-premium-request-dto.ts +9 -9
  245. package/models/create-account-request-dto.ts +48 -14
  246. package/models/create-bank-account-request-dto.ts +3 -3
  247. package/models/create-custom-application-request-dto.ts +4 -4
  248. package/models/create-dummy-policy-request-dto.ts +4 -4
  249. package/models/create-insured-object-request-dto.ts +5 -5
  250. package/models/create-insured-object-response-class.ts +5 -5
  251. package/models/create-lead-request-dto.ts +22 -22
  252. package/models/create-lead-response-class.ts +31 -0
  253. package/models/create-policy-request-dto.ts +19 -7
  254. package/models/create-policy-response-class.ts +1 -1
  255. package/models/create-premium-formula-request-dto.ts +9 -8
  256. package/models/create-premium-formula-response-class.ts +2 -2
  257. package/models/create-product-field-request-dto.ts +1 -1
  258. package/models/create-product-field-response-class.ts +2 -2
  259. package/models/create-product-request-dto.ts +5 -5
  260. package/models/create-product-response-class.ts +1 -1
  261. package/models/csv-product-factor-dto.ts +6 -6
  262. package/models/delete-request-dto.ts +2 -2
  263. package/models/{get-insured-object-request-dto.ts → delete-response-class.ts} +7 -7
  264. package/models/get-insured-object-response-class.ts +2 -2
  265. package/models/get-lead-response-class.ts +31 -0
  266. package/models/{grpc-policy-object-dto.ts → get-policy-data-by-date-request-dto.ts} +11 -11
  267. package/models/get-policy-request-dto.ts +3 -3
  268. package/models/get-policy-response-class.ts +2 -2
  269. package/models/get-premium-formula-request-dto.ts +2 -2
  270. package/models/get-premium-formula-response-class.ts +2 -2
  271. package/models/get-product-factor-response-class.ts +2 -2
  272. package/models/get-product-factor-value-request-dto.ts +1 -1
  273. package/models/get-product-factor-value-response-class.ts +2 -2
  274. package/models/get-product-factors-for-version-request-dto.ts +4 -4
  275. package/models/get-product-factors-for-version-response-class.ts +1 -1
  276. package/models/get-product-field-request-dto.ts +2 -2
  277. package/models/get-product-field-response-class.ts +2 -2
  278. package/models/get-product-request-dto.ts +1 -1
  279. package/models/get-product-response-class.ts +1 -1
  280. package/models/get-product-version-request-dto.ts +2 -2
  281. package/models/get-product-version-response-class.ts +1 -1
  282. package/models/grouped-product-factor-class.ts +4 -4
  283. package/models/grouped-product-factor-value-class.ts +10 -4
  284. package/models/grouped-product-factors-response-class.ts +1 -1
  285. package/models/index.ts +15 -5
  286. package/models/insured-object-class.ts +13 -13
  287. package/models/insured-object-type-class.ts +6 -6
  288. package/models/lead-bank-account-class.ts +36 -0
  289. package/models/lead-class.ts +111 -0
  290. package/models/list-insured-object-types-response-class.ts +2 -2
  291. package/models/list-insured-objects-response-class.ts +5 -4
  292. package/models/list-leads-response-class.ts +37 -0
  293. package/models/list-policies-response-class.ts +2 -2
  294. package/models/list-premium-formulas-response-class.ts +3 -3
  295. package/models/list-product-factors-response-class.ts +7 -7
  296. package/models/list-product-field-types-response-class.ts +6 -5
  297. package/models/list-product-fields-response-class.ts +3 -3
  298. package/models/list-products-response-class.ts +4 -4
  299. package/models/list-request-dto.ts +6 -6
  300. package/models/omit-type-class.ts +66 -0
  301. package/models/policy-class.ts +34 -16
  302. package/models/policy-object-class.ts +5 -5
  303. package/models/policy-object-dto.ts +3 -3
  304. package/models/policy-premium-class.ts +5 -5
  305. package/models/policy-premium-item-class.ts +7 -7
  306. package/models/policy-version-class.ts +6 -6
  307. package/models/premium-formula-class.ts +10 -17
  308. package/models/premium-override-dto.ts +6 -5
  309. package/models/premium-override-request-class.ts +31 -0
  310. package/models/premium-override-request-dto.ts +2 -2
  311. package/models/product-class.ts +10 -10
  312. package/models/product-factor-class.ts +8 -15
  313. package/models/product-factor-value-class.ts +8 -28
  314. package/models/product-field-class.ts +13 -13
  315. package/models/product-field-type-class.ts +54 -0
  316. package/models/product-version-class.ts +18 -8
  317. package/models/shared-product-field-class.ts +120 -0
  318. package/models/shared-update-premium-formula-request-dto.ts +82 -0
  319. package/models/store-product-factors-request-dto.ts +2 -2
  320. package/models/store-product-factors-response-class.ts +1 -1
  321. package/models/suspend-policy-request-dto.ts +30 -0
  322. package/models/suspend-policy-response-class.ts +31 -0
  323. package/models/terminate-policy-request-dto.ts +3 -3
  324. package/models/terminate-policy-response-class.ts +1 -1
  325. package/models/timeslice-class.ts +8 -8
  326. package/models/update-insured-object-request-dto.ts +6 -6
  327. package/models/update-lead-request-dto.ts +7 -13
  328. package/models/update-lead-response-class.ts +31 -0
  329. package/models/update-policy-request-dto.ts +27 -5
  330. package/models/update-policy-response-class.ts +1 -1
  331. package/models/update-premium-formula-request-dto.ts +9 -14
  332. package/models/update-premium-formula-response-class.ts +2 -2
  333. package/models/update-product-field-request-dto.ts +14 -14
  334. package/models/update-product-field-response-class.ts +2 -2
  335. package/models/update-product-request-dto.ts +5 -5
  336. package/models/update-product-response-class.ts +1 -1
  337. package/models/update-product-version-request-dto.ts +4 -4
  338. package/models/update-product-version-response-class.ts +1 -1
  339. package/models/uploaded-document-dto.ts +2 -2
  340. package/models/validate-product-factors-request-dto.ts +2 -2
  341. package/models/withdraw-policy-response-class.ts +1 -1
  342. package/package.json +3 -4
  343. package/dist/models/create-claim-request-dto.d.ts +0 -83
  344. package/dist/models/grpc-update-policy-request-dto.d.ts +0 -50
  345. package/dist/models/to-grpc-create-policy-request-dto.d.ts +0 -44
  346. package/models/create-claim-request-dto.ts +0 -93
  347. package/models/grpc-update-policy-request-dto.ts +0 -56
  348. package/models/to-grpc-create-policy-request-dto.ts +0 -50
@@ -0,0 +1,48 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProductFieldTypeClass
16
+ */
17
+ export interface ProductFieldTypeClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof ProductFieldTypeClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Product field type name.
26
+ * @type {string}
27
+ * @memberof ProductFieldTypeClass
28
+ */
29
+ 'name': string;
30
+ /**
31
+ * Product field type category.
32
+ * @type {string}
33
+ * @memberof ProductFieldTypeClass
34
+ */
35
+ 'category': string;
36
+ /**
37
+ * Time at which the object was created.
38
+ * @type {string}
39
+ * @memberof ProductFieldTypeClass
40
+ */
41
+ 'createdAt': string;
42
+ /**
43
+ * Time at which the object was updated.
44
+ * @type {string}
45
+ * @memberof ProductFieldTypeClass
46
+ */
47
+ 'updatedAt': string;
48
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,7 +3,7 @@
3
3
  * The EMIL InsuranceService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -16,39 +16,46 @@
16
16
  */
17
17
  export interface ProductVersionClass {
18
18
  /**
19
- * Product version id
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
20
  * @type {number}
21
21
  * @memberof ProductVersionClass
22
22
  */
23
23
  'id': number;
24
24
  /**
25
- * Product id
25
+ * Unique identifier referencing the product.
26
26
  * @type {number}
27
27
  * @memberof ProductVersionClass
28
28
  */
29
29
  'productId': number;
30
30
  /**
31
- * Product version description
31
+ * Product version description.
32
32
  * @type {string}
33
33
  * @memberof ProductVersionClass
34
34
  */
35
35
  'description': string;
36
36
  /**
37
- * Product version status
37
+ * Product version status.
38
38
  * @type {string}
39
39
  * @memberof ProductVersionClass
40
40
  */
41
- 'status': string;
41
+ 'status': ProductVersionClassStatusEnum;
42
42
  /**
43
- * Date created
43
+ * Time at which the object was created.
44
44
  * @type {string}
45
45
  * @memberof ProductVersionClass
46
46
  */
47
47
  'createdAt': string;
48
48
  /**
49
- * Date updated
49
+ * Time at which the object was updated.
50
50
  * @type {string}
51
51
  * @memberof ProductVersionClass
52
52
  */
53
53
  'updatedAt': string;
54
54
  }
55
+ export declare const ProductVersionClassStatusEnum: {
56
+ readonly Draft: "draft";
57
+ readonly Active: "active";
58
+ readonly Passive: "passive";
59
+ readonly Archived: "archived";
60
+ };
61
+ export type ProductVersionClassStatusEnum = typeof ProductVersionClassStatusEnum[keyof typeof ProductVersionClassStatusEnum];
@@ -6,10 +6,17 @@
6
6
  * The EMIL InsuranceService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ProductVersionClassStatusEnum = void 0;
17
+ exports.ProductVersionClassStatusEnum = {
18
+ Draft: 'draft',
19
+ Active: 'active',
20
+ Passive: 'passive',
21
+ Archived: 'archived'
22
+ };
@@ -0,0 +1,114 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SharedProductFieldClass
16
+ */
17
+ export interface SharedProductFieldClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof SharedProductFieldClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Product field name.
26
+ * @type {string}
27
+ * @memberof SharedProductFieldClass
28
+ */
29
+ 'name': string;
30
+ /**
31
+ * Product field group.
32
+ * @type {string}
33
+ * @memberof SharedProductFieldClass
34
+ */
35
+ 'group': string;
36
+ /**
37
+ * Product field label.
38
+ * @type {string}
39
+ * @memberof SharedProductFieldClass
40
+ */
41
+ 'label': string;
42
+ /**
43
+ * Product field type.
44
+ * @type {string}
45
+ * @memberof SharedProductFieldClass
46
+ */
47
+ 'typeEntity': string;
48
+ /**
49
+ * Unique identifier referencing the product field type.
50
+ * @type {number}
51
+ * @memberof SharedProductFieldClass
52
+ */
53
+ 'typeId': number;
54
+ /**
55
+ * Unique identifier referencing the insured object.
56
+ * @type {number}
57
+ * @memberof SharedProductFieldClass
58
+ */
59
+ 'insuredObjectId': number;
60
+ /**
61
+ * Is field required?
62
+ * @type {boolean}
63
+ * @memberof SharedProductFieldClass
64
+ */
65
+ 'isRequired': boolean;
66
+ /**
67
+ * Is field hidden on the booking funnel?
68
+ * @type {boolean}
69
+ * @memberof SharedProductFieldClass
70
+ */
71
+ 'isHidden': boolean;
72
+ /**
73
+ * Is this a system field? - System fields can neither be deleted nor modified
74
+ * @type {boolean}
75
+ * @memberof SharedProductFieldClass
76
+ */
77
+ 'isSystem': boolean;
78
+ /**
79
+ * Should the field value be unique across policies?
80
+ * @type {boolean}
81
+ * @memberof SharedProductFieldClass
82
+ */
83
+ 'isUnique': boolean;
84
+ /**
85
+ * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
86
+ * @type {object}
87
+ * @memberof SharedProductFieldClass
88
+ */
89
+ 'defaultValue': object | null;
90
+ /**
91
+ * Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
92
+ * @type {object}
93
+ * @memberof SharedProductFieldClass
94
+ */
95
+ 'minValue': object | null;
96
+ /**
97
+ * Maximum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
98
+ * @type {object}
99
+ * @memberof SharedProductFieldClass
100
+ */
101
+ 'maxValue': object | null;
102
+ /**
103
+ * Time at which the object was created.
104
+ * @type {string}
105
+ * @memberof SharedProductFieldClass
106
+ */
107
+ 'createdAt': string;
108
+ /**
109
+ * Time at which the object was updated.
110
+ * @type {string}
111
+ * @memberof SharedProductFieldClass
112
+ */
113
+ 'updatedAt': string;
114
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,72 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SharedUpdatePremiumFormulaRequestDto
16
+ */
17
+ export interface SharedUpdatePremiumFormulaRequestDto {
18
+ /**
19
+ * Unique identifier referencing the product version.
20
+ * @type {number}
21
+ * @memberof SharedUpdatePremiumFormulaRequestDto
22
+ */
23
+ 'productVersionId': number;
24
+ /**
25
+ * Premium group name.
26
+ * @type {string}
27
+ * @memberof SharedUpdatePremiumFormulaRequestDto
28
+ */
29
+ 'group': string;
30
+ /**
31
+ * Premium name.
32
+ * @type {string}
33
+ * @memberof SharedUpdatePremiumFormulaRequestDto
34
+ */
35
+ 'name': string;
36
+ /**
37
+ * Premium expression.
38
+ * @type {string}
39
+ * @memberof SharedUpdatePremiumFormulaRequestDto
40
+ */
41
+ 'expression': string;
42
+ /**
43
+ * Type of Premium that is based on time.
44
+ * @type {string}
45
+ * @memberof SharedUpdatePremiumFormulaRequestDto
46
+ */
47
+ 'type': SharedUpdatePremiumFormulaRequestDtoTypeEnum;
48
+ /**
49
+ * This is unit of Premium. Premium units are determined based on oneTimePayment, day, week, month and year.
50
+ * @type {string}
51
+ * @memberof SharedUpdatePremiumFormulaRequestDto
52
+ */
53
+ 'unit': SharedUpdatePremiumFormulaRequestDtoUnitEnum;
54
+ /**
55
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
56
+ * @type {number}
57
+ * @memberof SharedUpdatePremiumFormulaRequestDto
58
+ */
59
+ 'id': number;
60
+ }
61
+ export declare const SharedUpdatePremiumFormulaRequestDtoTypeEnum: {
62
+ readonly Time: "time";
63
+ };
64
+ export type SharedUpdatePremiumFormulaRequestDtoTypeEnum = typeof SharedUpdatePremiumFormulaRequestDtoTypeEnum[keyof typeof SharedUpdatePremiumFormulaRequestDtoTypeEnum];
65
+ export declare const SharedUpdatePremiumFormulaRequestDtoUnitEnum: {
66
+ readonly Day: "day";
67
+ readonly Week: "week";
68
+ readonly Month: "month";
69
+ readonly Year: "year";
70
+ readonly OneTimePayment: "oneTimePayment";
71
+ };
72
+ export type SharedUpdatePremiumFormulaRequestDtoUnitEnum = typeof SharedUpdatePremiumFormulaRequestDtoUnitEnum[keyof typeof SharedUpdatePremiumFormulaRequestDtoUnitEnum];
@@ -6,20 +6,21 @@
6
6
  * The EMIL InsuranceService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateClaimRequestDtoCoverageTypeEnum = exports.CreateClaimRequestDtoStatusEnum = void 0;
17
- exports.CreateClaimRequestDtoStatusEnum = {
18
- Open: 'open',
19
- Closed: 'closed'
16
+ exports.SharedUpdatePremiumFormulaRequestDtoUnitEnum = exports.SharedUpdatePremiumFormulaRequestDtoTypeEnum = void 0;
17
+ exports.SharedUpdatePremiumFormulaRequestDtoTypeEnum = {
18
+ Time: 'time'
20
19
  };
21
- exports.CreateClaimRequestDtoCoverageTypeEnum = {
22
- Kh: 'kh',
23
- Vk: 'vk',
24
- Tk: 'tk'
20
+ exports.SharedUpdatePremiumFormulaRequestDtoUnitEnum = {
21
+ Day: 'day',
22
+ Week: 'week',
23
+ Month: 'month',
24
+ Year: 'year',
25
+ OneTimePayment: 'oneTimePayment'
25
26
  };
@@ -3,7 +3,7 @@
3
3
  * The EMIL InsuranceService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -17,7 +17,7 @@ import { CsvProductFactorDto } from './csv-product-factor-dto';
17
17
  */
18
18
  export interface StoreProductFactorsRequestDto {
19
19
  /**
20
- * Product version id
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
21
  * @type {number}
22
22
  * @memberof StoreProductFactorsRequestDto
23
23
  */
@@ -6,7 +6,7 @@
6
6
  * The EMIL InsuranceService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL InsuranceService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL InsuranceService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SuspendPolicyRequestDto
16
+ */
17
+ export interface SuspendPolicyRequestDto {
18
+ /**
19
+ * Terminate from.
20
+ * @type {string}
21
+ * @memberof SuspendPolicyRequestDto
22
+ */
23
+ 'from'?: string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService 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 { PolicyClass } from './policy-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuspendPolicyResponseClass
17
+ */
18
+ export interface SuspendPolicyResponseClass {
19
+ /**
20
+ * Policy.
21
+ * @type {PolicyClass}
22
+ * @memberof SuspendPolicyResponseClass
23
+ */
24
+ 'policy': PolicyClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,7 +3,7 @@
3
3
  * The EMIL InsuranceService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -16,9 +16,9 @@
16
16
  */
17
17
  export interface TerminatePolicyRequestDto {
18
18
  /**
19
- * Terminate from
19
+ * Terminate from.
20
20
  * @type {string}
21
21
  * @memberof TerminatePolicyRequestDto
22
22
  */
23
- 'from': string;
23
+ 'from'?: string;
24
24
  }
@@ -6,7 +6,7 @@
6
6
  * The EMIL InsuranceService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL InsuranceService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL InsuranceService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL InsuranceService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -18,43 +18,43 @@ import { PolicyPremiumClass } from './policy-premium-class';
18
18
  */
19
19
  export interface TimesliceClass {
20
20
  /**
21
- * Timeslice id
21
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
22
22
  * @type {number}
23
23
  * @memberof TimesliceClass
24
24
  */
25
25
  'id': number;
26
26
  /**
27
- * Timeslice policy data
27
+ * Timeslice policy data.
28
28
  * @type {Array<PolicyObjectClass>}
29
29
  * @memberof TimesliceClass
30
30
  */
31
31
  'policyObjects': Array<PolicyObjectClass>;
32
32
  /**
33
- * Timeslice validity start
33
+ * Timeslice validity start.
34
34
  * @type {string}
35
35
  * @memberof TimesliceClass
36
36
  */
37
37
  'from': string;
38
38
  /**
39
- * Timeslice validity end
39
+ * Timeslice validity end.
40
40
  * @type {object}
41
41
  * @memberof TimesliceClass
42
42
  */
43
43
  'to': object;
44
44
  /**
45
- * Timeslice premium
45
+ * Timeslice premium.
46
46
  * @type {PolicyPremiumClass}
47
47
  * @memberof TimesliceClass
48
48
  */
49
49
  'premium': PolicyPremiumClass;
50
50
  /**
51
- * Date created
51
+ * Time at which the object was created.
52
52
  * @type {string}
53
53
  * @memberof TimesliceClass
54
54
  */
55
55
  'createdAt': string;
56
56
  /**
57
- * Date updated
57
+ * Time at which the object was updated.
58
58
  * @type {string}
59
59
  * @memberof TimesliceClass
60
60
  */
@@ -6,7 +6,7 @@
6
6
  * The EMIL InsuranceService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech