@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
@@ -0,0 +1,508 @@
1
+ # PortfolioKPIApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getCapexDistribution**](#getcapexdistribution) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id}/capex-distribution | CAPEX year-by-year distribution|
8
+ |[**getInvestmentsDistribution**](#getinvestmentsdistribution) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id}/investments-distribution | Investment count year-by-year distribution|
9
+ |[**getKpiOverrunDistribution**](#getkpioverrundistribution) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id}/overrun-distribution | Budget overrun year-by-year distribution|
10
+ |[**getNpvDistribution**](#getnpvdistribution) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id}/npv-distribution | NPV year-by-year distribution|
11
+ |[**getPortfolioBudgetExpenditure**](#getportfoliobudgetexpenditure) | **GET** /portfolio/{portfolio_id}/budget-expenditure/{budget_id} | Budget year-by-year expenditure|
12
+ |[**getPortfolioBudgetUsage**](#getportfoliobudgetusage) | **GET** /portfolio/{portfolio_id}/budget-usage | Budget usage summary|
13
+ |[**getPortfolioKpis**](#getportfoliokpis) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id} | Get portfolio KPIs|
14
+ |[**getPortfolioMetricPerformance**](#getportfoliometricperformance) | **GET** /portfolio/{portfolio_id}/metric-performance/{metric_id} | Metric performance over time|
15
+ |[**getPortfolioMonetizedImpact**](#getportfoliomonetizedimpact) | **GET** /portfolio/{portfolio_id}/monetized-impact/{value_framework_id} | Portfolio monetized impact over time|
16
+
17
+ # **getCapexDistribution**
18
+ > PortfolioKPIDistributionResponse getCapexDistribution()
19
+
20
+ Total cost of preferred options starting each year.
21
+
22
+ ### Example
23
+
24
+ ```typescript
25
+ import {
26
+ PortfolioKPIApi,
27
+ Configuration
28
+ } from '@cosmotech/aip-client';
29
+
30
+ const configuration = new Configuration();
31
+ const apiInstance = new PortfolioKPIApi(configuration);
32
+
33
+ let portfolioId: string; //UUID of the portfolio (default to undefined)
34
+ let valueFrameworkId: string; //UUID of the value framework (default to undefined)
35
+
36
+ const { status, data } = await apiInstance.getCapexDistribution(
37
+ portfolioId,
38
+ valueFrameworkId
39
+ );
40
+ ```
41
+
42
+ ### Parameters
43
+
44
+ |Name | Type | Description | Notes|
45
+ |------------- | ------------- | ------------- | -------------|
46
+ | **portfolioId** | [**string**] | UUID of the portfolio | defaults to undefined|
47
+ | **valueFrameworkId** | [**string**] | UUID of the value framework | defaults to undefined|
48
+
49
+
50
+ ### Return type
51
+
52
+ **PortfolioKPIDistributionResponse**
53
+
54
+ ### Authorization
55
+
56
+ [OAuth2AuthorizationCodeBearer](../README.md#OAuth2AuthorizationCodeBearer)
57
+
58
+ ### HTTP request headers
59
+
60
+ - **Content-Type**: Not defined
61
+ - **Accept**: application/json
62
+
63
+
64
+ ### HTTP response details
65
+ | Status code | Description | Response headers |
66
+ |-------------|-------------|------------------|
67
+ |**200** | Year-by-year CAPEX breakdown | - |
68
+ |**404** | Portfolio or value framework not found | - |
69
+
70
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
71
+
72
+ # **getInvestmentsDistribution**
73
+ > PortfolioKPIDistributionResponse getInvestmentsDistribution()
74
+
75
+ Count of investments with a preferred option starting each year.
76
+
77
+ ### Example
78
+
79
+ ```typescript
80
+ import {
81
+ PortfolioKPIApi,
82
+ Configuration
83
+ } from '@cosmotech/aip-client';
84
+
85
+ const configuration = new Configuration();
86
+ const apiInstance = new PortfolioKPIApi(configuration);
87
+
88
+ let portfolioId: string; //UUID of the portfolio (default to undefined)
89
+ let valueFrameworkId: string; //UUID of the value framework (default to undefined)
90
+
91
+ const { status, data } = await apiInstance.getInvestmentsDistribution(
92
+ portfolioId,
93
+ valueFrameworkId
94
+ );
95
+ ```
96
+
97
+ ### Parameters
98
+
99
+ |Name | Type | Description | Notes|
100
+ |------------- | ------------- | ------------- | -------------|
101
+ | **portfolioId** | [**string**] | UUID of the portfolio | defaults to undefined|
102
+ | **valueFrameworkId** | [**string**] | UUID of the value framework | defaults to undefined|
103
+
104
+
105
+ ### Return type
106
+
107
+ **PortfolioKPIDistributionResponse**
108
+
109
+ ### Authorization
110
+
111
+ [OAuth2AuthorizationCodeBearer](../README.md#OAuth2AuthorizationCodeBearer)
112
+
113
+ ### HTTP request headers
114
+
115
+ - **Content-Type**: Not defined
116
+ - **Accept**: application/json
117
+
118
+
119
+ ### HTTP response details
120
+ | Status code | Description | Response headers |
121
+ |-------------|-------------|------------------|
122
+ |**200** | Year-by-year investment count | - |
123
+ |**404** | Portfolio or value framework not found | - |
124
+
125
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
126
+
127
+ # **getKpiOverrunDistribution**
128
+ > PortfolioKPIOverrunDistributionResponse getKpiOverrunDistribution()
129
+
130
+ Break down budget overruns by year across all preferred options in the portfolio. For each year, shows per-budget whether the annual expenditure exceeds the budget capacity.
131
+
132
+ ### Example
133
+
134
+ ```typescript
135
+ import {
136
+ PortfolioKPIApi,
137
+ Configuration
138
+ } from '@cosmotech/aip-client';
139
+
140
+ const configuration = new Configuration();
141
+ const apiInstance = new PortfolioKPIApi(configuration);
142
+
143
+ let portfolioId: string; //UUID of the portfolio (default to undefined)
144
+ let valueFrameworkId: string; //UUID of the value framework (default to undefined)
145
+
146
+ const { status, data } = await apiInstance.getKpiOverrunDistribution(
147
+ portfolioId,
148
+ valueFrameworkId
149
+ );
150
+ ```
151
+
152
+ ### Parameters
153
+
154
+ |Name | Type | Description | Notes|
155
+ |------------- | ------------- | ------------- | -------------|
156
+ | **portfolioId** | [**string**] | UUID of the portfolio | defaults to undefined|
157
+ | **valueFrameworkId** | [**string**] | UUID of the value framework | defaults to undefined|
158
+
159
+
160
+ ### Return type
161
+
162
+ **PortfolioKPIOverrunDistributionResponse**
163
+
164
+ ### Authorization
165
+
166
+ [OAuth2AuthorizationCodeBearer](../README.md#OAuth2AuthorizationCodeBearer)
167
+
168
+ ### HTTP request headers
169
+
170
+ - **Content-Type**: Not defined
171
+ - **Accept**: application/json
172
+
173
+
174
+ ### HTTP response details
175
+ | Status code | Description | Response headers |
176
+ |-------------|-------------|------------------|
177
+ |**200** | Year-by-year budget overrun breakdown | - |
178
+ |**404** | Portfolio or value framework not found | - |
179
+
180
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
181
+
182
+ # **getNpvDistribution**
183
+ > PortfolioKPIDistributionResponse getNpvDistribution()
184
+
185
+ Sum of final NPV of preferred options starting each year.
186
+
187
+ ### Example
188
+
189
+ ```typescript
190
+ import {
191
+ PortfolioKPIApi,
192
+ Configuration
193
+ } from '@cosmotech/aip-client';
194
+
195
+ const configuration = new Configuration();
196
+ const apiInstance = new PortfolioKPIApi(configuration);
197
+
198
+ let portfolioId: string; //UUID of the portfolio (default to undefined)
199
+ let valueFrameworkId: string; //UUID of the value framework (default to undefined)
200
+
201
+ const { status, data } = await apiInstance.getNpvDistribution(
202
+ portfolioId,
203
+ valueFrameworkId
204
+ );
205
+ ```
206
+
207
+ ### Parameters
208
+
209
+ |Name | Type | Description | Notes|
210
+ |------------- | ------------- | ------------- | -------------|
211
+ | **portfolioId** | [**string**] | UUID of the portfolio | defaults to undefined|
212
+ | **valueFrameworkId** | [**string**] | UUID of the value framework | defaults to undefined|
213
+
214
+
215
+ ### Return type
216
+
217
+ **PortfolioKPIDistributionResponse**
218
+
219
+ ### Authorization
220
+
221
+ [OAuth2AuthorizationCodeBearer](../README.md#OAuth2AuthorizationCodeBearer)
222
+
223
+ ### HTTP request headers
224
+
225
+ - **Content-Type**: Not defined
226
+ - **Accept**: application/json
227
+
228
+
229
+ ### HTTP response details
230
+ | Status code | Description | Response headers |
231
+ |-------------|-------------|------------------|
232
+ |**200** | Year-by-year NPV breakdown | - |
233
+ |**404** | Portfolio or value framework not found | - |
234
+
235
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
236
+
237
+ # **getPortfolioBudgetExpenditure**
238
+ > PortfolioBudgetExpenditureResponse getPortfolioBudgetExpenditure()
239
+
240
+ Return year-by-year expenditure of preferred options linked to a specific budget within this portfolio.
241
+
242
+ ### Example
243
+
244
+ ```typescript
245
+ import {
246
+ PortfolioKPIApi,
247
+ Configuration
248
+ } from '@cosmotech/aip-client';
249
+
250
+ const configuration = new Configuration();
251
+ const apiInstance = new PortfolioKPIApi(configuration);
252
+
253
+ let portfolioId: string; //UUID of the portfolio (default to undefined)
254
+ let budgetId: string; //UUID of the budget (default to undefined)
255
+
256
+ const { status, data } = await apiInstance.getPortfolioBudgetExpenditure(
257
+ portfolioId,
258
+ budgetId
259
+ );
260
+ ```
261
+
262
+ ### Parameters
263
+
264
+ |Name | Type | Description | Notes|
265
+ |------------- | ------------- | ------------- | -------------|
266
+ | **portfolioId** | [**string**] | UUID of the portfolio | defaults to undefined|
267
+ | **budgetId** | [**string**] | UUID of the budget | defaults to undefined|
268
+
269
+
270
+ ### Return type
271
+
272
+ **PortfolioBudgetExpenditureResponse**
273
+
274
+ ### Authorization
275
+
276
+ [OAuth2AuthorizationCodeBearer](../README.md#OAuth2AuthorizationCodeBearer)
277
+
278
+ ### HTTP request headers
279
+
280
+ - **Content-Type**: Not defined
281
+ - **Accept**: application/json
282
+
283
+
284
+ ### HTTP response details
285
+ | Status code | Description | Response headers |
286
+ |-------------|-------------|------------------|
287
+ |**200** | Budget expenditure over time | - |
288
+ |**404** | Portfolio or budget not found | - |
289
+
290
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
291
+
292
+ # **getPortfolioBudgetUsage**
293
+ > Array<PortfolioBudgetUsageItem> getPortfolioBudgetUsage()
294
+
295
+ For each budget referenced by preferred options in this portfolio, return usage and overrun statistics.
296
+
297
+ ### Example
298
+
299
+ ```typescript
300
+ import {
301
+ PortfolioKPIApi,
302
+ Configuration
303
+ } from '@cosmotech/aip-client';
304
+
305
+ const configuration = new Configuration();
306
+ const apiInstance = new PortfolioKPIApi(configuration);
307
+
308
+ let portfolioId: string; //UUID of the portfolio (default to undefined)
309
+
310
+ const { status, data } = await apiInstance.getPortfolioBudgetUsage(
311
+ portfolioId
312
+ );
313
+ ```
314
+
315
+ ### Parameters
316
+
317
+ |Name | Type | Description | Notes|
318
+ |------------- | ------------- | ------------- | -------------|
319
+ | **portfolioId** | [**string**] | UUID of the portfolio | defaults to undefined|
320
+
321
+
322
+ ### Return type
323
+
324
+ **Array<PortfolioBudgetUsageItem>**
325
+
326
+ ### Authorization
327
+
328
+ [OAuth2AuthorizationCodeBearer](../README.md#OAuth2AuthorizationCodeBearer)
329
+
330
+ ### HTTP request headers
331
+
332
+ - **Content-Type**: Not defined
333
+ - **Accept**: application/json
334
+
335
+
336
+ ### HTTP response details
337
+ | Status code | Description | Response headers |
338
+ |-------------|-------------|------------------|
339
+ |**200** | Budget usage items | - |
340
+ |**404** | Portfolio not found | - |
341
+
342
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
343
+
344
+ # **getPortfolioKpis**
345
+ > PortfolioKPIResponse getPortfolioKpis()
346
+
347
+ Return KPIs (nb_investments, total_cost, date range, budget_overrun, NPV) for the specified portfolio and value framework.
348
+
349
+ ### Example
350
+
351
+ ```typescript
352
+ import {
353
+ PortfolioKPIApi,
354
+ Configuration
355
+ } from '@cosmotech/aip-client';
356
+
357
+ const configuration = new Configuration();
358
+ const apiInstance = new PortfolioKPIApi(configuration);
359
+
360
+ let portfolioId: string; //UUID of the portfolio (default to undefined)
361
+ let valueFrameworkId: string; //UUID of the value framework (default to undefined)
362
+
363
+ const { status, data } = await apiInstance.getPortfolioKpis(
364
+ portfolioId,
365
+ valueFrameworkId
366
+ );
367
+ ```
368
+
369
+ ### Parameters
370
+
371
+ |Name | Type | Description | Notes|
372
+ |------------- | ------------- | ------------- | -------------|
373
+ | **portfolioId** | [**string**] | UUID of the portfolio | defaults to undefined|
374
+ | **valueFrameworkId** | [**string**] | UUID of the value framework | defaults to undefined|
375
+
376
+
377
+ ### Return type
378
+
379
+ **PortfolioKPIResponse**
380
+
381
+ ### Authorization
382
+
383
+ [OAuth2AuthorizationCodeBearer](../README.md#OAuth2AuthorizationCodeBearer)
384
+
385
+ ### HTTP request headers
386
+
387
+ - **Content-Type**: Not defined
388
+ - **Accept**: application/json
389
+
390
+
391
+ ### HTTP response details
392
+ | Status code | Description | Response headers |
393
+ |-------------|-------------|------------------|
394
+ |**200** | KPIs for the portfolio | - |
395
+ |**404** | Portfolio or value framework not found | - |
396
+
397
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
398
+
399
+ # **getPortfolioMetricPerformance**
400
+ > MetricPerformanceResponse getPortfolioMetricPerformance()
401
+
402
+ Return the year-by-year summed raw metric value across all preferred options in the portfolio for a given metric. The metric_value is framework-independent.
403
+
404
+ ### Example
405
+
406
+ ```typescript
407
+ import {
408
+ PortfolioKPIApi,
409
+ Configuration
410
+ } from '@cosmotech/aip-client';
411
+
412
+ const configuration = new Configuration();
413
+ const apiInstance = new PortfolioKPIApi(configuration);
414
+
415
+ let portfolioId: string; //UUID of the portfolio (default to undefined)
416
+ let metricId: string; //UUID of the metric (default to undefined)
417
+
418
+ const { status, data } = await apiInstance.getPortfolioMetricPerformance(
419
+ portfolioId,
420
+ metricId
421
+ );
422
+ ```
423
+
424
+ ### Parameters
425
+
426
+ |Name | Type | Description | Notes|
427
+ |------------- | ------------- | ------------- | -------------|
428
+ | **portfolioId** | [**string**] | UUID of the portfolio | defaults to undefined|
429
+ | **metricId** | [**string**] | UUID of the metric | defaults to undefined|
430
+
431
+
432
+ ### Return type
433
+
434
+ **MetricPerformanceResponse**
435
+
436
+ ### Authorization
437
+
438
+ [OAuth2AuthorizationCodeBearer](../README.md#OAuth2AuthorizationCodeBearer)
439
+
440
+ ### HTTP request headers
441
+
442
+ - **Content-Type**: Not defined
443
+ - **Accept**: application/json
444
+
445
+
446
+ ### HTTP response details
447
+ | Status code | Description | Response headers |
448
+ |-------------|-------------|------------------|
449
+ |**200** | Metric performance data | - |
450
+ |**404** | Portfolio or metric not found | - |
451
+
452
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
453
+
454
+ # **getPortfolioMonetizedImpact**
455
+ > MonetizedImpactResponse getPortfolioMonetizedImpact()
456
+
457
+ Return year-by-year monetized impact (sum of all metric monetary values) and investment cost (preferred option CAPEX by start year) across the portfolio.
458
+
459
+ ### Example
460
+
461
+ ```typescript
462
+ import {
463
+ PortfolioKPIApi,
464
+ Configuration
465
+ } from '@cosmotech/aip-client';
466
+
467
+ const configuration = new Configuration();
468
+ const apiInstance = new PortfolioKPIApi(configuration);
469
+
470
+ let portfolioId: string; //UUID of the portfolio (default to undefined)
471
+ let valueFrameworkId: string; //UUID of the value framework (default to undefined)
472
+
473
+ const { status, data } = await apiInstance.getPortfolioMonetizedImpact(
474
+ portfolioId,
475
+ valueFrameworkId
476
+ );
477
+ ```
478
+
479
+ ### Parameters
480
+
481
+ |Name | Type | Description | Notes|
482
+ |------------- | ------------- | ------------- | -------------|
483
+ | **portfolioId** | [**string**] | UUID of the portfolio | defaults to undefined|
484
+ | **valueFrameworkId** | [**string**] | UUID of the value framework | defaults to undefined|
485
+
486
+
487
+ ### Return type
488
+
489
+ **MonetizedImpactResponse**
490
+
491
+ ### Authorization
492
+
493
+ [OAuth2AuthorizationCodeBearer](../README.md#OAuth2AuthorizationCodeBearer)
494
+
495
+ ### HTTP request headers
496
+
497
+ - **Content-Type**: Not defined
498
+ - **Accept**: application/json
499
+
500
+
501
+ ### HTTP response details
502
+ | Status code | Description | Response headers |
503
+ |-------------|-------------|------------------|
504
+ |**200** | Monetized impact data | - |
505
+ |**404** | Portfolio or value framework not found | - |
506
+
507
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
508
+
@@ -0,0 +1,25 @@
1
+ # PortfolioKPIDistributionBudgetItem
2
+
3
+ Per-budget overrun flag for one year (True = budget exceeded, False = within capacity).
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **budgetId** | **string** | | [default to undefined]
10
+ **budgetName** | **string** | | [default to undefined]
11
+ **overrun** | **boolean** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { PortfolioKPIDistributionBudgetItem } from '@cosmotech/aip-client';
17
+
18
+ const instance: PortfolioKPIDistributionBudgetItem = {
19
+ budgetId,
20
+ budgetName,
21
+ overrun,
22
+ };
23
+ ```
24
+
25
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,25 @@
1
+ # PortfolioKPIDistributionResponse
2
+
3
+ Response for the KPI distribution endpoint (investments / capex / npv).
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **data** | [**Array&lt;PortfolioKPIDistributionYearValue&gt;**](PortfolioKPIDistributionYearValue.md) | | [default to undefined]
10
+ **kpi** | **string** | | [default to undefined]
11
+ **unit** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { PortfolioKPIDistributionResponse } from '@cosmotech/aip-client';
17
+
18
+ const instance: PortfolioKPIDistributionResponse = {
19
+ data,
20
+ kpi,
21
+ unit,
22
+ };
23
+ ```
24
+
25
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # PortfolioKPIDistributionYearOverrun
2
+
3
+ Year + per-budget breakdown for the budget_overrun distribution.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **budgets** | [**Array&lt;PortfolioKPIDistributionBudgetItem&gt;**](PortfolioKPIDistributionBudgetItem.md) | | [default to undefined]
10
+ **year** | **number** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PortfolioKPIDistributionYearOverrun } from '@cosmotech/aip-client';
16
+
17
+ const instance: PortfolioKPIDistributionYearOverrun = {
18
+ budgets,
19
+ year,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # PortfolioKPIDistributionYearValue
2
+
3
+ Year + scalar value for investments / capex / npv distributions.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **value** | **number** | | [default to undefined]
10
+ **year** | **number** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PortfolioKPIDistributionYearValue } from '@cosmotech/aip-client';
16
+
17
+ const instance: PortfolioKPIDistributionYearValue = {
18
+ value,
19
+ year,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # PortfolioKPIOverrunDistributionResponse
2
+
3
+ Response for the budget_overrun KPI distribution endpoint.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **data** | [**Array&lt;PortfolioKPIDistributionYearOverrun&gt;**](PortfolioKPIDistributionYearOverrun.md) | | [default to undefined]
10
+ **kpi** | **string** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PortfolioKPIOverrunDistributionResponse } from '@cosmotech/aip-client';
16
+
17
+ const instance: PortfolioKPIOverrunDistributionResponse = {
18
+ data,
19
+ kpi,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,31 @@
1
+ # PortfolioKPIResponse
2
+
3
+ Computed KPI values for one portfolio (framework-independent fields only when no VF given).
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **budgetOverrun** | **number** | Count of budget-overrun years across all budgets in this portfolio | [default to undefined]
10
+ **earliestStartDate** | **string** | | [optional] [default to undefined]
11
+ **latestStartDate** | **string** | | [optional] [default to undefined]
12
+ **nbInvestments** | **number** | Number of investments in the portfolio | [default to undefined]
13
+ **npv** | **number** | | [optional] [default to undefined]
14
+ **totalCost** | **number** | Sum of preferred options\&#39; costs (CAPEX) | [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { PortfolioKPIResponse } from '@cosmotech/aip-client';
20
+
21
+ const instance: PortfolioKPIResponse = {
22
+ budgetOverrun,
23
+ earliestStartDate,
24
+ latestStartDate,
25
+ nbInvestments,
26
+ npv,
27
+ totalCost,
28
+ };
29
+ ```
30
+
31
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)