@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
package/api/option-api.ts CHANGED
@@ -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).
@@ -22,12 +22,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
22
22
  // @ts-ignore
23
23
  import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
24
  // @ts-ignore
25
- import type { ImpactAPIResponse } from '../models';
26
- // @ts-ignore
27
- import type { ImpactCreate } from '../models';
28
- // @ts-ignore
29
- import type { ImpactUpdate } from '../models';
30
- // @ts-ignore
31
25
  import type { OptionChartKPIsYearly } from '../models';
32
26
  // @ts-ignore
33
27
  import type { OptionCreate } from '../models';
@@ -42,53 +36,6 @@ import type { OptionUpdate } from '../models';
42
36
  */
43
37
  export const OptionApiAxiosParamCreator = function (configuration?: Configuration) {
44
38
  return {
45
- /**
46
- * Create a new impact under this option.
47
- * @summary Create an impact for this option
48
- * @param {string} optionId UUID of the option
49
- * @param {string} investmentId UUID of the investment
50
- * @param {ImpactCreate} impactCreate
51
- * @param {*} [options] Override http request option.
52
- * @throws {RequiredError}
53
- */
54
- createImpactForOption: async (optionId: string, investmentId: string, impactCreate: ImpactCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55
- // verify required parameter 'optionId' is not null or undefined
56
- assertParamExists('createImpactForOption', 'optionId', optionId)
57
- // verify required parameter 'investmentId' is not null or undefined
58
- assertParamExists('createImpactForOption', 'investmentId', investmentId)
59
- // verify required parameter 'impactCreate' is not null or undefined
60
- assertParamExists('createImpactForOption', 'impactCreate', impactCreate)
61
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
62
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
63
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
64
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
65
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66
- let baseOptions;
67
- if (configuration) {
68
- baseOptions = configuration.baseOptions;
69
- }
70
-
71
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
72
- const localVarHeaderParameter = {} as any;
73
- const localVarQueryParameter = {} as any;
74
-
75
- // authentication OAuth2AuthorizationCodeBearer required
76
- // oauth required
77
- await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
78
-
79
- localVarHeaderParameter['Content-Type'] = 'application/json';
80
- localVarHeaderParameter['Accept'] = 'application/json';
81
-
82
- setSearchParams(localVarUrlObj, localVarQueryParameter);
83
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
85
- localVarRequestOptions.data = serializeDataIfNeeded(impactCreate, localVarRequestOptions, configuration)
86
-
87
- return {
88
- url: toPathString(localVarUrlObj),
89
- options: localVarRequestOptions,
90
- };
91
- },
92
39
  /**
93
40
  * Create a new option under this investment.
94
41
  * @summary Create an option for this investment
@@ -132,67 +79,22 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
132
79
  options: localVarRequestOptions,
133
80
  };
134
81
  },
135
- /**
136
- * Delete an existing impact by its ID.
137
- * @summary Delete an impact for this option
138
- * @param {string} impactId UUID of the impact
139
- * @param {string} optionId UUID of the option
140
- * @param {string} investmentId UUID of the investment
141
- * @param {*} [options] Override http request option.
142
- * @throws {RequiredError}
143
- */
144
- deleteImpactForOption: async (impactId: string, optionId: string, investmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
145
- // verify required parameter 'impactId' is not null or undefined
146
- assertParamExists('deleteImpactForOption', 'impactId', impactId)
147
- // verify required parameter 'optionId' is not null or undefined
148
- assertParamExists('deleteImpactForOption', 'optionId', optionId)
149
- // verify required parameter 'investmentId' is not null or undefined
150
- assertParamExists('deleteImpactForOption', 'investmentId', investmentId)
151
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
152
- .replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
153
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
154
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
155
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
156
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
157
- let baseOptions;
158
- if (configuration) {
159
- baseOptions = configuration.baseOptions;
160
- }
161
-
162
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
163
- const localVarHeaderParameter = {} as any;
164
- const localVarQueryParameter = {} as any;
165
-
166
- // authentication OAuth2AuthorizationCodeBearer required
167
- // oauth required
168
- await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
169
-
170
-
171
- setSearchParams(localVarUrlObj, localVarQueryParameter);
172
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
173
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
174
-
175
- return {
176
- url: toPathString(localVarUrlObj),
177
- options: localVarRequestOptions,
178
- };
179
- },
180
82
  /**
181
83
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
182
84
  * @summary Delete an option for this investment
183
- * @param {string} optionId UUID of the option
184
85
  * @param {string} investmentId UUID of the investment
86
+ * @param {string} optionId UUID of the option
185
87
  * @param {*} [options] Override http request option.
186
88
  * @throws {RequiredError}
187
89
  */
188
- deleteOptionForInvestment: async (optionId: string, investmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
189
- // verify required parameter 'optionId' is not null or undefined
190
- assertParamExists('deleteOptionForInvestment', 'optionId', optionId)
90
+ deleteOptionForInvestment: async (investmentId: string, optionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
191
91
  // verify required parameter 'investmentId' is not null or undefined
192
92
  assertParamExists('deleteOptionForInvestment', 'investmentId', investmentId)
93
+ // verify required parameter 'optionId' is not null or undefined
94
+ assertParamExists('deleteOptionForInvestment', 'optionId', optionId)
193
95
  const localVarPath = `/investment/{investment_id}/option/{option_id}`
194
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
195
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
96
+ .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
97
+ .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)));
196
98
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
197
99
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
198
100
  let baseOptions;
@@ -209,104 +111,6 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
209
111
  await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
210
112
 
211
113
 
212
- setSearchParams(localVarUrlObj, localVarQueryParameter);
213
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
214
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
215
-
216
- return {
217
- url: toPathString(localVarUrlObj),
218
- options: localVarRequestOptions,
219
- };
220
- },
221
- /**
222
- * Retrieve a specific impact for the option.
223
- * @summary Get an impact for this option
224
- * @param {string} impactId UUID of the impact
225
- * @param {string} optionId UUID of the option
226
- * @param {string} investmentId UUID of the investment
227
- * @param {*} [options] Override http request option.
228
- * @throws {RequiredError}
229
- */
230
- getImpactForOption: async (impactId: string, optionId: string, investmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
231
- // verify required parameter 'impactId' is not null or undefined
232
- assertParamExists('getImpactForOption', 'impactId', impactId)
233
- // verify required parameter 'optionId' is not null or undefined
234
- assertParamExists('getImpactForOption', 'optionId', optionId)
235
- // verify required parameter 'investmentId' is not null or undefined
236
- assertParamExists('getImpactForOption', 'investmentId', investmentId)
237
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
238
- .replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
239
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
240
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
241
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
242
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
243
- let baseOptions;
244
- if (configuration) {
245
- baseOptions = configuration.baseOptions;
246
- }
247
-
248
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
249
- const localVarHeaderParameter = {} as any;
250
- const localVarQueryParameter = {} as any;
251
-
252
- // authentication OAuth2AuthorizationCodeBearer required
253
- // oauth required
254
- await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
255
-
256
- localVarHeaderParameter['Accept'] = 'application/json';
257
-
258
- setSearchParams(localVarUrlObj, localVarQueryParameter);
259
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
260
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
261
-
262
- return {
263
- url: toPathString(localVarUrlObj),
264
- options: localVarRequestOptions,
265
- };
266
- },
267
- /**
268
- * Retrieve a paginated list of all impacts for a specific option.
269
- * @summary List impacts for this option
270
- * @param {string} optionId UUID of the option
271
- * @param {string} investmentId UUID of the investment
272
- * @param {number} [offset] Number of records to skip
273
- * @param {number} [limit] Max number of records to return
274
- * @param {*} [options] Override http request option.
275
- * @throws {RequiredError}
276
- */
277
- getImpactsForOption: async (optionId: string, investmentId: string, offset?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
278
- // verify required parameter 'optionId' is not null or undefined
279
- assertParamExists('getImpactsForOption', 'optionId', optionId)
280
- // verify required parameter 'investmentId' is not null or undefined
281
- assertParamExists('getImpactsForOption', 'investmentId', investmentId)
282
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
283
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
284
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
285
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
286
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
287
- let baseOptions;
288
- if (configuration) {
289
- baseOptions = configuration.baseOptions;
290
- }
291
-
292
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
293
- const localVarHeaderParameter = {} as any;
294
- const localVarQueryParameter = {} as any;
295
-
296
- // authentication OAuth2AuthorizationCodeBearer required
297
- // oauth required
298
- await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
299
-
300
- if (offset !== undefined) {
301
- localVarQueryParameter['offset'] = offset;
302
- }
303
-
304
- if (limit !== undefined) {
305
- localVarQueryParameter['limit'] = limit;
306
- }
307
-
308
- localVarHeaderParameter['Accept'] = 'application/json';
309
-
310
114
  setSearchParams(localVarUrlObj, localVarQueryParameter);
311
115
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
312
116
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -361,22 +165,22 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
361
165
  /**
362
166
  * 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.
363
167
  * @summary Get the kpis for a given option inside a value framework
364
- * @param {string} investmentId UUID of the investment
365
168
  * @param {string} optionId UUID of the option
169
+ * @param {string} investmentId UUID of the investment
366
170
  * @param {string} valueFrameworkId UUID of the value framework
367
171
  * @param {*} [options] Override http request option.
368
172
  * @throws {RequiredError}
369
173
  */
370
- getOptionKpis: async (investmentId: string, optionId: string, valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
371
- // verify required parameter 'investmentId' is not null or undefined
372
- assertParamExists('getOptionKpis', 'investmentId', investmentId)
174
+ getOptionKpis: async (optionId: string, investmentId: string, valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
373
175
  // verify required parameter 'optionId' is not null or undefined
374
176
  assertParamExists('getOptionKpis', 'optionId', optionId)
177
+ // verify required parameter 'investmentId' is not null or undefined
178
+ assertParamExists('getOptionKpis', 'investmentId', investmentId)
375
179
  // verify required parameter 'valueFrameworkId' is not null or undefined
376
180
  assertParamExists('getOptionKpis', 'valueFrameworkId', valueFrameworkId)
377
181
  const localVarPath = `/investment/{investment_id}/option/{option_id}/kpis/{value_framework_id}`
378
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
379
182
  .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
183
+ .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
380
184
  .replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
381
185
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
382
186
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -497,57 +301,6 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
497
301
  options: localVarRequestOptions,
498
302
  };
499
303
  },
500
- /**
501
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
502
- * @summary Partially update an impact for this option
503
- * @param {string} impactId UUID of the impact
504
- * @param {string} optionId UUID of the option
505
- * @param {string} investmentId UUID of the investment
506
- * @param {ImpactUpdate} impactUpdate
507
- * @param {*} [options] Override http request option.
508
- * @throws {RequiredError}
509
- */
510
- patchImpactForOption: async (impactId: string, optionId: string, investmentId: string, impactUpdate: ImpactUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
511
- // verify required parameter 'impactId' is not null or undefined
512
- assertParamExists('patchImpactForOption', 'impactId', impactId)
513
- // verify required parameter 'optionId' is not null or undefined
514
- assertParamExists('patchImpactForOption', 'optionId', optionId)
515
- // verify required parameter 'investmentId' is not null or undefined
516
- assertParamExists('patchImpactForOption', 'investmentId', investmentId)
517
- // verify required parameter 'impactUpdate' is not null or undefined
518
- assertParamExists('patchImpactForOption', 'impactUpdate', impactUpdate)
519
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
520
- .replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
521
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
522
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
523
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
524
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
525
- let baseOptions;
526
- if (configuration) {
527
- baseOptions = configuration.baseOptions;
528
- }
529
-
530
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
531
- const localVarHeaderParameter = {} as any;
532
- const localVarQueryParameter = {} as any;
533
-
534
- // authentication OAuth2AuthorizationCodeBearer required
535
- // oauth required
536
- await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
537
-
538
- localVarHeaderParameter['Content-Type'] = 'application/json';
539
- localVarHeaderParameter['Accept'] = 'application/json';
540
-
541
- setSearchParams(localVarUrlObj, localVarQueryParameter);
542
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
543
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
544
- localVarRequestOptions.data = serializeDataIfNeeded(impactUpdate, localVarRequestOptions, configuration)
545
-
546
- return {
547
- url: toPathString(localVarUrlObj),
548
- options: localVarRequestOptions,
549
- };
550
- },
551
304
  /**
552
305
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
553
306
  * @summary Partially update an option for this investment
@@ -604,21 +357,6 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
604
357
  export const OptionApiFp = function(configuration?: Configuration) {
605
358
  const localVarAxiosParamCreator = OptionApiAxiosParamCreator(configuration)
606
359
  return {
607
- /**
608
- * Create a new impact under this option.
609
- * @summary Create an impact for this option
610
- * @param {string} optionId UUID of the option
611
- * @param {string} investmentId UUID of the investment
612
- * @param {ImpactCreate} impactCreate
613
- * @param {*} [options] Override http request option.
614
- * @throws {RequiredError}
615
- */
616
- async createImpactForOption(optionId: string, investmentId: string, impactCreate: ImpactCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImpactAPIResponse>> {
617
- const localVarAxiosArgs = await localVarAxiosParamCreator.createImpactForOption(optionId, investmentId, impactCreate, options);
618
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
619
- const localVarOperationServerBasePath = operationServerMap['OptionApi.createImpactForOption']?.[localVarOperationServerIndex]?.url;
620
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
621
- },
622
360
  /**
623
361
  * Create a new option under this investment.
624
362
  * @summary Create an option for this investment
@@ -633,64 +371,18 @@ export const OptionApiFp = function(configuration?: Configuration) {
633
371
  const localVarOperationServerBasePath = operationServerMap['OptionApi.createOptionForInvestment']?.[localVarOperationServerIndex]?.url;
634
372
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
635
373
  },
636
- /**
637
- * Delete an existing impact by its ID.
638
- * @summary Delete an impact for this option
639
- * @param {string} impactId UUID of the impact
640
- * @param {string} optionId UUID of the option
641
- * @param {string} investmentId UUID of the investment
642
- * @param {*} [options] Override http request option.
643
- * @throws {RequiredError}
644
- */
645
- async deleteImpactForOption(impactId: string, optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
646
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteImpactForOption(impactId, optionId, investmentId, options);
647
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
648
- const localVarOperationServerBasePath = operationServerMap['OptionApi.deleteImpactForOption']?.[localVarOperationServerIndex]?.url;
649
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
650
- },
651
374
  /**
652
375
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
653
376
  * @summary Delete an option for this investment
654
- * @param {string} optionId UUID of the option
655
377
  * @param {string} investmentId UUID of the investment
656
- * @param {*} [options] Override http request option.
657
- * @throws {RequiredError}
658
- */
659
- async deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
660
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOptionForInvestment(optionId, investmentId, options);
661
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
662
- const localVarOperationServerBasePath = operationServerMap['OptionApi.deleteOptionForInvestment']?.[localVarOperationServerIndex]?.url;
663
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
664
- },
665
- /**
666
- * Retrieve a specific impact for the option.
667
- * @summary Get an impact for this option
668
- * @param {string} impactId UUID of the impact
669
378
  * @param {string} optionId UUID of the option
670
- * @param {string} investmentId UUID of the investment
671
379
  * @param {*} [options] Override http request option.
672
380
  * @throws {RequiredError}
673
381
  */
674
- async getImpactForOption(impactId: string, optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImpactAPIResponse>> {
675
- const localVarAxiosArgs = await localVarAxiosParamCreator.getImpactForOption(impactId, optionId, investmentId, options);
382
+ async deleteOptionForInvestment(investmentId: string, optionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
383
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOptionForInvestment(investmentId, optionId, options);
676
384
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
677
- const localVarOperationServerBasePath = operationServerMap['OptionApi.getImpactForOption']?.[localVarOperationServerIndex]?.url;
678
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
679
- },
680
- /**
681
- * Retrieve a paginated list of all impacts for a specific option.
682
- * @summary List impacts for this option
683
- * @param {string} optionId UUID of the option
684
- * @param {string} investmentId UUID of the investment
685
- * @param {number} [offset] Number of records to skip
686
- * @param {number} [limit] Max number of records to return
687
- * @param {*} [options] Override http request option.
688
- * @throws {RequiredError}
689
- */
690
- async getImpactsForOption(optionId: string, investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ImpactAPIResponse>>> {
691
- const localVarAxiosArgs = await localVarAxiosParamCreator.getImpactsForOption(optionId, investmentId, offset, limit, options);
692
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
693
- const localVarOperationServerBasePath = operationServerMap['OptionApi.getImpactsForOption']?.[localVarOperationServerIndex]?.url;
385
+ const localVarOperationServerBasePath = operationServerMap['OptionApi.deleteOptionForInvestment']?.[localVarOperationServerIndex]?.url;
694
386
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
695
387
  },
696
388
  /**
@@ -710,14 +402,14 @@ export const OptionApiFp = function(configuration?: Configuration) {
710
402
  /**
711
403
  * 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.
712
404
  * @summary Get the kpis for a given option inside a value framework
713
- * @param {string} investmentId UUID of the investment
714
405
  * @param {string} optionId UUID of the option
406
+ * @param {string} investmentId UUID of the investment
715
407
  * @param {string} valueFrameworkId UUID of the value framework
716
408
  * @param {*} [options] Override http request option.
717
409
  * @throws {RequiredError}
718
410
  */
719
- async getOptionKpis(investmentId: string, optionId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionChartKPIsYearly>>> {
720
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOptionKpis(investmentId, optionId, valueFrameworkId, options);
411
+ async getOptionKpis(optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionChartKPIsYearly>>> {
412
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOptionKpis(optionId, investmentId, valueFrameworkId, options);
721
413
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
722
414
  const localVarOperationServerBasePath = operationServerMap['OptionApi.getOptionKpis']?.[localVarOperationServerIndex]?.url;
723
415
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -751,22 +443,6 @@ export const OptionApiFp = function(configuration?: Configuration) {
751
443
  const localVarOperationServerBasePath = operationServerMap['OptionApi.getOptionsOverview']?.[localVarOperationServerIndex]?.url;
752
444
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
753
445
  },
754
- /**
755
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
756
- * @summary Partially update an impact for this option
757
- * @param {string} impactId UUID of the impact
758
- * @param {string} optionId UUID of the option
759
- * @param {string} investmentId UUID of the investment
760
- * @param {ImpactUpdate} impactUpdate
761
- * @param {*} [options] Override http request option.
762
- * @throws {RequiredError}
763
- */
764
- async patchImpactForOption(impactId: string, optionId: string, investmentId: string, impactUpdate: ImpactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImpactAPIResponse>> {
765
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options);
766
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
767
- const localVarOperationServerBasePath = operationServerMap['OptionApi.patchImpactForOption']?.[localVarOperationServerIndex]?.url;
768
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
769
- },
770
446
  /**
771
447
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
772
448
  * @summary Partially update an option for this investment
@@ -791,18 +467,6 @@ export const OptionApiFp = function(configuration?: Configuration) {
791
467
  export const OptionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
792
468
  const localVarFp = OptionApiFp(configuration)
793
469
  return {
794
- /**
795
- * Create a new impact under this option.
796
- * @summary Create an impact for this option
797
- * @param {string} optionId UUID of the option
798
- * @param {string} investmentId UUID of the investment
799
- * @param {ImpactCreate} impactCreate
800
- * @param {*} [options] Override http request option.
801
- * @throws {RequiredError}
802
- */
803
- createImpactForOption(optionId: string, investmentId: string, impactCreate: ImpactCreate, options?: RawAxiosRequestConfig): AxiosPromise<ImpactAPIResponse> {
804
- return localVarFp.createImpactForOption(optionId, investmentId, impactCreate, options).then((request) => request(axios, basePath));
805
- },
806
470
  /**
807
471
  * Create a new option under this investment.
808
472
  * @summary Create an option for this investment
@@ -814,53 +478,16 @@ export const OptionApiFactory = function (configuration?: Configuration, basePat
814
478
  createOptionForInvestment(investmentId: string, optionCreate: OptionCreate, options?: RawAxiosRequestConfig): AxiosPromise<OptionResponse> {
815
479
  return localVarFp.createOptionForInvestment(investmentId, optionCreate, options).then((request) => request(axios, basePath));
816
480
  },
817
- /**
818
- * Delete an existing impact by its ID.
819
- * @summary Delete an impact for this option
820
- * @param {string} impactId UUID of the impact
821
- * @param {string} optionId UUID of the option
822
- * @param {string} investmentId UUID of the investment
823
- * @param {*} [options] Override http request option.
824
- * @throws {RequiredError}
825
- */
826
- deleteImpactForOption(impactId: string, optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
827
- return localVarFp.deleteImpactForOption(impactId, optionId, investmentId, options).then((request) => request(axios, basePath));
828
- },
829
481
  /**
830
482
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
831
483
  * @summary Delete an option for this investment
832
- * @param {string} optionId UUID of the option
833
484
  * @param {string} investmentId UUID of the investment
834
- * @param {*} [options] Override http request option.
835
- * @throws {RequiredError}
836
- */
837
- deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
838
- return localVarFp.deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(axios, basePath));
839
- },
840
- /**
841
- * Retrieve a specific impact for the option.
842
- * @summary Get an impact for this option
843
- * @param {string} impactId UUID of the impact
844
485
  * @param {string} optionId UUID of the option
845
- * @param {string} investmentId UUID of the investment
846
- * @param {*} [options] Override http request option.
847
- * @throws {RequiredError}
848
- */
849
- getImpactForOption(impactId: string, optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<ImpactAPIResponse> {
850
- return localVarFp.getImpactForOption(impactId, optionId, investmentId, options).then((request) => request(axios, basePath));
851
- },
852
- /**
853
- * Retrieve a paginated list of all impacts for a specific option.
854
- * @summary List impacts for this option
855
- * @param {string} optionId UUID of the option
856
- * @param {string} investmentId UUID of the investment
857
- * @param {number} [offset] Number of records to skip
858
- * @param {number} [limit] Max number of records to return
859
486
  * @param {*} [options] Override http request option.
860
487
  * @throws {RequiredError}
861
488
  */
862
- getImpactsForOption(optionId: string, investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ImpactAPIResponse>> {
863
- return localVarFp.getImpactsForOption(optionId, investmentId, offset, limit, options).then((request) => request(axios, basePath));
489
+ deleteOptionForInvestment(investmentId: string, optionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
490
+ return localVarFp.deleteOptionForInvestment(investmentId, optionId, options).then((request) => request(axios, basePath));
864
491
  },
865
492
  /**
866
493
  * Retrieve a specific option for the investment.
@@ -876,14 +503,14 @@ export const OptionApiFactory = function (configuration?: Configuration, basePat
876
503
  /**
877
504
  * 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.
878
505
  * @summary Get the kpis for a given option inside a value framework
879
- * @param {string} investmentId UUID of the investment
880
506
  * @param {string} optionId UUID of the option
507
+ * @param {string} investmentId UUID of the investment
881
508
  * @param {string} valueFrameworkId UUID of the value framework
882
509
  * @param {*} [options] Override http request option.
883
510
  * @throws {RequiredError}
884
511
  */
885
- getOptionKpis(investmentId: string, optionId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionChartKPIsYearly>> {
886
- return localVarFp.getOptionKpis(investmentId, optionId, valueFrameworkId, options).then((request) => request(axios, basePath));
512
+ getOptionKpis(optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionChartKPIsYearly>> {
513
+ return localVarFp.getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
887
514
  },
888
515
  /**
889
516
  * Retrieve a paginated list of all options for a specific investment.
@@ -908,19 +535,6 @@ export const OptionApiFactory = function (configuration?: Configuration, basePat
908
535
  getOptionsOverview(investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionOverviewResponse>> {
909
536
  return localVarFp.getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
910
537
  },
911
- /**
912
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
913
- * @summary Partially update an impact for this option
914
- * @param {string} impactId UUID of the impact
915
- * @param {string} optionId UUID of the option
916
- * @param {string} investmentId UUID of the investment
917
- * @param {ImpactUpdate} impactUpdate
918
- * @param {*} [options] Override http request option.
919
- * @throws {RequiredError}
920
- */
921
- patchImpactForOption(impactId: string, optionId: string, investmentId: string, impactUpdate: ImpactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ImpactAPIResponse> {
922
- return localVarFp.patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options).then((request) => request(axios, basePath));
923
- },
924
538
  /**
925
539
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
926
540
  * @summary Partially update an option for this investment
@@ -940,19 +554,6 @@ export const OptionApiFactory = function (configuration?: Configuration, basePat
940
554
  * OptionApi - object-oriented interface
941
555
  */
942
556
  export class OptionApi extends BaseAPI {
943
- /**
944
- * Create a new impact under this option.
945
- * @summary Create an impact for this option
946
- * @param {string} optionId UUID of the option
947
- * @param {string} investmentId UUID of the investment
948
- * @param {ImpactCreate} impactCreate
949
- * @param {*} [options] Override http request option.
950
- * @throws {RequiredError}
951
- */
952
- public createImpactForOption(optionId: string, investmentId: string, impactCreate: ImpactCreate, options?: RawAxiosRequestConfig) {
953
- return OptionApiFp(this.configuration).createImpactForOption(optionId, investmentId, impactCreate, options).then((request) => request(this.axios, this.basePath));
954
- }
955
-
956
557
  /**
957
558
  * Create a new option under this investment.
958
559
  * @summary Create an option for this investment
@@ -965,56 +566,16 @@ export class OptionApi extends BaseAPI {
965
566
  return OptionApiFp(this.configuration).createOptionForInvestment(investmentId, optionCreate, options).then((request) => request(this.axios, this.basePath));
966
567
  }
967
568
 
968
- /**
969
- * Delete an existing impact by its ID.
970
- * @summary Delete an impact for this option
971
- * @param {string} impactId UUID of the impact
972
- * @param {string} optionId UUID of the option
973
- * @param {string} investmentId UUID of the investment
974
- * @param {*} [options] Override http request option.
975
- * @throws {RequiredError}
976
- */
977
- public deleteImpactForOption(impactId: string, optionId: string, investmentId: string, options?: RawAxiosRequestConfig) {
978
- return OptionApiFp(this.configuration).deleteImpactForOption(impactId, optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
979
- }
980
-
981
569
  /**
982
570
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
983
571
  * @summary Delete an option for this investment
984
- * @param {string} optionId UUID of the option
985
572
  * @param {string} investmentId UUID of the investment
986
- * @param {*} [options] Override http request option.
987
- * @throws {RequiredError}
988
- */
989
- public deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig) {
990
- return OptionApiFp(this.configuration).deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
991
- }
992
-
993
- /**
994
- * Retrieve a specific impact for the option.
995
- * @summary Get an impact for this option
996
- * @param {string} impactId UUID of the impact
997
573
  * @param {string} optionId UUID of the option
998
- * @param {string} investmentId UUID of the investment
999
- * @param {*} [options] Override http request option.
1000
- * @throws {RequiredError}
1001
- */
1002
- public getImpactForOption(impactId: string, optionId: string, investmentId: string, options?: RawAxiosRequestConfig) {
1003
- return OptionApiFp(this.configuration).getImpactForOption(impactId, optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
1004
- }
1005
-
1006
- /**
1007
- * Retrieve a paginated list of all impacts for a specific option.
1008
- * @summary List impacts for this option
1009
- * @param {string} optionId UUID of the option
1010
- * @param {string} investmentId UUID of the investment
1011
- * @param {number} [offset] Number of records to skip
1012
- * @param {number} [limit] Max number of records to return
1013
574
  * @param {*} [options] Override http request option.
1014
575
  * @throws {RequiredError}
1015
576
  */
1016
- public getImpactsForOption(optionId: string, investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) {
1017
- return OptionApiFp(this.configuration).getImpactsForOption(optionId, investmentId, offset, limit, options).then((request) => request(this.axios, this.basePath));
577
+ public deleteOptionForInvestment(investmentId: string, optionId: string, options?: RawAxiosRequestConfig) {
578
+ return OptionApiFp(this.configuration).deleteOptionForInvestment(investmentId, optionId, options).then((request) => request(this.axios, this.basePath));
1018
579
  }
1019
580
 
1020
581
  /**
@@ -1032,14 +593,14 @@ export class OptionApi extends BaseAPI {
1032
593
  /**
1033
594
  * 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.
1034
595
  * @summary Get the kpis for a given option inside a value framework
1035
- * @param {string} investmentId UUID of the investment
1036
596
  * @param {string} optionId UUID of the option
597
+ * @param {string} investmentId UUID of the investment
1037
598
  * @param {string} valueFrameworkId UUID of the value framework
1038
599
  * @param {*} [options] Override http request option.
1039
600
  * @throws {RequiredError}
1040
601
  */
1041
- public getOptionKpis(investmentId: string, optionId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) {
1042
- return OptionApiFp(this.configuration).getOptionKpis(investmentId, optionId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
602
+ public getOptionKpis(optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) {
603
+ return OptionApiFp(this.configuration).getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
1043
604
  }
1044
605
 
1045
606
  /**
@@ -1067,20 +628,6 @@ export class OptionApi extends BaseAPI {
1067
628
  return OptionApiFp(this.configuration).getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
1068
629
  }
1069
630
 
1070
- /**
1071
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
1072
- * @summary Partially update an impact for this option
1073
- * @param {string} impactId UUID of the impact
1074
- * @param {string} optionId UUID of the option
1075
- * @param {string} investmentId UUID of the investment
1076
- * @param {ImpactUpdate} impactUpdate
1077
- * @param {*} [options] Override http request option.
1078
- * @throws {RequiredError}
1079
- */
1080
- public patchImpactForOption(impactId: string, optionId: string, investmentId: string, impactUpdate: ImpactUpdate, options?: RawAxiosRequestConfig) {
1081
- return OptionApiFp(this.configuration).patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options).then((request) => request(this.axios, this.basePath));
1082
- }
1083
-
1084
631
  /**
1085
632
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
1086
633
  * @summary Partially update an option for this investment