@cosmotech/aip-client 0.4.0-dev2 → 0.4.0-dev4

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 (493) hide show
  1. package/README.md +17 -9
  2. package/api/budget-api.ts +7 -7
  3. package/api/default-api.ts +1 -1
  4. package/api/impact-api.ts +1 -1
  5. package/api/investment-api.ts +13 -15
  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 -1
  10. package/api/objective-weight-api.ts +1 -1
  11. package/api/objective-weights-api.ts +1 -1
  12. package/api/option-api.ts +1 -1
  13. package/api/portfolio-api.ts +21 -20
  14. package/api/portfolio-investment-api.ts +83 -1
  15. package/api/portfolio-kpiapi.ts +308 -100
  16. package/api/preferred-option-api.ts +1 -1
  17. package/api/value-framework-api.ts +1 -1
  18. package/api/value-framework-costs-api.ts +1 -1
  19. package/api/value-framework-weights-api.ts +1 -1
  20. package/api.ts +1 -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 +7 -7
  25. package/dist/api/budget-api.js +5 -5
  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 +1 -1
  29. package/dist/api/impact-api.js +1 -1
  30. package/dist/api/investment-api.d.ts +13 -13
  31. package/dist/api/investment-api.js +9 -11
  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 -1
  39. package/dist/api/objective-api.js +1 -1
  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 +1 -1
  45. package/dist/api/option-api.js +1 -1
  46. package/dist/api/portfolio-api.d.ts +13 -13
  47. package/dist/api/portfolio-api.js +20 -20
  48. package/dist/api/portfolio-investment-api.d.ts +38 -1
  49. package/dist/api/portfolio-investment-api.js +77 -1
  50. package/dist/api/portfolio-kpiapi.d.ts +150 -61
  51. package/dist/api/portfolio-kpiapi.js +281 -88
  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 -1
  55. package/dist/api/value-framework-api.js +1 -1
  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 +1 -1
  61. package/dist/api.js +1 -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 +7 -7
  69. package/dist/esm/api/budget-api.js +5 -5
  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 +1 -1
  73. package/dist/esm/api/impact-api.js +1 -1
  74. package/dist/esm/api/investment-api.d.ts +13 -13
  75. package/dist/esm/api/investment-api.js +9 -11
  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 -1
  83. package/dist/esm/api/objective-api.js +1 -1
  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 +1 -1
  89. package/dist/esm/api/option-api.js +1 -1
  90. package/dist/esm/api/portfolio-api.d.ts +13 -13
  91. package/dist/esm/api/portfolio-api.js +20 -20
  92. package/dist/esm/api/portfolio-investment-api.d.ts +38 -1
  93. package/dist/esm/api/portfolio-investment-api.js +77 -1
  94. package/dist/esm/api/portfolio-kpiapi.d.ts +150 -61
  95. package/dist/esm/api/portfolio-kpiapi.js +281 -88
  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 -1
  99. package/dist/esm/api/value-framework-api.js +1 -1
  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 +1 -1
  105. package/dist/esm/api.js +1 -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 +1 -1
  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 +2 -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 -1
  137. package/dist/esm/models/impact-apiresponse.js +1 -1
  138. package/dist/esm/models/impact-bulk-item.d.ts +1 -1
  139. package/dist/esm/models/impact-bulk-item.js +1 -1
  140. package/dist/esm/models/impact-create.d.ts +1 -1
  141. package/dist/esm/models/impact-create.js +1 -1
  142. package/dist/esm/models/impact-update.d.ts +1 -1
  143. package/dist/esm/models/impact-update.js +1 -1
  144. package/dist/esm/models/index.d.ts +4 -0
  145. package/dist/esm/models/index.js +4 -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 +1 -1
  167. package/dist/esm/models/metric-performance-response.js +1 -1
  168. package/dist/esm/models/metric-performance-year.d.ts +1 -1
  169. package/dist/esm/models/metric-performance-year.js +1 -1
  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-detailed-response.d.ts +18 -0
  177. package/dist/esm/models/monetized-impact-detailed-response.js +14 -0
  178. package/dist/esm/models/monetized-impact-detailed-year.d.ts +20 -0
  179. package/dist/esm/models/monetized-impact-detailed-year.js +14 -0
  180. package/dist/esm/models/monetized-impact-metric-value.d.ts +19 -0
  181. package/dist/esm/models/monetized-impact-metric-value.js +14 -0
  182. package/dist/esm/models/monetized-impact-response.d.ts +1 -1
  183. package/dist/esm/models/monetized-impact-response.js +1 -1
  184. package/dist/esm/models/monetized-impact-year.d.ts +1 -1
  185. package/dist/esm/models/monetized-impact-year.js +1 -1
  186. package/dist/esm/models/objective-create.d.ts +1 -1
  187. package/dist/esm/models/objective-create.js +1 -1
  188. package/dist/esm/models/objective-response.d.ts +1 -1
  189. package/dist/esm/models/objective-response.js +1 -1
  190. package/dist/esm/models/objective-update.d.ts +1 -1
  191. package/dist/esm/models/objective-update.js +1 -1
  192. package/dist/esm/models/objective-weight-create.d.ts +1 -1
  193. package/dist/esm/models/objective-weight-create.js +1 -1
  194. package/dist/esm/models/objective-weight-response.d.ts +1 -1
  195. package/dist/esm/models/objective-weight-response.js +1 -1
  196. package/dist/esm/models/objective-weight-update.d.ts +1 -1
  197. package/dist/esm/models/objective-weight-update.js +1 -1
  198. package/dist/esm/models/option-chart-kpi.d.ts +1 -1
  199. package/dist/esm/models/option-chart-kpi.js +1 -1
  200. package/dist/esm/models/option-chart-kpis-yearly.d.ts +1 -1
  201. package/dist/esm/models/option-chart-kpis-yearly.js +1 -1
  202. package/dist/esm/models/option-create.d.ts +1 -1
  203. package/dist/esm/models/option-create.js +1 -1
  204. package/dist/esm/models/option-overview-response.d.ts +1 -1
  205. package/dist/esm/models/option-overview-response.js +1 -1
  206. package/dist/esm/models/option-response.d.ts +1 -1
  207. package/dist/esm/models/option-response.js +1 -1
  208. package/dist/esm/models/option-update.d.ts +1 -1
  209. package/dist/esm/models/option-update.js +1 -1
  210. package/dist/esm/models/portfolio-budget-expenditure-response.d.ts +1 -1
  211. package/dist/esm/models/portfolio-budget-expenditure-response.js +1 -1
  212. package/dist/esm/models/portfolio-budget-expenditure-year.d.ts +1 -1
  213. package/dist/esm/models/portfolio-budget-expenditure-year.js +1 -1
  214. package/dist/esm/models/portfolio-budget-usage-item.d.ts +1 -1
  215. package/dist/esm/models/portfolio-budget-usage-item.js +1 -1
  216. package/dist/esm/models/portfolio-bulk-delete-request.d.ts +1 -1
  217. package/dist/esm/models/portfolio-bulk-delete-request.js +1 -1
  218. package/dist/esm/models/portfolio-create.d.ts +1 -1
  219. package/dist/esm/models/portfolio-create.js +1 -1
  220. package/dist/esm/models/portfolio-investment-bulk-add-request.d.ts +1 -1
  221. package/dist/esm/models/portfolio-investment-bulk-add-request.js +1 -1
  222. package/dist/esm/models/portfolio-investment-bulk-add-response.d.ts +1 -1
  223. package/dist/esm/models/portfolio-investment-bulk-add-response.js +1 -1
  224. package/dist/esm/models/portfolio-investment-bulk-delete-request.d.ts +1 -1
  225. package/dist/esm/models/portfolio-investment-bulk-delete-request.js +1 -1
  226. package/dist/esm/models/portfolio-investment-overview-response.d.ts +30 -0
  227. package/dist/esm/models/portfolio-investment-overview-response.js +14 -0
  228. package/dist/esm/models/portfolio-investment-response.d.ts +1 -1
  229. package/dist/esm/models/portfolio-investment-response.js +1 -1
  230. package/dist/esm/models/portfolio-kpidistribution-budget-item.d.ts +1 -1
  231. package/dist/esm/models/portfolio-kpidistribution-budget-item.js +1 -1
  232. package/dist/esm/models/portfolio-kpidistribution-response.d.ts +2 -2
  233. package/dist/esm/models/portfolio-kpidistribution-response.js +1 -1
  234. package/dist/esm/models/portfolio-kpidistribution-year-overrun.d.ts +1 -1
  235. package/dist/esm/models/portfolio-kpidistribution-year-overrun.js +1 -1
  236. package/dist/esm/models/portfolio-kpidistribution-year-value.d.ts +1 -1
  237. package/dist/esm/models/portfolio-kpidistribution-year-value.js +1 -1
  238. package/dist/esm/models/portfolio-kpioverrun-distribution-response.d.ts +1 -1
  239. package/dist/esm/models/portfolio-kpioverrun-distribution-response.js +1 -1
  240. package/dist/esm/models/portfolio-kpiresponse.d.ts +1 -1
  241. package/dist/esm/models/portfolio-kpiresponse.js +1 -1
  242. package/dist/esm/models/portfolio-overview-item-response.d.ts +1 -1
  243. package/dist/esm/models/portfolio-overview-item-response.js +1 -1
  244. package/dist/esm/models/portfolio-response.d.ts +1 -1
  245. package/dist/esm/models/portfolio-response.js +1 -1
  246. package/dist/esm/models/portfolio-update.d.ts +1 -1
  247. package/dist/esm/models/portfolio-update.js +1 -1
  248. package/dist/esm/models/preferred-option-request.d.ts +1 -1
  249. package/dist/esm/models/preferred-option-request.js +1 -1
  250. package/dist/esm/models/preferred-option-response.d.ts +1 -1
  251. package/dist/esm/models/preferred-option-response.js +1 -1
  252. package/dist/esm/models/validation-error.d.ts +1 -1
  253. package/dist/esm/models/validation-error.js +1 -1
  254. package/dist/esm/models/value-framework-create.d.ts +1 -1
  255. package/dist/esm/models/value-framework-create.js +1 -1
  256. package/dist/esm/models/value-framework-response.d.ts +1 -1
  257. package/dist/esm/models/value-framework-response.js +1 -1
  258. package/dist/esm/models/value-framework-update.d.ts +1 -1
  259. package/dist/esm/models/value-framework-update.js +1 -1
  260. package/dist/index.d.ts +1 -1
  261. package/dist/index.js +1 -1
  262. package/dist/models/budget-bulk-delete-request.d.ts +1 -1
  263. package/dist/models/budget-bulk-delete-request.js +1 -1
  264. package/dist/models/budget-create.d.ts +1 -1
  265. package/dist/models/budget-create.js +1 -1
  266. package/dist/models/budget-investment-response.d.ts +1 -1
  267. package/dist/models/budget-investment-response.js +1 -1
  268. package/dist/models/budget-link-options-request.d.ts +1 -1
  269. package/dist/models/budget-link-options-request.js +1 -1
  270. package/dist/models/budget-option-response.d.ts +2 -1
  271. package/dist/models/budget-option-response.js +1 -1
  272. package/dist/models/budget-overview-response.d.ts +1 -1
  273. package/dist/models/budget-overview-response.js +1 -1
  274. package/dist/models/budget-response.d.ts +1 -1
  275. package/dist/models/budget-response.js +1 -1
  276. package/dist/models/budget-update.d.ts +1 -1
  277. package/dist/models/budget-update.js +1 -1
  278. package/dist/models/bulk-delete-request.d.ts +1 -1
  279. package/dist/models/bulk-delete-request.js +1 -1
  280. package/dist/models/evolution-type.d.ts +1 -1
  281. package/dist/models/evolution-type.js +1 -1
  282. package/dist/models/httpvalidation-error.d.ts +1 -1
  283. package/dist/models/httpvalidation-error.js +1 -1
  284. package/dist/models/impact-apiresponse.d.ts +1 -1
  285. package/dist/models/impact-apiresponse.js +1 -1
  286. package/dist/models/impact-bulk-item.d.ts +1 -1
  287. package/dist/models/impact-bulk-item.js +1 -1
  288. package/dist/models/impact-create.d.ts +1 -1
  289. package/dist/models/impact-create.js +1 -1
  290. package/dist/models/impact-update.d.ts +1 -1
  291. package/dist/models/impact-update.js +1 -1
  292. package/dist/models/index.d.ts +4 -0
  293. package/dist/models/index.js +4 -0
  294. package/dist/models/investment-create.d.ts +1 -1
  295. package/dist/models/investment-create.js +1 -1
  296. package/dist/models/investment-overview-response.d.ts +1 -1
  297. package/dist/models/investment-overview-response.js +1 -1
  298. package/dist/models/investment-response.d.ts +1 -1
  299. package/dist/models/investment-response.js +1 -1
  300. package/dist/models/investment-update.d.ts +1 -1
  301. package/dist/models/investment-update.js +1 -1
  302. package/dist/models/location-inner.d.ts +1 -1
  303. package/dist/models/location-inner.js +1 -1
  304. package/dist/models/measurement-type.d.ts +1 -1
  305. package/dist/models/measurement-type.js +1 -1
  306. package/dist/models/metric-costs-per-year-create.d.ts +1 -1
  307. package/dist/models/metric-costs-per-year-create.js +1 -1
  308. package/dist/models/metric-costs-per-year-response.d.ts +1 -1
  309. package/dist/models/metric-costs-per-year-response.js +1 -1
  310. package/dist/models/metric-costs-per-year-update.d.ts +1 -1
  311. package/dist/models/metric-costs-per-year-update.js +1 -1
  312. package/dist/models/metric-create.d.ts +1 -1
  313. package/dist/models/metric-create.js +1 -1
  314. package/dist/models/metric-performance-response.d.ts +1 -1
  315. package/dist/models/metric-performance-response.js +1 -1
  316. package/dist/models/metric-performance-year.d.ts +1 -1
  317. package/dist/models/metric-performance-year.js +1 -1
  318. package/dist/models/metric-response.d.ts +1 -1
  319. package/dist/models/metric-response.js +1 -1
  320. package/dist/models/metric-type.d.ts +1 -1
  321. package/dist/models/metric-type.js +1 -1
  322. package/dist/models/metric-update.d.ts +1 -1
  323. package/dist/models/metric-update.js +1 -1
  324. package/dist/models/monetized-impact-detailed-response.d.ts +18 -0
  325. package/dist/models/monetized-impact-detailed-response.js +15 -0
  326. package/dist/models/monetized-impact-detailed-year.d.ts +20 -0
  327. package/dist/models/monetized-impact-detailed-year.js +15 -0
  328. package/dist/models/monetized-impact-metric-value.d.ts +19 -0
  329. package/dist/models/monetized-impact-metric-value.js +15 -0
  330. package/dist/models/monetized-impact-response.d.ts +1 -1
  331. package/dist/models/monetized-impact-response.js +1 -1
  332. package/dist/models/monetized-impact-year.d.ts +1 -1
  333. package/dist/models/monetized-impact-year.js +1 -1
  334. package/dist/models/objective-create.d.ts +1 -1
  335. package/dist/models/objective-create.js +1 -1
  336. package/dist/models/objective-response.d.ts +1 -1
  337. package/dist/models/objective-response.js +1 -1
  338. package/dist/models/objective-update.d.ts +1 -1
  339. package/dist/models/objective-update.js +1 -1
  340. package/dist/models/objective-weight-create.d.ts +1 -1
  341. package/dist/models/objective-weight-create.js +1 -1
  342. package/dist/models/objective-weight-response.d.ts +1 -1
  343. package/dist/models/objective-weight-response.js +1 -1
  344. package/dist/models/objective-weight-update.d.ts +1 -1
  345. package/dist/models/objective-weight-update.js +1 -1
  346. package/dist/models/option-chart-kpi.d.ts +1 -1
  347. package/dist/models/option-chart-kpi.js +1 -1
  348. package/dist/models/option-chart-kpis-yearly.d.ts +1 -1
  349. package/dist/models/option-chart-kpis-yearly.js +1 -1
  350. package/dist/models/option-create.d.ts +1 -1
  351. package/dist/models/option-create.js +1 -1
  352. package/dist/models/option-overview-response.d.ts +1 -1
  353. package/dist/models/option-overview-response.js +1 -1
  354. package/dist/models/option-response.d.ts +1 -1
  355. package/dist/models/option-response.js +1 -1
  356. package/dist/models/option-update.d.ts +1 -1
  357. package/dist/models/option-update.js +1 -1
  358. package/dist/models/portfolio-budget-expenditure-response.d.ts +1 -1
  359. package/dist/models/portfolio-budget-expenditure-response.js +1 -1
  360. package/dist/models/portfolio-budget-expenditure-year.d.ts +1 -1
  361. package/dist/models/portfolio-budget-expenditure-year.js +1 -1
  362. package/dist/models/portfolio-budget-usage-item.d.ts +1 -1
  363. package/dist/models/portfolio-budget-usage-item.js +1 -1
  364. package/dist/models/portfolio-bulk-delete-request.d.ts +1 -1
  365. package/dist/models/portfolio-bulk-delete-request.js +1 -1
  366. package/dist/models/portfolio-create.d.ts +1 -1
  367. package/dist/models/portfolio-create.js +1 -1
  368. package/dist/models/portfolio-investment-bulk-add-request.d.ts +1 -1
  369. package/dist/models/portfolio-investment-bulk-add-request.js +1 -1
  370. package/dist/models/portfolio-investment-bulk-add-response.d.ts +1 -1
  371. package/dist/models/portfolio-investment-bulk-add-response.js +1 -1
  372. package/dist/models/portfolio-investment-bulk-delete-request.d.ts +1 -1
  373. package/dist/models/portfolio-investment-bulk-delete-request.js +1 -1
  374. package/dist/models/portfolio-investment-overview-response.d.ts +30 -0
  375. package/dist/models/portfolio-investment-overview-response.js +15 -0
  376. package/dist/models/portfolio-investment-response.d.ts +1 -1
  377. package/dist/models/portfolio-investment-response.js +1 -1
  378. package/dist/models/portfolio-kpidistribution-budget-item.d.ts +1 -1
  379. package/dist/models/portfolio-kpidistribution-budget-item.js +1 -1
  380. package/dist/models/portfolio-kpidistribution-response.d.ts +2 -2
  381. package/dist/models/portfolio-kpidistribution-response.js +1 -1
  382. package/dist/models/portfolio-kpidistribution-year-overrun.d.ts +1 -1
  383. package/dist/models/portfolio-kpidistribution-year-overrun.js +1 -1
  384. package/dist/models/portfolio-kpidistribution-year-value.d.ts +1 -1
  385. package/dist/models/portfolio-kpidistribution-year-value.js +1 -1
  386. package/dist/models/portfolio-kpioverrun-distribution-response.d.ts +1 -1
  387. package/dist/models/portfolio-kpioverrun-distribution-response.js +1 -1
  388. package/dist/models/portfolio-kpiresponse.d.ts +1 -1
  389. package/dist/models/portfolio-kpiresponse.js +1 -1
  390. package/dist/models/portfolio-overview-item-response.d.ts +1 -1
  391. package/dist/models/portfolio-overview-item-response.js +1 -1
  392. package/dist/models/portfolio-response.d.ts +1 -1
  393. package/dist/models/portfolio-response.js +1 -1
  394. package/dist/models/portfolio-update.d.ts +1 -1
  395. package/dist/models/portfolio-update.js +1 -1
  396. package/dist/models/preferred-option-request.d.ts +1 -1
  397. package/dist/models/preferred-option-request.js +1 -1
  398. package/dist/models/preferred-option-response.d.ts +1 -1
  399. package/dist/models/preferred-option-response.js +1 -1
  400. package/dist/models/validation-error.d.ts +1 -1
  401. package/dist/models/validation-error.js +1 -1
  402. package/dist/models/value-framework-create.d.ts +1 -1
  403. package/dist/models/value-framework-create.js +1 -1
  404. package/dist/models/value-framework-response.d.ts +1 -1
  405. package/dist/models/value-framework-response.js +1 -1
  406. package/dist/models/value-framework-update.d.ts +1 -1
  407. package/dist/models/value-framework-update.js +1 -1
  408. package/docs/BudgetApi.md +3 -3
  409. package/docs/BudgetOptionResponse.md +2 -0
  410. package/docs/InvestmentApi.md +3 -3
  411. package/docs/MonetizedImpactDetailedResponse.md +21 -0
  412. package/docs/MonetizedImpactDetailedYear.md +25 -0
  413. package/docs/MonetizedImpactMetricValue.md +25 -0
  414. package/docs/PortfolioApi.md +7 -7
  415. package/docs/PortfolioInvestmentApi.md +56 -0
  416. package/docs/PortfolioInvestmentOverviewResponse.md +35 -0
  417. package/docs/PortfolioKPIApi.md +183 -30
  418. package/docs/PortfolioKPIDistributionResponse.md +1 -1
  419. package/index.ts +1 -1
  420. package/models/budget-bulk-delete-request.ts +1 -1
  421. package/models/budget-create.ts +1 -1
  422. package/models/budget-investment-response.ts +1 -1
  423. package/models/budget-link-options-request.ts +1 -1
  424. package/models/budget-option-response.ts +2 -1
  425. package/models/budget-overview-response.ts +1 -1
  426. package/models/budget-response.ts +1 -1
  427. package/models/budget-update.ts +1 -1
  428. package/models/bulk-delete-request.ts +1 -1
  429. package/models/evolution-type.ts +1 -1
  430. package/models/httpvalidation-error.ts +1 -1
  431. package/models/impact-apiresponse.ts +1 -1
  432. package/models/impact-bulk-item.ts +1 -1
  433. package/models/impact-create.ts +1 -1
  434. package/models/impact-update.ts +1 -1
  435. package/models/index.ts +4 -0
  436. package/models/investment-create.ts +1 -1
  437. package/models/investment-overview-response.ts +1 -1
  438. package/models/investment-response.ts +1 -1
  439. package/models/investment-update.ts +1 -1
  440. package/models/location-inner.ts +1 -1
  441. package/models/measurement-type.ts +1 -1
  442. package/models/metric-costs-per-year-create.ts +1 -1
  443. package/models/metric-costs-per-year-response.ts +1 -1
  444. package/models/metric-costs-per-year-update.ts +1 -1
  445. package/models/metric-create.ts +1 -1
  446. package/models/metric-performance-response.ts +1 -1
  447. package/models/metric-performance-year.ts +1 -1
  448. package/models/metric-response.ts +1 -1
  449. package/models/metric-type.ts +1 -1
  450. package/models/metric-update.ts +1 -1
  451. package/models/monetized-impact-detailed-response.ts +26 -0
  452. package/models/monetized-impact-detailed-year.ts +28 -0
  453. package/models/monetized-impact-metric-value.ts +25 -0
  454. package/models/monetized-impact-response.ts +1 -1
  455. package/models/monetized-impact-year.ts +1 -1
  456. package/models/objective-create.ts +1 -1
  457. package/models/objective-response.ts +1 -1
  458. package/models/objective-update.ts +1 -1
  459. package/models/objective-weight-create.ts +1 -1
  460. package/models/objective-weight-response.ts +1 -1
  461. package/models/objective-weight-update.ts +1 -1
  462. package/models/option-chart-kpi.ts +1 -1
  463. package/models/option-chart-kpis-yearly.ts +1 -1
  464. package/models/option-create.ts +1 -1
  465. package/models/option-overview-response.ts +1 -1
  466. package/models/option-response.ts +1 -1
  467. package/models/option-update.ts +1 -1
  468. package/models/portfolio-budget-expenditure-response.ts +1 -1
  469. package/models/portfolio-budget-expenditure-year.ts +1 -1
  470. package/models/portfolio-budget-usage-item.ts +1 -1
  471. package/models/portfolio-bulk-delete-request.ts +1 -1
  472. package/models/portfolio-create.ts +1 -1
  473. package/models/portfolio-investment-bulk-add-request.ts +1 -1
  474. package/models/portfolio-investment-bulk-add-response.ts +1 -1
  475. package/models/portfolio-investment-bulk-delete-request.ts +1 -1
  476. package/models/portfolio-investment-overview-response.ts +36 -0
  477. package/models/portfolio-investment-response.ts +1 -1
  478. package/models/portfolio-kpidistribution-budget-item.ts +1 -1
  479. package/models/portfolio-kpidistribution-response.ts +2 -2
  480. package/models/portfolio-kpidistribution-year-overrun.ts +1 -1
  481. package/models/portfolio-kpidistribution-year-value.ts +1 -1
  482. package/models/portfolio-kpioverrun-distribution-response.ts +1 -1
  483. package/models/portfolio-kpiresponse.ts +1 -1
  484. package/models/portfolio-overview-item-response.ts +1 -1
  485. package/models/portfolio-response.ts +1 -1
  486. package/models/portfolio-update.ts +1 -1
  487. package/models/preferred-option-request.ts +1 -1
  488. package/models/preferred-option-response.ts +1 -1
  489. package/models/validation-error.ts +1 -1
  490. package/models/value-framework-create.ts +1 -1
  491. package/models/value-framework-response.ts +1 -1
  492. package/models/value-framework-update.ts +1 -1
  493. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @cosmotech/aip-client@0.4.0-dev2
1
+ ## @cosmotech/aip-client@0.4.0-dev4
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @cosmotech/aip-client@0.4.0-dev2 --save
39
+ npm install @cosmotech/aip-client@0.4.0-dev4 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -108,7 +108,7 @@ Class | Method | HTTP request | Description
108
108
  *PortfolioApi* | [**bulkDeletePortfolios**](docs/PortfolioApi.md#bulkdeleteportfolios) | **POST** /portfolio/bulk-delete | Bulk delete portfolios
109
109
  *PortfolioApi* | [**deletePortfolio**](docs/PortfolioApi.md#deleteportfolio) | **DELETE** /portfolio/{portfolio_id} | Delete a portfolio
110
110
  *PortfolioApi* | [**getPortfolioById**](docs/PortfolioApi.md#getportfoliobyid) | **GET** /portfolio/{portfolio_id} | Get a portfolio by ID
111
- *PortfolioApi* | [**getPortfolioOverview**](docs/PortfolioApi.md#getportfoliooverview) | **GET** /portfolio/overview/{value_framework_id} | Portfolio overview with KPIs
111
+ *PortfolioApi* | [**getPortfolioOverview**](docs/PortfolioApi.md#getportfoliooverview) | **GET** /portfolio/overview | Portfolio overview with KPIs
112
112
  *PortfolioApi* | [**getPortfolios**](docs/PortfolioApi.md#getportfolios) | **GET** /portfolio/ | List portfolios
113
113
  *PortfolioApi* | [**patchPortfolio**](docs/PortfolioApi.md#patchportfolio) | **PATCH** /portfolio/{portfolio_id} | Partially update a portfolio
114
114
  *PortfolioApi* | [**postPortfolio**](docs/PortfolioApi.md#postportfolio) | **POST** /portfolio/ | Create a portfolio
@@ -117,16 +117,20 @@ Class | Method | HTTP request | Description
117
117
  *PortfolioInvestmentApi* | [**bulkRemoveInvestmentsFromPortfolio**](docs/PortfolioInvestmentApi.md#bulkremoveinvestmentsfromportfolio) | **POST** /portfolio/{portfolio_id}/investment/bulk-delete | Bulk remove investments from this portfolio
118
118
  *PortfolioInvestmentApi* | [**getInvestmentForPortfolio**](docs/PortfolioInvestmentApi.md#getinvestmentforportfolio) | **GET** /portfolio/{portfolio_id}/investment/{investment_id} | Get an investment link in this portfolio
119
119
  *PortfolioInvestmentApi* | [**getInvestmentsForPortfolio**](docs/PortfolioInvestmentApi.md#getinvestmentsforportfolio) | **GET** /portfolio/{portfolio_id}/investment/ | List investments in this portfolio
120
+ *PortfolioInvestmentApi* | [**getPortfolioInvestmentsOverview**](docs/PortfolioInvestmentApi.md#getportfolioinvestmentsoverview) | **GET** /portfolio/{portfolio_id}/investment/overview | Investment overview table for this portfolio
120
121
  *PortfolioInvestmentApi* | [**removeInvestmentFromPortfolio**](docs/PortfolioInvestmentApi.md#removeinvestmentfromportfolio) | **DELETE** /portfolio/{portfolio_id}/investment/{investment_id} | Remove an investment from this portfolio
121
- *PortfolioKPIApi* | [**getCapexDistribution**](docs/PortfolioKPIApi.md#getcapexdistribution) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id}/capex-distribution | CAPEX year-by-year distribution
122
- *PortfolioKPIApi* | [**getInvestmentsDistribution**](docs/PortfolioKPIApi.md#getinvestmentsdistribution) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id}/investments-distribution | Investment count year-by-year distribution
123
- *PortfolioKPIApi* | [**getKpiOverrunDistribution**](docs/PortfolioKPIApi.md#getkpioverrundistribution) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id}/overrun-distribution | Budget overrun year-by-year distribution
124
- *PortfolioKPIApi* | [**getNpvDistribution**](docs/PortfolioKPIApi.md#getnpvdistribution) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id}/npv-distribution | NPV year-by-year distribution
122
+ *PortfolioKPIApi* | [**getCapexDistribution**](docs/PortfolioKPIApi.md#getcapexdistribution) | **GET** /portfolio/{portfolio_id}/kpis/capex-distribution | CAPEX year-by-year distribution
123
+ *PortfolioKPIApi* | [**getInvestmentsDistribution**](docs/PortfolioKPIApi.md#getinvestmentsdistribution) | **GET** /portfolio/{portfolio_id}/kpis/investments-distribution | Investment count year-by-year distribution
124
+ *PortfolioKPIApi* | [**getKpiOverrunDistribution**](docs/PortfolioKPIApi.md#getkpioverrundistribution) | **GET** /portfolio/{portfolio_id}/kpis/overrun-distribution | Budget overrun year-by-year distribution
125
+ *PortfolioKPIApi* | [**getNpvDistribution**](docs/PortfolioKPIApi.md#getnpvdistribution) | **GET** /portfolio/{portfolio_id}/kpis/npv-distribution | NPV year-by-year distribution
125
126
  *PortfolioKPIApi* | [**getPortfolioBudgetExpenditure**](docs/PortfolioKPIApi.md#getportfoliobudgetexpenditure) | **GET** /portfolio/{portfolio_id}/budget-expenditure/{budget_id} | Budget year-by-year expenditure
127
+ *PortfolioKPIApi* | [**getPortfolioBudgetExpenditureAll**](docs/PortfolioKPIApi.md#getportfoliobudgetexpenditureall) | **GET** /portfolio/{portfolio_id}/budget-expenditure-all | Budget year-by-year expenditure for all budgets
128
+ *PortfolioKPIApi* | [**getPortfolioBudgetExpenditureNoBudget**](docs/PortfolioKPIApi.md#getportfoliobudgetexpenditurenobudget) | **GET** /portfolio/{portfolio_id}/budget-expenditure-no-budget | Year-by-year expenditure for options with no budget
126
129
  *PortfolioKPIApi* | [**getPortfolioBudgetUsage**](docs/PortfolioKPIApi.md#getportfoliobudgetusage) | **GET** /portfolio/{portfolio_id}/budget-usage | Budget usage summary
127
- *PortfolioKPIApi* | [**getPortfolioKpis**](docs/PortfolioKPIApi.md#getportfoliokpis) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id} | Get portfolio KPIs
130
+ *PortfolioKPIApi* | [**getPortfolioKpis**](docs/PortfolioKPIApi.md#getportfoliokpis) | **GET** /portfolio/{portfolio_id}/kpis | Get portfolio KPIs
128
131
  *PortfolioKPIApi* | [**getPortfolioMetricPerformance**](docs/PortfolioKPIApi.md#getportfoliometricperformance) | **GET** /portfolio/{portfolio_id}/metric-performance/{metric_id} | Metric performance over time
129
- *PortfolioKPIApi* | [**getPortfolioMonetizedImpact**](docs/PortfolioKPIApi.md#getportfoliomonetizedimpact) | **GET** /portfolio/{portfolio_id}/monetized-impact/{value_framework_id} | Portfolio monetized impact over time
132
+ *PortfolioKPIApi* | [**getPortfolioMonetizedImpact**](docs/PortfolioKPIApi.md#getportfoliomonetizedimpact) | **GET** /portfolio/{portfolio_id}/monetized-impact | Portfolio monetized impact over time
133
+ *PortfolioKPIApi* | [**getPortfolioMonetizedImpactDetailed**](docs/PortfolioKPIApi.md#getportfoliomonetizedimpactdetailed) | **GET** /portfolio/{portfolio_id}/monetized-impact/detailed | Portfolio monetized impact over time (split by metric)
130
134
  *PreferredOptionApi* | [**getPreferredOption**](docs/PreferredOptionApi.md#getpreferredoption) | **GET** /investment/{investment_id}/preferred_option | Get the preferred option for an investment
131
135
  *PreferredOptionApi* | [**setPreferredOption**](docs/PreferredOptionApi.md#setpreferredoption) | **POST** /investment/{investment_id}/preferred_option | Set the preferred option for an investment
132
136
  *ValueFrameworkApi* | [**deleteValueFramework**](docs/ValueFrameworkApi.md#deletevalueframework) | **DELETE** /value_framework/{value_framework_id} | Delete a value framework
@@ -171,6 +175,9 @@ Class | Method | HTTP request | Description
171
175
  - [MetricResponse](docs/MetricResponse.md)
172
176
  - [MetricType](docs/MetricType.md)
173
177
  - [MetricUpdate](docs/MetricUpdate.md)
178
+ - [MonetizedImpactDetailedResponse](docs/MonetizedImpactDetailedResponse.md)
179
+ - [MonetizedImpactDetailedYear](docs/MonetizedImpactDetailedYear.md)
180
+ - [MonetizedImpactMetricValue](docs/MonetizedImpactMetricValue.md)
174
181
  - [MonetizedImpactResponse](docs/MonetizedImpactResponse.md)
175
182
  - [MonetizedImpactYear](docs/MonetizedImpactYear.md)
176
183
  - [ObjectiveCreate](docs/ObjectiveCreate.md)
@@ -193,6 +200,7 @@ Class | Method | HTTP request | Description
193
200
  - [PortfolioInvestmentBulkAddRequest](docs/PortfolioInvestmentBulkAddRequest.md)
194
201
  - [PortfolioInvestmentBulkAddResponse](docs/PortfolioInvestmentBulkAddResponse.md)
195
202
  - [PortfolioInvestmentBulkDeleteRequest](docs/PortfolioInvestmentBulkDeleteRequest.md)
203
+ - [PortfolioInvestmentOverviewResponse](docs/PortfolioInvestmentOverviewResponse.md)
196
204
  - [PortfolioInvestmentResponse](docs/PortfolioInvestmentResponse.md)
197
205
  - [PortfolioKPIDistributionBudgetItem](docs/PortfolioKPIDistributionBudgetItem.md)
198
206
  - [PortfolioKPIDistributionResponse](docs/PortfolioKPIDistributionResponse.md)
package/api/budget-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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -322,7 +322,7 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
322
322
  };
323
323
  },
324
324
  /**
325
- * Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Returns the list of option IDs that were successfully linked.
325
+ * Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Also any previous option linked to this budget will be overwritten. Returns the list of option IDs that were successfully linked.
326
326
  * @summary Bulk-link options to this budget
327
327
  * @param {string} budgetId UUID of the budget
328
328
  * @param {BudgetLinkOptionsRequest} budgetLinkOptionsRequest
@@ -588,14 +588,14 @@ export const BudgetApiFp = function(configuration?: Configuration) {
588
588
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
589
589
  },
590
590
  /**
591
- * Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Returns the list of option IDs that were successfully linked.
591
+ * Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Also any previous option linked to this budget will be overwritten. Returns the list of option IDs that were successfully linked.
592
592
  * @summary Bulk-link options to this budget
593
593
  * @param {string} budgetId UUID of the budget
594
594
  * @param {BudgetLinkOptionsRequest} budgetLinkOptionsRequest
595
595
  * @param {*} [options] Override http request option.
596
596
  * @throws {RequiredError}
597
597
  */
598
- async linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
598
+ async linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string | null>>> {
599
599
  const localVarAxiosArgs = await localVarAxiosParamCreator.linkOptionsToBudget(budgetId, budgetLinkOptionsRequest, options);
600
600
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
601
601
  const localVarOperationServerBasePath = operationServerMap['BudgetApi.linkOptionsToBudget']?.[localVarOperationServerIndex]?.url;
@@ -724,14 +724,14 @@ export const BudgetApiFactory = function (configuration?: Configuration, basePat
724
724
  return localVarFp.getBudgets(offset, limit, options).then((request) => request(axios, basePath));
725
725
  },
726
726
  /**
727
- * Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Returns the list of option IDs that were successfully linked.
727
+ * Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Also any previous option linked to this budget will be overwritten. Returns the list of option IDs that were successfully linked.
728
728
  * @summary Bulk-link options to this budget
729
729
  * @param {string} budgetId UUID of the budget
730
730
  * @param {BudgetLinkOptionsRequest} budgetLinkOptionsRequest
731
731
  * @param {*} [options] Override http request option.
732
732
  * @throws {RequiredError}
733
733
  */
734
- linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
734
+ linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string | null>> {
735
735
  return localVarFp.linkOptionsToBudget(budgetId, budgetLinkOptionsRequest, options).then((request) => request(axios, basePath));
736
736
  },
737
737
  /**
@@ -853,7 +853,7 @@ export class BudgetApi extends BaseAPI {
853
853
  }
854
854
 
855
855
  /**
856
- * Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Returns the list of option IDs that were successfully linked.
856
+ * Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Also any previous option linked to this budget will be overwritten. Returns the list of option IDs that were successfully linked.
857
857
  * @summary Bulk-link options to this budget
858
858
  * @param {string} budgetId UUID of the budget
859
859
  * @param {BudgetLinkOptionsRequest} budgetLinkOptionsRequest
@@ -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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/impact-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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -194,15 +194,13 @@ export const InvestmentApiAxiosParamCreator = function (configuration?: Configur
194
194
  };
195
195
  },
196
196
  /**
197
- * Return a flat overview of all investments. For each investment the preferred option\'s name, start date, cost, duration and NPV (computed by the v_option_npv database view for the given value framework) are included. Investments without a preferred option have null values for those fields.
197
+ * Return a flat overview of all investments. For each investment the preferred option\'s name, start date, cost, duration and NPV (computed by the v_option_npv database view for the given value framework) are included. Investments without a preferred option have null values for those fields. When no value_framework_id is provided, NPV is returned as null.
198
198
  * @summary Investment overview table
199
- * @param {string} valueFrameworkId UUID of the value framework
199
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
200
200
  * @param {*} [options] Override http request option.
201
201
  * @throws {RequiredError}
202
202
  */
203
- getInvestmentsOverview: async (valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
204
- // verify required parameter 'valueFrameworkId' is not null or undefined
205
- assertParamExists('getInvestmentsOverview', 'valueFrameworkId', valueFrameworkId)
203
+ getInvestmentsOverview: async (valueFrameworkId?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
206
204
  const localVarPath = `/investment/overview`;
207
205
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
208
206
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -379,13 +377,13 @@ export const InvestmentApiFp = function(configuration?: Configuration) {
379
377
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
380
378
  },
381
379
  /**
382
- * Return a flat overview of all investments. For each investment the preferred option\'s name, start date, cost, duration and NPV (computed by the v_option_npv database view for the given value framework) are included. Investments without a preferred option have null values for those fields.
380
+ * Return a flat overview of all investments. For each investment the preferred option\'s name, start date, cost, duration and NPV (computed by the v_option_npv database view for the given value framework) are included. Investments without a preferred option have null values for those fields. When no value_framework_id is provided, NPV is returned as null.
383
381
  * @summary Investment overview table
384
- * @param {string} valueFrameworkId UUID of the value framework
382
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
385
383
  * @param {*} [options] Override http request option.
386
384
  * @throws {RequiredError}
387
385
  */
388
- async getInvestmentsOverview(valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InvestmentOverviewResponse>>> {
386
+ async getInvestmentsOverview(valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InvestmentOverviewResponse>>> {
389
387
  const localVarAxiosArgs = await localVarAxiosParamCreator.getInvestmentsOverview(valueFrameworkId, options);
390
388
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
391
389
  const localVarOperationServerBasePath = operationServerMap['InvestmentApi.getInvestmentsOverview']?.[localVarOperationServerIndex]?.url;
@@ -469,13 +467,13 @@ export const InvestmentApiFactory = function (configuration?: Configuration, bas
469
467
  return localVarFp.getInvestments(offset, limit, options).then((request) => request(axios, basePath));
470
468
  },
471
469
  /**
472
- * Return a flat overview of all investments. For each investment the preferred option\'s name, start date, cost, duration and NPV (computed by the v_option_npv database view for the given value framework) are included. Investments without a preferred option have null values for those fields.
470
+ * Return a flat overview of all investments. For each investment the preferred option\'s name, start date, cost, duration and NPV (computed by the v_option_npv database view for the given value framework) are included. Investments without a preferred option have null values for those fields. When no value_framework_id is provided, NPV is returned as null.
473
471
  * @summary Investment overview table
474
- * @param {string} valueFrameworkId UUID of the value framework
472
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
475
473
  * @param {*} [options] Override http request option.
476
474
  * @throws {RequiredError}
477
475
  */
478
- getInvestmentsOverview(valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<InvestmentOverviewResponse>> {
476
+ getInvestmentsOverview(valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<InvestmentOverviewResponse>> {
479
477
  return localVarFp.getInvestmentsOverview(valueFrameworkId, options).then((request) => request(axios, basePath));
480
478
  },
481
479
  /**
@@ -552,13 +550,13 @@ export class InvestmentApi extends BaseAPI {
552
550
  }
553
551
 
554
552
  /**
555
- * Return a flat overview of all investments. For each investment the preferred option\'s name, start date, cost, duration and NPV (computed by the v_option_npv database view for the given value framework) are included. Investments without a preferred option have null values for those fields.
553
+ * Return a flat overview of all investments. For each investment the preferred option\'s name, start date, cost, duration and NPV (computed by the v_option_npv database view for the given value framework) are included. Investments without a preferred option have null values for those fields. When no value_framework_id is provided, NPV is returned as null.
556
554
  * @summary Investment overview table
557
- * @param {string} valueFrameworkId UUID of the value framework
555
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
558
556
  * @param {*} [options] Override http request option.
559
557
  * @throws {RequiredError}
560
558
  */
561
- public getInvestmentsOverview(valueFrameworkId: string, options?: RawAxiosRequestConfig) {
559
+ public getInvestmentsOverview(valueFrameworkId?: string | null, options?: RawAxiosRequestConfig) {
562
560
  return InvestmentApiFp(this.configuration).getInvestmentsOverview(valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
563
561
  }
564
562
 
package/api/metric-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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -150,19 +150,16 @@ export const PortfolioApiAxiosParamCreator = function (configuration?: Configura
150
150
  };
151
151
  },
152
152
  /**
153
- * Return the full list of portfolios enriched with their KPIs (nb_investments, total_cost, date range, budget_overrun, NPV). The value framework is used to compute NPV.
153
+ * Return the full list of portfolios enriched with their KPIs (nb_investments, total_cost, date range, budget_overrun, NPV). The optional value_framework_id query parameter is used to compute NPV; when omitted, NPV fields are null.
154
154
  * @summary Portfolio overview with KPIs
155
- * @param {string} valueFrameworkId UUID of the value framework
156
155
  * @param {number} [offset] Number of records to skip
157
156
  * @param {number} [limit] Max number of records to return
157
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
158
158
  * @param {*} [options] Override http request option.
159
159
  * @throws {RequiredError}
160
160
  */
161
- getPortfolioOverview: async (valueFrameworkId: string, offset?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
162
- // verify required parameter 'valueFrameworkId' is not null or undefined
163
- assertParamExists('getPortfolioOverview', 'valueFrameworkId', valueFrameworkId)
164
- const localVarPath = `/portfolio/overview/{value_framework_id}`
165
- .replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
161
+ getPortfolioOverview: async (offset?: number, limit?: number, valueFrameworkId?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
162
+ const localVarPath = `/portfolio/overview`;
166
163
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
167
164
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
168
165
  let baseOptions;
@@ -186,6 +183,10 @@ export const PortfolioApiAxiosParamCreator = function (configuration?: Configura
186
183
  localVarQueryParameter['limit'] = limit;
187
184
  }
188
185
 
186
+ if (valueFrameworkId !== undefined) {
187
+ localVarQueryParameter['value_framework_id'] = valueFrameworkId;
188
+ }
189
+
189
190
  localVarHeaderParameter['Accept'] = 'application/json';
190
191
 
191
192
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -372,16 +373,16 @@ export const PortfolioApiFp = function(configuration?: Configuration) {
372
373
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
373
374
  },
374
375
  /**
375
- * Return the full list of portfolios enriched with their KPIs (nb_investments, total_cost, date range, budget_overrun, NPV). The value framework is used to compute NPV.
376
+ * Return the full list of portfolios enriched with their KPIs (nb_investments, total_cost, date range, budget_overrun, NPV). The optional value_framework_id query parameter is used to compute NPV; when omitted, NPV fields are null.
376
377
  * @summary Portfolio overview with KPIs
377
- * @param {string} valueFrameworkId UUID of the value framework
378
378
  * @param {number} [offset] Number of records to skip
379
379
  * @param {number} [limit] Max number of records to return
380
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
380
381
  * @param {*} [options] Override http request option.
381
382
  * @throws {RequiredError}
382
383
  */
383
- async getPortfolioOverview(valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PortfolioOverviewItemResponse>>> {
384
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPortfolioOverview(valueFrameworkId, offset, limit, options);
384
+ async getPortfolioOverview(offset?: number, limit?: number, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PortfolioOverviewItemResponse>>> {
385
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPortfolioOverview(offset, limit, valueFrameworkId, options);
385
386
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
386
387
  const localVarOperationServerBasePath = operationServerMap['PortfolioApi.getPortfolioOverview']?.[localVarOperationServerIndex]?.url;
387
388
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -467,16 +468,16 @@ export const PortfolioApiFactory = function (configuration?: Configuration, base
467
468
  return localVarFp.getPortfolioById(portfolioId, options).then((request) => request(axios, basePath));
468
469
  },
469
470
  /**
470
- * Return the full list of portfolios enriched with their KPIs (nb_investments, total_cost, date range, budget_overrun, NPV). The value framework is used to compute NPV.
471
+ * Return the full list of portfolios enriched with their KPIs (nb_investments, total_cost, date range, budget_overrun, NPV). The optional value_framework_id query parameter is used to compute NPV; when omitted, NPV fields are null.
471
472
  * @summary Portfolio overview with KPIs
472
- * @param {string} valueFrameworkId UUID of the value framework
473
473
  * @param {number} [offset] Number of records to skip
474
474
  * @param {number} [limit] Max number of records to return
475
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
475
476
  * @param {*} [options] Override http request option.
476
477
  * @throws {RequiredError}
477
478
  */
478
- getPortfolioOverview(valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<PortfolioOverviewItemResponse>> {
479
- return localVarFp.getPortfolioOverview(valueFrameworkId, offset, limit, options).then((request) => request(axios, basePath));
479
+ getPortfolioOverview(offset?: number, limit?: number, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<PortfolioOverviewItemResponse>> {
480
+ return localVarFp.getPortfolioOverview(offset, limit, valueFrameworkId, options).then((request) => request(axios, basePath));
480
481
  },
481
482
  /**
482
483
  * Retrieve a paginated list of all portfolios.
@@ -551,16 +552,16 @@ export class PortfolioApi extends BaseAPI {
551
552
  }
552
553
 
553
554
  /**
554
- * Return the full list of portfolios enriched with their KPIs (nb_investments, total_cost, date range, budget_overrun, NPV). The value framework is used to compute NPV.
555
+ * Return the full list of portfolios enriched with their KPIs (nb_investments, total_cost, date range, budget_overrun, NPV). The optional value_framework_id query parameter is used to compute NPV; when omitted, NPV fields are null.
555
556
  * @summary Portfolio overview with KPIs
556
- * @param {string} valueFrameworkId UUID of the value framework
557
557
  * @param {number} [offset] Number of records to skip
558
558
  * @param {number} [limit] Max number of records to return
559
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
559
560
  * @param {*} [options] Override http request option.
560
561
  * @throws {RequiredError}
561
562
  */
562
- public getPortfolioOverview(valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) {
563
- return PortfolioApiFp(this.configuration).getPortfolioOverview(valueFrameworkId, offset, limit, options).then((request) => request(this.axios, this.basePath));
563
+ public getPortfolioOverview(offset?: number, limit?: number, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig) {
564
+ return PortfolioApiFp(this.configuration).getPortfolioOverview(offset, limit, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
564
565
  }
565
566
 
566
567
  /**
@@ -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.4.0-dev2
7
+ * The version of the OpenAPI document: 0.4.0-dev4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,6 +28,8 @@ import type { PortfolioInvestmentBulkAddResponse } from '../models';
28
28
  // @ts-ignore
29
29
  import type { PortfolioInvestmentBulkDeleteRequest } from '../models';
30
30
  // @ts-ignore
31
+ import type { PortfolioInvestmentOverviewResponse } from '../models';
32
+ // @ts-ignore
31
33
  import type { PortfolioInvestmentResponse } from '../models';
32
34
  /**
33
35
  * PortfolioInvestmentApi - axios parameter creator
@@ -251,6 +253,49 @@ export const PortfolioInvestmentApiAxiosParamCreator = function (configuration?:
251
253
  options: localVarRequestOptions,
252
254
  };
253
255
  },
256
+ /**
257
+ * Return a flat overview of all investments in this portfolio. For each investment the preferred option\'s name, start date, cost, duration, NPV and budget name are included. Investments without a preferred option have null values for those fields.
258
+ * @summary Investment overview table for this portfolio
259
+ * @param {string} portfolioId UUID of the portfolio
260
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
261
+ * @param {*} [options] Override http request option.
262
+ * @throws {RequiredError}
263
+ */
264
+ getPortfolioInvestmentsOverview: async (portfolioId: string, valueFrameworkId?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
265
+ // verify required parameter 'portfolioId' is not null or undefined
266
+ assertParamExists('getPortfolioInvestmentsOverview', 'portfolioId', portfolioId)
267
+ const localVarPath = `/portfolio/{portfolio_id}/investment/overview`
268
+ .replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
269
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
270
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
271
+ let baseOptions;
272
+ if (configuration) {
273
+ baseOptions = configuration.baseOptions;
274
+ }
275
+
276
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
277
+ const localVarHeaderParameter = {} as any;
278
+ const localVarQueryParameter = {} as any;
279
+
280
+ // authentication OAuth2AuthorizationCodeBearer required
281
+ // oauth required
282
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
283
+
284
+ if (valueFrameworkId !== undefined) {
285
+ localVarQueryParameter['value_framework_id'] = valueFrameworkId;
286
+ }
287
+
288
+ localVarHeaderParameter['Accept'] = 'application/json';
289
+
290
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
291
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
292
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
293
+
294
+ return {
295
+ url: toPathString(localVarUrlObj),
296
+ options: localVarRequestOptions,
297
+ };
298
+ },
254
299
  /**
255
300
  * Remove an investment from this portfolio by deleting the link.
256
301
  * @summary Remove an investment from this portfolio
@@ -372,6 +417,20 @@ export const PortfolioInvestmentApiFp = function(configuration?: Configuration)
372
417
  const localVarOperationServerBasePath = operationServerMap['PortfolioInvestmentApi.getInvestmentsForPortfolio']?.[localVarOperationServerIndex]?.url;
373
418
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
374
419
  },
420
+ /**
421
+ * Return a flat overview of all investments in this portfolio. For each investment the preferred option\'s name, start date, cost, duration, NPV and budget name are included. Investments without a preferred option have null values for those fields.
422
+ * @summary Investment overview table for this portfolio
423
+ * @param {string} portfolioId UUID of the portfolio
424
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
425
+ * @param {*} [options] Override http request option.
426
+ * @throws {RequiredError}
427
+ */
428
+ async getPortfolioInvestmentsOverview(portfolioId: string, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PortfolioInvestmentOverviewResponse>>> {
429
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPortfolioInvestmentsOverview(portfolioId, valueFrameworkId, options);
430
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
431
+ const localVarOperationServerBasePath = operationServerMap['PortfolioInvestmentApi.getPortfolioInvestmentsOverview']?.[localVarOperationServerIndex]?.url;
432
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
433
+ },
375
434
  /**
376
435
  * Remove an investment from this portfolio by deleting the link.
377
436
  * @summary Remove an investment from this portfolio
@@ -451,6 +510,17 @@ export const PortfolioInvestmentApiFactory = function (configuration?: Configura
451
510
  getInvestmentsForPortfolio(portfolioId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<PortfolioInvestmentResponse>> {
452
511
  return localVarFp.getInvestmentsForPortfolio(portfolioId, offset, limit, options).then((request) => request(axios, basePath));
453
512
  },
513
+ /**
514
+ * Return a flat overview of all investments in this portfolio. For each investment the preferred option\'s name, start date, cost, duration, NPV and budget name are included. Investments without a preferred option have null values for those fields.
515
+ * @summary Investment overview table for this portfolio
516
+ * @param {string} portfolioId UUID of the portfolio
517
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
518
+ * @param {*} [options] Override http request option.
519
+ * @throws {RequiredError}
520
+ */
521
+ getPortfolioInvestmentsOverview(portfolioId: string, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<PortfolioInvestmentOverviewResponse>> {
522
+ return localVarFp.getPortfolioInvestmentsOverview(portfolioId, valueFrameworkId, options).then((request) => request(axios, basePath));
523
+ },
454
524
  /**
455
525
  * Remove an investment from this portfolio by deleting the link.
456
526
  * @summary Remove an investment from this portfolio
@@ -530,6 +600,18 @@ export class PortfolioInvestmentApi extends BaseAPI {
530
600
  return PortfolioInvestmentApiFp(this.configuration).getInvestmentsForPortfolio(portfolioId, offset, limit, options).then((request) => request(this.axios, this.basePath));
531
601
  }
532
602
 
603
+ /**
604
+ * Return a flat overview of all investments in this portfolio. For each investment the preferred option\'s name, start date, cost, duration, NPV and budget name are included. Investments without a preferred option have null values for those fields.
605
+ * @summary Investment overview table for this portfolio
606
+ * @param {string} portfolioId UUID of the portfolio
607
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
608
+ * @param {*} [options] Override http request option.
609
+ * @throws {RequiredError}
610
+ */
611
+ public getPortfolioInvestmentsOverview(portfolioId: string, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig) {
612
+ return PortfolioInvestmentApiFp(this.configuration).getPortfolioInvestmentsOverview(portfolioId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
613
+ }
614
+
533
615
  /**
534
616
  * Remove an investment from this portfolio by deleting the link.
535
617
  * @summary Remove an investment from this portfolio