@cosmotech/aip-client 0.3.0-dev2 → 0.4.0-dev1

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 (498) hide show
  1. package/README.md +49 -41
  2. package/api/budget-api.ts +7 -7
  3. package/api/default-api.ts +1 -1
  4. package/api/impact-api.ts +90 -1
  5. package/api/investment-api.ts +55 -1254
  6. package/api/metric-api.ts +1 -1
  7. package/api/metric-costs-api.ts +1 -1
  8. package/api/metric-costs-per-year-api.ts +1 -1
  9. package/api/objective-api.ts +1 -509
  10. package/api/objective-weight-api.ts +1 -1
  11. package/api/objective-weights-api.ts +1 -1
  12. package/api/option-api.ts +28 -481
  13. package/api/portfolio-api.ts +601 -0
  14. package/api/portfolio-investment-api.ts +545 -0
  15. package/api/portfolio-kpiapi.ts +772 -0
  16. package/api/preferred-option-api.ts +1 -1
  17. package/api/value-framework-api.ts +61 -1189
  18. package/api/value-framework-costs-api.ts +1 -1
  19. package/api/value-framework-weights-api.ts +1 -1
  20. package/api.ts +4 -1
  21. package/base.ts +1 -1
  22. package/common.ts +1 -1
  23. package/configuration.ts +1 -1
  24. package/dist/api/budget-api.d.ts +5 -5
  25. package/dist/api/budget-api.js +7 -7
  26. package/dist/api/default-api.d.ts +1 -1
  27. package/dist/api/default-api.js +1 -1
  28. package/dist/api/impact-api.d.ts +42 -1
  29. package/dist/api/impact-api.js +85 -1
  30. package/dist/api/investment-api.d.ts +1 -551
  31. package/dist/api/investment-api.js +57 -1189
  32. package/dist/api/metric-api.d.ts +1 -1
  33. package/dist/api/metric-api.js +1 -1
  34. package/dist/api/metric-costs-api.d.ts +1 -1
  35. package/dist/api/metric-costs-api.js +1 -1
  36. package/dist/api/metric-costs-per-year-api.d.ts +1 -1
  37. package/dist/api/metric-costs-per-year-api.js +1 -1
  38. package/dist/api/objective-api.d.ts +1 -233
  39. package/dist/api/objective-api.js +1 -479
  40. package/dist/api/objective-weight-api.d.ts +1 -1
  41. package/dist/api/objective-weight-api.js +1 -1
  42. package/dist/api/objective-weights-api.d.ts +1 -1
  43. package/dist/api/objective-weights-api.js +1 -1
  44. package/dist/api/option-api.d.ts +13 -224
  45. package/dist/api/option-api.js +28 -458
  46. package/dist/api/portfolio-api.d.ts +279 -0
  47. package/dist/api/portfolio-api.js +575 -0
  48. package/dist/api/portfolio-investment-api.d.ts +258 -0
  49. package/dist/api/portfolio-investment-api.js +526 -0
  50. package/dist/api/portfolio-kpiapi.d.ts +361 -0
  51. package/dist/api/portfolio-kpiapi.js +740 -0
  52. package/dist/api/preferred-option-api.d.ts +1 -1
  53. package/dist/api/preferred-option-api.js +1 -1
  54. package/dist/api/value-framework-api.d.ts +1 -519
  55. package/dist/api/value-framework-api.js +61 -1128
  56. package/dist/api/value-framework-costs-api.d.ts +1 -1
  57. package/dist/api/value-framework-costs-api.js +1 -1
  58. package/dist/api/value-framework-weights-api.d.ts +1 -1
  59. package/dist/api/value-framework-weights-api.js +1 -1
  60. package/dist/api.d.ts +4 -1
  61. package/dist/api.js +4 -1
  62. package/dist/base.d.ts +1 -1
  63. package/dist/base.js +1 -1
  64. package/dist/common.d.ts +1 -1
  65. package/dist/common.js +1 -1
  66. package/dist/configuration.d.ts +1 -1
  67. package/dist/configuration.js +1 -1
  68. package/dist/esm/api/budget-api.d.ts +5 -5
  69. package/dist/esm/api/budget-api.js +7 -7
  70. package/dist/esm/api/default-api.d.ts +1 -1
  71. package/dist/esm/api/default-api.js +1 -1
  72. package/dist/esm/api/impact-api.d.ts +42 -1
  73. package/dist/esm/api/impact-api.js +85 -1
  74. package/dist/esm/api/investment-api.d.ts +1 -551
  75. package/dist/esm/api/investment-api.js +56 -1188
  76. package/dist/esm/api/metric-api.d.ts +1 -1
  77. package/dist/esm/api/metric-api.js +1 -1
  78. package/dist/esm/api/metric-costs-api.d.ts +1 -1
  79. package/dist/esm/api/metric-costs-api.js +1 -1
  80. package/dist/esm/api/metric-costs-per-year-api.d.ts +1 -1
  81. package/dist/esm/api/metric-costs-per-year-api.js +1 -1
  82. package/dist/esm/api/objective-api.d.ts +1 -233
  83. package/dist/esm/api/objective-api.js +1 -479
  84. package/dist/esm/api/objective-weight-api.d.ts +1 -1
  85. package/dist/esm/api/objective-weight-api.js +1 -1
  86. package/dist/esm/api/objective-weights-api.d.ts +1 -1
  87. package/dist/esm/api/objective-weights-api.js +1 -1
  88. package/dist/esm/api/option-api.d.ts +13 -224
  89. package/dist/esm/api/option-api.js +28 -458
  90. package/dist/esm/api/portfolio-api.d.ts +279 -0
  91. package/dist/esm/api/portfolio-api.js +568 -0
  92. package/dist/esm/api/portfolio-investment-api.d.ts +258 -0
  93. package/dist/esm/api/portfolio-investment-api.js +519 -0
  94. package/dist/esm/api/portfolio-kpiapi.d.ts +361 -0
  95. package/dist/esm/api/portfolio-kpiapi.js +733 -0
  96. package/dist/esm/api/preferred-option-api.d.ts +1 -1
  97. package/dist/esm/api/preferred-option-api.js +1 -1
  98. package/dist/esm/api/value-framework-api.d.ts +1 -519
  99. package/dist/esm/api/value-framework-api.js +61 -1128
  100. package/dist/esm/api/value-framework-costs-api.d.ts +1 -1
  101. package/dist/esm/api/value-framework-costs-api.js +1 -1
  102. package/dist/esm/api/value-framework-weights-api.d.ts +1 -1
  103. package/dist/esm/api/value-framework-weights-api.js +1 -1
  104. package/dist/esm/api.d.ts +4 -1
  105. package/dist/esm/api.js +4 -1
  106. package/dist/esm/base.d.ts +1 -1
  107. package/dist/esm/base.js +1 -1
  108. package/dist/esm/common.d.ts +1 -1
  109. package/dist/esm/common.js +1 -1
  110. package/dist/esm/configuration.d.ts +1 -1
  111. package/dist/esm/configuration.js +1 -1
  112. package/dist/esm/index.d.ts +1 -1
  113. package/dist/esm/index.js +1 -1
  114. package/dist/esm/models/budget-bulk-delete-request.d.ts +3 -3
  115. package/dist/esm/models/budget-bulk-delete-request.js +1 -1
  116. package/dist/esm/models/budget-create.d.ts +1 -1
  117. package/dist/esm/models/budget-create.js +1 -1
  118. package/dist/esm/models/budget-investment-response.d.ts +1 -1
  119. package/dist/esm/models/budget-investment-response.js +1 -1
  120. package/dist/esm/models/budget-link-options-request.d.ts +1 -1
  121. package/dist/esm/models/budget-link-options-request.js +1 -1
  122. package/dist/esm/models/budget-option-response.d.ts +1 -1
  123. package/dist/esm/models/budget-option-response.js +1 -1
  124. package/dist/esm/models/budget-overview-response.d.ts +1 -1
  125. package/dist/esm/models/budget-overview-response.js +1 -1
  126. package/dist/esm/models/budget-response.d.ts +1 -1
  127. package/dist/esm/models/budget-response.js +1 -1
  128. package/dist/esm/models/budget-update.d.ts +1 -1
  129. package/dist/esm/models/budget-update.js +1 -1
  130. package/dist/esm/models/bulk-delete-request.d.ts +1 -1
  131. package/dist/esm/models/bulk-delete-request.js +1 -1
  132. package/dist/esm/models/evolution-type.d.ts +1 -1
  133. package/dist/esm/models/evolution-type.js +1 -1
  134. package/dist/esm/models/httpvalidation-error.d.ts +1 -1
  135. package/dist/esm/models/httpvalidation-error.js +1 -1
  136. package/dist/esm/models/impact-apiresponse.d.ts +1 -2
  137. package/dist/esm/models/impact-apiresponse.js +1 -1
  138. package/dist/esm/models/impact-bulk-item.d.ts +33 -0
  139. package/dist/esm/models/impact-bulk-item.js +14 -0
  140. package/dist/esm/models/impact-create.d.ts +1 -5
  141. package/dist/esm/models/impact-create.js +1 -1
  142. package/dist/esm/models/impact-update.d.ts +1 -2
  143. package/dist/esm/models/impact-update.js +1 -1
  144. package/dist/esm/models/index.d.ts +23 -0
  145. package/dist/esm/models/index.js +23 -0
  146. package/dist/esm/models/investment-create.d.ts +1 -1
  147. package/dist/esm/models/investment-create.js +1 -1
  148. package/dist/esm/models/investment-overview-response.d.ts +1 -1
  149. package/dist/esm/models/investment-overview-response.js +1 -1
  150. package/dist/esm/models/investment-response.d.ts +1 -1
  151. package/dist/esm/models/investment-response.js +1 -1
  152. package/dist/esm/models/investment-update.d.ts +1 -1
  153. package/dist/esm/models/investment-update.js +1 -1
  154. package/dist/esm/models/location-inner.d.ts +1 -1
  155. package/dist/esm/models/location-inner.js +1 -1
  156. package/dist/esm/models/measurement-type.d.ts +1 -1
  157. package/dist/esm/models/measurement-type.js +1 -1
  158. package/dist/esm/models/metric-costs-per-year-create.d.ts +1 -1
  159. package/dist/esm/models/metric-costs-per-year-create.js +1 -1
  160. package/dist/esm/models/metric-costs-per-year-response.d.ts +1 -1
  161. package/dist/esm/models/metric-costs-per-year-response.js +1 -1
  162. package/dist/esm/models/metric-costs-per-year-update.d.ts +1 -1
  163. package/dist/esm/models/metric-costs-per-year-update.js +1 -1
  164. package/dist/esm/models/metric-create.d.ts +1 -1
  165. package/dist/esm/models/metric-create.js +1 -1
  166. package/dist/esm/models/metric-performance-response.d.ts +21 -0
  167. package/dist/esm/models/metric-performance-response.js +14 -0
  168. package/dist/esm/models/metric-performance-year.d.ts +18 -0
  169. package/dist/esm/models/metric-performance-year.js +14 -0
  170. package/dist/esm/models/metric-response.d.ts +1 -1
  171. package/dist/esm/models/metric-response.js +1 -1
  172. package/dist/esm/models/metric-type.d.ts +1 -1
  173. package/dist/esm/models/metric-type.js +1 -1
  174. package/dist/esm/models/metric-update.d.ts +1 -1
  175. package/dist/esm/models/metric-update.js +1 -1
  176. package/dist/esm/models/monetized-impact-response.d.ts +18 -0
  177. package/dist/esm/models/monetized-impact-response.js +14 -0
  178. package/dist/esm/models/monetized-impact-year.d.ts +19 -0
  179. package/dist/esm/models/monetized-impact-year.js +14 -0
  180. package/dist/esm/models/objective-create.d.ts +1 -1
  181. package/dist/esm/models/objective-create.js +1 -1
  182. package/dist/esm/models/objective-response.d.ts +1 -1
  183. package/dist/esm/models/objective-response.js +1 -1
  184. package/dist/esm/models/objective-update.d.ts +1 -1
  185. package/dist/esm/models/objective-update.js +1 -1
  186. package/dist/esm/models/objective-weight-create.d.ts +1 -1
  187. package/dist/esm/models/objective-weight-create.js +1 -1
  188. package/dist/esm/models/objective-weight-response.d.ts +1 -1
  189. package/dist/esm/models/objective-weight-response.js +1 -1
  190. package/dist/esm/models/objective-weight-update.d.ts +1 -1
  191. package/dist/esm/models/objective-weight-update.js +1 -1
  192. package/dist/esm/models/option-chart-kpi.d.ts +1 -1
  193. package/dist/esm/models/option-chart-kpi.js +1 -1
  194. package/dist/esm/models/option-chart-kpis-yearly.d.ts +1 -1
  195. package/dist/esm/models/option-chart-kpis-yearly.js +1 -1
  196. package/dist/esm/models/option-create.d.ts +1 -1
  197. package/dist/esm/models/option-create.js +1 -1
  198. package/dist/esm/models/option-overview-response.d.ts +1 -1
  199. package/dist/esm/models/option-overview-response.js +1 -1
  200. package/dist/esm/models/option-response.d.ts +1 -1
  201. package/dist/esm/models/option-response.js +1 -1
  202. package/dist/esm/models/option-update.d.ts +1 -1
  203. package/dist/esm/models/option-update.js +1 -1
  204. package/dist/esm/models/portfolio-budget-expenditure-response.d.ts +21 -0
  205. package/dist/esm/models/portfolio-budget-expenditure-response.js +14 -0
  206. package/dist/esm/models/portfolio-budget-expenditure-year.d.ts +18 -0
  207. package/dist/esm/models/portfolio-budget-expenditure-year.js +14 -0
  208. package/dist/esm/models/portfolio-budget-usage-item.d.ts +28 -0
  209. package/dist/esm/models/portfolio-budget-usage-item.js +14 -0
  210. package/dist/esm/models/portfolio-bulk-delete-request.d.ts +20 -0
  211. package/dist/esm/models/portfolio-bulk-delete-request.js +14 -0
  212. package/dist/esm/models/portfolio-create.d.ts +21 -0
  213. package/dist/esm/models/portfolio-create.js +14 -0
  214. package/dist/esm/models/portfolio-investment-bulk-add-request.d.ts +20 -0
  215. package/dist/esm/models/portfolio-investment-bulk-add-request.js +14 -0
  216. package/dist/esm/models/portfolio-investment-bulk-add-response.d.ts +24 -0
  217. package/dist/esm/models/portfolio-investment-bulk-add-response.js +14 -0
  218. package/dist/esm/models/portfolio-investment-bulk-delete-request.d.ts +20 -0
  219. package/dist/esm/models/portfolio-investment-bulk-delete-request.js +14 -0
  220. package/dist/esm/models/portfolio-investment-response.d.ts +25 -0
  221. package/dist/esm/models/portfolio-investment-response.js +14 -0
  222. package/dist/esm/models/portfolio-kpidistribution-budget-item.d.ts +19 -0
  223. package/dist/esm/models/portfolio-kpidistribution-budget-item.js +14 -0
  224. package/dist/esm/models/portfolio-kpidistribution-response.d.ts +20 -0
  225. package/dist/esm/models/portfolio-kpidistribution-response.js +14 -0
  226. package/dist/esm/models/portfolio-kpidistribution-year-overrun.d.ts +19 -0
  227. package/dist/esm/models/portfolio-kpidistribution-year-overrun.js +14 -0
  228. package/dist/esm/models/portfolio-kpidistribution-year-value.d.ts +18 -0
  229. package/dist/esm/models/portfolio-kpidistribution-year-value.js +14 -0
  230. package/dist/esm/models/portfolio-kpioverrun-distribution-response.d.ts +19 -0
  231. package/dist/esm/models/portfolio-kpioverrun-distribution-response.js +14 -0
  232. package/dist/esm/models/portfolio-kpiresponse.d.ts +31 -0
  233. package/dist/esm/models/portfolio-kpiresponse.js +14 -0
  234. package/dist/esm/models/portfolio-overview-item-response.d.ts +40 -0
  235. package/dist/esm/models/portfolio-overview-item-response.js +14 -0
  236. package/dist/esm/models/portfolio-response.d.ts +25 -0
  237. package/dist/esm/models/portfolio-response.js +14 -0
  238. package/dist/esm/models/portfolio-update.d.ts +18 -0
  239. package/dist/esm/models/portfolio-update.js +14 -0
  240. package/dist/esm/models/preferred-option-request.d.ts +1 -1
  241. package/dist/esm/models/preferred-option-request.js +1 -1
  242. package/dist/esm/models/preferred-option-response.d.ts +1 -1
  243. package/dist/esm/models/preferred-option-response.js +1 -1
  244. package/dist/esm/models/validation-error.d.ts +1 -1
  245. package/dist/esm/models/validation-error.js +1 -1
  246. package/dist/esm/models/value-framework-create.d.ts +1 -1
  247. package/dist/esm/models/value-framework-create.js +1 -1
  248. package/dist/esm/models/value-framework-response.d.ts +1 -1
  249. package/dist/esm/models/value-framework-response.js +1 -1
  250. package/dist/esm/models/value-framework-update.d.ts +1 -1
  251. package/dist/esm/models/value-framework-update.js +1 -1
  252. package/dist/index.d.ts +1 -1
  253. package/dist/index.js +1 -1
  254. package/dist/models/budget-bulk-delete-request.d.ts +3 -3
  255. package/dist/models/budget-bulk-delete-request.js +1 -1
  256. package/dist/models/budget-create.d.ts +1 -1
  257. package/dist/models/budget-create.js +1 -1
  258. package/dist/models/budget-investment-response.d.ts +1 -1
  259. package/dist/models/budget-investment-response.js +1 -1
  260. package/dist/models/budget-link-options-request.d.ts +1 -1
  261. package/dist/models/budget-link-options-request.js +1 -1
  262. package/dist/models/budget-option-response.d.ts +1 -1
  263. package/dist/models/budget-option-response.js +1 -1
  264. package/dist/models/budget-overview-response.d.ts +1 -1
  265. package/dist/models/budget-overview-response.js +1 -1
  266. package/dist/models/budget-response.d.ts +1 -1
  267. package/dist/models/budget-response.js +1 -1
  268. package/dist/models/budget-update.d.ts +1 -1
  269. package/dist/models/budget-update.js +1 -1
  270. package/dist/models/bulk-delete-request.d.ts +1 -1
  271. package/dist/models/bulk-delete-request.js +1 -1
  272. package/dist/models/evolution-type.d.ts +1 -1
  273. package/dist/models/evolution-type.js +1 -1
  274. package/dist/models/httpvalidation-error.d.ts +1 -1
  275. package/dist/models/httpvalidation-error.js +1 -1
  276. package/dist/models/impact-apiresponse.d.ts +1 -2
  277. package/dist/models/impact-apiresponse.js +1 -1
  278. package/dist/models/impact-bulk-item.d.ts +33 -0
  279. package/dist/models/impact-bulk-item.js +15 -0
  280. package/dist/models/impact-create.d.ts +1 -5
  281. package/dist/models/impact-create.js +1 -1
  282. package/dist/models/impact-update.d.ts +1 -2
  283. package/dist/models/impact-update.js +1 -1
  284. package/dist/models/index.d.ts +23 -0
  285. package/dist/models/index.js +23 -0
  286. package/dist/models/investment-create.d.ts +1 -1
  287. package/dist/models/investment-create.js +1 -1
  288. package/dist/models/investment-overview-response.d.ts +1 -1
  289. package/dist/models/investment-overview-response.js +1 -1
  290. package/dist/models/investment-response.d.ts +1 -1
  291. package/dist/models/investment-response.js +1 -1
  292. package/dist/models/investment-update.d.ts +1 -1
  293. package/dist/models/investment-update.js +1 -1
  294. package/dist/models/location-inner.d.ts +1 -1
  295. package/dist/models/location-inner.js +1 -1
  296. package/dist/models/measurement-type.d.ts +1 -1
  297. package/dist/models/measurement-type.js +1 -1
  298. package/dist/models/metric-costs-per-year-create.d.ts +1 -1
  299. package/dist/models/metric-costs-per-year-create.js +1 -1
  300. package/dist/models/metric-costs-per-year-response.d.ts +1 -1
  301. package/dist/models/metric-costs-per-year-response.js +1 -1
  302. package/dist/models/metric-costs-per-year-update.d.ts +1 -1
  303. package/dist/models/metric-costs-per-year-update.js +1 -1
  304. package/dist/models/metric-create.d.ts +1 -1
  305. package/dist/models/metric-create.js +1 -1
  306. package/dist/models/metric-performance-response.d.ts +21 -0
  307. package/dist/models/metric-performance-response.js +15 -0
  308. package/dist/models/metric-performance-year.d.ts +18 -0
  309. package/dist/models/metric-performance-year.js +15 -0
  310. package/dist/models/metric-response.d.ts +1 -1
  311. package/dist/models/metric-response.js +1 -1
  312. package/dist/models/metric-type.d.ts +1 -1
  313. package/dist/models/metric-type.js +1 -1
  314. package/dist/models/metric-update.d.ts +1 -1
  315. package/dist/models/metric-update.js +1 -1
  316. package/dist/models/monetized-impact-response.d.ts +18 -0
  317. package/dist/models/monetized-impact-response.js +15 -0
  318. package/dist/models/monetized-impact-year.d.ts +19 -0
  319. package/dist/models/monetized-impact-year.js +15 -0
  320. package/dist/models/objective-create.d.ts +1 -1
  321. package/dist/models/objective-create.js +1 -1
  322. package/dist/models/objective-response.d.ts +1 -1
  323. package/dist/models/objective-response.js +1 -1
  324. package/dist/models/objective-update.d.ts +1 -1
  325. package/dist/models/objective-update.js +1 -1
  326. package/dist/models/objective-weight-create.d.ts +1 -1
  327. package/dist/models/objective-weight-create.js +1 -1
  328. package/dist/models/objective-weight-response.d.ts +1 -1
  329. package/dist/models/objective-weight-response.js +1 -1
  330. package/dist/models/objective-weight-update.d.ts +1 -1
  331. package/dist/models/objective-weight-update.js +1 -1
  332. package/dist/models/option-chart-kpi.d.ts +1 -1
  333. package/dist/models/option-chart-kpi.js +1 -1
  334. package/dist/models/option-chart-kpis-yearly.d.ts +1 -1
  335. package/dist/models/option-chart-kpis-yearly.js +1 -1
  336. package/dist/models/option-create.d.ts +1 -1
  337. package/dist/models/option-create.js +1 -1
  338. package/dist/models/option-overview-response.d.ts +1 -1
  339. package/dist/models/option-overview-response.js +1 -1
  340. package/dist/models/option-response.d.ts +1 -1
  341. package/dist/models/option-response.js +1 -1
  342. package/dist/models/option-update.d.ts +1 -1
  343. package/dist/models/option-update.js +1 -1
  344. package/dist/models/portfolio-budget-expenditure-response.d.ts +21 -0
  345. package/dist/models/portfolio-budget-expenditure-response.js +15 -0
  346. package/dist/models/portfolio-budget-expenditure-year.d.ts +18 -0
  347. package/dist/models/portfolio-budget-expenditure-year.js +15 -0
  348. package/dist/models/portfolio-budget-usage-item.d.ts +28 -0
  349. package/dist/models/portfolio-budget-usage-item.js +15 -0
  350. package/dist/models/portfolio-bulk-delete-request.d.ts +20 -0
  351. package/dist/models/portfolio-bulk-delete-request.js +15 -0
  352. package/dist/models/portfolio-create.d.ts +21 -0
  353. package/dist/models/portfolio-create.js +15 -0
  354. package/dist/models/portfolio-investment-bulk-add-request.d.ts +20 -0
  355. package/dist/models/portfolio-investment-bulk-add-request.js +15 -0
  356. package/dist/models/portfolio-investment-bulk-add-response.d.ts +24 -0
  357. package/dist/models/portfolio-investment-bulk-add-response.js +15 -0
  358. package/dist/models/portfolio-investment-bulk-delete-request.d.ts +20 -0
  359. package/dist/models/portfolio-investment-bulk-delete-request.js +15 -0
  360. package/dist/models/portfolio-investment-response.d.ts +25 -0
  361. package/dist/models/portfolio-investment-response.js +15 -0
  362. package/dist/models/portfolio-kpidistribution-budget-item.d.ts +19 -0
  363. package/dist/models/portfolio-kpidistribution-budget-item.js +15 -0
  364. package/dist/models/portfolio-kpidistribution-response.d.ts +20 -0
  365. package/dist/models/portfolio-kpidistribution-response.js +15 -0
  366. package/dist/models/portfolio-kpidistribution-year-overrun.d.ts +19 -0
  367. package/dist/models/portfolio-kpidistribution-year-overrun.js +15 -0
  368. package/dist/models/portfolio-kpidistribution-year-value.d.ts +18 -0
  369. package/dist/models/portfolio-kpidistribution-year-value.js +15 -0
  370. package/dist/models/portfolio-kpioverrun-distribution-response.d.ts +19 -0
  371. package/dist/models/portfolio-kpioverrun-distribution-response.js +15 -0
  372. package/dist/models/portfolio-kpiresponse.d.ts +31 -0
  373. package/dist/models/portfolio-kpiresponse.js +15 -0
  374. package/dist/models/portfolio-overview-item-response.d.ts +40 -0
  375. package/dist/models/portfolio-overview-item-response.js +15 -0
  376. package/dist/models/portfolio-response.d.ts +25 -0
  377. package/dist/models/portfolio-response.js +15 -0
  378. package/dist/models/portfolio-update.d.ts +18 -0
  379. package/dist/models/portfolio-update.js +15 -0
  380. package/dist/models/preferred-option-request.d.ts +1 -1
  381. package/dist/models/preferred-option-request.js +1 -1
  382. package/dist/models/preferred-option-response.d.ts +1 -1
  383. package/dist/models/preferred-option-response.js +1 -1
  384. package/dist/models/validation-error.d.ts +1 -1
  385. package/dist/models/validation-error.js +1 -1
  386. package/dist/models/value-framework-create.d.ts +1 -1
  387. package/dist/models/value-framework-create.js +1 -1
  388. package/dist/models/value-framework-response.d.ts +1 -1
  389. package/dist/models/value-framework-response.js +1 -1
  390. package/dist/models/value-framework-update.d.ts +1 -1
  391. package/dist/models/value-framework-update.js +1 -1
  392. package/docs/BudgetApi.md +4 -4
  393. package/docs/BudgetBulkDeleteRequest.md +2 -2
  394. package/docs/ImpactAPIResponse.md +0 -2
  395. package/docs/ImpactApi.md +60 -0
  396. package/docs/ImpactBulkItem.md +27 -0
  397. package/docs/ImpactCreate.md +0 -2
  398. package/docs/ImpactUpdate.md +0 -2
  399. package/docs/InvestmentApi.md +29 -851
  400. package/docs/MetricPerformanceResponse.md +27 -0
  401. package/docs/MetricPerformanceYear.md +23 -0
  402. package/docs/MonetizedImpactResponse.md +21 -0
  403. package/docs/MonetizedImpactYear.md +25 -0
  404. package/docs/ObjectiveApi.md +0 -351
  405. package/docs/OptionApi.md +7 -312
  406. package/docs/PortfolioApi.md +395 -0
  407. package/docs/PortfolioBudgetExpenditureResponse.md +27 -0
  408. package/docs/PortfolioBudgetExpenditureYear.md +23 -0
  409. package/docs/PortfolioBudgetUsageItem.md +31 -0
  410. package/docs/PortfolioBulkDeleteRequest.md +21 -0
  411. package/docs/PortfolioCreate.md +23 -0
  412. package/docs/PortfolioInvestmentApi.md +350 -0
  413. package/docs/PortfolioInvestmentBulkAddRequest.md +21 -0
  414. package/docs/PortfolioInvestmentBulkAddResponse.md +23 -0
  415. package/docs/PortfolioInvestmentBulkDeleteRequest.md +21 -0
  416. package/docs/PortfolioInvestmentResponse.md +25 -0
  417. package/docs/PortfolioKPIApi.md +508 -0
  418. package/docs/PortfolioKPIDistributionBudgetItem.md +25 -0
  419. package/docs/PortfolioKPIDistributionResponse.md +25 -0
  420. package/docs/PortfolioKPIDistributionYearOverrun.md +23 -0
  421. package/docs/PortfolioKPIDistributionYearValue.md +23 -0
  422. package/docs/PortfolioKPIOverrunDistributionResponse.md +23 -0
  423. package/docs/PortfolioKPIResponse.md +31 -0
  424. package/docs/PortfolioOverviewItemResponse.md +43 -0
  425. package/docs/PortfolioResponse.md +31 -0
  426. package/docs/PortfolioUpdate.md +23 -0
  427. package/docs/ValueFrameworkApi.md +7 -778
  428. package/index.ts +1 -1
  429. package/models/budget-bulk-delete-request.ts +3 -3
  430. package/models/budget-create.ts +1 -1
  431. package/models/budget-investment-response.ts +1 -1
  432. package/models/budget-link-options-request.ts +1 -1
  433. package/models/budget-option-response.ts +1 -1
  434. package/models/budget-overview-response.ts +1 -1
  435. package/models/budget-response.ts +1 -1
  436. package/models/budget-update.ts +1 -1
  437. package/models/bulk-delete-request.ts +1 -1
  438. package/models/evolution-type.ts +1 -1
  439. package/models/httpvalidation-error.ts +1 -1
  440. package/models/impact-apiresponse.ts +1 -2
  441. package/models/impact-bulk-item.ts +43 -0
  442. package/models/impact-create.ts +1 -5
  443. package/models/impact-update.ts +1 -2
  444. package/models/index.ts +23 -0
  445. package/models/investment-create.ts +1 -1
  446. package/models/investment-overview-response.ts +1 -1
  447. package/models/investment-response.ts +1 -1
  448. package/models/investment-update.ts +1 -1
  449. package/models/location-inner.ts +1 -1
  450. package/models/measurement-type.ts +1 -1
  451. package/models/metric-costs-per-year-create.ts +1 -1
  452. package/models/metric-costs-per-year-response.ts +1 -1
  453. package/models/metric-costs-per-year-update.ts +1 -1
  454. package/models/metric-create.ts +1 -1
  455. package/models/metric-performance-response.ts +29 -0
  456. package/models/metric-performance-year.ts +24 -0
  457. package/models/metric-response.ts +1 -1
  458. package/models/metric-type.ts +1 -1
  459. package/models/metric-update.ts +1 -1
  460. package/models/monetized-impact-response.ts +26 -0
  461. package/models/monetized-impact-year.ts +25 -0
  462. package/models/objective-create.ts +1 -1
  463. package/models/objective-response.ts +1 -1
  464. package/models/objective-update.ts +1 -1
  465. package/models/objective-weight-create.ts +1 -1
  466. package/models/objective-weight-response.ts +1 -1
  467. package/models/objective-weight-update.ts +1 -1
  468. package/models/option-chart-kpi.ts +1 -1
  469. package/models/option-chart-kpis-yearly.ts +1 -1
  470. package/models/option-create.ts +1 -1
  471. package/models/option-overview-response.ts +1 -1
  472. package/models/option-response.ts +1 -1
  473. package/models/option-update.ts +1 -1
  474. package/models/portfolio-budget-expenditure-response.ts +29 -0
  475. package/models/portfolio-budget-expenditure-year.ts +24 -0
  476. package/models/portfolio-budget-usage-item.ts +34 -0
  477. package/models/portfolio-bulk-delete-request.ts +26 -0
  478. package/models/portfolio-create.ts +27 -0
  479. package/models/portfolio-investment-bulk-add-request.ts +26 -0
  480. package/models/portfolio-investment-bulk-add-response.ts +30 -0
  481. package/models/portfolio-investment-bulk-delete-request.ts +26 -0
  482. package/models/portfolio-investment-response.ts +31 -0
  483. package/models/portfolio-kpidistribution-budget-item.ts +25 -0
  484. package/models/portfolio-kpidistribution-response.ts +28 -0
  485. package/models/portfolio-kpidistribution-year-overrun.ts +27 -0
  486. package/models/portfolio-kpidistribution-year-value.ts +24 -0
  487. package/models/portfolio-kpioverrun-distribution-response.ts +27 -0
  488. package/models/portfolio-kpiresponse.ts +37 -0
  489. package/models/portfolio-overview-item-response.ts +46 -0
  490. package/models/portfolio-response.ts +31 -0
  491. package/models/portfolio-update.ts +24 -0
  492. package/models/preferred-option-request.ts +1 -1
  493. package/models/preferred-option-response.ts +1 -1
  494. package/models/validation-error.ts +1 -1
  495. package/models/value-framework-create.ts +1 -1
  496. package/models/value-framework-response.ts +1 -1
  497. package/models/value-framework-update.ts +1 -1
  498. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.3.0-dev1
7
+ * The version of the OpenAPI document: 0.4.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,48 +31,6 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
31
  */
32
32
  export const OptionApiAxiosParamCreator = function (configuration) {
33
33
  return {
34
- /**
35
- * Create a new impact under this option.
36
- * @summary Create an impact for this option
37
- * @param {string} optionId UUID of the option
38
- * @param {string} investmentId UUID of the investment
39
- * @param {ImpactCreate} impactCreate
40
- * @param {*} [options] Override http request option.
41
- * @throws {RequiredError}
42
- */
43
- createImpactForOption: (optionId_1, investmentId_1, impactCreate_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, impactCreate_1, ...args_1], void 0, function* (optionId, investmentId, impactCreate, options = {}) {
44
- // verify required parameter 'optionId' is not null or undefined
45
- assertParamExists('createImpactForOption', 'optionId', optionId);
46
- // verify required parameter 'investmentId' is not null or undefined
47
- assertParamExists('createImpactForOption', 'investmentId', investmentId);
48
- // verify required parameter 'impactCreate' is not null or undefined
49
- assertParamExists('createImpactForOption', 'impactCreate', impactCreate);
50
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
51
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
52
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
53
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
54
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55
- let baseOptions;
56
- if (configuration) {
57
- baseOptions = configuration.baseOptions;
58
- }
59
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
60
- const localVarHeaderParameter = {};
61
- const localVarQueryParameter = {};
62
- // authentication OAuth2AuthorizationCodeBearer required
63
- // oauth required
64
- yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
65
- localVarHeaderParameter['Content-Type'] = 'application/json';
66
- localVarHeaderParameter['Accept'] = 'application/json';
67
- setSearchParams(localVarUrlObj, localVarQueryParameter);
68
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
70
- localVarRequestOptions.data = serializeDataIfNeeded(impactCreate, localVarRequestOptions, configuration);
71
- return {
72
- url: toPathString(localVarUrlObj),
73
- options: localVarRequestOptions,
74
- };
75
- }),
76
34
  /**
77
35
  * Create a new option under this investment.
78
36
  * @summary Create an option for this investment
@@ -111,62 +69,22 @@ export const OptionApiAxiosParamCreator = function (configuration) {
111
69
  options: localVarRequestOptions,
112
70
  };
113
71
  }),
114
- /**
115
- * Delete an existing impact by its ID.
116
- * @summary Delete an impact for this option
117
- * @param {string} impactId UUID of the impact
118
- * @param {string} optionId UUID of the option
119
- * @param {string} investmentId UUID of the investment
120
- * @param {*} [options] Override http request option.
121
- * @throws {RequiredError}
122
- */
123
- deleteImpactForOption: (impactId_1, optionId_1, investmentId_1, ...args_1) => __awaiter(this, [impactId_1, optionId_1, investmentId_1, ...args_1], void 0, function* (impactId, optionId, investmentId, options = {}) {
124
- // verify required parameter 'impactId' is not null or undefined
125
- assertParamExists('deleteImpactForOption', 'impactId', impactId);
126
- // verify required parameter 'optionId' is not null or undefined
127
- assertParamExists('deleteImpactForOption', 'optionId', optionId);
128
- // verify required parameter 'investmentId' is not null or undefined
129
- assertParamExists('deleteImpactForOption', 'investmentId', investmentId);
130
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
131
- .replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
132
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
133
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
134
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
135
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
136
- let baseOptions;
137
- if (configuration) {
138
- baseOptions = configuration.baseOptions;
139
- }
140
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
141
- const localVarHeaderParameter = {};
142
- const localVarQueryParameter = {};
143
- // authentication OAuth2AuthorizationCodeBearer required
144
- // oauth required
145
- yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
146
- setSearchParams(localVarUrlObj, localVarQueryParameter);
147
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
148
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
149
- return {
150
- url: toPathString(localVarUrlObj),
151
- options: localVarRequestOptions,
152
- };
153
- }),
154
72
  /**
155
73
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
156
74
  * @summary Delete an option for this investment
157
- * @param {string} optionId UUID of the option
158
75
  * @param {string} investmentId UUID of the investment
76
+ * @param {string} optionId UUID of the option
159
77
  * @param {*} [options] Override http request option.
160
78
  * @throws {RequiredError}
161
79
  */
162
- deleteOptionForInvestment: (optionId_1, investmentId_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, ...args_1], void 0, function* (optionId, investmentId, options = {}) {
163
- // verify required parameter 'optionId' is not null or undefined
164
- assertParamExists('deleteOptionForInvestment', 'optionId', optionId);
80
+ deleteOptionForInvestment: (investmentId_1, optionId_1, ...args_1) => __awaiter(this, [investmentId_1, optionId_1, ...args_1], void 0, function* (investmentId, optionId, options = {}) {
165
81
  // verify required parameter 'investmentId' is not null or undefined
166
82
  assertParamExists('deleteOptionForInvestment', 'investmentId', investmentId);
83
+ // verify required parameter 'optionId' is not null or undefined
84
+ assertParamExists('deleteOptionForInvestment', 'optionId', optionId);
167
85
  const localVarPath = `/investment/{investment_id}/option/{option_id}`
168
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
169
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
86
+ .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
87
+ .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)));
170
88
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
171
89
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
172
90
  let baseOptions;
@@ -187,92 +105,6 @@ export const OptionApiAxiosParamCreator = function (configuration) {
187
105
  options: localVarRequestOptions,
188
106
  };
189
107
  }),
190
- /**
191
- * Retrieve a specific impact for the option.
192
- * @summary Get an impact for this option
193
- * @param {string} impactId UUID of the impact
194
- * @param {string} optionId UUID of the option
195
- * @param {string} investmentId UUID of the investment
196
- * @param {*} [options] Override http request option.
197
- * @throws {RequiredError}
198
- */
199
- getImpactForOption: (impactId_1, optionId_1, investmentId_1, ...args_1) => __awaiter(this, [impactId_1, optionId_1, investmentId_1, ...args_1], void 0, function* (impactId, optionId, investmentId, options = {}) {
200
- // verify required parameter 'impactId' is not null or undefined
201
- assertParamExists('getImpactForOption', 'impactId', impactId);
202
- // verify required parameter 'optionId' is not null or undefined
203
- assertParamExists('getImpactForOption', 'optionId', optionId);
204
- // verify required parameter 'investmentId' is not null or undefined
205
- assertParamExists('getImpactForOption', 'investmentId', investmentId);
206
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
207
- .replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
208
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
209
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
210
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
211
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
212
- let baseOptions;
213
- if (configuration) {
214
- baseOptions = configuration.baseOptions;
215
- }
216
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
217
- const localVarHeaderParameter = {};
218
- const localVarQueryParameter = {};
219
- // authentication OAuth2AuthorizationCodeBearer required
220
- // oauth required
221
- yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
222
- localVarHeaderParameter['Accept'] = 'application/json';
223
- setSearchParams(localVarUrlObj, localVarQueryParameter);
224
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
225
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
226
- return {
227
- url: toPathString(localVarUrlObj),
228
- options: localVarRequestOptions,
229
- };
230
- }),
231
- /**
232
- * Retrieve a paginated list of all impacts for a specific option.
233
- * @summary List impacts for this option
234
- * @param {string} optionId UUID of the option
235
- * @param {string} investmentId UUID of the investment
236
- * @param {number} [offset] Number of records to skip
237
- * @param {number} [limit] Max number of records to return
238
- * @param {*} [options] Override http request option.
239
- * @throws {RequiredError}
240
- */
241
- getImpactsForOption: (optionId_1, investmentId_1, offset_1, limit_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, offset_1, limit_1, ...args_1], void 0, function* (optionId, investmentId, offset, limit, options = {}) {
242
- // verify required parameter 'optionId' is not null or undefined
243
- assertParamExists('getImpactsForOption', 'optionId', optionId);
244
- // verify required parameter 'investmentId' is not null or undefined
245
- assertParamExists('getImpactsForOption', 'investmentId', investmentId);
246
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
247
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
248
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
249
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
250
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
251
- let baseOptions;
252
- if (configuration) {
253
- baseOptions = configuration.baseOptions;
254
- }
255
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
256
- const localVarHeaderParameter = {};
257
- const localVarQueryParameter = {};
258
- // authentication OAuth2AuthorizationCodeBearer required
259
- // oauth required
260
- yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
261
- if (offset !== undefined) {
262
- localVarQueryParameter['offset'] = offset;
263
- }
264
- if (limit !== undefined) {
265
- localVarQueryParameter['limit'] = limit;
266
- }
267
- localVarHeaderParameter['Accept'] = 'application/json';
268
- setSearchParams(localVarUrlObj, localVarQueryParameter);
269
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
270
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
271
- return {
272
- url: toPathString(localVarUrlObj),
273
- options: localVarRequestOptions,
274
- };
275
- }),
276
108
  /**
277
109
  * Retrieve a specific option for the investment.
278
110
  * @summary Get an option for this investment
@@ -313,22 +145,22 @@ export const OptionApiAxiosParamCreator = function (configuration) {
313
145
  /**
314
146
  * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
315
147
  * @summary Get the kpis for a given option inside a value framework
316
- * @param {string} investmentId UUID of the investment
317
148
  * @param {string} optionId UUID of the option
149
+ * @param {string} investmentId UUID of the investment
318
150
  * @param {string} valueFrameworkId UUID of the value framework
319
151
  * @param {*} [options] Override http request option.
320
152
  * @throws {RequiredError}
321
153
  */
322
- getOptionKpis: (investmentId_1, optionId_1, valueFrameworkId_1, ...args_1) => __awaiter(this, [investmentId_1, optionId_1, valueFrameworkId_1, ...args_1], void 0, function* (investmentId, optionId, valueFrameworkId, options = {}) {
323
- // verify required parameter 'investmentId' is not null or undefined
324
- assertParamExists('getOptionKpis', 'investmentId', investmentId);
154
+ getOptionKpis: (optionId_1, investmentId_1, valueFrameworkId_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, valueFrameworkId_1, ...args_1], void 0, function* (optionId, investmentId, valueFrameworkId, options = {}) {
325
155
  // verify required parameter 'optionId' is not null or undefined
326
156
  assertParamExists('getOptionKpis', 'optionId', optionId);
157
+ // verify required parameter 'investmentId' is not null or undefined
158
+ assertParamExists('getOptionKpis', 'investmentId', investmentId);
327
159
  // verify required parameter 'valueFrameworkId' is not null or undefined
328
160
  assertParamExists('getOptionKpis', 'valueFrameworkId', valueFrameworkId);
329
161
  const localVarPath = `/investment/{investment_id}/option/{option_id}/kpis/{value_framework_id}`
330
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
331
162
  .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
163
+ .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
332
164
  .replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
333
165
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
334
166
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -431,52 +263,6 @@ export const OptionApiAxiosParamCreator = function (configuration) {
431
263
  options: localVarRequestOptions,
432
264
  };
433
265
  }),
434
- /**
435
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
436
- * @summary Partially update an impact for this option
437
- * @param {string} impactId UUID of the impact
438
- * @param {string} optionId UUID of the option
439
- * @param {string} investmentId UUID of the investment
440
- * @param {ImpactUpdate} impactUpdate
441
- * @param {*} [options] Override http request option.
442
- * @throws {RequiredError}
443
- */
444
- patchImpactForOption: (impactId_1, optionId_1, investmentId_1, impactUpdate_1, ...args_1) => __awaiter(this, [impactId_1, optionId_1, investmentId_1, impactUpdate_1, ...args_1], void 0, function* (impactId, optionId, investmentId, impactUpdate, options = {}) {
445
- // verify required parameter 'impactId' is not null or undefined
446
- assertParamExists('patchImpactForOption', 'impactId', impactId);
447
- // verify required parameter 'optionId' is not null or undefined
448
- assertParamExists('patchImpactForOption', 'optionId', optionId);
449
- // verify required parameter 'investmentId' is not null or undefined
450
- assertParamExists('patchImpactForOption', 'investmentId', investmentId);
451
- // verify required parameter 'impactUpdate' is not null or undefined
452
- assertParamExists('patchImpactForOption', 'impactUpdate', impactUpdate);
453
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
454
- .replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
455
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
456
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
457
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
458
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
459
- let baseOptions;
460
- if (configuration) {
461
- baseOptions = configuration.baseOptions;
462
- }
463
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
464
- const localVarHeaderParameter = {};
465
- const localVarQueryParameter = {};
466
- // authentication OAuth2AuthorizationCodeBearer required
467
- // oauth required
468
- yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
469
- localVarHeaderParameter['Content-Type'] = 'application/json';
470
- localVarHeaderParameter['Accept'] = 'application/json';
471
- setSearchParams(localVarUrlObj, localVarQueryParameter);
472
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
473
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
474
- localVarRequestOptions.data = serializeDataIfNeeded(impactUpdate, localVarRequestOptions, configuration);
475
- return {
476
- url: toPathString(localVarUrlObj),
477
- options: localVarRequestOptions,
478
- };
479
- }),
480
266
  /**
481
267
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
482
268
  * @summary Partially update an option for this investment
@@ -527,24 +313,6 @@ export const OptionApiAxiosParamCreator = function (configuration) {
527
313
  export const OptionApiFp = function (configuration) {
528
314
  const localVarAxiosParamCreator = OptionApiAxiosParamCreator(configuration);
529
315
  return {
530
- /**
531
- * Create a new impact under this option.
532
- * @summary Create an impact for this option
533
- * @param {string} optionId UUID of the option
534
- * @param {string} investmentId UUID of the investment
535
- * @param {ImpactCreate} impactCreate
536
- * @param {*} [options] Override http request option.
537
- * @throws {RequiredError}
538
- */
539
- createImpactForOption(optionId, investmentId, impactCreate, options) {
540
- return __awaiter(this, void 0, void 0, function* () {
541
- var _a, _b, _c;
542
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createImpactForOption(optionId, investmentId, impactCreate, options);
543
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
544
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.createImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
545
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
546
- });
547
- },
548
316
  /**
549
317
  * Create a new option under this investment.
550
318
  * @summary Create an option for this investment
@@ -562,75 +330,20 @@ export const OptionApiFp = function (configuration) {
562
330
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
563
331
  });
564
332
  },
565
- /**
566
- * Delete an existing impact by its ID.
567
- * @summary Delete an impact for this option
568
- * @param {string} impactId UUID of the impact
569
- * @param {string} optionId UUID of the option
570
- * @param {string} investmentId UUID of the investment
571
- * @param {*} [options] Override http request option.
572
- * @throws {RequiredError}
573
- */
574
- deleteImpactForOption(impactId, optionId, investmentId, options) {
575
- return __awaiter(this, void 0, void 0, function* () {
576
- var _a, _b, _c;
577
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteImpactForOption(impactId, optionId, investmentId, options);
578
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
579
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.deleteImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
580
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
581
- });
582
- },
583
333
  /**
584
334
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
585
335
  * @summary Delete an option for this investment
586
- * @param {string} optionId UUID of the option
587
- * @param {string} investmentId UUID of the investment
588
- * @param {*} [options] Override http request option.
589
- * @throws {RequiredError}
590
- */
591
- deleteOptionForInvestment(optionId, investmentId, options) {
592
- return __awaiter(this, void 0, void 0, function* () {
593
- var _a, _b, _c;
594
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOptionForInvestment(optionId, investmentId, options);
595
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
596
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.deleteOptionForInvestment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
597
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
598
- });
599
- },
600
- /**
601
- * Retrieve a specific impact for the option.
602
- * @summary Get an impact for this option
603
- * @param {string} impactId UUID of the impact
604
- * @param {string} optionId UUID of the option
605
336
  * @param {string} investmentId UUID of the investment
606
- * @param {*} [options] Override http request option.
607
- * @throws {RequiredError}
608
- */
609
- getImpactForOption(impactId, optionId, investmentId, options) {
610
- return __awaiter(this, void 0, void 0, function* () {
611
- var _a, _b, _c;
612
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getImpactForOption(impactId, optionId, investmentId, options);
613
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
614
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.getImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
615
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
616
- });
617
- },
618
- /**
619
- * Retrieve a paginated list of all impacts for a specific option.
620
- * @summary List impacts for this option
621
337
  * @param {string} optionId UUID of the option
622
- * @param {string} investmentId UUID of the investment
623
- * @param {number} [offset] Number of records to skip
624
- * @param {number} [limit] Max number of records to return
625
338
  * @param {*} [options] Override http request option.
626
339
  * @throws {RequiredError}
627
340
  */
628
- getImpactsForOption(optionId, investmentId, offset, limit, options) {
341
+ deleteOptionForInvestment(investmentId, optionId, options) {
629
342
  return __awaiter(this, void 0, void 0, function* () {
630
343
  var _a, _b, _c;
631
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getImpactsForOption(optionId, investmentId, offset, limit, options);
344
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOptionForInvestment(investmentId, optionId, options);
632
345
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
633
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.getImpactsForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
346
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.deleteOptionForInvestment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
634
347
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
635
348
  });
636
349
  },
@@ -654,16 +367,16 @@ export const OptionApiFp = function (configuration) {
654
367
  /**
655
368
  * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
656
369
  * @summary Get the kpis for a given option inside a value framework
657
- * @param {string} investmentId UUID of the investment
658
370
  * @param {string} optionId UUID of the option
371
+ * @param {string} investmentId UUID of the investment
659
372
  * @param {string} valueFrameworkId UUID of the value framework
660
373
  * @param {*} [options] Override http request option.
661
374
  * @throws {RequiredError}
662
375
  */
663
- getOptionKpis(investmentId, optionId, valueFrameworkId, options) {
376
+ getOptionKpis(optionId, investmentId, valueFrameworkId, options) {
664
377
  return __awaiter(this, void 0, void 0, function* () {
665
378
  var _a, _b, _c;
666
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptionKpis(investmentId, optionId, valueFrameworkId, options);
379
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptionKpis(optionId, investmentId, valueFrameworkId, options);
667
380
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
668
381
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.getOptionKpis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
669
382
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -704,25 +417,6 @@ export const OptionApiFp = function (configuration) {
704
417
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
705
418
  });
706
419
  },
707
- /**
708
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
709
- * @summary Partially update an impact for this option
710
- * @param {string} impactId UUID of the impact
711
- * @param {string} optionId UUID of the option
712
- * @param {string} investmentId UUID of the investment
713
- * @param {ImpactUpdate} impactUpdate
714
- * @param {*} [options] Override http request option.
715
- * @throws {RequiredError}
716
- */
717
- patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options) {
718
- return __awaiter(this, void 0, void 0, function* () {
719
- var _a, _b, _c;
720
- const localVarAxiosArgs = yield localVarAxiosParamCreator.patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options);
721
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
722
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.patchImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
723
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
724
- });
725
- },
726
420
  /**
727
421
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
728
422
  * @summary Partially update an option for this investment
@@ -749,18 +443,6 @@ export const OptionApiFp = function (configuration) {
749
443
  export const OptionApiFactory = function (configuration, basePath, axios) {
750
444
  const localVarFp = OptionApiFp(configuration);
751
445
  return {
752
- /**
753
- * Create a new impact under this option.
754
- * @summary Create an impact for this option
755
- * @param {string} optionId UUID of the option
756
- * @param {string} investmentId UUID of the investment
757
- * @param {ImpactCreate} impactCreate
758
- * @param {*} [options] Override http request option.
759
- * @throws {RequiredError}
760
- */
761
- createImpactForOption(optionId, investmentId, impactCreate, options) {
762
- return localVarFp.createImpactForOption(optionId, investmentId, impactCreate, options).then((request) => request(axios, basePath));
763
- },
764
446
  /**
765
447
  * Create a new option under this investment.
766
448
  * @summary Create an option for this investment
@@ -772,53 +454,16 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
772
454
  createOptionForInvestment(investmentId, optionCreate, options) {
773
455
  return localVarFp.createOptionForInvestment(investmentId, optionCreate, options).then((request) => request(axios, basePath));
774
456
  },
775
- /**
776
- * Delete an existing impact by its ID.
777
- * @summary Delete an impact for this option
778
- * @param {string} impactId UUID of the impact
779
- * @param {string} optionId UUID of the option
780
- * @param {string} investmentId UUID of the investment
781
- * @param {*} [options] Override http request option.
782
- * @throws {RequiredError}
783
- */
784
- deleteImpactForOption(impactId, optionId, investmentId, options) {
785
- return localVarFp.deleteImpactForOption(impactId, optionId, investmentId, options).then((request) => request(axios, basePath));
786
- },
787
457
  /**
788
458
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
789
459
  * @summary Delete an option for this investment
790
- * @param {string} optionId UUID of the option
791
460
  * @param {string} investmentId UUID of the investment
792
- * @param {*} [options] Override http request option.
793
- * @throws {RequiredError}
794
- */
795
- deleteOptionForInvestment(optionId, investmentId, options) {
796
- return localVarFp.deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(axios, basePath));
797
- },
798
- /**
799
- * Retrieve a specific impact for the option.
800
- * @summary Get an impact for this option
801
- * @param {string} impactId UUID of the impact
802
- * @param {string} optionId UUID of the option
803
- * @param {string} investmentId UUID of the investment
804
- * @param {*} [options] Override http request option.
805
- * @throws {RequiredError}
806
- */
807
- getImpactForOption(impactId, optionId, investmentId, options) {
808
- return localVarFp.getImpactForOption(impactId, optionId, investmentId, options).then((request) => request(axios, basePath));
809
- },
810
- /**
811
- * Retrieve a paginated list of all impacts for a specific option.
812
- * @summary List impacts for this option
813
461
  * @param {string} optionId UUID of the option
814
- * @param {string} investmentId UUID of the investment
815
- * @param {number} [offset] Number of records to skip
816
- * @param {number} [limit] Max number of records to return
817
462
  * @param {*} [options] Override http request option.
818
463
  * @throws {RequiredError}
819
464
  */
820
- getImpactsForOption(optionId, investmentId, offset, limit, options) {
821
- return localVarFp.getImpactsForOption(optionId, investmentId, offset, limit, options).then((request) => request(axios, basePath));
465
+ deleteOptionForInvestment(investmentId, optionId, options) {
466
+ return localVarFp.deleteOptionForInvestment(investmentId, optionId, options).then((request) => request(axios, basePath));
822
467
  },
823
468
  /**
824
469
  * Retrieve a specific option for the investment.
@@ -834,14 +479,14 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
834
479
  /**
835
480
  * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
836
481
  * @summary Get the kpis for a given option inside a value framework
837
- * @param {string} investmentId UUID of the investment
838
482
  * @param {string} optionId UUID of the option
483
+ * @param {string} investmentId UUID of the investment
839
484
  * @param {string} valueFrameworkId UUID of the value framework
840
485
  * @param {*} [options] Override http request option.
841
486
  * @throws {RequiredError}
842
487
  */
843
- getOptionKpis(investmentId, optionId, valueFrameworkId, options) {
844
- return localVarFp.getOptionKpis(investmentId, optionId, valueFrameworkId, options).then((request) => request(axios, basePath));
488
+ getOptionKpis(optionId, investmentId, valueFrameworkId, options) {
489
+ return localVarFp.getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
845
490
  },
846
491
  /**
847
492
  * Retrieve a paginated list of all options for a specific investment.
@@ -866,19 +511,6 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
866
511
  getOptionsOverview(investmentId, valueFrameworkId, options) {
867
512
  return localVarFp.getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
868
513
  },
869
- /**
870
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
871
- * @summary Partially update an impact for this option
872
- * @param {string} impactId UUID of the impact
873
- * @param {string} optionId UUID of the option
874
- * @param {string} investmentId UUID of the investment
875
- * @param {ImpactUpdate} impactUpdate
876
- * @param {*} [options] Override http request option.
877
- * @throws {RequiredError}
878
- */
879
- patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options) {
880
- return localVarFp.patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options).then((request) => request(axios, basePath));
881
- },
882
514
  /**
883
515
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
884
516
  * @summary Partially update an option for this investment
@@ -897,18 +529,6 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
897
529
  * OptionApi - object-oriented interface
898
530
  */
899
531
  export class OptionApi extends BaseAPI {
900
- /**
901
- * Create a new impact under this option.
902
- * @summary Create an impact for this option
903
- * @param {string} optionId UUID of the option
904
- * @param {string} investmentId UUID of the investment
905
- * @param {ImpactCreate} impactCreate
906
- * @param {*} [options] Override http request option.
907
- * @throws {RequiredError}
908
- */
909
- createImpactForOption(optionId, investmentId, impactCreate, options) {
910
- return OptionApiFp(this.configuration).createImpactForOption(optionId, investmentId, impactCreate, options).then((request) => request(this.axios, this.basePath));
911
- }
912
532
  /**
913
533
  * Create a new option under this investment.
914
534
  * @summary Create an option for this investment
@@ -920,53 +540,16 @@ export class OptionApi extends BaseAPI {
920
540
  createOptionForInvestment(investmentId, optionCreate, options) {
921
541
  return OptionApiFp(this.configuration).createOptionForInvestment(investmentId, optionCreate, options).then((request) => request(this.axios, this.basePath));
922
542
  }
923
- /**
924
- * Delete an existing impact by its ID.
925
- * @summary Delete an impact for this option
926
- * @param {string} impactId UUID of the impact
927
- * @param {string} optionId UUID of the option
928
- * @param {string} investmentId UUID of the investment
929
- * @param {*} [options] Override http request option.
930
- * @throws {RequiredError}
931
- */
932
- deleteImpactForOption(impactId, optionId, investmentId, options) {
933
- return OptionApiFp(this.configuration).deleteImpactForOption(impactId, optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
934
- }
935
543
  /**
936
544
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
937
545
  * @summary Delete an option for this investment
938
- * @param {string} optionId UUID of the option
939
- * @param {string} investmentId UUID of the investment
940
- * @param {*} [options] Override http request option.
941
- * @throws {RequiredError}
942
- */
943
- deleteOptionForInvestment(optionId, investmentId, options) {
944
- return OptionApiFp(this.configuration).deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
945
- }
946
- /**
947
- * Retrieve a specific impact for the option.
948
- * @summary Get an impact for this option
949
- * @param {string} impactId UUID of the impact
950
- * @param {string} optionId UUID of the option
951
546
  * @param {string} investmentId UUID of the investment
952
- * @param {*} [options] Override http request option.
953
- * @throws {RequiredError}
954
- */
955
- getImpactForOption(impactId, optionId, investmentId, options) {
956
- return OptionApiFp(this.configuration).getImpactForOption(impactId, optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
957
- }
958
- /**
959
- * Retrieve a paginated list of all impacts for a specific option.
960
- * @summary List impacts for this option
961
547
  * @param {string} optionId UUID of the option
962
- * @param {string} investmentId UUID of the investment
963
- * @param {number} [offset] Number of records to skip
964
- * @param {number} [limit] Max number of records to return
965
548
  * @param {*} [options] Override http request option.
966
549
  * @throws {RequiredError}
967
550
  */
968
- getImpactsForOption(optionId, investmentId, offset, limit, options) {
969
- return OptionApiFp(this.configuration).getImpactsForOption(optionId, investmentId, offset, limit, options).then((request) => request(this.axios, this.basePath));
551
+ deleteOptionForInvestment(investmentId, optionId, options) {
552
+ return OptionApiFp(this.configuration).deleteOptionForInvestment(investmentId, optionId, options).then((request) => request(this.axios, this.basePath));
970
553
  }
971
554
  /**
972
555
  * Retrieve a specific option for the investment.
@@ -982,14 +565,14 @@ export class OptionApi extends BaseAPI {
982
565
  /**
983
566
  * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
984
567
  * @summary Get the kpis for a given option inside a value framework
985
- * @param {string} investmentId UUID of the investment
986
568
  * @param {string} optionId UUID of the option
569
+ * @param {string} investmentId UUID of the investment
987
570
  * @param {string} valueFrameworkId UUID of the value framework
988
571
  * @param {*} [options] Override http request option.
989
572
  * @throws {RequiredError}
990
573
  */
991
- getOptionKpis(investmentId, optionId, valueFrameworkId, options) {
992
- return OptionApiFp(this.configuration).getOptionKpis(investmentId, optionId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
574
+ getOptionKpis(optionId, investmentId, valueFrameworkId, options) {
575
+ return OptionApiFp(this.configuration).getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
993
576
  }
994
577
  /**
995
578
  * Retrieve a paginated list of all options for a specific investment.
@@ -1014,19 +597,6 @@ export class OptionApi extends BaseAPI {
1014
597
  getOptionsOverview(investmentId, valueFrameworkId, options) {
1015
598
  return OptionApiFp(this.configuration).getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
1016
599
  }
1017
- /**
1018
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
1019
- * @summary Partially update an impact for this option
1020
- * @param {string} impactId UUID of the impact
1021
- * @param {string} optionId UUID of the option
1022
- * @param {string} investmentId UUID of the investment
1023
- * @param {ImpactUpdate} impactUpdate
1024
- * @param {*} [options] Override http request option.
1025
- * @throws {RequiredError}
1026
- */
1027
- patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options) {
1028
- return OptionApiFp(this.configuration).patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options).then((request) => request(this.axios, this.basePath));
1029
- }
1030
600
  /**
1031
601
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
1032
602
  * @summary Partially update an option for this investment