@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
@@ -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
@@ -12,48 +12,18 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { CreatePremiumFormulaRequestDto } from '../models';
16
- import { CreatePremiumFormulaResponseClass } from '../models';
17
- import { CreateProductFieldRequestDto } from '../models';
18
- import { CreateProductFieldResponseClass } from '../models';
19
15
  import { CreateProductRequestDto } from '../models';
20
16
  import { CreateProductResponseClass } from '../models';
21
- import { GetPremiumFormulaResponseClass } from '../models';
22
- import { GetProductFactorResponseClass } from '../models';
23
- import { GetProductFactorValueResponseClass } from '../models';
24
- import { GetProductFactorsForVersionResponseClass } from '../models';
25
- import { GetProductFieldResponseClass } from '../models';
17
+ import { DeleteResponseClass } from '../models';
26
18
  import { GetProductResponseClass } from '../models';
27
- import { GetProductVersionResponseClass } from '../models';
28
- import { GroupedProductFactorsResponseClass } from '../models';
29
- import { ListPremiumFormulasResponseClass } from '../models';
30
- import { ListProductFactorsResponseClass } from '../models';
31
- import { ListProductFieldTypesResponseClass } from '../models';
32
- import { ListProductFieldsResponseClass } from '../models';
33
19
  import { ListProductsResponseClass } from '../models';
34
- import { StoreProductFactorsResponseClass } from '../models';
35
- import { UpdatePremiumFormulaRequestDto } from '../models';
36
- import { UpdatePremiumFormulaResponseClass } from '../models';
37
- import { UpdateProductFieldRequestDto } from '../models';
38
- import { UpdateProductFieldResponseClass } from '../models';
39
20
  import { UpdateProductRequestDto } from '../models';
40
21
  import { UpdateProductResponseClass } from '../models';
41
- import { UpdateProductVersionRequestDto } from '../models';
42
- import { UpdateProductVersionResponseClass } from '../models';
43
22
  /**
44
23
  * ProductsApi - axios parameter creator
45
24
  * @export
46
25
  */
47
26
  export declare const ProductsApiAxiosParamCreator: (configuration?: Configuration) => {
48
- /**
49
- * Creates a premium formula.
50
- * @summary Create the premium formula
51
- * @param {CreatePremiumFormulaRequestDto} createPremiumFormulaRequestDto
52
- * @param {string} [authorization] Bearer Token
53
- * @param {*} [options] Override http request option.
54
- * @throws {RequiredError}
55
- */
56
- createPremiumFormula: (createPremiumFormulaRequestDto: CreatePremiumFormulaRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
57
27
  /**
58
28
  * Create a blank product. The product cannot be used as long as it is missing product factors, insured objects and premium formulas.
59
29
  * @summary Create the product
@@ -63,24 +33,6 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
63
33
  * @throws {RequiredError}
64
34
  */
65
35
  createProduct: (createProductRequestDto: CreateProductRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
- /**
67
- * Create a product field in the database.
68
- * @summary Create the product field
69
- * @param {CreateProductFieldRequestDto} createProductFieldRequestDto
70
- * @param {string} [authorization] Bearer Token
71
- * @param {*} [options] Override http request option.
72
- * @throws {RequiredError}
73
- */
74
- createProductField: (createProductFieldRequestDto: CreateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
75
- /**
76
- * Permanently deletes the premium formula. Supply the unique id that was returned when you created the premium formula and this will delete it.
77
- * @summary Delete the premium formula
78
- * @param {number} id
79
- * @param {string} [authorization] Bearer Token
80
- * @param {*} [options] Override http request option.
81
- * @throws {RequiredError}
82
- */
83
- deletePremiumFormula: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
84
36
  /**
85
37
  * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
86
38
  * @summary Delete the product
@@ -90,25 +42,6 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
90
42
  * @throws {RequiredError}
91
43
  */
92
44
  deleteProduct: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
93
- /**
94
- * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
95
- * @summary Delete the product
96
- * @param {string} id
97
- * @param {string} [authorization] Bearer Token
98
- * @param {*} [options] Override http request option.
99
- * @throws {RequiredError}
100
- */
101
- deleteProductField: (id: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
102
- /**
103
- * Retrieves the details of the premium formula that was previously created. Supply the unique premium formula id that was returned when you created it and Emil Api will return the corresponding premium formula information.
104
- * @summary Retrieve the premium formula
105
- * @param {string} id
106
- * @param {number} id2 Product formula id
107
- * @param {string} [authorization] Bearer Token
108
- * @param {*} [options] Override http request option.
109
- * @throws {RequiredError}
110
- */
111
- getPremiumFormula: (id: string, id2: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
112
45
  /**
113
46
  * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
114
47
  * @summary Retrieve the product
@@ -120,149 +53,20 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
120
53
  * @throws {RequiredError}
121
54
  */
122
55
  getProductByCode: (code: string, id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
123
- /**
124
- * Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
125
- * @summary Retrieve the product factor
126
- * @param {number} id
127
- * @param {number} id2 Product factor id
128
- * @param {string} [authorization] Bearer Token
129
- * @param {string} [expand] Fields to expand response by
130
- * @param {*} [options] Override http request option.
131
- * @throws {RequiredError}
132
- */
133
- getProductFactor: (id: number, id2: number, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
134
- /**
135
- * Get the value corresponding to a specific product factor.
136
- * @summary Get product factor value
137
- * @param {number} productVersionId Product Version Id
138
- * @param {string} label Product factor label
139
- * @param {string} key Key for the product factor value
140
- * @param {string} name Name for the product factor value
141
- * @param {string} [authorization] Bearer Token
142
- * @param {*} [options] Override http request option.
143
- * @throws {RequiredError}
144
- */
145
- getProductFactorValue: (productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
146
- /**
147
- * Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
148
- * @summary Returns all product factors for the product version with all without values
149
- * @param {number} productVersionId Product Version Id
150
- * @param {string} values Which values to return for every factor (None or Short for short value lists only or All)
151
- * @param {string} [authorization] Bearer Token
152
- * @param {boolean} [forPublic] true if this is a call from PublivAPI or false otherwise (default)
153
- * @param {*} [options] Override http request option.
154
- * @throws {RequiredError}
155
- */
156
- getProductFactorsForVersion: (productVersionId: number, values: string, authorization?: string, forPublic?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
157
- /**
158
- * Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
159
- * @summary Retrieve the product field
160
- * @param {string} id
161
- * @param {string} [authorization] Bearer Token
162
- * @param {*} [options] Override http request option.
163
- * @throws {RequiredError}
164
- */
165
- getProductField: (id: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
166
- /**
167
- * Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
168
- * @summary Retrieve the product version
169
- * @param {string} id
170
- * @param {number} id2 Product version id
171
- * @param {string} [authorization] Bearer Token
172
- * @param {*} [options] Override http request option.
173
- * @throws {RequiredError}
174
- */
175
- getProductVersion: (id: string, id2: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
176
- /**
177
- * Returns a list of premium formulas you have previously created. The premium formulas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
178
- * @summary List premium formulas
179
- * @param {string} [authorization] Bearer Token
180
- * @param {number} [pageSize] Page size
181
- * @param {string} [pageToken] Page token
182
- * @param {string} [filter] List filter
183
- * @param {string} [search] Search query
184
- * @param {string} [order] Ordering criteria
185
- * @param {string} [expand] Extra fields to fetch
186
- * @param {*} [options] Override http request option.
187
- * @throws {RequiredError}
188
- */
189
- listPremiumFormulas: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
190
- /**
191
- * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
192
- * @summary List product factors
193
- * @param {string} [authorization] Bearer Token
194
- * @param {number} [pageSize] Page size
195
- * @param {string} [pageToken] Page token
196
- * @param {string} [filter] List filter
197
- * @param {string} [search] Search query
198
- * @param {string} [order] Ordering criteria
199
- * @param {string} [expand] Extra fields to fetch
200
- * @param {*} [options] Override http request option.
201
- * @throws {RequiredError}
202
- */
203
- listProductFactors: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
204
- /**
205
- * Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
206
- * @summary List product field types
207
- * @param {string} [authorization] Bearer Token
208
- * @param {number} [pageSize] Page size
209
- * @param {string} [pageToken] Page token
210
- * @param {string} [filter] List filter
211
- * @param {string} [search] Search query
212
- * @param {string} [order] Ordering criteria
213
- * @param {string} [expand] Extra fields to fetch
214
- * @param {*} [options] Override http request option.
215
- * @throws {RequiredError}
216
- */
217
- listProductFieldTypes: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
218
- /**
219
- * Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
220
- * @summary List product fields
221
- * @param {string} [authorization] Bearer Token
222
- * @param {number} [pageSize] Page size
223
- * @param {string} [pageToken] Page token
224
- * @param {string} [filter] List filter
225
- * @param {string} [search] Search query
226
- * @param {string} [order] Ordering criteria
227
- * @param {string} [expand] Extra fields to fetch
228
- * @param {*} [options] Override http request option.
229
- * @throws {RequiredError}
230
- */
231
- listProductFields: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
232
56
  /**
233
57
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
234
58
  * @summary List products
235
59
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
236
- * @param {number} [pageSize] Page size
237
- * @param {string} [pageToken] Page token
60
+ * @param {number} [pageSize] Page size.
61
+ * @param {string} [pageToken] Page token.
238
62
  * @param {string} [filter] List filter
239
- * @param {string} [search] Search query
240
- * @param {string} [order] Ordering criteria
241
- * @param {string} [expand] Extra fields to fetch
63
+ * @param {string} [search] Search query.
64
+ * @param {string} [order] Ordering criteria.
65
+ * @param {string} [expand] Extra fields to fetch.
242
66
  * @param {*} [options] Override http request option.
243
67
  * @throws {RequiredError}
244
68
  */
245
69
  listProducts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
246
- /**
247
- * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
248
- * @summary Upload product factors
249
- * @param {string} [authorization] Bearer Token
250
- * @param {number} [productVersionId]
251
- * @param {any} [factors]
252
- * @param {*} [options] Override http request option.
253
- * @throws {RequiredError}
254
- */
255
- storeProductFactors: (authorization?: string, productVersionId?: number, factors?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
256
- /**
257
- * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
258
- * @summary Update the premium formula
259
- * @param {number} id
260
- * @param {UpdatePremiumFormulaRequestDto} updatePremiumFormulaRequestDto
261
- * @param {string} [authorization] Bearer Token
262
- * @param {*} [options] Override http request option.
263
- * @throws {RequiredError}
264
- */
265
- updatePremiumFormula: (id: number, updatePremiumFormulaRequestDto: UpdatePremiumFormulaRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
266
70
  /**
267
71
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
268
72
  * @summary Update the product
@@ -273,50 +77,12 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
273
77
  * @throws {RequiredError}
274
78
  */
275
79
  updateProduct: (id: number, updateProductRequestDto: UpdateProductRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
276
- /**
277
- * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
278
- * @summary Update the product
279
- * @param {string} id
280
- * @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
281
- * @param {string} [authorization] Bearer Token
282
- * @param {*} [options] Override http request option.
283
- * @throws {RequiredError}
284
- */
285
- updateProductField: (id: string, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
286
- /**
287
- * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
288
- * @summary Update the product version
289
- * @param {number} id
290
- * @param {UpdateProductVersionRequestDto} updateProductVersionRequestDto
291
- * @param {string} [authorization] Bearer Token
292
- * @param {*} [options] Override http request option.
293
- * @throws {RequiredError}
294
- */
295
- updateProductVersion: (id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
296
- /**
297
- * Validate a CSV file containing all product factors. The columns must be in the following order: group,label,key,name,value.
298
- * @summary Validate product factors
299
- * @param {string} [authorization] Bearer Token
300
- * @param {any} [factors]
301
- * @param {*} [options] Override http request option.
302
- * @throws {RequiredError}
303
- */
304
- validateProductFactors: (authorization?: string, factors?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
305
80
  };
306
81
  /**
307
82
  * ProductsApi - functional programming interface
308
83
  * @export
309
84
  */
310
85
  export declare const ProductsApiFp: (configuration?: Configuration) => {
311
- /**
312
- * Creates a premium formula.
313
- * @summary Create the premium formula
314
- * @param {CreatePremiumFormulaRequestDto} createPremiumFormulaRequestDto
315
- * @param {string} [authorization] Bearer Token
316
- * @param {*} [options] Override http request option.
317
- * @throws {RequiredError}
318
- */
319
- createPremiumFormula(createPremiumFormulaRequestDto: CreatePremiumFormulaRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePremiumFormulaResponseClass>>;
320
86
  /**
321
87
  * Create a blank product. The product cannot be used as long as it is missing product factors, insured objects and premium formulas.
322
88
  * @summary Create the product
@@ -326,24 +92,6 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
326
92
  * @throws {RequiredError}
327
93
  */
328
94
  createProduct(createProductRequestDto: CreateProductRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProductResponseClass>>;
329
- /**
330
- * Create a product field in the database.
331
- * @summary Create the product field
332
- * @param {CreateProductFieldRequestDto} createProductFieldRequestDto
333
- * @param {string} [authorization] Bearer Token
334
- * @param {*} [options] Override http request option.
335
- * @throws {RequiredError}
336
- */
337
- createProductField(createProductFieldRequestDto: CreateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProductFieldResponseClass>>;
338
- /**
339
- * Permanently deletes the premium formula. Supply the unique id that was returned when you created the premium formula and this will delete it.
340
- * @summary Delete the premium formula
341
- * @param {number} id
342
- * @param {string} [authorization] Bearer Token
343
- * @param {*} [options] Override http request option.
344
- * @throws {RequiredError}
345
- */
346
- deletePremiumFormula(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
347
95
  /**
348
96
  * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
349
97
  * @summary Delete the product
@@ -352,26 +100,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
352
100
  * @param {*} [options] Override http request option.
353
101
  * @throws {RequiredError}
354
102
  */
355
- deleteProduct(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
356
- /**
357
- * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
358
- * @summary Delete the product
359
- * @param {string} id
360
- * @param {string} [authorization] Bearer Token
361
- * @param {*} [options] Override http request option.
362
- * @throws {RequiredError}
363
- */
364
- deleteProductField(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
365
- /**
366
- * Retrieves the details of the premium formula that was previously created. Supply the unique premium formula id that was returned when you created it and Emil Api will return the corresponding premium formula information.
367
- * @summary Retrieve the premium formula
368
- * @param {string} id
369
- * @param {number} id2 Product formula id
370
- * @param {string} [authorization] Bearer Token
371
- * @param {*} [options] Override http request option.
372
- * @throws {RequiredError}
373
- */
374
- getPremiumFormula(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPremiumFormulaResponseClass>>;
103
+ deleteProduct(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
375
104
  /**
376
105
  * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
377
106
  * @summary Retrieve the product
@@ -383,149 +112,20 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
383
112
  * @throws {RequiredError}
384
113
  */
385
114
  getProductByCode(code: string, id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductResponseClass>>;
386
- /**
387
- * Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
388
- * @summary Retrieve the product factor
389
- * @param {number} id
390
- * @param {number} id2 Product factor id
391
- * @param {string} [authorization] Bearer Token
392
- * @param {string} [expand] Fields to expand response by
393
- * @param {*} [options] Override http request option.
394
- * @throws {RequiredError}
395
- */
396
- getProductFactor(id: number, id2: number, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFactorResponseClass>>;
397
- /**
398
- * Get the value corresponding to a specific product factor.
399
- * @summary Get product factor value
400
- * @param {number} productVersionId Product Version Id
401
- * @param {string} label Product factor label
402
- * @param {string} key Key for the product factor value
403
- * @param {string} name Name for the product factor value
404
- * @param {string} [authorization] Bearer Token
405
- * @param {*} [options] Override http request option.
406
- * @throws {RequiredError}
407
- */
408
- getProductFactorValue(productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFactorValueResponseClass>>;
409
- /**
410
- * Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
411
- * @summary Returns all product factors for the product version with all without values
412
- * @param {number} productVersionId Product Version Id
413
- * @param {string} values Which values to return for every factor (None or Short for short value lists only or All)
414
- * @param {string} [authorization] Bearer Token
415
- * @param {boolean} [forPublic] true if this is a call from PublivAPI or false otherwise (default)
416
- * @param {*} [options] Override http request option.
417
- * @throws {RequiredError}
418
- */
419
- getProductFactorsForVersion(productVersionId: number, values: string, authorization?: string, forPublic?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFactorsForVersionResponseClass>>;
420
- /**
421
- * Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
422
- * @summary Retrieve the product field
423
- * @param {string} id
424
- * @param {string} [authorization] Bearer Token
425
- * @param {*} [options] Override http request option.
426
- * @throws {RequiredError}
427
- */
428
- getProductField(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFieldResponseClass>>;
429
- /**
430
- * Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
431
- * @summary Retrieve the product version
432
- * @param {string} id
433
- * @param {number} id2 Product version id
434
- * @param {string} [authorization] Bearer Token
435
- * @param {*} [options] Override http request option.
436
- * @throws {RequiredError}
437
- */
438
- getProductVersion(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductVersionResponseClass>>;
439
- /**
440
- * Returns a list of premium formulas you have previously created. The premium formulas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
441
- * @summary List premium formulas
442
- * @param {string} [authorization] Bearer Token
443
- * @param {number} [pageSize] Page size
444
- * @param {string} [pageToken] Page token
445
- * @param {string} [filter] List filter
446
- * @param {string} [search] Search query
447
- * @param {string} [order] Ordering criteria
448
- * @param {string} [expand] Extra fields to fetch
449
- * @param {*} [options] Override http request option.
450
- * @throws {RequiredError}
451
- */
452
- listPremiumFormulas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPremiumFormulasResponseClass>>;
453
- /**
454
- * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
455
- * @summary List product factors
456
- * @param {string} [authorization] Bearer Token
457
- * @param {number} [pageSize] Page size
458
- * @param {string} [pageToken] Page token
459
- * @param {string} [filter] List filter
460
- * @param {string} [search] Search query
461
- * @param {string} [order] Ordering criteria
462
- * @param {string} [expand] Extra fields to fetch
463
- * @param {*} [options] Override http request option.
464
- * @throws {RequiredError}
465
- */
466
- listProductFactors(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFactorsResponseClass>>;
467
- /**
468
- * Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
469
- * @summary List product field types
470
- * @param {string} [authorization] Bearer Token
471
- * @param {number} [pageSize] Page size
472
- * @param {string} [pageToken] Page token
473
- * @param {string} [filter] List filter
474
- * @param {string} [search] Search query
475
- * @param {string} [order] Ordering criteria
476
- * @param {string} [expand] Extra fields to fetch
477
- * @param {*} [options] Override http request option.
478
- * @throws {RequiredError}
479
- */
480
- listProductFieldTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFieldTypesResponseClass>>;
481
- /**
482
- * Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
483
- * @summary List product fields
484
- * @param {string} [authorization] Bearer Token
485
- * @param {number} [pageSize] Page size
486
- * @param {string} [pageToken] Page token
487
- * @param {string} [filter] List filter
488
- * @param {string} [search] Search query
489
- * @param {string} [order] Ordering criteria
490
- * @param {string} [expand] Extra fields to fetch
491
- * @param {*} [options] Override http request option.
492
- * @throws {RequiredError}
493
- */
494
- listProductFields(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFieldsResponseClass>>;
495
115
  /**
496
116
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
497
117
  * @summary List products
498
118
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
499
- * @param {number} [pageSize] Page size
500
- * @param {string} [pageToken] Page token
119
+ * @param {number} [pageSize] Page size.
120
+ * @param {string} [pageToken] Page token.
501
121
  * @param {string} [filter] List filter
502
- * @param {string} [search] Search query
503
- * @param {string} [order] Ordering criteria
504
- * @param {string} [expand] Extra fields to fetch
122
+ * @param {string} [search] Search query.
123
+ * @param {string} [order] Ordering criteria.
124
+ * @param {string} [expand] Extra fields to fetch.
505
125
  * @param {*} [options] Override http request option.
506
126
  * @throws {RequiredError}
507
127
  */
508
128
  listProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>>;
509
- /**
510
- * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
511
- * @summary Upload product factors
512
- * @param {string} [authorization] Bearer Token
513
- * @param {number} [productVersionId]
514
- * @param {any} [factors]
515
- * @param {*} [options] Override http request option.
516
- * @throws {RequiredError}
517
- */
518
- storeProductFactors(authorization?: string, productVersionId?: number, factors?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreProductFactorsResponseClass>>;
519
- /**
520
- * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
521
- * @summary Update the premium formula
522
- * @param {number} id
523
- * @param {UpdatePremiumFormulaRequestDto} updatePremiumFormulaRequestDto
524
- * @param {string} [authorization] Bearer Token
525
- * @param {*} [options] Override http request option.
526
- * @throws {RequiredError}
527
- */
528
- updatePremiumFormula(id: number, updatePremiumFormulaRequestDto: UpdatePremiumFormulaRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePremiumFormulaResponseClass>>;
529
129
  /**
530
130
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
531
131
  * @summary Update the product
@@ -536,50 +136,12 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
536
136
  * @throws {RequiredError}
537
137
  */
538
138
  updateProduct(id: number, updateProductRequestDto: UpdateProductRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductResponseClass>>;
539
- /**
540
- * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
541
- * @summary Update the product
542
- * @param {string} id
543
- * @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
544
- * @param {string} [authorization] Bearer Token
545
- * @param {*} [options] Override http request option.
546
- * @throws {RequiredError}
547
- */
548
- updateProductField(id: string, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductFieldResponseClass>>;
549
- /**
550
- * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
551
- * @summary Update the product version
552
- * @param {number} id
553
- * @param {UpdateProductVersionRequestDto} updateProductVersionRequestDto
554
- * @param {string} [authorization] Bearer Token
555
- * @param {*} [options] Override http request option.
556
- * @throws {RequiredError}
557
- */
558
- updateProductVersion(id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductVersionResponseClass>>;
559
- /**
560
- * Validate a CSV file containing all product factors. The columns must be in the following order: group,label,key,name,value.
561
- * @summary Validate product factors
562
- * @param {string} [authorization] Bearer Token
563
- * @param {any} [factors]
564
- * @param {*} [options] Override http request option.
565
- * @throws {RequiredError}
566
- */
567
- validateProductFactors(authorization?: string, factors?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupedProductFactorsResponseClass>>;
568
139
  };
569
140
  /**
570
141
  * ProductsApi - factory interface
571
142
  * @export
572
143
  */
573
144
  export declare const ProductsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
574
- /**
575
- * Creates a premium formula.
576
- * @summary Create the premium formula
577
- * @param {CreatePremiumFormulaRequestDto} createPremiumFormulaRequestDto
578
- * @param {string} [authorization] Bearer Token
579
- * @param {*} [options] Override http request option.
580
- * @throws {RequiredError}
581
- */
582
- createPremiumFormula(createPremiumFormulaRequestDto: CreatePremiumFormulaRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePremiumFormulaResponseClass>;
583
145
  /**
584
146
  * Create a blank product. The product cannot be used as long as it is missing product factors, insured objects and premium formulas.
585
147
  * @summary Create the product
@@ -589,24 +151,6 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
589
151
  * @throws {RequiredError}
590
152
  */
591
153
  createProduct(createProductRequestDto: CreateProductRequestDto, authorization?: string, options?: any): AxiosPromise<CreateProductResponseClass>;
592
- /**
593
- * Create a product field in the database.
594
- * @summary Create the product field
595
- * @param {CreateProductFieldRequestDto} createProductFieldRequestDto
596
- * @param {string} [authorization] Bearer Token
597
- * @param {*} [options] Override http request option.
598
- * @throws {RequiredError}
599
- */
600
- createProductField(createProductFieldRequestDto: CreateProductFieldRequestDto, authorization?: string, options?: any): AxiosPromise<CreateProductFieldResponseClass>;
601
- /**
602
- * Permanently deletes the premium formula. Supply the unique id that was returned when you created the premium formula and this will delete it.
603
- * @summary Delete the premium formula
604
- * @param {number} id
605
- * @param {string} [authorization] Bearer Token
606
- * @param {*} [options] Override http request option.
607
- * @throws {RequiredError}
608
- */
609
- deletePremiumFormula(id: number, authorization?: string, options?: any): AxiosPromise<object>;
610
154
  /**
611
155
  * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
612
156
  * @summary Delete the product
@@ -615,26 +159,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
615
159
  * @param {*} [options] Override http request option.
616
160
  * @throws {RequiredError}
617
161
  */
618
- deleteProduct(id: number, authorization?: string, options?: any): AxiosPromise<object>;
619
- /**
620
- * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
621
- * @summary Delete the product
622
- * @param {string} id
623
- * @param {string} [authorization] Bearer Token
624
- * @param {*} [options] Override http request option.
625
- * @throws {RequiredError}
626
- */
627
- deleteProductField(id: string, authorization?: string, options?: any): AxiosPromise<void>;
628
- /**
629
- * Retrieves the details of the premium formula that was previously created. Supply the unique premium formula id that was returned when you created it and Emil Api will return the corresponding premium formula information.
630
- * @summary Retrieve the premium formula
631
- * @param {string} id
632
- * @param {number} id2 Product formula id
633
- * @param {string} [authorization] Bearer Token
634
- * @param {*} [options] Override http request option.
635
- * @throws {RequiredError}
636
- */
637
- getPremiumFormula(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<GetPremiumFormulaResponseClass>;
162
+ deleteProduct(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
638
163
  /**
639
164
  * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
640
165
  * @summary Retrieve the product
@@ -646,149 +171,20 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
646
171
  * @throws {RequiredError}
647
172
  */
648
173
  getProductByCode(code: string, id: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass>;
649
- /**
650
- * Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
651
- * @summary Retrieve the product factor
652
- * @param {number} id
653
- * @param {number} id2 Product factor id
654
- * @param {string} [authorization] Bearer Token
655
- * @param {string} [expand] Fields to expand response by
656
- * @param {*} [options] Override http request option.
657
- * @throws {RequiredError}
658
- */
659
- getProductFactor(id: number, id2: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductFactorResponseClass>;
660
- /**
661
- * Get the value corresponding to a specific product factor.
662
- * @summary Get product factor value
663
- * @param {number} productVersionId Product Version Id
664
- * @param {string} label Product factor label
665
- * @param {string} key Key for the product factor value
666
- * @param {string} name Name for the product factor value
667
- * @param {string} [authorization] Bearer Token
668
- * @param {*} [options] Override http request option.
669
- * @throws {RequiredError}
670
- */
671
- getProductFactorValue(productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: any): AxiosPromise<GetProductFactorValueResponseClass>;
672
- /**
673
- * Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
674
- * @summary Returns all product factors for the product version with all without values
675
- * @param {number} productVersionId Product Version Id
676
- * @param {string} values Which values to return for every factor (None or Short for short value lists only or All)
677
- * @param {string} [authorization] Bearer Token
678
- * @param {boolean} [forPublic] true if this is a call from PublivAPI or false otherwise (default)
679
- * @param {*} [options] Override http request option.
680
- * @throws {RequiredError}
681
- */
682
- getProductFactorsForVersion(productVersionId: number, values: string, authorization?: string, forPublic?: boolean, options?: any): AxiosPromise<GetProductFactorsForVersionResponseClass>;
683
- /**
684
- * Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
685
- * @summary Retrieve the product field
686
- * @param {string} id
687
- * @param {string} [authorization] Bearer Token
688
- * @param {*} [options] Override http request option.
689
- * @throws {RequiredError}
690
- */
691
- getProductField(id: string, authorization?: string, options?: any): AxiosPromise<GetProductFieldResponseClass>;
692
- /**
693
- * Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
694
- * @summary Retrieve the product version
695
- * @param {string} id
696
- * @param {number} id2 Product version id
697
- * @param {string} [authorization] Bearer Token
698
- * @param {*} [options] Override http request option.
699
- * @throws {RequiredError}
700
- */
701
- getProductVersion(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<GetProductVersionResponseClass>;
702
- /**
703
- * Returns a list of premium formulas you have previously created. The premium formulas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
704
- * @summary List premium formulas
705
- * @param {string} [authorization] Bearer Token
706
- * @param {number} [pageSize] Page size
707
- * @param {string} [pageToken] Page token
708
- * @param {string} [filter] List filter
709
- * @param {string} [search] Search query
710
- * @param {string} [order] Ordering criteria
711
- * @param {string} [expand] Extra fields to fetch
712
- * @param {*} [options] Override http request option.
713
- * @throws {RequiredError}
714
- */
715
- listPremiumFormulas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPremiumFormulasResponseClass>;
716
- /**
717
- * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
718
- * @summary List product factors
719
- * @param {string} [authorization] Bearer Token
720
- * @param {number} [pageSize] Page size
721
- * @param {string} [pageToken] Page token
722
- * @param {string} [filter] List filter
723
- * @param {string} [search] Search query
724
- * @param {string} [order] Ordering criteria
725
- * @param {string} [expand] Extra fields to fetch
726
- * @param {*} [options] Override http request option.
727
- * @throws {RequiredError}
728
- */
729
- listProductFactors(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductFactorsResponseClass>;
730
- /**
731
- * Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
732
- * @summary List product field types
733
- * @param {string} [authorization] Bearer Token
734
- * @param {number} [pageSize] Page size
735
- * @param {string} [pageToken] Page token
736
- * @param {string} [filter] List filter
737
- * @param {string} [search] Search query
738
- * @param {string} [order] Ordering criteria
739
- * @param {string} [expand] Extra fields to fetch
740
- * @param {*} [options] Override http request option.
741
- * @throws {RequiredError}
742
- */
743
- listProductFieldTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductFieldTypesResponseClass>;
744
- /**
745
- * Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
746
- * @summary List product fields
747
- * @param {string} [authorization] Bearer Token
748
- * @param {number} [pageSize] Page size
749
- * @param {string} [pageToken] Page token
750
- * @param {string} [filter] List filter
751
- * @param {string} [search] Search query
752
- * @param {string} [order] Ordering criteria
753
- * @param {string} [expand] Extra fields to fetch
754
- * @param {*} [options] Override http request option.
755
- * @throws {RequiredError}
756
- */
757
- listProductFields(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductFieldsResponseClass>;
758
174
  /**
759
175
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
760
176
  * @summary List products
761
177
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
762
- * @param {number} [pageSize] Page size
763
- * @param {string} [pageToken] Page token
178
+ * @param {number} [pageSize] Page size.
179
+ * @param {string} [pageToken] Page token.
764
180
  * @param {string} [filter] List filter
765
- * @param {string} [search] Search query
766
- * @param {string} [order] Ordering criteria
767
- * @param {string} [expand] Extra fields to fetch
181
+ * @param {string} [search] Search query.
182
+ * @param {string} [order] Ordering criteria.
183
+ * @param {string} [expand] Extra fields to fetch.
768
184
  * @param {*} [options] Override http request option.
769
185
  * @throws {RequiredError}
770
186
  */
771
187
  listProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductsResponseClass>;
772
- /**
773
- * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
774
- * @summary Upload product factors
775
- * @param {string} [authorization] Bearer Token
776
- * @param {number} [productVersionId]
777
- * @param {any} [factors]
778
- * @param {*} [options] Override http request option.
779
- * @throws {RequiredError}
780
- */
781
- storeProductFactors(authorization?: string, productVersionId?: number, factors?: any, options?: any): AxiosPromise<StoreProductFactorsResponseClass>;
782
- /**
783
- * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
784
- * @summary Update the premium formula
785
- * @param {number} id
786
- * @param {UpdatePremiumFormulaRequestDto} updatePremiumFormulaRequestDto
787
- * @param {string} [authorization] Bearer Token
788
- * @param {*} [options] Override http request option.
789
- * @throws {RequiredError}
790
- */
791
- updatePremiumFormula(id: number, updatePremiumFormulaRequestDto: UpdatePremiumFormulaRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePremiumFormulaResponseClass>;
792
188
  /**
793
189
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
794
190
  * @summary Update the product
@@ -799,55 +195,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
799
195
  * @throws {RequiredError}
800
196
  */
801
197
  updateProduct(id: number, updateProductRequestDto: UpdateProductRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductResponseClass>;
802
- /**
803
- * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
804
- * @summary Update the product
805
- * @param {string} id
806
- * @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
807
- * @param {string} [authorization] Bearer Token
808
- * @param {*} [options] Override http request option.
809
- * @throws {RequiredError}
810
- */
811
- updateProductField(id: string, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductFieldResponseClass>;
812
- /**
813
- * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
814
- * @summary Update the product version
815
- * @param {number} id
816
- * @param {UpdateProductVersionRequestDto} updateProductVersionRequestDto
817
- * @param {string} [authorization] Bearer Token
818
- * @param {*} [options] Override http request option.
819
- * @throws {RequiredError}
820
- */
821
- updateProductVersion(id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductVersionResponseClass>;
822
- /**
823
- * Validate a CSV file containing all product factors. The columns must be in the following order: group,label,key,name,value.
824
- * @summary Validate product factors
825
- * @param {string} [authorization] Bearer Token
826
- * @param {any} [factors]
827
- * @param {*} [options] Override http request option.
828
- * @throws {RequiredError}
829
- */
830
- validateProductFactors(authorization?: string, factors?: any, options?: any): AxiosPromise<GroupedProductFactorsResponseClass>;
831
198
  };
832
- /**
833
- * Request parameters for createPremiumFormula operation in ProductsApi.
834
- * @export
835
- * @interface ProductsApiCreatePremiumFormulaRequest
836
- */
837
- export interface ProductsApiCreatePremiumFormulaRequest {
838
- /**
839
- *
840
- * @type {CreatePremiumFormulaRequestDto}
841
- * @memberof ProductsApiCreatePremiumFormula
842
- */
843
- readonly createPremiumFormulaRequestDto: CreatePremiumFormulaRequestDto;
844
- /**
845
- * Bearer Token
846
- * @type {string}
847
- * @memberof ProductsApiCreatePremiumFormula
848
- */
849
- readonly authorization?: string;
850
- }
851
199
  /**
852
200
  * Request parameters for createProduct operation in ProductsApi.
853
201
  * @export
@@ -867,44 +215,6 @@ export interface ProductsApiCreateProductRequest {
867
215
  */
868
216
  readonly authorization?: string;
869
217
  }
870
- /**
871
- * Request parameters for createProductField operation in ProductsApi.
872
- * @export
873
- * @interface ProductsApiCreateProductFieldRequest
874
- */
875
- export interface ProductsApiCreateProductFieldRequest {
876
- /**
877
- *
878
- * @type {CreateProductFieldRequestDto}
879
- * @memberof ProductsApiCreateProductField
880
- */
881
- readonly createProductFieldRequestDto: CreateProductFieldRequestDto;
882
- /**
883
- * Bearer Token
884
- * @type {string}
885
- * @memberof ProductsApiCreateProductField
886
- */
887
- readonly authorization?: string;
888
- }
889
- /**
890
- * Request parameters for deletePremiumFormula operation in ProductsApi.
891
- * @export
892
- * @interface ProductsApiDeletePremiumFormulaRequest
893
- */
894
- export interface ProductsApiDeletePremiumFormulaRequest {
895
- /**
896
- *
897
- * @type {number}
898
- * @memberof ProductsApiDeletePremiumFormula
899
- */
900
- readonly id: number;
901
- /**
902
- * Bearer Token
903
- * @type {string}
904
- * @memberof ProductsApiDeletePremiumFormula
905
- */
906
- readonly authorization?: string;
907
- }
908
218
  /**
909
219
  * Request parameters for deleteProduct operation in ProductsApi.
910
220
  * @export
@@ -924,50 +234,6 @@ export interface ProductsApiDeleteProductRequest {
924
234
  */
925
235
  readonly authorization?: string;
926
236
  }
927
- /**
928
- * Request parameters for deleteProductField operation in ProductsApi.
929
- * @export
930
- * @interface ProductsApiDeleteProductFieldRequest
931
- */
932
- export interface ProductsApiDeleteProductFieldRequest {
933
- /**
934
- *
935
- * @type {string}
936
- * @memberof ProductsApiDeleteProductField
937
- */
938
- readonly id: string;
939
- /**
940
- * Bearer Token
941
- * @type {string}
942
- * @memberof ProductsApiDeleteProductField
943
- */
944
- readonly authorization?: string;
945
- }
946
- /**
947
- * Request parameters for getPremiumFormula operation in ProductsApi.
948
- * @export
949
- * @interface ProductsApiGetPremiumFormulaRequest
950
- */
951
- export interface ProductsApiGetPremiumFormulaRequest {
952
- /**
953
- *
954
- * @type {string}
955
- * @memberof ProductsApiGetPremiumFormula
956
- */
957
- readonly id: string;
958
- /**
959
- * Product formula id
960
- * @type {number}
961
- * @memberof ProductsApiGetPremiumFormula
962
- */
963
- readonly id2: number;
964
- /**
965
- * Bearer Token
966
- * @type {string}
967
- * @memberof ProductsApiGetPremiumFormula
968
- */
969
- readonly authorization?: string;
970
- }
971
237
  /**
972
238
  * Request parameters for getProductByCode operation in ProductsApi.
973
239
  * @export
@@ -999,345 +265,6 @@ export interface ProductsApiGetProductByCodeRequest {
999
265
  */
1000
266
  readonly expand?: string;
1001
267
  }
1002
- /**
1003
- * Request parameters for getProductFactor operation in ProductsApi.
1004
- * @export
1005
- * @interface ProductsApiGetProductFactorRequest
1006
- */
1007
- export interface ProductsApiGetProductFactorRequest {
1008
- /**
1009
- *
1010
- * @type {number}
1011
- * @memberof ProductsApiGetProductFactor
1012
- */
1013
- readonly id: number;
1014
- /**
1015
- * Product factor id
1016
- * @type {number}
1017
- * @memberof ProductsApiGetProductFactor
1018
- */
1019
- readonly id2: number;
1020
- /**
1021
- * Bearer Token
1022
- * @type {string}
1023
- * @memberof ProductsApiGetProductFactor
1024
- */
1025
- readonly authorization?: string;
1026
- /**
1027
- * Fields to expand response by
1028
- * @type {string}
1029
- * @memberof ProductsApiGetProductFactor
1030
- */
1031
- readonly expand?: string;
1032
- }
1033
- /**
1034
- * Request parameters for getProductFactorValue operation in ProductsApi.
1035
- * @export
1036
- * @interface ProductsApiGetProductFactorValueRequest
1037
- */
1038
- export interface ProductsApiGetProductFactorValueRequest {
1039
- /**
1040
- * Product Version Id
1041
- * @type {number}
1042
- * @memberof ProductsApiGetProductFactorValue
1043
- */
1044
- readonly productVersionId: number;
1045
- /**
1046
- * Product factor label
1047
- * @type {string}
1048
- * @memberof ProductsApiGetProductFactorValue
1049
- */
1050
- readonly label: string;
1051
- /**
1052
- * Key for the product factor value
1053
- * @type {string}
1054
- * @memberof ProductsApiGetProductFactorValue
1055
- */
1056
- readonly key: string;
1057
- /**
1058
- * Name for the product factor value
1059
- * @type {string}
1060
- * @memberof ProductsApiGetProductFactorValue
1061
- */
1062
- readonly name: string;
1063
- /**
1064
- * Bearer Token
1065
- * @type {string}
1066
- * @memberof ProductsApiGetProductFactorValue
1067
- */
1068
- readonly authorization?: string;
1069
- }
1070
- /**
1071
- * Request parameters for getProductFactorsForVersion operation in ProductsApi.
1072
- * @export
1073
- * @interface ProductsApiGetProductFactorsForVersionRequest
1074
- */
1075
- export interface ProductsApiGetProductFactorsForVersionRequest {
1076
- /**
1077
- * Product Version Id
1078
- * @type {number}
1079
- * @memberof ProductsApiGetProductFactorsForVersion
1080
- */
1081
- readonly productVersionId: number;
1082
- /**
1083
- * Which values to return for every factor (None or Short for short value lists only or All)
1084
- * @type {string}
1085
- * @memberof ProductsApiGetProductFactorsForVersion
1086
- */
1087
- readonly values: string;
1088
- /**
1089
- * Bearer Token
1090
- * @type {string}
1091
- * @memberof ProductsApiGetProductFactorsForVersion
1092
- */
1093
- readonly authorization?: string;
1094
- /**
1095
- * true if this is a call from PublivAPI or false otherwise (default)
1096
- * @type {boolean}
1097
- * @memberof ProductsApiGetProductFactorsForVersion
1098
- */
1099
- readonly forPublic?: boolean;
1100
- }
1101
- /**
1102
- * Request parameters for getProductField operation in ProductsApi.
1103
- * @export
1104
- * @interface ProductsApiGetProductFieldRequest
1105
- */
1106
- export interface ProductsApiGetProductFieldRequest {
1107
- /**
1108
- *
1109
- * @type {string}
1110
- * @memberof ProductsApiGetProductField
1111
- */
1112
- readonly id: string;
1113
- /**
1114
- * Bearer Token
1115
- * @type {string}
1116
- * @memberof ProductsApiGetProductField
1117
- */
1118
- readonly authorization?: string;
1119
- }
1120
- /**
1121
- * Request parameters for getProductVersion operation in ProductsApi.
1122
- * @export
1123
- * @interface ProductsApiGetProductVersionRequest
1124
- */
1125
- export interface ProductsApiGetProductVersionRequest {
1126
- /**
1127
- *
1128
- * @type {string}
1129
- * @memberof ProductsApiGetProductVersion
1130
- */
1131
- readonly id: string;
1132
- /**
1133
- * Product version id
1134
- * @type {number}
1135
- * @memberof ProductsApiGetProductVersion
1136
- */
1137
- readonly id2: number;
1138
- /**
1139
- * Bearer Token
1140
- * @type {string}
1141
- * @memberof ProductsApiGetProductVersion
1142
- */
1143
- readonly authorization?: string;
1144
- }
1145
- /**
1146
- * Request parameters for listPremiumFormulas operation in ProductsApi.
1147
- * @export
1148
- * @interface ProductsApiListPremiumFormulasRequest
1149
- */
1150
- export interface ProductsApiListPremiumFormulasRequest {
1151
- /**
1152
- * Bearer Token
1153
- * @type {string}
1154
- * @memberof ProductsApiListPremiumFormulas
1155
- */
1156
- readonly authorization?: string;
1157
- /**
1158
- * Page size
1159
- * @type {number}
1160
- * @memberof ProductsApiListPremiumFormulas
1161
- */
1162
- readonly pageSize?: number;
1163
- /**
1164
- * Page token
1165
- * @type {string}
1166
- * @memberof ProductsApiListPremiumFormulas
1167
- */
1168
- readonly pageToken?: string;
1169
- /**
1170
- * List filter
1171
- * @type {string}
1172
- * @memberof ProductsApiListPremiumFormulas
1173
- */
1174
- readonly filter?: string;
1175
- /**
1176
- * Search query
1177
- * @type {string}
1178
- * @memberof ProductsApiListPremiumFormulas
1179
- */
1180
- readonly search?: string;
1181
- /**
1182
- * Ordering criteria
1183
- * @type {string}
1184
- * @memberof ProductsApiListPremiumFormulas
1185
- */
1186
- readonly order?: string;
1187
- /**
1188
- * Extra fields to fetch
1189
- * @type {string}
1190
- * @memberof ProductsApiListPremiumFormulas
1191
- */
1192
- readonly expand?: string;
1193
- }
1194
- /**
1195
- * Request parameters for listProductFactors operation in ProductsApi.
1196
- * @export
1197
- * @interface ProductsApiListProductFactorsRequest
1198
- */
1199
- export interface ProductsApiListProductFactorsRequest {
1200
- /**
1201
- * Bearer Token
1202
- * @type {string}
1203
- * @memberof ProductsApiListProductFactors
1204
- */
1205
- readonly authorization?: string;
1206
- /**
1207
- * Page size
1208
- * @type {number}
1209
- * @memberof ProductsApiListProductFactors
1210
- */
1211
- readonly pageSize?: number;
1212
- /**
1213
- * Page token
1214
- * @type {string}
1215
- * @memberof ProductsApiListProductFactors
1216
- */
1217
- readonly pageToken?: string;
1218
- /**
1219
- * List filter
1220
- * @type {string}
1221
- * @memberof ProductsApiListProductFactors
1222
- */
1223
- readonly filter?: string;
1224
- /**
1225
- * Search query
1226
- * @type {string}
1227
- * @memberof ProductsApiListProductFactors
1228
- */
1229
- readonly search?: string;
1230
- /**
1231
- * Ordering criteria
1232
- * @type {string}
1233
- * @memberof ProductsApiListProductFactors
1234
- */
1235
- readonly order?: string;
1236
- /**
1237
- * Extra fields to fetch
1238
- * @type {string}
1239
- * @memberof ProductsApiListProductFactors
1240
- */
1241
- readonly expand?: string;
1242
- }
1243
- /**
1244
- * Request parameters for listProductFieldTypes operation in ProductsApi.
1245
- * @export
1246
- * @interface ProductsApiListProductFieldTypesRequest
1247
- */
1248
- export interface ProductsApiListProductFieldTypesRequest {
1249
- /**
1250
- * Bearer Token
1251
- * @type {string}
1252
- * @memberof ProductsApiListProductFieldTypes
1253
- */
1254
- readonly authorization?: string;
1255
- /**
1256
- * Page size
1257
- * @type {number}
1258
- * @memberof ProductsApiListProductFieldTypes
1259
- */
1260
- readonly pageSize?: number;
1261
- /**
1262
- * Page token
1263
- * @type {string}
1264
- * @memberof ProductsApiListProductFieldTypes
1265
- */
1266
- readonly pageToken?: string;
1267
- /**
1268
- * List filter
1269
- * @type {string}
1270
- * @memberof ProductsApiListProductFieldTypes
1271
- */
1272
- readonly filter?: string;
1273
- /**
1274
- * Search query
1275
- * @type {string}
1276
- * @memberof ProductsApiListProductFieldTypes
1277
- */
1278
- readonly search?: string;
1279
- /**
1280
- * Ordering criteria
1281
- * @type {string}
1282
- * @memberof ProductsApiListProductFieldTypes
1283
- */
1284
- readonly order?: string;
1285
- /**
1286
- * Extra fields to fetch
1287
- * @type {string}
1288
- * @memberof ProductsApiListProductFieldTypes
1289
- */
1290
- readonly expand?: string;
1291
- }
1292
- /**
1293
- * Request parameters for listProductFields operation in ProductsApi.
1294
- * @export
1295
- * @interface ProductsApiListProductFieldsRequest
1296
- */
1297
- export interface ProductsApiListProductFieldsRequest {
1298
- /**
1299
- * Bearer Token
1300
- * @type {string}
1301
- * @memberof ProductsApiListProductFields
1302
- */
1303
- readonly authorization?: string;
1304
- /**
1305
- * Page size
1306
- * @type {number}
1307
- * @memberof ProductsApiListProductFields
1308
- */
1309
- readonly pageSize?: number;
1310
- /**
1311
- * Page token
1312
- * @type {string}
1313
- * @memberof ProductsApiListProductFields
1314
- */
1315
- readonly pageToken?: string;
1316
- /**
1317
- * List filter
1318
- * @type {string}
1319
- * @memberof ProductsApiListProductFields
1320
- */
1321
- readonly filter?: string;
1322
- /**
1323
- * Search query
1324
- * @type {string}
1325
- * @memberof ProductsApiListProductFields
1326
- */
1327
- readonly search?: string;
1328
- /**
1329
- * Ordering criteria
1330
- * @type {string}
1331
- * @memberof ProductsApiListProductFields
1332
- */
1333
- readonly order?: string;
1334
- /**
1335
- * Extra fields to fetch
1336
- * @type {string}
1337
- * @memberof ProductsApiListProductFields
1338
- */
1339
- readonly expand?: string;
1340
- }
1341
268
  /**
1342
269
  * Request parameters for listProducts operation in ProductsApi.
1343
270
  * @export
@@ -1351,13 +278,13 @@ export interface ProductsApiListProductsRequest {
1351
278
  */
1352
279
  readonly authorization?: string;
1353
280
  /**
1354
- * Page size
281
+ * Page size.
1355
282
  * @type {number}
1356
283
  * @memberof ProductsApiListProducts
1357
284
  */
1358
285
  readonly pageSize?: number;
1359
286
  /**
1360
- * Page token
287
+ * Page token.
1361
288
  * @type {string}
1362
289
  * @memberof ProductsApiListProducts
1363
290
  */
@@ -1369,74 +296,24 @@ export interface ProductsApiListProductsRequest {
1369
296
  */
1370
297
  readonly filter?: string;
1371
298
  /**
1372
- * Search query
299
+ * Search query.
1373
300
  * @type {string}
1374
301
  * @memberof ProductsApiListProducts
1375
302
  */
1376
303
  readonly search?: string;
1377
304
  /**
1378
- * Ordering criteria
305
+ * Ordering criteria.
1379
306
  * @type {string}
1380
307
  * @memberof ProductsApiListProducts
1381
308
  */
1382
309
  readonly order?: string;
1383
310
  /**
1384
- * Extra fields to fetch
311
+ * Extra fields to fetch.
1385
312
  * @type {string}
1386
313
  * @memberof ProductsApiListProducts
1387
314
  */
1388
315
  readonly expand?: string;
1389
316
  }
1390
- /**
1391
- * Request parameters for storeProductFactors operation in ProductsApi.
1392
- * @export
1393
- * @interface ProductsApiStoreProductFactorsRequest
1394
- */
1395
- export interface ProductsApiStoreProductFactorsRequest {
1396
- /**
1397
- * Bearer Token
1398
- * @type {string}
1399
- * @memberof ProductsApiStoreProductFactors
1400
- */
1401
- readonly authorization?: string;
1402
- /**
1403
- *
1404
- * @type {number}
1405
- * @memberof ProductsApiStoreProductFactors
1406
- */
1407
- readonly productVersionId?: number;
1408
- /**
1409
- *
1410
- * @type {any}
1411
- * @memberof ProductsApiStoreProductFactors
1412
- */
1413
- readonly factors?: any;
1414
- }
1415
- /**
1416
- * Request parameters for updatePremiumFormula operation in ProductsApi.
1417
- * @export
1418
- * @interface ProductsApiUpdatePremiumFormulaRequest
1419
- */
1420
- export interface ProductsApiUpdatePremiumFormulaRequest {
1421
- /**
1422
- *
1423
- * @type {number}
1424
- * @memberof ProductsApiUpdatePremiumFormula
1425
- */
1426
- readonly id: number;
1427
- /**
1428
- *
1429
- * @type {UpdatePremiumFormulaRequestDto}
1430
- * @memberof ProductsApiUpdatePremiumFormula
1431
- */
1432
- readonly updatePremiumFormulaRequestDto: UpdatePremiumFormulaRequestDto;
1433
- /**
1434
- * Bearer Token
1435
- * @type {string}
1436
- * @memberof ProductsApiUpdatePremiumFormula
1437
- */
1438
- readonly authorization?: string;
1439
- }
1440
317
  /**
1441
318
  * Request parameters for updateProduct operation in ProductsApi.
1442
319
  * @export
@@ -1462,75 +339,6 @@ export interface ProductsApiUpdateProductRequest {
1462
339
  */
1463
340
  readonly authorization?: string;
1464
341
  }
1465
- /**
1466
- * Request parameters for updateProductField operation in ProductsApi.
1467
- * @export
1468
- * @interface ProductsApiUpdateProductFieldRequest
1469
- */
1470
- export interface ProductsApiUpdateProductFieldRequest {
1471
- /**
1472
- *
1473
- * @type {string}
1474
- * @memberof ProductsApiUpdateProductField
1475
- */
1476
- readonly id: string;
1477
- /**
1478
- *
1479
- * @type {UpdateProductFieldRequestDto}
1480
- * @memberof ProductsApiUpdateProductField
1481
- */
1482
- readonly updateProductFieldRequestDto: UpdateProductFieldRequestDto;
1483
- /**
1484
- * Bearer Token
1485
- * @type {string}
1486
- * @memberof ProductsApiUpdateProductField
1487
- */
1488
- readonly authorization?: string;
1489
- }
1490
- /**
1491
- * Request parameters for updateProductVersion operation in ProductsApi.
1492
- * @export
1493
- * @interface ProductsApiUpdateProductVersionRequest
1494
- */
1495
- export interface ProductsApiUpdateProductVersionRequest {
1496
- /**
1497
- *
1498
- * @type {number}
1499
- * @memberof ProductsApiUpdateProductVersion
1500
- */
1501
- readonly id: number;
1502
- /**
1503
- *
1504
- * @type {UpdateProductVersionRequestDto}
1505
- * @memberof ProductsApiUpdateProductVersion
1506
- */
1507
- readonly updateProductVersionRequestDto: UpdateProductVersionRequestDto;
1508
- /**
1509
- * Bearer Token
1510
- * @type {string}
1511
- * @memberof ProductsApiUpdateProductVersion
1512
- */
1513
- readonly authorization?: string;
1514
- }
1515
- /**
1516
- * Request parameters for validateProductFactors operation in ProductsApi.
1517
- * @export
1518
- * @interface ProductsApiValidateProductFactorsRequest
1519
- */
1520
- export interface ProductsApiValidateProductFactorsRequest {
1521
- /**
1522
- * Bearer Token
1523
- * @type {string}
1524
- * @memberof ProductsApiValidateProductFactors
1525
- */
1526
- readonly authorization?: string;
1527
- /**
1528
- *
1529
- * @type {any}
1530
- * @memberof ProductsApiValidateProductFactors
1531
- */
1532
- readonly factors?: any;
1533
- }
1534
342
  /**
1535
343
  * ProductsApi - object-oriented interface
1536
344
  * @export
@@ -1538,15 +346,6 @@ export interface ProductsApiValidateProductFactorsRequest {
1538
346
  * @extends {BaseAPI}
1539
347
  */
1540
348
  export declare class ProductsApi extends BaseAPI {
1541
- /**
1542
- * Creates a premium formula.
1543
- * @summary Create the premium formula
1544
- * @param {ProductsApiCreatePremiumFormulaRequest} requestParameters Request parameters.
1545
- * @param {*} [options] Override http request option.
1546
- * @throws {RequiredError}
1547
- * @memberof ProductsApi
1548
- */
1549
- createPremiumFormula(requestParameters: ProductsApiCreatePremiumFormulaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePremiumFormulaResponseClass, any>>;
1550
349
  /**
1551
350
  * Create a blank product. The product cannot be used as long as it is missing product factors, insured objects and premium formulas.
1552
351
  * @summary Create the product
@@ -1556,24 +355,6 @@ export declare class ProductsApi extends BaseAPI {
1556
355
  * @memberof ProductsApi
1557
356
  */
1558
357
  createProduct(requestParameters: ProductsApiCreateProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductResponseClass, any>>;
1559
- /**
1560
- * Create a product field in the database.
1561
- * @summary Create the product field
1562
- * @param {ProductsApiCreateProductFieldRequest} requestParameters Request parameters.
1563
- * @param {*} [options] Override http request option.
1564
- * @throws {RequiredError}
1565
- * @memberof ProductsApi
1566
- */
1567
- createProductField(requestParameters: ProductsApiCreateProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductFieldResponseClass, any>>;
1568
- /**
1569
- * Permanently deletes the premium formula. Supply the unique id that was returned when you created the premium formula and this will delete it.
1570
- * @summary Delete the premium formula
1571
- * @param {ProductsApiDeletePremiumFormulaRequest} requestParameters Request parameters.
1572
- * @param {*} [options] Override http request option.
1573
- * @throws {RequiredError}
1574
- * @memberof ProductsApi
1575
- */
1576
- deletePremiumFormula(requestParameters: ProductsApiDeletePremiumFormulaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
1577
358
  /**
1578
359
  * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
1579
360
  * @summary Delete the product
@@ -1582,25 +363,7 @@ export declare class ProductsApi extends BaseAPI {
1582
363
  * @throws {RequiredError}
1583
364
  * @memberof ProductsApi
1584
365
  */
1585
- deleteProduct(requestParameters: ProductsApiDeleteProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
1586
- /**
1587
- * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
1588
- * @summary Delete the product
1589
- * @param {ProductsApiDeleteProductFieldRequest} requestParameters Request parameters.
1590
- * @param {*} [options] Override http request option.
1591
- * @throws {RequiredError}
1592
- * @memberof ProductsApi
1593
- */
1594
- deleteProductField(requestParameters: ProductsApiDeleteProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1595
- /**
1596
- * Retrieves the details of the premium formula that was previously created. Supply the unique premium formula id that was returned when you created it and Emil Api will return the corresponding premium formula information.
1597
- * @summary Retrieve the premium formula
1598
- * @param {ProductsApiGetPremiumFormulaRequest} requestParameters Request parameters.
1599
- * @param {*} [options] Override http request option.
1600
- * @throws {RequiredError}
1601
- * @memberof ProductsApi
1602
- */
1603
- getPremiumFormula(requestParameters: ProductsApiGetPremiumFormulaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPremiumFormulaResponseClass, any>>;
366
+ deleteProduct(requestParameters: ProductsApiDeleteProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
1604
367
  /**
1605
368
  * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
1606
369
  * @summary Retrieve the product
@@ -1610,87 +373,6 @@ export declare class ProductsApi extends BaseAPI {
1610
373
  * @memberof ProductsApi
1611
374
  */
1612
375
  getProductByCode(requestParameters: ProductsApiGetProductByCodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any>>;
1613
- /**
1614
- * Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
1615
- * @summary Retrieve the product factor
1616
- * @param {ProductsApiGetProductFactorRequest} requestParameters Request parameters.
1617
- * @param {*} [options] Override http request option.
1618
- * @throws {RequiredError}
1619
- * @memberof ProductsApi
1620
- */
1621
- getProductFactor(requestParameters: ProductsApiGetProductFactorRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductFactorResponseClass, any>>;
1622
- /**
1623
- * Get the value corresponding to a specific product factor.
1624
- * @summary Get product factor value
1625
- * @param {ProductsApiGetProductFactorValueRequest} requestParameters Request parameters.
1626
- * @param {*} [options] Override http request option.
1627
- * @throws {RequiredError}
1628
- * @memberof ProductsApi
1629
- */
1630
- getProductFactorValue(requestParameters: ProductsApiGetProductFactorValueRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductFactorValueResponseClass, any>>;
1631
- /**
1632
- * Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
1633
- * @summary Returns all product factors for the product version with all without values
1634
- * @param {ProductsApiGetProductFactorsForVersionRequest} requestParameters Request parameters.
1635
- * @param {*} [options] Override http request option.
1636
- * @throws {RequiredError}
1637
- * @memberof ProductsApi
1638
- */
1639
- getProductFactorsForVersion(requestParameters: ProductsApiGetProductFactorsForVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductFactorsForVersionResponseClass, any>>;
1640
- /**
1641
- * Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
1642
- * @summary Retrieve the product field
1643
- * @param {ProductsApiGetProductFieldRequest} requestParameters Request parameters.
1644
- * @param {*} [options] Override http request option.
1645
- * @throws {RequiredError}
1646
- * @memberof ProductsApi
1647
- */
1648
- getProductField(requestParameters: ProductsApiGetProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductFieldResponseClass, any>>;
1649
- /**
1650
- * Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
1651
- * @summary Retrieve the product version
1652
- * @param {ProductsApiGetProductVersionRequest} requestParameters Request parameters.
1653
- * @param {*} [options] Override http request option.
1654
- * @throws {RequiredError}
1655
- * @memberof ProductsApi
1656
- */
1657
- getProductVersion(requestParameters: ProductsApiGetProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductVersionResponseClass, any>>;
1658
- /**
1659
- * Returns a list of premium formulas you have previously created. The premium formulas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1660
- * @summary List premium formulas
1661
- * @param {ProductsApiListPremiumFormulasRequest} requestParameters Request parameters.
1662
- * @param {*} [options] Override http request option.
1663
- * @throws {RequiredError}
1664
- * @memberof ProductsApi
1665
- */
1666
- listPremiumFormulas(requestParameters?: ProductsApiListPremiumFormulasRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPremiumFormulasResponseClass, any>>;
1667
- /**
1668
- * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1669
- * @summary List product factors
1670
- * @param {ProductsApiListProductFactorsRequest} requestParameters Request parameters.
1671
- * @param {*} [options] Override http request option.
1672
- * @throws {RequiredError}
1673
- * @memberof ProductsApi
1674
- */
1675
- listProductFactors(requestParameters?: ProductsApiListProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductFactorsResponseClass, any>>;
1676
- /**
1677
- * Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1678
- * @summary List product field types
1679
- * @param {ProductsApiListProductFieldTypesRequest} requestParameters Request parameters.
1680
- * @param {*} [options] Override http request option.
1681
- * @throws {RequiredError}
1682
- * @memberof ProductsApi
1683
- */
1684
- listProductFieldTypes(requestParameters?: ProductsApiListProductFieldTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductFieldTypesResponseClass, any>>;
1685
- /**
1686
- * Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1687
- * @summary List product fields
1688
- * @param {ProductsApiListProductFieldsRequest} requestParameters Request parameters.
1689
- * @param {*} [options] Override http request option.
1690
- * @throws {RequiredError}
1691
- * @memberof ProductsApi
1692
- */
1693
- listProductFields(requestParameters?: ProductsApiListProductFieldsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductFieldsResponseClass, any>>;
1694
376
  /**
1695
377
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1696
378
  * @summary List products
@@ -1700,24 +382,6 @@ export declare class ProductsApi extends BaseAPI {
1700
382
  * @memberof ProductsApi
1701
383
  */
1702
384
  listProducts(requestParameters?: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any>>;
1703
- /**
1704
- * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
1705
- * @summary Upload product factors
1706
- * @param {ProductsApiStoreProductFactorsRequest} requestParameters Request parameters.
1707
- * @param {*} [options] Override http request option.
1708
- * @throws {RequiredError}
1709
- * @memberof ProductsApi
1710
- */
1711
- storeProductFactors(requestParameters?: ProductsApiStoreProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreProductFactorsResponseClass, any>>;
1712
- /**
1713
- * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
1714
- * @summary Update the premium formula
1715
- * @param {ProductsApiUpdatePremiumFormulaRequest} requestParameters Request parameters.
1716
- * @param {*} [options] Override http request option.
1717
- * @throws {RequiredError}
1718
- * @memberof ProductsApi
1719
- */
1720
- updatePremiumFormula(requestParameters: ProductsApiUpdatePremiumFormulaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePremiumFormulaResponseClass, any>>;
1721
385
  /**
1722
386
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
1723
387
  * @summary Update the product
@@ -1727,31 +391,4 @@ export declare class ProductsApi extends BaseAPI {
1727
391
  * @memberof ProductsApi
1728
392
  */
1729
393
  updateProduct(requestParameters: ProductsApiUpdateProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductResponseClass, any>>;
1730
- /**
1731
- * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
1732
- * @summary Update the product
1733
- * @param {ProductsApiUpdateProductFieldRequest} requestParameters Request parameters.
1734
- * @param {*} [options] Override http request option.
1735
- * @throws {RequiredError}
1736
- * @memberof ProductsApi
1737
- */
1738
- updateProductField(requestParameters: ProductsApiUpdateProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductFieldResponseClass, any>>;
1739
- /**
1740
- * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
1741
- * @summary Update the product version
1742
- * @param {ProductsApiUpdateProductVersionRequest} requestParameters Request parameters.
1743
- * @param {*} [options] Override http request option.
1744
- * @throws {RequiredError}
1745
- * @memberof ProductsApi
1746
- */
1747
- updateProductVersion(requestParameters: ProductsApiUpdateProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductVersionResponseClass, any>>;
1748
- /**
1749
- * Validate a CSV file containing all product factors. The columns must be in the following order: group,label,key,name,value.
1750
- * @summary Validate product factors
1751
- * @param {ProductsApiValidateProductFactorsRequest} requestParameters Request parameters.
1752
- * @param {*} [options] Override http request option.
1753
- * @throws {RequiredError}
1754
- * @memberof ProductsApi
1755
- */
1756
- validateProductFactors(requestParameters?: ProductsApiValidateProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupedProductFactorsResponseClass, any>>;
1757
394
  }