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

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 (494) hide show
  1. package/README.md +50 -5
  2. package/api/budget-api.ts +85 -19
  3. package/api/default-api.ts +1 -1
  4. package/api/impact-api.ts +1 -1
  5. package/api/investment-api.ts +1 -1
  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 +30 -30
  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 +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 +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 +37 -5
  25. package/dist/api/budget-api.js +82 -17
  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 +1 -1
  31. package/dist/api/investment-api.js +1 -1
  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 +17 -17
  45. package/dist/api/option-api.js +30 -30
  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 -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 +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 +37 -5
  69. package/dist/esm/api/budget-api.js +82 -17
  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 +1 -1
  75. package/dist/esm/api/investment-api.js +1 -1
  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 +17 -17
  89. package/dist/esm/api/option-api.js +30 -30
  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 -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 +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 +1 -5
  139. package/dist/esm/models/impact-bulk-item.js +1 -1
  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 +22 -0
  145. package/dist/esm/models/index.js +22 -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 +1 -5
  279. package/dist/models/impact-bulk-item.js +1 -1
  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 +22 -0
  285. package/dist/models/index.js +22 -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 +58 -6
  393. package/docs/BudgetBulkDeleteRequest.md +2 -2
  394. package/docs/ImpactAPIResponse.md +0 -2
  395. package/docs/ImpactBulkItem.md +0 -2
  396. package/docs/ImpactCreate.md +0 -2
  397. package/docs/ImpactUpdate.md +0 -2
  398. package/docs/MetricPerformanceResponse.md +27 -0
  399. package/docs/MetricPerformanceYear.md +23 -0
  400. package/docs/MonetizedImpactResponse.md +21 -0
  401. package/docs/MonetizedImpactYear.md +25 -0
  402. package/docs/OptionApi.md +7 -7
  403. package/docs/PortfolioApi.md +395 -0
  404. package/docs/PortfolioBudgetExpenditureResponse.md +27 -0
  405. package/docs/PortfolioBudgetExpenditureYear.md +23 -0
  406. package/docs/PortfolioBudgetUsageItem.md +31 -0
  407. package/docs/PortfolioBulkDeleteRequest.md +21 -0
  408. package/docs/PortfolioCreate.md +23 -0
  409. package/docs/PortfolioInvestmentApi.md +350 -0
  410. package/docs/PortfolioInvestmentBulkAddRequest.md +21 -0
  411. package/docs/PortfolioInvestmentBulkAddResponse.md +23 -0
  412. package/docs/PortfolioInvestmentBulkDeleteRequest.md +21 -0
  413. package/docs/PortfolioInvestmentResponse.md +25 -0
  414. package/docs/PortfolioKPIApi.md +508 -0
  415. package/docs/PortfolioKPIDistributionBudgetItem.md +25 -0
  416. package/docs/PortfolioKPIDistributionResponse.md +25 -0
  417. package/docs/PortfolioKPIDistributionYearOverrun.md +23 -0
  418. package/docs/PortfolioKPIDistributionYearValue.md +23 -0
  419. package/docs/PortfolioKPIOverrunDistributionResponse.md +23 -0
  420. package/docs/PortfolioKPIResponse.md +31 -0
  421. package/docs/PortfolioOverviewItemResponse.md +43 -0
  422. package/docs/PortfolioResponse.md +31 -0
  423. package/docs/PortfolioUpdate.md +23 -0
  424. package/index.ts +1 -1
  425. package/models/budget-bulk-delete-request.ts +3 -3
  426. package/models/budget-create.ts +1 -1
  427. package/models/budget-investment-response.ts +1 -1
  428. package/models/budget-link-options-request.ts +1 -1
  429. package/models/budget-option-response.ts +1 -1
  430. package/models/budget-overview-response.ts +1 -1
  431. package/models/budget-response.ts +1 -1
  432. package/models/budget-update.ts +1 -1
  433. package/models/bulk-delete-request.ts +1 -1
  434. package/models/evolution-type.ts +1 -1
  435. package/models/httpvalidation-error.ts +1 -1
  436. package/models/impact-apiresponse.ts +1 -2
  437. package/models/impact-bulk-item.ts +1 -5
  438. package/models/impact-create.ts +1 -5
  439. package/models/impact-update.ts +1 -2
  440. package/models/index.ts +22 -0
  441. package/models/investment-create.ts +1 -1
  442. package/models/investment-overview-response.ts +1 -1
  443. package/models/investment-response.ts +1 -1
  444. package/models/investment-update.ts +1 -1
  445. package/models/location-inner.ts +1 -1
  446. package/models/measurement-type.ts +1 -1
  447. package/models/metric-costs-per-year-create.ts +1 -1
  448. package/models/metric-costs-per-year-response.ts +1 -1
  449. package/models/metric-costs-per-year-update.ts +1 -1
  450. package/models/metric-create.ts +1 -1
  451. package/models/metric-performance-response.ts +29 -0
  452. package/models/metric-performance-year.ts +24 -0
  453. package/models/metric-response.ts +1 -1
  454. package/models/metric-type.ts +1 -1
  455. package/models/metric-update.ts +1 -1
  456. package/models/monetized-impact-response.ts +26 -0
  457. package/models/monetized-impact-year.ts +25 -0
  458. package/models/objective-create.ts +1 -1
  459. package/models/objective-response.ts +1 -1
  460. package/models/objective-update.ts +1 -1
  461. package/models/objective-weight-create.ts +1 -1
  462. package/models/objective-weight-response.ts +1 -1
  463. package/models/objective-weight-update.ts +1 -1
  464. package/models/option-chart-kpi.ts +1 -1
  465. package/models/option-chart-kpis-yearly.ts +1 -1
  466. package/models/option-create.ts +1 -1
  467. package/models/option-overview-response.ts +1 -1
  468. package/models/option-response.ts +1 -1
  469. package/models/option-update.ts +1 -1
  470. package/models/portfolio-budget-expenditure-response.ts +29 -0
  471. package/models/portfolio-budget-expenditure-year.ts +24 -0
  472. package/models/portfolio-budget-usage-item.ts +34 -0
  473. package/models/portfolio-bulk-delete-request.ts +26 -0
  474. package/models/portfolio-create.ts +27 -0
  475. package/models/portfolio-investment-bulk-add-request.ts +26 -0
  476. package/models/portfolio-investment-bulk-add-response.ts +30 -0
  477. package/models/portfolio-investment-bulk-delete-request.ts +26 -0
  478. package/models/portfolio-investment-response.ts +31 -0
  479. package/models/portfolio-kpidistribution-budget-item.ts +25 -0
  480. package/models/portfolio-kpidistribution-response.ts +28 -0
  481. package/models/portfolio-kpidistribution-year-overrun.ts +27 -0
  482. package/models/portfolio-kpidistribution-year-value.ts +24 -0
  483. package/models/portfolio-kpioverrun-distribution-response.ts +27 -0
  484. package/models/portfolio-kpiresponse.ts +37 -0
  485. package/models/portfolio-overview-item-response.ts +46 -0
  486. package/models/portfolio-response.ts +31 -0
  487. package/models/portfolio-update.ts +24 -0
  488. package/models/preferred-option-request.ts +1 -1
  489. package/models/preferred-option-response.ts +1 -1
  490. package/models/validation-error.ts +1 -1
  491. package/models/value-framework-create.ts +1 -1
  492. package/models/value-framework-response.ts +1 -1
  493. package/models/value-framework-update.ts +1 -1
  494. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.3.0-dev3
7
+ * The version of the OpenAPI document: 0.4.0-dev2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Asset Investment Planning
3
3
  * API for Asset Investment Planning
4
4
  *
5
- * The version of the OpenAPI document: 0.3.0-dev3
5
+ * The version of the OpenAPI document: 0.4.0-dev2
6
6
  *
7
7
  *
8
8
  * 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.3.0-dev3
7
+ * The version of the OpenAPI document: 0.4.0-dev2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Asset Investment Planning
3
3
  * API for Asset Investment Planning
4
4
  *
5
- * The version of the OpenAPI document: 0.3.0-dev3
5
+ * The version of the OpenAPI document: 0.4.0-dev2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -33,12 +33,12 @@ export declare const OptionApiAxiosParamCreator: (configuration?: Configuration)
33
33
  /**
34
34
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
35
35
  * @summary Delete an option for this investment
36
- * @param {string} optionId UUID of the option
37
36
  * @param {string} investmentId UUID of the investment
37
+ * @param {string} optionId UUID of the option
38
38
  * @param {*} [options] Override http request option.
39
39
  * @throws {RequiredError}
40
40
  */
41
- deleteOptionForInvestment: (optionId: string, investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
+ deleteOptionForInvestment: (investmentId: string, optionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
42
42
  /**
43
43
  * Retrieve a specific option for the investment.
44
44
  * @summary Get an option for this investment
@@ -51,13 +51,13 @@ export declare const OptionApiAxiosParamCreator: (configuration?: Configuration)
51
51
  /**
52
52
  * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
53
53
  * @summary Get the kpis for a given option inside a value framework
54
- * @param {string} investmentId UUID of the investment
55
54
  * @param {string} optionId UUID of the option
55
+ * @param {string} investmentId UUID of the investment
56
56
  * @param {string} valueFrameworkId UUID of the value framework
57
57
  * @param {*} [options] Override http request option.
58
58
  * @throws {RequiredError}
59
59
  */
60
- getOptionKpis: (investmentId: string, optionId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
60
+ getOptionKpis: (optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
61
61
  /**
62
62
  * Retrieve a paginated list of all options for a specific investment.
63
63
  * @summary List options for this investment
@@ -104,12 +104,12 @@ export declare const OptionApiFp: (configuration?: Configuration) => {
104
104
  /**
105
105
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
106
106
  * @summary Delete an option for this investment
107
- * @param {string} optionId UUID of the option
108
107
  * @param {string} investmentId UUID of the investment
108
+ * @param {string} optionId UUID of the option
109
109
  * @param {*} [options] Override http request option.
110
110
  * @throws {RequiredError}
111
111
  */
112
- deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
112
+ deleteOptionForInvestment(investmentId: string, optionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
113
113
  /**
114
114
  * Retrieve a specific option for the investment.
115
115
  * @summary Get an option for this investment
@@ -122,13 +122,13 @@ export declare const OptionApiFp: (configuration?: Configuration) => {
122
122
  /**
123
123
  * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
124
124
  * @summary Get the kpis for a given option inside a value framework
125
- * @param {string} investmentId UUID of the investment
126
125
  * @param {string} optionId UUID of the option
126
+ * @param {string} investmentId UUID of the investment
127
127
  * @param {string} valueFrameworkId UUID of the value framework
128
128
  * @param {*} [options] Override http request option.
129
129
  * @throws {RequiredError}
130
130
  */
131
- getOptionKpis(investmentId: string, optionId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionChartKPIsYearly>>>;
131
+ getOptionKpis(optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionChartKPIsYearly>>>;
132
132
  /**
133
133
  * Retrieve a paginated list of all options for a specific investment.
134
134
  * @summary List options for this investment
@@ -175,12 +175,12 @@ export declare const OptionApiFactory: (configuration?: Configuration, basePath?
175
175
  /**
176
176
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
177
177
  * @summary Delete an option for this investment
178
- * @param {string} optionId UUID of the option
179
178
  * @param {string} investmentId UUID of the investment
179
+ * @param {string} optionId UUID of the option
180
180
  * @param {*} [options] Override http request option.
181
181
  * @throws {RequiredError}
182
182
  */
183
- deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
183
+ deleteOptionForInvestment(investmentId: string, optionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
184
184
  /**
185
185
  * Retrieve a specific option for the investment.
186
186
  * @summary Get an option for this investment
@@ -193,13 +193,13 @@ export declare const OptionApiFactory: (configuration?: Configuration, basePath?
193
193
  /**
194
194
  * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
195
195
  * @summary Get the kpis for a given option inside a value framework
196
- * @param {string} investmentId UUID of the investment
197
196
  * @param {string} optionId UUID of the option
197
+ * @param {string} investmentId UUID of the investment
198
198
  * @param {string} valueFrameworkId UUID of the value framework
199
199
  * @param {*} [options] Override http request option.
200
200
  * @throws {RequiredError}
201
201
  */
202
- getOptionKpis(investmentId: string, optionId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionChartKPIsYearly>>;
202
+ getOptionKpis(optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionChartKPIsYearly>>;
203
203
  /**
204
204
  * Retrieve a paginated list of all options for a specific investment.
205
205
  * @summary List options for this investment
@@ -246,12 +246,12 @@ export declare class OptionApi extends BaseAPI {
246
246
  /**
247
247
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
248
248
  * @summary Delete an option for this investment
249
- * @param {string} optionId UUID of the option
250
249
  * @param {string} investmentId UUID of the investment
250
+ * @param {string} optionId UUID of the option
251
251
  * @param {*} [options] Override http request option.
252
252
  * @throws {RequiredError}
253
253
  */
254
- deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
254
+ deleteOptionForInvestment(investmentId: string, optionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
255
255
  /**
256
256
  * Retrieve a specific option for the investment.
257
257
  * @summary Get an option for this investment
@@ -264,13 +264,13 @@ export declare class OptionApi extends BaseAPI {
264
264
  /**
265
265
  * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
266
266
  * @summary Get the kpis for a given option inside a value framework
267
- * @param {string} investmentId UUID of the investment
268
267
  * @param {string} optionId UUID of the option
268
+ * @param {string} investmentId UUID of the investment
269
269
  * @param {string} valueFrameworkId UUID of the value framework
270
270
  * @param {*} [options] Override http request option.
271
271
  * @throws {RequiredError}
272
272
  */
273
- getOptionKpis(investmentId: string, optionId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OptionChartKPIsYearly[], any, {}>>;
273
+ getOptionKpis(optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OptionChartKPIsYearly[], any, {}>>;
274
274
  /**
275
275
  * Retrieve a paginated list of all options for a specific investment.
276
276
  * @summary List options for this investment
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.3.0-dev3
7
+ * The version of the OpenAPI document: 0.4.0-dev2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -72,19 +72,19 @@ export const OptionApiAxiosParamCreator = function (configuration) {
72
72
  /**
73
73
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
74
74
  * @summary Delete an option for this investment
75
- * @param {string} optionId UUID of the option
76
75
  * @param {string} investmentId UUID of the investment
76
+ * @param {string} optionId UUID of the option
77
77
  * @param {*} [options] Override http request option.
78
78
  * @throws {RequiredError}
79
79
  */
80
- deleteOptionForInvestment: (optionId_1, investmentId_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, ...args_1], void 0, function* (optionId, investmentId, options = {}) {
81
- // verify required parameter 'optionId' is not null or undefined
82
- assertParamExists('deleteOptionForInvestment', 'optionId', optionId);
80
+ deleteOptionForInvestment: (investmentId_1, optionId_1, ...args_1) => __awaiter(this, [investmentId_1, optionId_1, ...args_1], void 0, function* (investmentId, optionId, options = {}) {
83
81
  // verify required parameter 'investmentId' is not null or undefined
84
82
  assertParamExists('deleteOptionForInvestment', 'investmentId', investmentId);
83
+ // verify required parameter 'optionId' is not null or undefined
84
+ assertParamExists('deleteOptionForInvestment', 'optionId', optionId);
85
85
  const localVarPath = `/investment/{investment_id}/option/{option_id}`
86
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
87
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
86
+ .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
87
+ .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)));
88
88
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
89
89
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
90
90
  let baseOptions;
@@ -145,22 +145,22 @@ export const OptionApiAxiosParamCreator = function (configuration) {
145
145
  /**
146
146
  * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
147
147
  * @summary Get the kpis for a given option inside a value framework
148
- * @param {string} investmentId UUID of the investment
149
148
  * @param {string} optionId UUID of the option
149
+ * @param {string} investmentId UUID of the investment
150
150
  * @param {string} valueFrameworkId UUID of the value framework
151
151
  * @param {*} [options] Override http request option.
152
152
  * @throws {RequiredError}
153
153
  */
154
- getOptionKpis: (investmentId_1, optionId_1, valueFrameworkId_1, ...args_1) => __awaiter(this, [investmentId_1, optionId_1, valueFrameworkId_1, ...args_1], void 0, function* (investmentId, optionId, valueFrameworkId, options = {}) {
155
- // verify required parameter 'investmentId' is not null or undefined
156
- assertParamExists('getOptionKpis', 'investmentId', investmentId);
154
+ getOptionKpis: (optionId_1, investmentId_1, valueFrameworkId_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, valueFrameworkId_1, ...args_1], void 0, function* (optionId, investmentId, valueFrameworkId, options = {}) {
157
155
  // verify required parameter 'optionId' is not null or undefined
158
156
  assertParamExists('getOptionKpis', 'optionId', optionId);
157
+ // verify required parameter 'investmentId' is not null or undefined
158
+ assertParamExists('getOptionKpis', 'investmentId', investmentId);
159
159
  // verify required parameter 'valueFrameworkId' is not null or undefined
160
160
  assertParamExists('getOptionKpis', 'valueFrameworkId', valueFrameworkId);
161
161
  const localVarPath = `/investment/{investment_id}/option/{option_id}/kpis/{value_framework_id}`
162
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
163
162
  .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
163
+ .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
164
164
  .replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
165
165
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
166
166
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -333,15 +333,15 @@ export const OptionApiFp = function (configuration) {
333
333
  /**
334
334
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
335
335
  * @summary Delete an option for this investment
336
- * @param {string} optionId UUID of the option
337
336
  * @param {string} investmentId UUID of the investment
337
+ * @param {string} optionId UUID of the option
338
338
  * @param {*} [options] Override http request option.
339
339
  * @throws {RequiredError}
340
340
  */
341
- deleteOptionForInvestment(optionId, investmentId, options) {
341
+ deleteOptionForInvestment(investmentId, optionId, options) {
342
342
  return __awaiter(this, void 0, void 0, function* () {
343
343
  var _a, _b, _c;
344
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOptionForInvestment(optionId, investmentId, options);
344
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOptionForInvestment(investmentId, optionId, options);
345
345
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
346
346
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.deleteOptionForInvestment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
347
347
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -367,16 +367,16 @@ export const OptionApiFp = function (configuration) {
367
367
  /**
368
368
  * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
369
369
  * @summary Get the kpis for a given option inside a value framework
370
- * @param {string} investmentId UUID of the investment
371
370
  * @param {string} optionId UUID of the option
371
+ * @param {string} investmentId UUID of the investment
372
372
  * @param {string} valueFrameworkId UUID of the value framework
373
373
  * @param {*} [options] Override http request option.
374
374
  * @throws {RequiredError}
375
375
  */
376
- getOptionKpis(investmentId, optionId, valueFrameworkId, options) {
376
+ getOptionKpis(optionId, investmentId, valueFrameworkId, options) {
377
377
  return __awaiter(this, void 0, void 0, function* () {
378
378
  var _a, _b, _c;
379
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptionKpis(investmentId, optionId, valueFrameworkId, options);
379
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptionKpis(optionId, investmentId, valueFrameworkId, options);
380
380
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
381
381
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.getOptionKpis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
382
382
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -457,13 +457,13 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
457
457
  /**
458
458
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
459
459
  * @summary Delete an option for this investment
460
- * @param {string} optionId UUID of the option
461
460
  * @param {string} investmentId UUID of the investment
461
+ * @param {string} optionId UUID of the option
462
462
  * @param {*} [options] Override http request option.
463
463
  * @throws {RequiredError}
464
464
  */
465
- deleteOptionForInvestment(optionId, investmentId, options) {
466
- return localVarFp.deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(axios, basePath));
465
+ deleteOptionForInvestment(investmentId, optionId, options) {
466
+ return localVarFp.deleteOptionForInvestment(investmentId, optionId, options).then((request) => request(axios, basePath));
467
467
  },
468
468
  /**
469
469
  * Retrieve a specific option for the investment.
@@ -479,14 +479,14 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
479
479
  /**
480
480
  * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
481
481
  * @summary Get the kpis for a given option inside a value framework
482
- * @param {string} investmentId UUID of the investment
483
482
  * @param {string} optionId UUID of the option
483
+ * @param {string} investmentId UUID of the investment
484
484
  * @param {string} valueFrameworkId UUID of the value framework
485
485
  * @param {*} [options] Override http request option.
486
486
  * @throws {RequiredError}
487
487
  */
488
- getOptionKpis(investmentId, optionId, valueFrameworkId, options) {
489
- return localVarFp.getOptionKpis(investmentId, optionId, valueFrameworkId, options).then((request) => request(axios, basePath));
488
+ getOptionKpis(optionId, investmentId, valueFrameworkId, options) {
489
+ return localVarFp.getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
490
490
  },
491
491
  /**
492
492
  * Retrieve a paginated list of all options for a specific investment.
@@ -543,13 +543,13 @@ export class OptionApi extends BaseAPI {
543
543
  /**
544
544
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
545
545
  * @summary Delete an option for this investment
546
- * @param {string} optionId UUID of the option
547
546
  * @param {string} investmentId UUID of the investment
547
+ * @param {string} optionId UUID of the option
548
548
  * @param {*} [options] Override http request option.
549
549
  * @throws {RequiredError}
550
550
  */
551
- deleteOptionForInvestment(optionId, investmentId, options) {
552
- return OptionApiFp(this.configuration).deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
551
+ deleteOptionForInvestment(investmentId, optionId, options) {
552
+ return OptionApiFp(this.configuration).deleteOptionForInvestment(investmentId, optionId, options).then((request) => request(this.axios, this.basePath));
553
553
  }
554
554
  /**
555
555
  * Retrieve a specific option for the investment.
@@ -565,14 +565,14 @@ export class OptionApi extends BaseAPI {
565
565
  /**
566
566
  * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
567
567
  * @summary Get the kpis for a given option inside a value framework
568
- * @param {string} investmentId UUID of the investment
569
568
  * @param {string} optionId UUID of the option
569
+ * @param {string} investmentId UUID of the investment
570
570
  * @param {string} valueFrameworkId UUID of the value framework
571
571
  * @param {*} [options] Override http request option.
572
572
  * @throws {RequiredError}
573
573
  */
574
- getOptionKpis(investmentId, optionId, valueFrameworkId, options) {
575
- return OptionApiFp(this.configuration).getOptionKpis(investmentId, optionId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
574
+ getOptionKpis(optionId, investmentId, valueFrameworkId, options) {
575
+ return OptionApiFp(this.configuration).getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
576
576
  }
577
577
  /**
578
578
  * Retrieve a paginated list of all options for a specific investment.
@@ -0,0 +1,279 @@
1
+ /**
2
+ * Asset Investment Planning
3
+ * API for Asset Investment Planning
4
+ *
5
+ * The version of the OpenAPI document: 0.4.0-dev2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { PortfolioBulkDeleteRequest } from '../models';
16
+ import type { PortfolioCreate } from '../models';
17
+ import type { PortfolioOverviewItemResponse } from '../models';
18
+ import type { PortfolioResponse } from '../models';
19
+ import type { PortfolioUpdate } from '../models';
20
+ /**
21
+ * PortfolioApi - axios parameter creator
22
+ */
23
+ export declare const PortfolioApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ * Delete multiple portfolios by their IDs in a single request. All provided IDs must exist — if any ID is not found, the request fails with 404 and no portfolios are deleted. Associated portfolio-investment links are also deleted via cascade.
26
+ * @summary Bulk delete portfolios
27
+ * @param {PortfolioBulkDeleteRequest} portfolioBulkDeleteRequest
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
30
+ */
31
+ bulkDeletePortfolios: (portfolioBulkDeleteRequest: PortfolioBulkDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ * Delete an existing portfolio by its ID. Associated portfolio-investment links are also deleted via cascade.
34
+ * @summary Delete a portfolio
35
+ * @param {string} portfolioId UUID of the portfolio
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ deletePortfolio: (portfolioId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ /**
41
+ * Retrieve a single portfolio by its ID.
42
+ * @summary Get a portfolio by ID
43
+ * @param {string} portfolioId UUID of the portfolio
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ getPortfolioById: (portfolioId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48
+ /**
49
+ * 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.
50
+ * @summary Portfolio overview with KPIs
51
+ * @param {string} valueFrameworkId UUID of the value framework
52
+ * @param {number} [offset] Number of records to skip
53
+ * @param {number} [limit] Max number of records to return
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ getPortfolioOverview: (valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
58
+ /**
59
+ * Retrieve a paginated list of all portfolios.
60
+ * @summary List portfolios
61
+ * @param {number} [offset] Number of records to skip
62
+ * @param {number} [limit] Max number of records to return
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ getPortfolios: (offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67
+ /**
68
+ * Update one or more fields of an existing portfolio. Only the fields included in the request body will be modified; omitted fields remain unchanged.
69
+ * @summary Partially update a portfolio
70
+ * @param {string} portfolioId UUID of the portfolio
71
+ * @param {PortfolioUpdate} portfolioUpdate
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ patchPortfolio: (portfolioId: string, portfolioUpdate: PortfolioUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
76
+ /**
77
+ * Create a new portfolio.
78
+ * @summary Create a portfolio
79
+ * @param {PortfolioCreate} portfolioCreate
80
+ * @param {*} [options] Override http request option.
81
+ * @throws {RequiredError}
82
+ */
83
+ postPortfolio: (portfolioCreate: PortfolioCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
84
+ };
85
+ /**
86
+ * PortfolioApi - functional programming interface
87
+ */
88
+ export declare const PortfolioApiFp: (configuration?: Configuration) => {
89
+ /**
90
+ * Delete multiple portfolios by their IDs in a single request. All provided IDs must exist — if any ID is not found, the request fails with 404 and no portfolios are deleted. Associated portfolio-investment links are also deleted via cascade.
91
+ * @summary Bulk delete portfolios
92
+ * @param {PortfolioBulkDeleteRequest} portfolioBulkDeleteRequest
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ bulkDeletePortfolios(portfolioBulkDeleteRequest: PortfolioBulkDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
97
+ /**
98
+ * Delete an existing portfolio by its ID. Associated portfolio-investment links are also deleted via cascade.
99
+ * @summary Delete a portfolio
100
+ * @param {string} portfolioId UUID of the portfolio
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ deletePortfolio(portfolioId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
105
+ /**
106
+ * Retrieve a single portfolio by its ID.
107
+ * @summary Get a portfolio by ID
108
+ * @param {string} portfolioId UUID of the portfolio
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ getPortfolioById(portfolioId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioResponse>>;
113
+ /**
114
+ * 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.
115
+ * @summary Portfolio overview with KPIs
116
+ * @param {string} valueFrameworkId UUID of the value framework
117
+ * @param {number} [offset] Number of records to skip
118
+ * @param {number} [limit] Max number of records to return
119
+ * @param {*} [options] Override http request option.
120
+ * @throws {RequiredError}
121
+ */
122
+ getPortfolioOverview(valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PortfolioOverviewItemResponse>>>;
123
+ /**
124
+ * Retrieve a paginated list of all portfolios.
125
+ * @summary List portfolios
126
+ * @param {number} [offset] Number of records to skip
127
+ * @param {number} [limit] Max number of records to return
128
+ * @param {*} [options] Override http request option.
129
+ * @throws {RequiredError}
130
+ */
131
+ getPortfolios(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PortfolioResponse>>>;
132
+ /**
133
+ * Update one or more fields of an existing portfolio. Only the fields included in the request body will be modified; omitted fields remain unchanged.
134
+ * @summary Partially update a portfolio
135
+ * @param {string} portfolioId UUID of the portfolio
136
+ * @param {PortfolioUpdate} portfolioUpdate
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ patchPortfolio(portfolioId: string, portfolioUpdate: PortfolioUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioResponse>>;
141
+ /**
142
+ * Create a new portfolio.
143
+ * @summary Create a portfolio
144
+ * @param {PortfolioCreate} portfolioCreate
145
+ * @param {*} [options] Override http request option.
146
+ * @throws {RequiredError}
147
+ */
148
+ postPortfolio(portfolioCreate: PortfolioCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioResponse>>;
149
+ };
150
+ /**
151
+ * PortfolioApi - factory interface
152
+ */
153
+ export declare const PortfolioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
154
+ /**
155
+ * Delete multiple portfolios by their IDs in a single request. All provided IDs must exist — if any ID is not found, the request fails with 404 and no portfolios are deleted. Associated portfolio-investment links are also deleted via cascade.
156
+ * @summary Bulk delete portfolios
157
+ * @param {PortfolioBulkDeleteRequest} portfolioBulkDeleteRequest
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ bulkDeletePortfolios(portfolioBulkDeleteRequest: PortfolioBulkDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
162
+ /**
163
+ * Delete an existing portfolio by its ID. Associated portfolio-investment links are also deleted via cascade.
164
+ * @summary Delete a portfolio
165
+ * @param {string} portfolioId UUID of the portfolio
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ deletePortfolio(portfolioId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
170
+ /**
171
+ * Retrieve a single portfolio by its ID.
172
+ * @summary Get a portfolio by ID
173
+ * @param {string} portfolioId UUID of the portfolio
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ getPortfolioById(portfolioId: string, options?: RawAxiosRequestConfig): AxiosPromise<PortfolioResponse>;
178
+ /**
179
+ * 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.
180
+ * @summary Portfolio overview with KPIs
181
+ * @param {string} valueFrameworkId UUID of the value framework
182
+ * @param {number} [offset] Number of records to skip
183
+ * @param {number} [limit] Max number of records to return
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ getPortfolioOverview(valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<PortfolioOverviewItemResponse>>;
188
+ /**
189
+ * Retrieve a paginated list of all portfolios.
190
+ * @summary List portfolios
191
+ * @param {number} [offset] Number of records to skip
192
+ * @param {number} [limit] Max number of records to return
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ getPortfolios(offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<PortfolioResponse>>;
197
+ /**
198
+ * Update one or more fields of an existing portfolio. Only the fields included in the request body will be modified; omitted fields remain unchanged.
199
+ * @summary Partially update a portfolio
200
+ * @param {string} portfolioId UUID of the portfolio
201
+ * @param {PortfolioUpdate} portfolioUpdate
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ patchPortfolio(portfolioId: string, portfolioUpdate: PortfolioUpdate, options?: RawAxiosRequestConfig): AxiosPromise<PortfolioResponse>;
206
+ /**
207
+ * Create a new portfolio.
208
+ * @summary Create a portfolio
209
+ * @param {PortfolioCreate} portfolioCreate
210
+ * @param {*} [options] Override http request option.
211
+ * @throws {RequiredError}
212
+ */
213
+ postPortfolio(portfolioCreate: PortfolioCreate, options?: RawAxiosRequestConfig): AxiosPromise<PortfolioResponse>;
214
+ };
215
+ /**
216
+ * PortfolioApi - object-oriented interface
217
+ */
218
+ export declare class PortfolioApi extends BaseAPI {
219
+ /**
220
+ * Delete multiple portfolios by their IDs in a single request. All provided IDs must exist — if any ID is not found, the request fails with 404 and no portfolios are deleted. Associated portfolio-investment links are also deleted via cascade.
221
+ * @summary Bulk delete portfolios
222
+ * @param {PortfolioBulkDeleteRequest} portfolioBulkDeleteRequest
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ */
226
+ bulkDeletePortfolios(portfolioBulkDeleteRequest: PortfolioBulkDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
227
+ /**
228
+ * Delete an existing portfolio by its ID. Associated portfolio-investment links are also deleted via cascade.
229
+ * @summary Delete a portfolio
230
+ * @param {string} portfolioId UUID of the portfolio
231
+ * @param {*} [options] Override http request option.
232
+ * @throws {RequiredError}
233
+ */
234
+ deletePortfolio(portfolioId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
235
+ /**
236
+ * Retrieve a single portfolio by its ID.
237
+ * @summary Get a portfolio by ID
238
+ * @param {string} portfolioId UUID of the portfolio
239
+ * @param {*} [options] Override http request option.
240
+ * @throws {RequiredError}
241
+ */
242
+ getPortfolioById(portfolioId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortfolioResponse, any, {}>>;
243
+ /**
244
+ * 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.
245
+ * @summary Portfolio overview with KPIs
246
+ * @param {string} valueFrameworkId UUID of the value framework
247
+ * @param {number} [offset] Number of records to skip
248
+ * @param {number} [limit] Max number of records to return
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ getPortfolioOverview(valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortfolioOverviewItemResponse[], any, {}>>;
253
+ /**
254
+ * Retrieve a paginated list of all portfolios.
255
+ * @summary List portfolios
256
+ * @param {number} [offset] Number of records to skip
257
+ * @param {number} [limit] Max number of records to return
258
+ * @param {*} [options] Override http request option.
259
+ * @throws {RequiredError}
260
+ */
261
+ getPortfolios(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortfolioResponse[], any, {}>>;
262
+ /**
263
+ * Update one or more fields of an existing portfolio. Only the fields included in the request body will be modified; omitted fields remain unchanged.
264
+ * @summary Partially update a portfolio
265
+ * @param {string} portfolioId UUID of the portfolio
266
+ * @param {PortfolioUpdate} portfolioUpdate
267
+ * @param {*} [options] Override http request option.
268
+ * @throws {RequiredError}
269
+ */
270
+ patchPortfolio(portfolioId: string, portfolioUpdate: PortfolioUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortfolioResponse, any, {}>>;
271
+ /**
272
+ * Create a new portfolio.
273
+ * @summary Create a portfolio
274
+ * @param {PortfolioCreate} portfolioCreate
275
+ * @param {*} [options] Override http request option.
276
+ * @throws {RequiredError}
277
+ */
278
+ postPortfolio(portfolioCreate: PortfolioCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortfolioResponse, any, {}>>;
279
+ }