@emilgroup/insurance-sdk-node 1.36.0 → 1.37.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 (357) hide show
  1. package/.openapi-generator/FILES +14 -1
  2. package/README.md +2 -2
  3. package/api/lead-versions-api.ts +365 -0
  4. package/api/status-transition-rules-api.ts +803 -0
  5. package/api.ts +4 -0
  6. package/dist/api/default-api.d.ts +66 -0
  7. package/dist/api/default-api.js +200 -0
  8. package/dist/api/insured-object-types-api.d.ts +141 -0
  9. package/dist/api/insured-object-types-api.js +258 -0
  10. package/dist/api/insured-objects-api.d.ts +318 -0
  11. package/dist/api/insured-objects-api.js +539 -0
  12. package/dist/api/lead-statuses-api.d.ts +265 -0
  13. package/dist/api/lead-statuses-api.js +505 -0
  14. package/dist/api/lead-versions-api.d.ts +215 -0
  15. package/dist/api/lead-versions-api.js +361 -0
  16. package/dist/api/leads-api.d.ts +626 -0
  17. package/dist/api/leads-api.js +1024 -0
  18. package/dist/api/named-ranges-api.d.ts +376 -0
  19. package/dist/api/named-ranges-api.js +634 -0
  20. package/dist/api/policies-api.d.ts +722 -0
  21. package/dist/api/policies-api.js +1141 -0
  22. package/dist/api/premium-formulas-api.d.ts +433 -0
  23. package/dist/api/premium-formulas-api.js +727 -0
  24. package/dist/api/product-factors-api.d.ts +493 -0
  25. package/dist/api/product-factors-api.js +788 -0
  26. package/dist/api/product-fields-api.d.ts +477 -0
  27. package/dist/api/product-fields-api.js +757 -0
  28. package/dist/api/product-versions-api.d.ts +189 -0
  29. package/dist/api/product-versions-api.js +346 -0
  30. package/dist/api/products-api.d.ts +485 -0
  31. package/dist/api/products-api.js +772 -0
  32. package/dist/api/status-transition-rules-api.d.ts +451 -0
  33. package/dist/api/status-transition-rules-api.js +739 -0
  34. package/dist/api.d.ts +25 -0
  35. package/dist/api.js +43 -0
  36. package/dist/base.d.ts +78 -0
  37. package/dist/base.js +394 -0
  38. package/dist/common.d.ts +92 -0
  39. package/dist/common.js +277 -0
  40. package/dist/configuration.d.ts +90 -0
  41. package/dist/configuration.js +44 -0
  42. package/dist/index.d.ts +15 -0
  43. package/dist/index.js +36 -0
  44. package/dist/models/activate-policy-request-dto.d.ts +24 -0
  45. package/{models/delete-request-dto.ts → dist/models/activate-policy-request-dto.js} +2 -17
  46. package/dist/models/activate-policy-response-class.d.ts +25 -0
  47. package/dist/models/activate-policy-response-class.js +15 -0
  48. package/dist/models/calculate-custom-premium-request-dto.d.ts +35 -0
  49. package/dist/models/calculate-custom-premium-request-dto.js +20 -0
  50. package/dist/models/calculate-premium-request-dto.d.ts +38 -0
  51. package/dist/models/calculate-premium-request-dto.js +15 -0
  52. package/dist/models/calculate-product-fields-request-dto.d.ts +31 -0
  53. package/dist/models/calculate-product-fields-request-dto.js +15 -0
  54. package/dist/models/clone-product-version-request-dto.d.ts +36 -0
  55. package/dist/models/clone-product-version-request-dto.js +15 -0
  56. package/dist/models/create-account-request-dto.d.ts +120 -0
  57. package/dist/models/create-account-request-dto.js +26 -0
  58. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  59. package/dist/models/create-bank-account-request-dto.js +15 -0
  60. package/dist/models/create-custom-application-request-dto.d.ts +41 -0
  61. package/dist/models/create-custom-application-request-dto.js +20 -0
  62. package/dist/models/create-dummy-policy-request-dto.d.ts +44 -0
  63. package/dist/models/create-dummy-policy-request-dto.js +15 -0
  64. package/dist/models/create-insured-object-request-dto.d.ts +60 -0
  65. package/dist/models/create-insured-object-request-dto.js +15 -0
  66. package/dist/models/create-insured-object-response-class.d.ts +25 -0
  67. package/dist/models/create-insured-object-response-class.js +15 -0
  68. package/dist/models/create-lead-async-response-class.d.ts +24 -0
  69. package/dist/models/create-lead-async-response-class.js +15 -0
  70. package/dist/models/create-lead-policy-request-dto.d.ts +56 -0
  71. package/dist/models/create-lead-policy-request-dto.js +15 -0
  72. package/dist/models/create-lead-request-dto.d.ts +96 -0
  73. package/dist/models/create-lead-request-dto.js +15 -0
  74. package/dist/models/create-lead-response-class.d.ts +25 -0
  75. package/dist/models/create-lead-response-class.js +15 -0
  76. package/dist/models/create-lead-status-request-dto.d.ts +30 -0
  77. package/dist/models/create-lead-status-request-dto.js +15 -0
  78. package/dist/models/create-lead-status-response-class.d.ts +25 -0
  79. package/dist/models/create-lead-status-response-class.js +15 -0
  80. package/dist/models/create-named-range-request-dto.d.ts +55 -0
  81. package/dist/models/create-named-range-request-dto.js +15 -0
  82. package/dist/models/create-named-range-response-class.d.ts +25 -0
  83. package/dist/models/create-named-range-response-class.js +15 -0
  84. package/dist/models/create-named-request-s3-data-class.d.ts +30 -0
  85. package/dist/models/create-named-request-s3-data-class.js +15 -0
  86. package/dist/models/create-payment-method-request-dto.d.ts +31 -0
  87. package/dist/models/create-payment-method-request-dto.js +15 -0
  88. package/dist/models/create-policy-request-dto.d.ts +62 -0
  89. package/dist/models/create-policy-request-dto.js +15 -0
  90. package/dist/models/create-policy-response-class.d.ts +25 -0
  91. package/dist/models/create-policy-response-class.js +15 -0
  92. package/dist/models/create-premium-formula-request-dto.d.ts +105 -0
  93. package/dist/models/create-premium-formula-request-dto.js +39 -0
  94. package/dist/models/create-premium-formula-response-class.d.ts +25 -0
  95. package/dist/models/create-premium-formula-response-class.js +15 -0
  96. package/dist/models/create-product-field-request-dto.d.ts +137 -0
  97. package/dist/models/create-product-field-request-dto.js +20 -0
  98. package/dist/models/create-product-field-response-class.d.ts +25 -0
  99. package/dist/models/create-product-field-response-class.js +15 -0
  100. package/dist/models/create-product-request-dto.d.ts +85 -0
  101. package/dist/models/create-product-request-dto.js +51 -0
  102. package/dist/models/create-product-response-class.d.ts +25 -0
  103. package/dist/models/create-product-response-class.js +15 -0
  104. package/dist/models/create-status-transition-rule-request-dto.d.ts +47 -0
  105. package/dist/models/create-status-transition-rule-request-dto.js +20 -0
  106. package/dist/models/create-status-transition-rule-response-class.d.ts +25 -0
  107. package/dist/models/create-status-transition-rule-response-class.js +15 -0
  108. package/dist/models/csv-product-factor-dto.d.ts +48 -0
  109. package/dist/models/csv-product-factor-dto.js +15 -0
  110. package/dist/models/delete-response-class.d.ts +24 -0
  111. package/dist/models/delete-response-class.js +15 -0
  112. package/dist/models/empty-response-class.d.ts +24 -0
  113. package/dist/models/empty-response-class.js +15 -0
  114. package/dist/models/get-insured-object-response-class.d.ts +25 -0
  115. package/dist/models/get-insured-object-response-class.js +15 -0
  116. package/dist/models/get-lead-response-class.d.ts +25 -0
  117. package/dist/models/get-lead-response-class.js +15 -0
  118. package/dist/models/get-lead-status-response-class.d.ts +25 -0
  119. package/dist/models/get-lead-status-response-class.js +15 -0
  120. package/dist/models/get-lead-version-request-dto.d.ts +30 -0
  121. package/dist/models/get-lead-version-request-dto.js +15 -0
  122. package/dist/models/get-lead-version-response-class.d.ts +25 -0
  123. package/dist/models/get-lead-version-response-class.js +15 -0
  124. package/dist/models/get-named-range-response-class.d.ts +25 -0
  125. package/dist/models/get-named-range-response-class.js +15 -0
  126. package/dist/models/get-policy-data-by-date-request-dto.d.ts +30 -0
  127. package/dist/models/get-policy-data-by-date-request-dto.js +15 -0
  128. package/dist/models/get-policy-request-dto.d.ts +30 -0
  129. package/dist/models/get-policy-request-dto.js +15 -0
  130. package/dist/models/get-policy-response-class.d.ts +25 -0
  131. package/dist/models/get-policy-response-class.js +15 -0
  132. package/dist/models/get-premium-formula-request-dto.d.ts +24 -0
  133. package/dist/models/get-premium-formula-request-dto.js +15 -0
  134. package/dist/models/get-premium-formula-response-class.d.ts +25 -0
  135. package/dist/models/get-premium-formula-response-class.js +15 -0
  136. package/dist/models/get-product-factor-response-class.d.ts +32 -0
  137. package/dist/models/get-product-factor-response-class.js +15 -0
  138. package/dist/models/get-product-factor-value-request-dto.d.ts +42 -0
  139. package/dist/models/get-product-factor-value-request-dto.js +15 -0
  140. package/dist/models/get-product-factor-value-response-class.d.ts +25 -0
  141. package/dist/models/get-product-factor-value-response-class.js +15 -0
  142. package/dist/models/get-product-factors-for-version-request-dto.d.ts +36 -0
  143. package/dist/models/get-product-factors-for-version-request-dto.js +15 -0
  144. package/dist/models/get-product-factors-for-version-response-class.d.ts +25 -0
  145. package/dist/models/get-product-factors-for-version-response-class.js +15 -0
  146. package/dist/models/get-product-field-request-dto.d.ts +24 -0
  147. package/dist/models/get-product-field-request-dto.js +15 -0
  148. package/dist/models/get-product-field-response-class.d.ts +25 -0
  149. package/dist/models/get-product-field-response-class.js +15 -0
  150. package/dist/models/get-product-request-dto.d.ts +42 -0
  151. package/dist/models/get-product-request-dto.js +15 -0
  152. package/dist/models/get-product-response-class.d.ts +25 -0
  153. package/dist/models/get-product-response-class.js +15 -0
  154. package/dist/models/get-product-version-request-dto.d.ts +36 -0
  155. package/dist/models/get-product-version-request-dto.js +15 -0
  156. package/dist/models/get-product-version-response-class.d.ts +25 -0
  157. package/dist/models/get-product-version-response-class.js +15 -0
  158. package/dist/models/get-status-transition-rule-response-class.d.ts +25 -0
  159. package/dist/models/get-status-transition-rule-response-class.js +15 -0
  160. package/dist/models/grouped-product-factor-class.d.ts +37 -0
  161. package/dist/models/grouped-product-factor-class.js +15 -0
  162. package/dist/models/grouped-product-factor-value-class.d.ts +42 -0
  163. package/dist/models/grouped-product-factor-value-class.js +15 -0
  164. package/dist/models/grouped-product-factors-response-class.d.ts +25 -0
  165. package/dist/models/grouped-product-factors-response-class.js +15 -0
  166. package/dist/models/grpc-patch-lead-request-dto.d.ts +102 -0
  167. package/dist/models/grpc-patch-lead-request-dto.js +15 -0
  168. package/dist/models/grpc-update-lead-request-dto.d.ts +102 -0
  169. package/dist/models/grpc-update-lead-request-dto.js +15 -0
  170. package/dist/models/index.d.ts +147 -0
  171. package/dist/models/index.js +163 -0
  172. package/dist/models/inline-response200.d.ts +54 -0
  173. package/dist/models/inline-response200.js +15 -0
  174. package/dist/models/inline-response503.d.ts +54 -0
  175. package/dist/models/inline-response503.js +15 -0
  176. package/dist/models/insured-object-class.d.ts +85 -0
  177. package/dist/models/insured-object-class.js +15 -0
  178. package/dist/models/insured-object-type-class.d.ts +48 -0
  179. package/dist/models/insured-object-type-class.js +15 -0
  180. package/dist/models/invoice-item-class.d.ts +117 -0
  181. package/dist/models/invoice-item-class.js +24 -0
  182. package/dist/models/invoice-status-class.d.ts +47 -0
  183. package/dist/models/invoice-status-class.js +20 -0
  184. package/dist/models/lead-bank-account-class.d.ts +30 -0
  185. package/dist/models/lead-bank-account-class.js +15 -0
  186. package/dist/models/lead-class.d.ts +139 -0
  187. package/dist/models/lead-class.js +15 -0
  188. package/dist/models/lead-status-class.d.ts +36 -0
  189. package/dist/models/lead-status-class.js +15 -0
  190. package/dist/models/list-insured-object-types-response-class.d.ts +31 -0
  191. package/dist/models/list-insured-object-types-response-class.js +15 -0
  192. package/dist/models/list-insured-objects-response-class.d.ts +31 -0
  193. package/dist/models/list-insured-objects-response-class.js +15 -0
  194. package/dist/models/list-lead-statuses-response-class.d.ts +31 -0
  195. package/dist/models/list-lead-statuses-response-class.js +15 -0
  196. package/dist/models/list-lead-versions-response-class.d.ts +31 -0
  197. package/dist/models/list-lead-versions-response-class.js +15 -0
  198. package/dist/models/list-leads-response-class.d.ts +43 -0
  199. package/dist/models/list-leads-response-class.js +15 -0
  200. package/dist/models/list-named-ranges-response-class.d.ts +30 -0
  201. package/dist/models/list-named-ranges-response-class.js +15 -0
  202. package/dist/models/list-policies-response-class.d.ts +43 -0
  203. package/dist/models/list-policies-response-class.js +15 -0
  204. package/dist/models/list-premium-formulas-response-class.d.ts +31 -0
  205. package/dist/models/list-premium-formulas-response-class.js +15 -0
  206. package/dist/models/list-product-factors-response-class.d.ts +31 -0
  207. package/dist/models/list-product-factors-response-class.js +15 -0
  208. package/dist/models/list-product-field-types-response-class.d.ts +31 -0
  209. package/dist/models/list-product-field-types-response-class.js +15 -0
  210. package/dist/models/list-product-fields-response-class.d.ts +31 -0
  211. package/dist/models/list-product-fields-response-class.js +15 -0
  212. package/dist/models/list-products-response-class.d.ts +31 -0
  213. package/dist/models/list-products-response-class.js +15 -0
  214. package/dist/models/list-request-dto.d.ts +54 -0
  215. package/dist/models/list-request-dto.js +15 -0
  216. package/dist/models/list-status-transition-rules-response-class.d.ts +31 -0
  217. package/dist/models/list-status-transition-rules-response-class.js +15 -0
  218. package/dist/models/named-range-class.d.ts +78 -0
  219. package/dist/models/named-range-class.js +15 -0
  220. package/dist/models/patch-lead-request-dto.d.ts +90 -0
  221. package/dist/models/patch-lead-request-dto.js +15 -0
  222. package/dist/models/patch-lead-response-class.d.ts +25 -0
  223. package/dist/models/patch-lead-response-class.js +15 -0
  224. package/dist/models/patch-policy-request-dto.d.ts +56 -0
  225. package/dist/models/patch-policy-request-dto.js +15 -0
  226. package/dist/models/patch-policy-response-class.d.ts +25 -0
  227. package/dist/models/patch-policy-response-class.js +15 -0
  228. package/dist/models/patch-status-transition-rule-request-dto.d.ts +53 -0
  229. package/dist/models/patch-status-transition-rule-request-dto.js +20 -0
  230. package/dist/models/patch-status-transition-rule-response-class.d.ts +25 -0
  231. package/dist/models/patch-status-transition-rule-response-class.js +15 -0
  232. package/dist/models/policy-class.d.ts +128 -0
  233. package/dist/models/policy-class.js +15 -0
  234. package/dist/models/policy-object-class.d.ts +60 -0
  235. package/dist/models/policy-object-class.js +15 -0
  236. package/dist/models/policy-object-dto.d.ts +42 -0
  237. package/dist/models/policy-object-dto.js +15 -0
  238. package/dist/models/policy-premium-class.d.ts +49 -0
  239. package/dist/models/policy-premium-class.js +15 -0
  240. package/dist/models/policy-premium-item-class.d.ts +55 -0
  241. package/dist/models/policy-premium-item-class.js +15 -0
  242. package/dist/models/policy-version-class.d.ts +55 -0
  243. package/dist/models/policy-version-class.js +15 -0
  244. package/dist/models/premium-formula-class.d.ts +96 -0
  245. package/dist/models/premium-formula-class.js +15 -0
  246. package/dist/models/premium-override-dto.d.ts +55 -0
  247. package/dist/models/premium-override-dto.js +27 -0
  248. package/dist/models/premium-override-request-class.d.ts +25 -0
  249. package/dist/models/premium-override-request-class.js +15 -0
  250. package/dist/models/premium-override-request-dto.d.ts +25 -0
  251. package/dist/models/premium-override-request-dto.js +15 -0
  252. package/dist/models/product-class.d.ts +80 -0
  253. package/dist/models/product-class.js +15 -0
  254. package/dist/models/product-factor-class.d.ts +61 -0
  255. package/dist/models/product-factor-class.js +15 -0
  256. package/dist/models/product-factor-for-version-class.d.ts +61 -0
  257. package/dist/models/product-factor-for-version-class.js +15 -0
  258. package/dist/models/product-factor-value-class.d.ts +60 -0
  259. package/dist/models/product-factor-value-class.js +15 -0
  260. package/dist/models/product-factor-value-for-version-class.d.ts +42 -0
  261. package/dist/models/product-factor-value-for-version-class.js +15 -0
  262. package/dist/models/product-field-class.d.ts +132 -0
  263. package/dist/models/product-field-class.js +15 -0
  264. package/dist/models/product-field-type-class.d.ts +48 -0
  265. package/dist/models/product-field-type-class.js +15 -0
  266. package/dist/models/product-version-class.d.ts +61 -0
  267. package/dist/models/product-version-class.js +22 -0
  268. package/dist/models/sepa-dto.d.ts +30 -0
  269. package/dist/models/sepa-dto.js +15 -0
  270. package/dist/models/shared-create-lead-policy-request-dto.d.ts +56 -0
  271. package/dist/models/shared-create-lead-policy-request-dto.js +15 -0
  272. package/dist/models/shared-invoice-class.d.ts +150 -0
  273. package/dist/models/shared-invoice-class.js +30 -0
  274. package/dist/models/shared-lead-policy-object-dto.d.ts +42 -0
  275. package/dist/models/shared-lead-policy-object-dto.js +15 -0
  276. package/dist/models/shared-product-field-class.d.ts +132 -0
  277. package/dist/models/shared-product-field-class.js +15 -0
  278. package/dist/models/shared-update-named-range-request-dto.d.ts +42 -0
  279. package/dist/models/shared-update-named-range-request-dto.js +15 -0
  280. package/dist/models/shared-update-premium-formula-request-dto.d.ts +111 -0
  281. package/dist/models/shared-update-premium-formula-request-dto.js +39 -0
  282. package/dist/models/status-transition-rule-class.d.ts +66 -0
  283. package/dist/models/status-transition-rule-class.js +15 -0
  284. package/dist/models/store-product-factors-request-dto.d.ts +31 -0
  285. package/dist/models/store-product-factors-request-dto.js +15 -0
  286. package/dist/models/store-product-factors-response-class.d.ts +25 -0
  287. package/dist/models/store-product-factors-response-class.js +15 -0
  288. package/dist/models/suspend-policy-request-dto.d.ts +24 -0
  289. package/dist/models/suspend-policy-request-dto.js +15 -0
  290. package/dist/models/suspend-policy-response-class.d.ts +25 -0
  291. package/dist/models/suspend-policy-response-class.js +15 -0
  292. package/dist/models/swap-premium-formulas-order-request-dto.d.ts +30 -0
  293. package/dist/models/swap-premium-formulas-order-request-dto.js +15 -0
  294. package/dist/models/terminate-policy-request-dto.d.ts +44 -0
  295. package/dist/models/terminate-policy-request-dto.js +29 -0
  296. package/dist/models/terminate-policy-response-class.d.ts +25 -0
  297. package/dist/models/terminate-policy-response-class.js +15 -0
  298. package/dist/models/timeslice-class.d.ts +62 -0
  299. package/dist/models/timeslice-class.js +15 -0
  300. package/dist/models/update-insured-object-request-dto.d.ts +66 -0
  301. package/dist/models/update-insured-object-request-dto.js +15 -0
  302. package/dist/models/update-lead-request-dto.d.ts +90 -0
  303. package/dist/models/update-lead-request-dto.js +15 -0
  304. package/dist/models/update-lead-response-class.d.ts +25 -0
  305. package/dist/models/update-lead-response-class.js +15 -0
  306. package/dist/models/update-named-range-request-dto.d.ts +36 -0
  307. package/dist/models/update-named-range-request-dto.js +15 -0
  308. package/dist/models/update-named-range-response-class.d.ts +25 -0
  309. package/dist/models/update-named-range-response-class.js +15 -0
  310. package/dist/models/update-policy-request-dto.d.ts +76 -0
  311. package/dist/models/update-policy-request-dto.js +23 -0
  312. package/dist/models/update-policy-response-class.d.ts +25 -0
  313. package/dist/models/update-policy-response-class.js +15 -0
  314. package/dist/models/update-premium-formula-request-dto.d.ts +105 -0
  315. package/dist/models/update-premium-formula-request-dto.js +39 -0
  316. package/dist/models/update-premium-formula-response-class.d.ts +25 -0
  317. package/dist/models/update-premium-formula-response-class.js +15 -0
  318. package/dist/models/update-product-field-request-dto.d.ts +143 -0
  319. package/dist/models/update-product-field-request-dto.js +20 -0
  320. package/dist/models/update-product-field-response-class.d.ts +25 -0
  321. package/dist/models/update-product-field-response-class.js +15 -0
  322. package/dist/models/update-product-request-dto.d.ts +42 -0
  323. package/dist/models/update-product-request-dto.js +15 -0
  324. package/dist/models/update-product-response-class.d.ts +25 -0
  325. package/dist/models/update-product-response-class.js +15 -0
  326. package/dist/models/update-product-version-request-dto.d.ts +43 -0
  327. package/dist/models/update-product-version-request-dto.js +22 -0
  328. package/dist/models/update-product-version-response-class.d.ts +25 -0
  329. package/dist/models/update-product-version-response-class.js +15 -0
  330. package/dist/models/update-status-transition-rule-request-dto.d.ts +53 -0
  331. package/dist/models/update-status-transition-rule-request-dto.js +20 -0
  332. package/dist/models/update-status-transition-rule-response-class.d.ts +25 -0
  333. package/dist/models/update-status-transition-rule-response-class.js +15 -0
  334. package/dist/models/uploaded-document-dto.d.ts +24 -0
  335. package/dist/models/uploaded-document-dto.js +15 -0
  336. package/dist/models/validate-product-factors-request-dto.d.ts +31 -0
  337. package/dist/models/validate-product-factors-request-dto.js +15 -0
  338. package/dist/models/withdraw-policy-response-class.d.ts +25 -0
  339. package/dist/models/withdraw-policy-response-class.js +15 -0
  340. package/models/create-status-transition-rule-request-dto.ts +56 -0
  341. package/models/create-status-transition-rule-response-class.ts +31 -0
  342. package/models/get-lead-version-request-dto.ts +36 -0
  343. package/models/get-lead-version-response-class.ts +31 -0
  344. package/models/get-status-transition-rule-response-class.ts +31 -0
  345. package/models/index.ts +12 -1
  346. package/models/lead-class.ts +6 -0
  347. package/models/list-lead-versions-response-class.ts +37 -0
  348. package/models/list-status-transition-rules-response-class.ts +37 -0
  349. package/models/patch-policy-request-dto.ts +6 -0
  350. package/models/patch-status-transition-rule-request-dto.ts +62 -0
  351. package/models/patch-status-transition-rule-response-class.ts +31 -0
  352. package/models/product-field-class.ts +1 -1
  353. package/models/shared-product-field-class.ts +1 -1
  354. package/models/status-transition-rule-class.ts +72 -0
  355. package/models/update-status-transition-rule-request-dto.ts +62 -0
  356. package/models/update-status-transition-rule-response-class.ts +31 -0
  357. package/package.json +1 -1
@@ -0,0 +1,90 @@
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 { CreateAccountRequestDto } from './create-account-request-dto';
13
+ import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
14
+ import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
15
+ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
16
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
17
+ import { UploadedDocumentDto } from './uploaded-document-dto';
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateLeadRequestDto
22
+ */
23
+ export interface UpdateLeadRequestDto {
24
+ /**
25
+ * The product version id of the product version to be used for the lead. The product version id will be validated if the \'validate\' flag is set to true.
26
+ * @type {number}
27
+ * @memberof UpdateLeadRequestDto
28
+ */
29
+ 'productVersionId'?: number;
30
+ /**
31
+ * Account object. The create lead request should either contain accountCode or account. The account content will be validated if the \'validate\' flag is set to true. an empty object is required if \'validate flag is set to false.
32
+ * @type {CreateAccountRequestDto}
33
+ * @memberof UpdateLeadRequestDto
34
+ */
35
+ 'account': CreateAccountRequestDto;
36
+ /**
37
+ * The policy object contains necessary information to create a policy. The Policy content will be validated if the \'validate\' flag is set to true
38
+ * @type {CreateLeadPolicyRequestDto}
39
+ * @memberof UpdateLeadRequestDto
40
+ */
41
+ 'policy': CreateLeadPolicyRequestDto;
42
+ /**
43
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
44
+ * @type {string}
45
+ * @memberof UpdateLeadRequestDto
46
+ */
47
+ 'status': string;
48
+ /**
49
+ * Bank account details, to be used for direct debit payments, the created bank account will be attached to the lead for later use, such as paying claims. The bank account content will be validated if the \'validate\' flag is set to true.
50
+ * @type {CreateBankAccountRequestDto}
51
+ * @memberof UpdateLeadRequestDto
52
+ */
53
+ 'bankAccount'?: CreateBankAccountRequestDto;
54
+ /**
55
+ * Optional custom data for the lead. This field is useful for edge cases where the lead requires additional data for the risk carrier, such as creating an application in the risk carrier platform or performing a premium calculation. The custom data should include three main entities: \'data\', \'provider\', and \'productCode\'. The \'data\' entity contains information used in the risk carrier platform, the \'provider\' field contains the name of the provider (usually the risk carrier\'s name), the provider must be supported in EMIL, The \'productCode\' field contains the product code in EMIL
56
+ * @type {object}
57
+ * @memberof UpdateLeadRequestDto
58
+ */
59
+ 'customData'?: object;
60
+ /**
61
+ * Used to pass pre-uploaded documents to the lead. By providing the codes of the uploaded documents, they will be attached to the lead. The uploaded document content will be validated if the \'validate\' flag is set to true.
62
+ * @type {UploadedDocumentDto}
63
+ * @memberof UpdateLeadRequestDto
64
+ */
65
+ 'uploadedDocument'?: UploadedDocumentDto;
66
+ /**
67
+ * Premium Override is utilized to override the premium calculation. The premium formulas will be disregarded when this object is present. The premium override content will be validated if the \'validate\' flag is set to true.
68
+ * @type {Array<PremiumOverrideRequestDto>}
69
+ * @memberof UpdateLeadRequestDto
70
+ */
71
+ 'premiumOverride'?: Array<PremiumOverrideRequestDto>;
72
+ /**
73
+ * The account code is used in cases where the account has been created before the lead. The create lead request should include either the \'accountCode\' or \'account\'. The account code will be validated if the \'validate\' flag is set to true.
74
+ * @type {string}
75
+ * @memberof UpdateLeadRequestDto
76
+ */
77
+ 'accountCode'?: string;
78
+ /**
79
+ * Payment method, used to for payment method support, such as SEPA, invoice, etc. The payment method content will be validated if the \'validate\' flag is set to true.
80
+ * @type {CreatePaymentMethodRequestDto}
81
+ * @memberof UpdateLeadRequestDto
82
+ */
83
+ 'paymentMethod'?: CreatePaymentMethodRequestDto;
84
+ /**
85
+ * The validation indicator, with a default value of true, serves as a toggle. When set to false, it allows the bypassing of validation—a useful option for saving leads for later processing. This feature provides flexibility by enabling users to choose whether to enforce validation checks during the current stage or defer them for a subsequent time.
86
+ * @type {boolean}
87
+ * @memberof UpdateLeadRequestDto
88
+ */
89
+ 'validate'?: boolean;
90
+ }
@@ -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 { LeadClass } from './lead-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateLeadResponseClass
17
+ */
18
+ export interface UpdateLeadResponseClass {
19
+ /**
20
+ * The list of leads.
21
+ * @type {LeadClass}
22
+ * @memberof UpdateLeadResponseClass
23
+ */
24
+ 'lead': LeadClass;
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 });
@@ -0,0 +1,36 @@
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 UpdateNamedRangeRequestDto
16
+ */
17
+ export interface UpdateNamedRangeRequestDto {
18
+ /**
19
+ * New name of the named range.
20
+ * @type {string}
21
+ * @memberof UpdateNamedRangeRequestDto
22
+ */
23
+ 'name': string;
24
+ /**
25
+ * true if the named range table has the header row or false otherwise.
26
+ * @type {boolean}
27
+ * @memberof UpdateNamedRangeRequestDto
28
+ */
29
+ 'hasHeader': boolean;
30
+ /**
31
+ * number of header rows (rows to skip) in the named range table
32
+ * @type {number}
33
+ * @memberof UpdateNamedRangeRequestDto
34
+ */
35
+ 'headerRows'?: number;
36
+ }
@@ -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 { NamedRangeClass } from './named-range-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateNamedRangeResponseClass
17
+ */
18
+ export interface UpdateNamedRangeResponseClass {
19
+ /**
20
+ * Named range.
21
+ * @type {NamedRangeClass}
22
+ * @memberof UpdateNamedRangeResponseClass
23
+ */
24
+ 'namedRange': NamedRangeClass;
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 });
@@ -0,0 +1,76 @@
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 { PolicyObjectDto } from './policy-object-dto';
13
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface UpdatePolicyRequestDto
18
+ */
19
+ export interface UpdatePolicyRequestDto {
20
+ /**
21
+ * Policy objects
22
+ * @type {Array<PolicyObjectDto>}
23
+ * @memberof UpdatePolicyRequestDto
24
+ */
25
+ 'policyObjects': Array<PolicyObjectDto>;
26
+ /**
27
+ * Date from which the policy should be updated. This will create a new timeline starting from this date.
28
+ * @type {string}
29
+ * @memberof UpdatePolicyRequestDto
30
+ */
31
+ 'from': string;
32
+ /**
33
+ * Date to which the policy should be updated. This will create a new timeline finishing at this date.
34
+ * @type {string}
35
+ * @memberof UpdatePolicyRequestDto
36
+ */
37
+ 'to'?: string;
38
+ /**
39
+ * Policy status.
40
+ * @type {string}
41
+ * @memberof UpdatePolicyRequestDto
42
+ */
43
+ 'status'?: UpdatePolicyRequestDtoStatusEnum;
44
+ /**
45
+ * Premium Override
46
+ * @type {PremiumOverrideRequestDto}
47
+ * @memberof UpdatePolicyRequestDto
48
+ */
49
+ 'premiumOverride'?: PremiumOverrideRequestDto;
50
+ /**
51
+ * Unique identifier of the lead that this object belongs to.
52
+ * @type {string}
53
+ * @memberof UpdatePolicyRequestDto
54
+ */
55
+ 'leadCode'?: string;
56
+ /**
57
+ * Unique identifier of the policy that this object belongs to.
58
+ * @type {string}
59
+ * @memberof UpdatePolicyRequestDto
60
+ */
61
+ 'policyNumber'?: string;
62
+ /**
63
+ * Policy status transition reason.
64
+ * @type {string}
65
+ * @memberof UpdatePolicyRequestDto
66
+ */
67
+ 'reason'?: string;
68
+ }
69
+ export declare const UpdatePolicyRequestDtoStatusEnum: {
70
+ readonly Active: "ACTIVE";
71
+ readonly Withdrawn: "WITHDRAWN";
72
+ readonly Terminated: "TERMINATED";
73
+ readonly Suspended: "SUSPENDED";
74
+ readonly Pending: "PENDING";
75
+ };
76
+ export type UpdatePolicyRequestDtoStatusEnum = typeof UpdatePolicyRequestDtoStatusEnum[keyof typeof UpdatePolicyRequestDtoStatusEnum];
@@ -0,0 +1,23 @@
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 });
16
+ exports.UpdatePolicyRequestDtoStatusEnum = void 0;
17
+ exports.UpdatePolicyRequestDtoStatusEnum = {
18
+ Active: 'ACTIVE',
19
+ Withdrawn: 'WITHDRAWN',
20
+ Terminated: 'TERMINATED',
21
+ Suspended: 'SUSPENDED',
22
+ Pending: 'PENDING'
23
+ };
@@ -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 UpdatePolicyResponseClass
17
+ */
18
+ export interface UpdatePolicyResponseClass {
19
+ /**
20
+ * Policy
21
+ * @type {PolicyClass}
22
+ * @memberof UpdatePolicyResponseClass
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 });
@@ -0,0 +1,105 @@
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 UpdatePremiumFormulaRequestDto
16
+ */
17
+ export interface UpdatePremiumFormulaRequestDto {
18
+ /**
19
+ * Unique identifier referencing the product version.
20
+ * @type {number}
21
+ * @memberof UpdatePremiumFormulaRequestDto
22
+ */
23
+ 'productVersionId': number;
24
+ /**
25
+ * Premium group name.
26
+ * @type {string}
27
+ * @memberof UpdatePremiumFormulaRequestDto
28
+ */
29
+ 'group': string;
30
+ /**
31
+ * Premium name.
32
+ * @type {string}
33
+ * @memberof UpdatePremiumFormulaRequestDto
34
+ */
35
+ 'name': string;
36
+ /**
37
+ * Premium expression.
38
+ * @type {string}
39
+ * @memberof UpdatePremiumFormulaRequestDto
40
+ */
41
+ 'expression': string;
42
+ /**
43
+ * Type of Premium that is based on time.
44
+ * @type {string}
45
+ * @memberof UpdatePremiumFormulaRequestDto
46
+ */
47
+ 'type': UpdatePremiumFormulaRequestDtoTypeEnum;
48
+ /**
49
+ * This is unit of Premium. Premium units are determined based on oneTimePayment, day, week, month and year.
50
+ * @type {string}
51
+ * @memberof UpdatePremiumFormulaRequestDto
52
+ */
53
+ 'unit': UpdatePremiumFormulaRequestDtoUnitEnum;
54
+ /**
55
+ * Type of Premium item.
56
+ * @type {string}
57
+ * @memberof UpdatePremiumFormulaRequestDto
58
+ */
59
+ 'itemType'?: UpdatePremiumFormulaRequestDtoItemTypeEnum;
60
+ /**
61
+ * Visibility of Premium item.
62
+ * @type {string}
63
+ * @memberof UpdatePremiumFormulaRequestDto
64
+ */
65
+ 'visibility'?: UpdatePremiumFormulaRequestDtoVisibilityEnum;
66
+ /**
67
+ * Name of the variable this Premium item value is referenced by in the other items formulas.
68
+ * @type {string}
69
+ * @memberof UpdatePremiumFormulaRequestDto
70
+ */
71
+ 'variableName'?: string;
72
+ /**
73
+ * order index for the Premium item, used to define the order the items are calculated in.
74
+ * @type {number}
75
+ * @memberof UpdatePremiumFormulaRequestDto
76
+ */
77
+ 'order': number;
78
+ }
79
+ export declare const UpdatePremiumFormulaRequestDtoTypeEnum: {
80
+ readonly Time: "time";
81
+ };
82
+ export type UpdatePremiumFormulaRequestDtoTypeEnum = typeof UpdatePremiumFormulaRequestDtoTypeEnum[keyof typeof UpdatePremiumFormulaRequestDtoTypeEnum];
83
+ export declare const UpdatePremiumFormulaRequestDtoUnitEnum: {
84
+ readonly Day: "day";
85
+ readonly Week: "week";
86
+ readonly Month: "month";
87
+ readonly Quarter: "quarter";
88
+ readonly Year: "year";
89
+ readonly OneTimePayment: "oneTimePayment";
90
+ };
91
+ export type UpdatePremiumFormulaRequestDtoUnitEnum = typeof UpdatePremiumFormulaRequestDtoUnitEnum[keyof typeof UpdatePremiumFormulaRequestDtoUnitEnum];
92
+ export declare const UpdatePremiumFormulaRequestDtoItemTypeEnum: {
93
+ readonly Netto: "netto";
94
+ readonly Commission: "commission";
95
+ readonly Tax: "tax";
96
+ readonly Discount: "discount";
97
+ readonly Brutto: "brutto";
98
+ readonly Other: "other";
99
+ };
100
+ export type UpdatePremiumFormulaRequestDtoItemTypeEnum = typeof UpdatePremiumFormulaRequestDtoItemTypeEnum[keyof typeof UpdatePremiumFormulaRequestDtoItemTypeEnum];
101
+ export declare const UpdatePremiumFormulaRequestDtoVisibilityEnum: {
102
+ readonly Public: "public";
103
+ readonly Internal: "internal";
104
+ };
105
+ export type UpdatePremiumFormulaRequestDtoVisibilityEnum = typeof UpdatePremiumFormulaRequestDtoVisibilityEnum[keyof typeof UpdatePremiumFormulaRequestDtoVisibilityEnum];
@@ -0,0 +1,39 @@
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 });
16
+ exports.UpdatePremiumFormulaRequestDtoVisibilityEnum = exports.UpdatePremiumFormulaRequestDtoItemTypeEnum = exports.UpdatePremiumFormulaRequestDtoUnitEnum = exports.UpdatePremiumFormulaRequestDtoTypeEnum = void 0;
17
+ exports.UpdatePremiumFormulaRequestDtoTypeEnum = {
18
+ Time: 'time'
19
+ };
20
+ exports.UpdatePremiumFormulaRequestDtoUnitEnum = {
21
+ Day: 'day',
22
+ Week: 'week',
23
+ Month: 'month',
24
+ Quarter: 'quarter',
25
+ Year: 'year',
26
+ OneTimePayment: 'oneTimePayment'
27
+ };
28
+ exports.UpdatePremiumFormulaRequestDtoItemTypeEnum = {
29
+ Netto: 'netto',
30
+ Commission: 'commission',
31
+ Tax: 'tax',
32
+ Discount: 'discount',
33
+ Brutto: 'brutto',
34
+ Other: 'other'
35
+ };
36
+ exports.UpdatePremiumFormulaRequestDtoVisibilityEnum = {
37
+ Public: 'public',
38
+ Internal: 'internal'
39
+ };
@@ -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 { PremiumFormulaClass } from './premium-formula-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdatePremiumFormulaResponseClass
17
+ */
18
+ export interface UpdatePremiumFormulaResponseClass {
19
+ /**
20
+ * Premium formula.
21
+ * @type {PremiumFormulaClass}
22
+ * @memberof UpdatePremiumFormulaResponseClass
23
+ */
24
+ 'premiumFormula': PremiumFormulaClass;
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 });