@emilgroup/insurance-sdk-node 1.2.0 → 1.4.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 (345) hide show
  1. package/.openapi-generator/FILES +18 -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 +26 -13
  49. package/dist/models/create-account-request-dto.js +8 -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 +14 -5
  129. package/dist/models/index.js +14 -5
  130. package/dist/models/insured-object-class.d.ts +12 -12
  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 +95 -0
  137. package/dist/models/lead-class.js +15 -0
  138. package/dist/models/list-insured-object-types-response-class.d.ts +3 -3
  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 +3 -3
  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 +32 -14
  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-dto.d.ts +2 -2
  177. package/dist/models/premium-override-request-dto.js +1 -1
  178. package/dist/models/product-class.d.ts +10 -10
  179. package/dist/models/product-class.js +1 -1
  180. package/dist/models/product-factor-class.d.ts +9 -9
  181. package/dist/models/product-factor-class.js +1 -1
  182. package/dist/models/product-factor-value-class.d.ts +8 -28
  183. package/dist/models/product-factor-value-class.js +1 -1
  184. package/dist/models/product-field-class.d.ts +10 -10
  185. package/dist/models/product-field-class.js +1 -1
  186. package/dist/models/product-field-type-class.d.ts +48 -0
  187. package/dist/models/product-field-type-class.js +15 -0
  188. package/dist/models/product-version-class.d.ts +15 -8
  189. package/dist/models/product-version-class.js +8 -1
  190. package/dist/models/shared-product-field-class.d.ts +114 -0
  191. package/dist/models/shared-product-field-class.js +15 -0
  192. package/dist/models/shared-update-premium-formula-request-dto.d.ts +72 -0
  193. package/dist/models/{create-claim-request-dto.js → shared-update-premium-formula-request-dto.js} +10 -9
  194. package/dist/models/store-product-factors-request-dto.d.ts +2 -2
  195. package/dist/models/store-product-factors-request-dto.js +1 -1
  196. package/dist/models/store-product-factors-response-class.d.ts +1 -1
  197. package/dist/models/store-product-factors-response-class.js +1 -1
  198. package/dist/models/suspend-policy-request-dto.d.ts +24 -0
  199. package/dist/models/suspend-policy-request-dto.js +15 -0
  200. package/dist/models/suspend-policy-response-class.d.ts +25 -0
  201. package/dist/models/suspend-policy-response-class.js +15 -0
  202. package/dist/models/terminate-policy-request-dto.d.ts +3 -3
  203. package/dist/models/terminate-policy-request-dto.js +1 -1
  204. package/dist/models/terminate-policy-response-class.d.ts +1 -1
  205. package/dist/models/terminate-policy-response-class.js +1 -1
  206. package/dist/models/timeslice-class.d.ts +8 -8
  207. package/dist/models/timeslice-class.js +1 -1
  208. package/dist/models/update-insured-object-request-dto.d.ts +6 -6
  209. package/dist/models/update-insured-object-request-dto.js +1 -1
  210. package/dist/models/update-lead-request-dto.d.ts +8 -14
  211. package/dist/models/update-lead-request-dto.js +1 -1
  212. package/dist/models/update-lead-response-class.d.ts +25 -0
  213. package/dist/models/update-lead-response-class.js +15 -0
  214. package/dist/models/update-policy-request-dto.d.ts +24 -5
  215. package/dist/models/update-policy-request-dto.js +8 -1
  216. package/dist/models/update-policy-response-class.d.ts +1 -1
  217. package/dist/models/update-policy-response-class.js +1 -1
  218. package/dist/models/update-premium-formula-request-dto.d.ts +10 -15
  219. package/dist/models/update-premium-formula-request-dto.js +3 -2
  220. package/dist/models/update-premium-formula-response-class.d.ts +2 -2
  221. package/dist/models/update-premium-formula-response-class.js +1 -1
  222. package/dist/models/update-product-field-request-dto.d.ts +15 -15
  223. package/dist/models/update-product-field-request-dto.js +1 -1
  224. package/dist/models/update-product-field-response-class.d.ts +2 -2
  225. package/dist/models/update-product-field-response-class.js +1 -1
  226. package/dist/models/update-product-request-dto.d.ts +5 -5
  227. package/dist/models/update-product-request-dto.js +1 -1
  228. package/dist/models/update-product-response-class.d.ts +1 -1
  229. package/dist/models/update-product-response-class.js +1 -1
  230. package/dist/models/update-product-version-request-dto.d.ts +5 -5
  231. package/dist/models/update-product-version-request-dto.js +1 -1
  232. package/dist/models/update-product-version-response-class.d.ts +1 -1
  233. package/dist/models/update-product-version-response-class.js +1 -1
  234. package/dist/models/uploaded-document-dto.d.ts +2 -2
  235. package/dist/models/uploaded-document-dto.js +1 -1
  236. package/dist/models/validate-product-factors-request-dto.d.ts +2 -2
  237. package/dist/models/validate-product-factors-request-dto.js +1 -1
  238. package/dist/models/withdraw-policy-response-class.d.ts +1 -1
  239. package/dist/models/withdraw-policy-response-class.js +1 -1
  240. package/index.ts +1 -1
  241. package/models/calculate-custom-premium-request-dto.ts +3 -3
  242. package/models/calculate-premium-request-dto.ts +9 -9
  243. package/models/create-account-request-dto.ts +29 -13
  244. package/models/create-bank-account-request-dto.ts +3 -3
  245. package/models/create-custom-application-request-dto.ts +4 -4
  246. package/models/create-dummy-policy-request-dto.ts +4 -4
  247. package/models/create-insured-object-request-dto.ts +5 -5
  248. package/models/create-insured-object-response-class.ts +5 -5
  249. package/models/create-lead-request-dto.ts +22 -22
  250. package/models/create-lead-response-class.ts +31 -0
  251. package/models/create-policy-request-dto.ts +19 -7
  252. package/models/create-policy-response-class.ts +1 -1
  253. package/models/create-premium-formula-request-dto.ts +9 -8
  254. package/models/create-premium-formula-response-class.ts +2 -2
  255. package/models/create-product-field-request-dto.ts +1 -1
  256. package/models/create-product-field-response-class.ts +2 -2
  257. package/models/create-product-request-dto.ts +5 -5
  258. package/models/create-product-response-class.ts +1 -1
  259. package/models/csv-product-factor-dto.ts +6 -6
  260. package/models/delete-request-dto.ts +2 -2
  261. package/models/{get-insured-object-request-dto.ts → delete-response-class.ts} +7 -7
  262. package/models/get-insured-object-response-class.ts +2 -2
  263. package/models/get-lead-response-class.ts +31 -0
  264. package/models/{grpc-policy-object-dto.ts → get-policy-data-by-date-request-dto.ts} +11 -11
  265. package/models/get-policy-request-dto.ts +3 -3
  266. package/models/get-policy-response-class.ts +2 -2
  267. package/models/get-premium-formula-request-dto.ts +2 -2
  268. package/models/get-premium-formula-response-class.ts +2 -2
  269. package/models/get-product-factor-response-class.ts +2 -2
  270. package/models/get-product-factor-value-request-dto.ts +1 -1
  271. package/models/get-product-factor-value-response-class.ts +2 -2
  272. package/models/get-product-factors-for-version-request-dto.ts +4 -4
  273. package/models/get-product-factors-for-version-response-class.ts +1 -1
  274. package/models/get-product-field-request-dto.ts +2 -2
  275. package/models/get-product-field-response-class.ts +2 -2
  276. package/models/get-product-request-dto.ts +1 -1
  277. package/models/get-product-response-class.ts +1 -1
  278. package/models/get-product-version-request-dto.ts +2 -2
  279. package/models/get-product-version-response-class.ts +1 -1
  280. package/models/grouped-product-factor-class.ts +4 -4
  281. package/models/grouped-product-factor-value-class.ts +10 -4
  282. package/models/grouped-product-factors-response-class.ts +1 -1
  283. package/models/index.ts +14 -5
  284. package/models/insured-object-class.ts +12 -12
  285. package/models/insured-object-type-class.ts +6 -6
  286. package/models/lead-bank-account-class.ts +36 -0
  287. package/models/lead-class.ts +101 -0
  288. package/models/list-insured-object-types-response-class.ts +3 -3
  289. package/models/list-insured-objects-response-class.ts +5 -4
  290. package/models/list-leads-response-class.ts +37 -0
  291. package/models/list-policies-response-class.ts +2 -2
  292. package/models/list-premium-formulas-response-class.ts +3 -3
  293. package/models/list-product-factors-response-class.ts +7 -7
  294. package/models/list-product-field-types-response-class.ts +6 -5
  295. package/models/list-product-fields-response-class.ts +3 -3
  296. package/models/list-products-response-class.ts +3 -3
  297. package/models/list-request-dto.ts +6 -6
  298. package/models/omit-type-class.ts +66 -0
  299. package/models/policy-class.ts +32 -14
  300. package/models/policy-object-class.ts +5 -5
  301. package/models/policy-object-dto.ts +3 -3
  302. package/models/policy-premium-class.ts +5 -5
  303. package/models/policy-premium-item-class.ts +7 -7
  304. package/models/policy-version-class.ts +6 -6
  305. package/models/premium-formula-class.ts +10 -17
  306. package/models/premium-override-dto.ts +6 -5
  307. package/models/premium-override-request-dto.ts +2 -2
  308. package/models/product-class.ts +10 -10
  309. package/models/product-factor-class.ts +9 -9
  310. package/models/product-factor-value-class.ts +8 -28
  311. package/models/product-field-class.ts +10 -10
  312. package/models/product-field-type-class.ts +54 -0
  313. package/models/product-version-class.ts +18 -8
  314. package/models/shared-product-field-class.ts +120 -0
  315. package/models/shared-update-premium-formula-request-dto.ts +82 -0
  316. package/models/store-product-factors-request-dto.ts +2 -2
  317. package/models/store-product-factors-response-class.ts +1 -1
  318. package/models/suspend-policy-request-dto.ts +30 -0
  319. package/models/suspend-policy-response-class.ts +31 -0
  320. package/models/terminate-policy-request-dto.ts +3 -3
  321. package/models/terminate-policy-response-class.ts +1 -1
  322. package/models/timeslice-class.ts +8 -8
  323. package/models/update-insured-object-request-dto.ts +6 -6
  324. package/models/update-lead-request-dto.ts +7 -13
  325. package/models/update-lead-response-class.ts +31 -0
  326. package/models/update-policy-request-dto.ts +27 -5
  327. package/models/update-policy-response-class.ts +1 -1
  328. package/models/update-premium-formula-request-dto.ts +9 -14
  329. package/models/update-premium-formula-response-class.ts +2 -2
  330. package/models/update-product-field-request-dto.ts +14 -14
  331. package/models/update-product-field-response-class.ts +2 -2
  332. package/models/update-product-request-dto.ts +5 -5
  333. package/models/update-product-response-class.ts +1 -1
  334. package/models/update-product-version-request-dto.ts +4 -4
  335. package/models/update-product-version-response-class.ts +1 -1
  336. package/models/uploaded-document-dto.ts +2 -2
  337. package/models/validate-product-factors-request-dto.ts +2 -2
  338. package/models/withdraw-policy-response-class.ts +1 -1
  339. package/package.json +2 -3
  340. package/dist/models/create-claim-request-dto.d.ts +0 -83
  341. package/dist/models/grpc-update-policy-request-dto.d.ts +0 -50
  342. package/dist/models/to-grpc-create-policy-request-dto.d.ts +0 -44
  343. package/models/create-claim-request-dto.ts +0 -93
  344. package/models/grpc-update-policy-request-dto.ts +0 -56
  345. package/models/to-grpc-create-policy-request-dto.ts +0 -50
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService 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 LeadBankAccountClass
21
+ */
22
+ export interface LeadBankAccountClass {
23
+ /**
24
+ * Account code place-holder.
25
+ * @type {string}
26
+ * @memberof LeadBankAccountClass
27
+ */
28
+ 'accountCode': string;
29
+ /**
30
+ * Bank account IBAN.
31
+ * @type {string}
32
+ * @memberof LeadBankAccountClass
33
+ */
34
+ 'iban': string;
35
+ }
36
+
@@ -0,0 +1,101 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService 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 { CreateAccountRequestDto } from './create-account-request-dto';
17
+ import { CreatePolicyRequestDto } from './create-policy-request-dto';
18
+ import { LeadBankAccountClass } from './lead-bank-account-class';
19
+ import { PremiumOverrideDto } from './premium-override-dto';
20
+ import { UploadedDocumentDto } from './uploaded-document-dto';
21
+
22
+ /**
23
+ *
24
+ * @export
25
+ * @interface LeadClass
26
+ */
27
+ export interface LeadClass {
28
+ /**
29
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
30
+ * @type {number}
31
+ * @memberof LeadClass
32
+ */
33
+ 'id': number;
34
+ /**
35
+ * Unique identifier for the object.
36
+ * @type {string}
37
+ * @memberof LeadClass
38
+ */
39
+ 'code': string;
40
+ /**
41
+ * Lead status.
42
+ * @type {string}
43
+ * @memberof LeadClass
44
+ */
45
+ 'status': string;
46
+ /**
47
+ * Lead account.
48
+ * @type {CreateAccountRequestDto}
49
+ * @memberof LeadClass
50
+ */
51
+ 'account': CreateAccountRequestDto;
52
+ /**
53
+ * Lead policy.
54
+ * @type {CreatePolicyRequestDto}
55
+ * @memberof LeadClass
56
+ */
57
+ 'policy': CreatePolicyRequestDto;
58
+ /**
59
+ * Lead bank account.
60
+ * @type {LeadBankAccountClass}
61
+ * @memberof LeadClass
62
+ */
63
+ 'bankAccount': LeadBankAccountClass;
64
+ /**
65
+ * Custom data for custom application creation.
66
+ * @type {object}
67
+ * @memberof LeadClass
68
+ */
69
+ 'customData': object;
70
+ /**
71
+ * List of uploaded document codes.
72
+ * @type {UploadedDocumentDto}
73
+ * @memberof LeadClass
74
+ */
75
+ 'uploadedDocument': UploadedDocumentDto;
76
+ /**
77
+ * Premium overrides.
78
+ * @type {Array<PremiumOverrideDto>}
79
+ * @memberof LeadClass
80
+ */
81
+ 'premiumOverrides': Array<PremiumOverrideDto>;
82
+ /**
83
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the product.
84
+ * @type {string}
85
+ * @memberof LeadClass
86
+ */
87
+ 'productSlug': string;
88
+ /**
89
+ * Time at which the object was created.
90
+ * @type {string}
91
+ * @memberof LeadClass
92
+ */
93
+ 'createdAt': string;
94
+ /**
95
+ * Time at which the object was updated.
96
+ * @type {string}
97
+ * @memberof LeadClass
98
+ */
99
+ 'updatedAt': string;
100
+ }
101
+
@@ -5,7 +5,7 @@
5
5
  * The EMIL InsuranceService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -22,13 +22,13 @@ import { InsuredObjectTypeClass } from './insured-object-type-class';
22
22
  */
23
23
  export interface ListInsuredObjectTypesResponseClass {
24
24
  /**
25
- * Products
25
+ * Insured object types.
26
26
  * @type {Array<InsuredObjectTypeClass>}
27
27
  * @memberof ListInsuredObjectTypesResponseClass
28
28
  */
29
29
  'items': Array<InsuredObjectTypeClass>;
30
30
  /**
31
- * Next page token
31
+ * Next page token.
32
32
  * @type {string}
33
33
  * @memberof ListInsuredObjectTypesResponseClass
34
34
  */
@@ -5,7 +5,7 @@
5
5
  * The EMIL InsuranceService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { InsuredObjectClass } from './insured-object-class';
16
17
 
17
18
  /**
18
19
  *
@@ -22,12 +23,12 @@
22
23
  export interface ListInsuredObjectsResponseClass {
23
24
  /**
24
25
  * Insured objects
25
- * @type {Array<string>}
26
+ * @type {Array<InsuredObjectClass>}
26
27
  * @memberof ListInsuredObjectsResponseClass
27
28
  */
28
- 'items': Array<string>;
29
+ 'items': Array<InsuredObjectClass>;
29
30
  /**
30
- * Next Page token
31
+ * Next page token.
31
32
  * @type {string}
32
33
  * @memberof ListInsuredObjectsResponseClass
33
34
  */
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService 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 { LeadClass } from './lead-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListLeadsResponseClass
22
+ */
23
+ export interface ListLeadsResponseClass {
24
+ /**
25
+ * Leads
26
+ * @type {Array<LeadClass>}
27
+ * @memberof ListLeadsResponseClass
28
+ */
29
+ 'items': Array<LeadClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListLeadsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -5,7 +5,7 @@
5
5
  * The EMIL InsuranceService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -28,7 +28,7 @@ export interface ListPoliciesResponseClass {
28
28
  */
29
29
  'items': Array<PolicyClass>;
30
30
  /**
31
- * Next page token
31
+ * Next page token.
32
32
  * @type {string}
33
33
  * @memberof ListPoliciesResponseClass
34
34
  */
@@ -5,7 +5,7 @@
5
5
  * The EMIL InsuranceService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -22,13 +22,13 @@ import { PremiumFormulaClass } from './premium-formula-class';
22
22
  */
23
23
  export interface ListPremiumFormulasResponseClass {
24
24
  /**
25
- * Premium Formulas
25
+ * Premium Formulas.
26
26
  * @type {Array<PremiumFormulaClass>}
27
27
  * @memberof ListPremiumFormulasResponseClass
28
28
  */
29
29
  'premiumFormulas': Array<PremiumFormulaClass>;
30
30
  /**
31
- * Next page token
31
+ * Next page token.
32
32
  * @type {string}
33
33
  * @memberof ListPremiumFormulasResponseClass
34
34
  */
@@ -5,7 +5,7 @@
5
5
  * The EMIL InsuranceService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -22,16 +22,16 @@ import { ProductFactorClass } from './product-factor-class';
22
22
  */
23
23
  export interface ListProductFactorsResponseClass {
24
24
  /**
25
- * Factors
26
- * @type {Array<ProductFactorClass>}
25
+ * Next page token.
26
+ * @type {string}
27
27
  * @memberof ListProductFactorsResponseClass
28
28
  */
29
- 'items': Array<ProductFactorClass>;
29
+ 'nextPageToken': string;
30
30
  /**
31
- * Next page token
32
- * @type {string}
31
+ * List of product factors.
32
+ * @type {Array<ProductFactorClass>}
33
33
  * @memberof ListProductFactorsResponseClass
34
34
  */
35
- 'nextPageToken': string;
35
+ 'items': Array<ProductFactorClass>;
36
36
  }
37
37
 
@@ -5,7 +5,7 @@
5
5
  * The EMIL InsuranceService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { ProductFieldTypeClass } from './product-field-type-class';
16
17
 
17
18
  /**
18
19
  *
@@ -21,13 +22,13 @@
21
22
  */
22
23
  export interface ListProductFieldTypesResponseClass {
23
24
  /**
24
- * product field data
25
- * @type {Array<string>}
25
+ * product field types.
26
+ * @type {ProductFieldTypeClass}
26
27
  * @memberof ListProductFieldTypesResponseClass
27
28
  */
28
- 'items': Array<string>;
29
+ 'items': ProductFieldTypeClass;
29
30
  /**
30
- * Next Page token
31
+ * Next page token.
31
32
  * @type {string}
32
33
  * @memberof ListProductFieldTypesResponseClass
33
34
  */
@@ -5,7 +5,7 @@
5
5
  * The EMIL InsuranceService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -22,13 +22,13 @@ import { ProductFieldClass } from './product-field-class';
22
22
  */
23
23
  export interface ListProductFieldsResponseClass {
24
24
  /**
25
- * Product fields
25
+ * Product fields.
26
26
  * @type {Array<ProductFieldClass>}
27
27
  * @memberof ListProductFieldsResponseClass
28
28
  */
29
29
  'items': Array<ProductFieldClass>;
30
30
  /**
31
- * Next Page token
31
+ * Next page token.
32
32
  * @type {string}
33
33
  * @memberof ListProductFieldsResponseClass
34
34
  */
@@ -5,7 +5,7 @@
5
5
  * The EMIL InsuranceService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -22,13 +22,13 @@ import { ProductClass } from './product-class';
22
22
  */
23
23
  export interface ListProductsResponseClass {
24
24
  /**
25
- * Products
25
+ * List of products.
26
26
  * @type {Array<ProductClass>}
27
27
  * @memberof ListProductsResponseClass
28
28
  */
29
29
  'products': Array<ProductClass>;
30
30
  /**
31
- * Next page token
31
+ * Next page token.
32
32
  * @type {string}
33
33
  * @memberof ListProductsResponseClass
34
34
  */
@@ -5,7 +5,7 @@
5
5
  * The EMIL InsuranceService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -21,13 +21,13 @@
21
21
  */
22
22
  export interface ListRequestDto {
23
23
  /**
24
- * Page size
24
+ * Page size.
25
25
  * @type {number}
26
26
  * @memberof ListRequestDto
27
27
  */
28
28
  'pageSize'?: number;
29
29
  /**
30
- * Page token
30
+ * Page token.
31
31
  * @type {string}
32
32
  * @memberof ListRequestDto
33
33
  */
@@ -39,19 +39,19 @@ export interface ListRequestDto {
39
39
  */
40
40
  'filter'?: string;
41
41
  /**
42
- * Search query
42
+ * Search query.
43
43
  * @type {string}
44
44
  * @memberof ListRequestDto
45
45
  */
46
46
  'search'?: string;
47
47
  /**
48
- * Ordering criteria
48
+ * Ordering criteria.
49
49
  * @type {string}
50
50
  * @memberof ListRequestDto
51
51
  */
52
52
  'order'?: string;
53
53
  /**
54
- * Extra fields to fetch
54
+ * Extra fields to fetch.
55
55
  * @type {string}
56
56
  * @memberof ListRequestDto
57
57
  */
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService 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 OmitTypeClass
21
+ */
22
+ export interface OmitTypeClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof OmitTypeClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier referencing the Product version.
31
+ * @type {number}
32
+ * @memberof OmitTypeClass
33
+ */
34
+ 'productVersionId': number;
35
+ /**
36
+ * Insured object name.
37
+ * @type {string}
38
+ * @memberof OmitTypeClass
39
+ */
40
+ 'name': string;
41
+ /**
42
+ * Insured object label.
43
+ * @type {string}
44
+ * @memberof OmitTypeClass
45
+ */
46
+ 'label': string;
47
+ /**
48
+ * Unique identifier referencing the Insured object type.
49
+ * @type {number}
50
+ * @memberof OmitTypeClass
51
+ */
52
+ 'insuredObjectTypeId': number;
53
+ /**
54
+ * Time at which the object was created.
55
+ * @type {string}
56
+ * @memberof OmitTypeClass
57
+ */
58
+ 'createdAt': string;
59
+ /**
60
+ * Time at which the object was updated.
61
+ * @type {string}
62
+ * @memberof OmitTypeClass
63
+ */
64
+ 'updatedAt': string;
65
+ }
66
+
@@ -5,7 +5,7 @@
5
5
  * The EMIL InsuranceService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -23,76 +23,94 @@ import { ProductClass } from './product-class';
23
23
  */
24
24
  export interface PolicyClass {
25
25
  /**
26
- * Policy id
26
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
27
27
  * @type {number}
28
28
  * @memberof PolicyClass
29
29
  */
30
30
  'id': number;
31
31
  /**
32
- * Policy code
32
+ * Unique identifier for the object.
33
33
  * @type {string}
34
34
  * @memberof PolicyClass
35
35
  */
36
36
  'code': string;
37
37
  /**
38
- * Policy number
38
+ * Policy number.
39
39
  * @type {string}
40
40
  * @memberof PolicyClass
41
41
  */
42
42
  'policyNumber': string;
43
43
  /**
44
- * Policy product version id
44
+ * Internal policy number.
45
+ * @type {string}
46
+ * @memberof PolicyClass
47
+ */
48
+ 'internalPolicyNumber': string;
49
+ /**
50
+ * Unique identifier referencing the policy product version.
45
51
  * @type {number}
46
52
  * @memberof PolicyClass
47
53
  */
48
54
  'productVersionId': number;
49
55
  /**
50
- * Policy product id
56
+ * Unique identifier referencing the policy product.
51
57
  * @type {number}
52
58
  * @memberof PolicyClass
53
59
  */
54
60
  'productId': number;
55
61
  /**
56
- * Policy account code
62
+ * Unique identifier of the account that this object belongs to.
57
63
  * @type {string}
58
64
  * @memberof PolicyClass
59
65
  */
60
66
  'accountCode': string;
61
67
  /**
62
- * Policy status id
68
+ * Policy status. This property shows different numbers depending on the status of a policy: Active = 0, Withdrawn = 1, Terminated = 2, Suspended = 3.
63
69
  * @type {number}
64
70
  * @memberof PolicyClass
65
71
  */
66
- 'statusId': number;
72
+ 'status': number;
67
73
  /**
68
- * Policy versions
74
+ * Policy holder name.
75
+ * @type {string}
76
+ * @memberof PolicyClass
77
+ */
78
+ 'holder': string;
79
+ /**
80
+ * Policy versions.
69
81
  * @type {Array<PolicyVersionClass>}
70
82
  * @memberof PolicyClass
71
83
  */
72
84
  'versions': Array<PolicyVersionClass>;
73
85
  /**
74
- * Product
86
+ * Product.
75
87
  * @type {ProductClass}
76
88
  * @memberof PolicyClass
77
89
  */
78
90
  'product': ProductClass;
79
91
  /**
80
- * Policy start date
92
+ * The date the policy will get started.
81
93
  * @type {string}
82
94
  * @memberof PolicyClass
83
95
  */
84
96
  'policyStartDate': string;
85
97
  /**
86
- * Date created
98
+ * Time at which the object was created.
87
99
  * @type {string}
88
100
  * @memberof PolicyClass
89
101
  */
90
102
  'createdAt': string;
91
103
  /**
92
- * Date updated
104
+ * Time at which the object was updated.
93
105
  * @type {string}
94
106
  * @memberof PolicyClass
95
107
  */
96
108
  'updatedAt': string;
109
+ /**
110
+ * Unique identifier of the lead that this object belongs to.
111
+ * @type {string}
112
+ * @memberof PolicyClass
113
+ */
114
+ 'leadCode': string;
97
115
  }
98
116
 
@@ -5,7 +5,7 @@
5
5
  * The EMIL InsuranceService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -21,25 +21,25 @@
21
21
  */
22
22
  export interface PolicyObjectClass {
23
23
  /**
24
- * Insured object id
24
+ * Unique identifier referencing the insured object.
25
25
  * @type {number}
26
26
  * @memberof PolicyObjectClass
27
27
  */
28
28
  'insuredObjectId': number;
29
29
  /**
30
- * Insured object name
30
+ * Insured object name.
31
31
  * @type {string}
32
32
  * @memberof PolicyObjectClass
33
33
  */
34
34
  'insuredObjectName': string;
35
35
  /**
36
- * Insured object data
36
+ * Insured object data.
37
37
  * @type {object}
38
38
  * @memberof PolicyObjectClass
39
39
  */
40
40
  'data': object;
41
41
  /**
42
- * Insured object summary
42
+ * Insured object summary.
43
43
  * @type {string}
44
44
  * @memberof PolicyObjectClass
45
45
  */
@@ -5,7 +5,7 @@
5
5
  * The EMIL InsuranceService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -21,13 +21,13 @@
21
21
  */
22
22
  export interface PolicyObjectDto {
23
23
  /**
24
- * Insured object id
24
+ * Unique identifier referencing the insured object.
25
25
  * @type {number}
26
26
  * @memberof PolicyObjectDto
27
27
  */
28
28
  'insuredObjectId': number;
29
29
  /**
30
- * Insured object data
30
+ * Insured object data.
31
31
  * @type {object}
32
32
  * @memberof PolicyObjectDto
33
33
  */