@cosmotech/aip-client 0.4.0-dev4 → 1.0.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 (533) hide show
  1. package/README.md +26 -6
  2. package/api/budget-api.ts +46 -43
  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 +19 -18
  13. package/api/portfolio-api.ts +1 -1
  14. package/api/portfolio-investment-api.ts +1 -1
  15. package/api/portfolio-kpiapi.ts +1 -1
  16. package/api/preferred-option-api.ts +1 -1
  17. package/api/prioritization-api.ts +1022 -0
  18. package/api/value-framework-api.ts +1 -1
  19. package/api/value-framework-costs-api.ts +1 -1
  20. package/api/value-framework-weights-api.ts +1 -1
  21. package/api.ts +2 -1
  22. package/base.ts +1 -1
  23. package/common.ts +1 -1
  24. package/configuration.ts +1 -1
  25. package/dist/api/budget-api.d.ts +29 -29
  26. package/dist/api/budget-api.js +31 -31
  27. package/dist/api/default-api.d.ts +1 -1
  28. package/dist/api/default-api.js +1 -1
  29. package/dist/api/impact-api.d.ts +1 -1
  30. package/dist/api/impact-api.js +1 -1
  31. package/dist/api/investment-api.d.ts +1 -1
  32. package/dist/api/investment-api.js +1 -1
  33. package/dist/api/metric-api.d.ts +1 -1
  34. package/dist/api/metric-api.js +1 -1
  35. package/dist/api/metric-costs-api.d.ts +1 -1
  36. package/dist/api/metric-costs-api.js +1 -1
  37. package/dist/api/metric-costs-per-year-api.d.ts +1 -1
  38. package/dist/api/metric-costs-per-year-api.js +1 -1
  39. package/dist/api/objective-api.d.ts +1 -1
  40. package/dist/api/objective-api.js +1 -1
  41. package/dist/api/objective-weight-api.d.ts +1 -1
  42. package/dist/api/objective-weight-api.js +1 -1
  43. package/dist/api/objective-weights-api.d.ts +1 -1
  44. package/dist/api/objective-weights-api.js +1 -1
  45. package/dist/api/option-api.d.ts +13 -13
  46. package/dist/api/option-api.js +14 -14
  47. package/dist/api/portfolio-api.d.ts +1 -1
  48. package/dist/api/portfolio-api.js +1 -1
  49. package/dist/api/portfolio-investment-api.d.ts +1 -1
  50. package/dist/api/portfolio-investment-api.js +1 -1
  51. package/dist/api/portfolio-kpiapi.d.ts +1 -1
  52. package/dist/api/portfolio-kpiapi.js +1 -1
  53. package/dist/api/preferred-option-api.d.ts +1 -1
  54. package/dist/api/preferred-option-api.js +1 -1
  55. package/dist/api/prioritization-api.d.ts +467 -0
  56. package/dist/api/prioritization-api.js +974 -0
  57. package/dist/api/value-framework-api.d.ts +1 -1
  58. package/dist/api/value-framework-api.js +1 -1
  59. package/dist/api/value-framework-costs-api.d.ts +1 -1
  60. package/dist/api/value-framework-costs-api.js +1 -1
  61. package/dist/api/value-framework-weights-api.d.ts +1 -1
  62. package/dist/api/value-framework-weights-api.js +1 -1
  63. package/dist/api.d.ts +2 -1
  64. package/dist/api.js +2 -1
  65. package/dist/base.d.ts +1 -1
  66. package/dist/base.js +1 -1
  67. package/dist/common.d.ts +1 -1
  68. package/dist/common.js +1 -1
  69. package/dist/configuration.d.ts +1 -1
  70. package/dist/configuration.js +1 -1
  71. package/dist/esm/api/budget-api.d.ts +29 -29
  72. package/dist/esm/api/budget-api.js +31 -31
  73. package/dist/esm/api/default-api.d.ts +1 -1
  74. package/dist/esm/api/default-api.js +1 -1
  75. package/dist/esm/api/impact-api.d.ts +1 -1
  76. package/dist/esm/api/impact-api.js +1 -1
  77. package/dist/esm/api/investment-api.d.ts +1 -1
  78. package/dist/esm/api/investment-api.js +1 -1
  79. package/dist/esm/api/metric-api.d.ts +1 -1
  80. package/dist/esm/api/metric-api.js +1 -1
  81. package/dist/esm/api/metric-costs-api.d.ts +1 -1
  82. package/dist/esm/api/metric-costs-api.js +1 -1
  83. package/dist/esm/api/metric-costs-per-year-api.d.ts +1 -1
  84. package/dist/esm/api/metric-costs-per-year-api.js +1 -1
  85. package/dist/esm/api/objective-api.d.ts +1 -1
  86. package/dist/esm/api/objective-api.js +1 -1
  87. package/dist/esm/api/objective-weight-api.d.ts +1 -1
  88. package/dist/esm/api/objective-weight-api.js +1 -1
  89. package/dist/esm/api/objective-weights-api.d.ts +1 -1
  90. package/dist/esm/api/objective-weights-api.js +1 -1
  91. package/dist/esm/api/option-api.d.ts +13 -13
  92. package/dist/esm/api/option-api.js +14 -14
  93. package/dist/esm/api/portfolio-api.d.ts +1 -1
  94. package/dist/esm/api/portfolio-api.js +1 -1
  95. package/dist/esm/api/portfolio-investment-api.d.ts +1 -1
  96. package/dist/esm/api/portfolio-investment-api.js +1 -1
  97. package/dist/esm/api/portfolio-kpiapi.d.ts +1 -1
  98. package/dist/esm/api/portfolio-kpiapi.js +1 -1
  99. package/dist/esm/api/preferred-option-api.d.ts +1 -1
  100. package/dist/esm/api/preferred-option-api.js +1 -1
  101. package/dist/esm/api/prioritization-api.d.ts +467 -0
  102. package/dist/esm/api/prioritization-api.js +967 -0
  103. package/dist/esm/api/value-framework-api.d.ts +1 -1
  104. package/dist/esm/api/value-framework-api.js +1 -1
  105. package/dist/esm/api/value-framework-costs-api.d.ts +1 -1
  106. package/dist/esm/api/value-framework-costs-api.js +1 -1
  107. package/dist/esm/api/value-framework-weights-api.d.ts +1 -1
  108. package/dist/esm/api/value-framework-weights-api.js +1 -1
  109. package/dist/esm/api.d.ts +2 -1
  110. package/dist/esm/api.js +2 -1
  111. package/dist/esm/base.d.ts +1 -1
  112. package/dist/esm/base.js +1 -1
  113. package/dist/esm/common.d.ts +1 -1
  114. package/dist/esm/common.js +1 -1
  115. package/dist/esm/configuration.d.ts +1 -1
  116. package/dist/esm/configuration.js +1 -1
  117. package/dist/esm/index.d.ts +1 -1
  118. package/dist/esm/index.js +1 -1
  119. package/dist/esm/models/budget-bulk-delete-request.d.ts +1 -1
  120. package/dist/esm/models/budget-bulk-delete-request.js +1 -1
  121. package/dist/esm/models/budget-create.d.ts +1 -1
  122. package/dist/esm/models/budget-create.js +1 -1
  123. package/dist/esm/models/budget-investment-response.d.ts +1 -1
  124. package/dist/esm/models/budget-investment-response.js +1 -1
  125. package/dist/esm/models/budget-link-options-request.d.ts +1 -1
  126. package/dist/esm/models/budget-link-options-request.js +1 -1
  127. package/dist/esm/models/budget-option-response.d.ts +1 -1
  128. package/dist/esm/models/budget-option-response.js +1 -1
  129. package/dist/esm/models/budget-overview-response.d.ts +1 -1
  130. package/dist/esm/models/budget-overview-response.js +1 -1
  131. package/dist/esm/models/budget-response.d.ts +1 -1
  132. package/dist/esm/models/budget-response.js +1 -1
  133. package/dist/esm/models/budget-update.d.ts +1 -1
  134. package/dist/esm/models/budget-update.js +1 -1
  135. package/dist/esm/models/bulk-delete-request.d.ts +1 -1
  136. package/dist/esm/models/bulk-delete-request.js +1 -1
  137. package/dist/esm/models/evolution-type.d.ts +1 -1
  138. package/dist/esm/models/evolution-type.js +1 -1
  139. package/dist/esm/models/httpvalidation-error.d.ts +1 -1
  140. package/dist/esm/models/httpvalidation-error.js +1 -1
  141. package/dist/esm/models/impact-apiresponse.d.ts +1 -1
  142. package/dist/esm/models/impact-apiresponse.js +1 -1
  143. package/dist/esm/models/impact-bulk-item.d.ts +1 -1
  144. package/dist/esm/models/impact-bulk-item.js +1 -1
  145. package/dist/esm/models/impact-create.d.ts +1 -1
  146. package/dist/esm/models/impact-create.js +1 -1
  147. package/dist/esm/models/impact-update.d.ts +1 -1
  148. package/dist/esm/models/impact-update.js +1 -1
  149. package/dist/esm/models/index.d.ts +7 -0
  150. package/dist/esm/models/index.js +7 -0
  151. package/dist/esm/models/investment-create.d.ts +1 -1
  152. package/dist/esm/models/investment-create.js +1 -1
  153. package/dist/esm/models/investment-overview-response.d.ts +1 -1
  154. package/dist/esm/models/investment-overview-response.js +1 -1
  155. package/dist/esm/models/investment-response.d.ts +1 -1
  156. package/dist/esm/models/investment-response.js +1 -1
  157. package/dist/esm/models/investment-update.d.ts +1 -1
  158. package/dist/esm/models/investment-update.js +1 -1
  159. package/dist/esm/models/location-inner.d.ts +1 -1
  160. package/dist/esm/models/location-inner.js +1 -1
  161. package/dist/esm/models/measurement-type.d.ts +1 -1
  162. package/dist/esm/models/measurement-type.js +1 -1
  163. package/dist/esm/models/metric-costs-per-year-create.d.ts +1 -1
  164. package/dist/esm/models/metric-costs-per-year-create.js +1 -1
  165. package/dist/esm/models/metric-costs-per-year-response.d.ts +1 -1
  166. package/dist/esm/models/metric-costs-per-year-response.js +1 -1
  167. package/dist/esm/models/metric-costs-per-year-update.d.ts +1 -1
  168. package/dist/esm/models/metric-costs-per-year-update.js +1 -1
  169. package/dist/esm/models/metric-create.d.ts +1 -1
  170. package/dist/esm/models/metric-create.js +1 -1
  171. package/dist/esm/models/metric-performance-response.d.ts +1 -1
  172. package/dist/esm/models/metric-performance-response.js +1 -1
  173. package/dist/esm/models/metric-performance-year.d.ts +1 -1
  174. package/dist/esm/models/metric-performance-year.js +1 -1
  175. package/dist/esm/models/metric-response.d.ts +1 -1
  176. package/dist/esm/models/metric-response.js +1 -1
  177. package/dist/esm/models/metric-type.d.ts +1 -1
  178. package/dist/esm/models/metric-type.js +1 -1
  179. package/dist/esm/models/metric-update.d.ts +1 -1
  180. package/dist/esm/models/metric-update.js +1 -1
  181. package/dist/esm/models/monetized-impact-detailed-response.d.ts +1 -1
  182. package/dist/esm/models/monetized-impact-detailed-response.js +1 -1
  183. package/dist/esm/models/monetized-impact-detailed-year.d.ts +1 -1
  184. package/dist/esm/models/monetized-impact-detailed-year.js +1 -1
  185. package/dist/esm/models/monetized-impact-metric-value.d.ts +2 -1
  186. package/dist/esm/models/monetized-impact-metric-value.js +1 -1
  187. package/dist/esm/models/monetized-impact-response.d.ts +1 -1
  188. package/dist/esm/models/monetized-impact-response.js +1 -1
  189. package/dist/esm/models/monetized-impact-year.d.ts +1 -1
  190. package/dist/esm/models/monetized-impact-year.js +1 -1
  191. package/dist/esm/models/objective-create.d.ts +1 -1
  192. package/dist/esm/models/objective-create.js +1 -1
  193. package/dist/esm/models/objective-response.d.ts +1 -1
  194. package/dist/esm/models/objective-response.js +1 -1
  195. package/dist/esm/models/objective-update.d.ts +1 -1
  196. package/dist/esm/models/objective-update.js +1 -1
  197. package/dist/esm/models/objective-weight-create.d.ts +1 -1
  198. package/dist/esm/models/objective-weight-create.js +1 -1
  199. package/dist/esm/models/objective-weight-response.d.ts +1 -1
  200. package/dist/esm/models/objective-weight-response.js +1 -1
  201. package/dist/esm/models/objective-weight-update.d.ts +1 -1
  202. package/dist/esm/models/objective-weight-update.js +1 -1
  203. package/dist/esm/models/option-chart-kpi.d.ts +1 -1
  204. package/dist/esm/models/option-chart-kpi.js +1 -1
  205. package/dist/esm/models/option-chart-kpis-yearly.d.ts +1 -1
  206. package/dist/esm/models/option-chart-kpis-yearly.js +1 -1
  207. package/dist/esm/models/option-create.d.ts +1 -1
  208. package/dist/esm/models/option-create.js +1 -1
  209. package/dist/esm/models/option-overview-response.d.ts +1 -1
  210. package/dist/esm/models/option-overview-response.js +1 -1
  211. package/dist/esm/models/option-response.d.ts +1 -1
  212. package/dist/esm/models/option-response.js +1 -1
  213. package/dist/esm/models/option-update.d.ts +1 -1
  214. package/dist/esm/models/option-update.js +1 -1
  215. package/dist/esm/models/portfolio-budget-expenditure-response.d.ts +1 -1
  216. package/dist/esm/models/portfolio-budget-expenditure-response.js +1 -1
  217. package/dist/esm/models/portfolio-budget-expenditure-year.d.ts +1 -1
  218. package/dist/esm/models/portfolio-budget-expenditure-year.js +1 -1
  219. package/dist/esm/models/portfolio-budget-usage-item.d.ts +1 -1
  220. package/dist/esm/models/portfolio-budget-usage-item.js +1 -1
  221. package/dist/esm/models/portfolio-bulk-delete-request.d.ts +1 -1
  222. package/dist/esm/models/portfolio-bulk-delete-request.js +1 -1
  223. package/dist/esm/models/portfolio-create.d.ts +1 -1
  224. package/dist/esm/models/portfolio-create.js +1 -1
  225. package/dist/esm/models/portfolio-investment-bulk-add-request.d.ts +1 -1
  226. package/dist/esm/models/portfolio-investment-bulk-add-request.js +1 -1
  227. package/dist/esm/models/portfolio-investment-bulk-add-response.d.ts +1 -1
  228. package/dist/esm/models/portfolio-investment-bulk-add-response.js +1 -1
  229. package/dist/esm/models/portfolio-investment-bulk-delete-request.d.ts +1 -1
  230. package/dist/esm/models/portfolio-investment-bulk-delete-request.js +1 -1
  231. package/dist/esm/models/portfolio-investment-overview-response.d.ts +1 -1
  232. package/dist/esm/models/portfolio-investment-overview-response.js +1 -1
  233. package/dist/esm/models/portfolio-investment-response.d.ts +1 -1
  234. package/dist/esm/models/portfolio-investment-response.js +1 -1
  235. package/dist/esm/models/portfolio-kpidistribution-budget-item.d.ts +1 -1
  236. package/dist/esm/models/portfolio-kpidistribution-budget-item.js +1 -1
  237. package/dist/esm/models/portfolio-kpidistribution-response.d.ts +1 -1
  238. package/dist/esm/models/portfolio-kpidistribution-response.js +1 -1
  239. package/dist/esm/models/portfolio-kpidistribution-year-overrun.d.ts +1 -1
  240. package/dist/esm/models/portfolio-kpidistribution-year-overrun.js +1 -1
  241. package/dist/esm/models/portfolio-kpidistribution-year-value.d.ts +1 -1
  242. package/dist/esm/models/portfolio-kpidistribution-year-value.js +1 -1
  243. package/dist/esm/models/portfolio-kpioverrun-distribution-response.d.ts +1 -1
  244. package/dist/esm/models/portfolio-kpioverrun-distribution-response.js +1 -1
  245. package/dist/esm/models/portfolio-kpiresponse.d.ts +1 -1
  246. package/dist/esm/models/portfolio-kpiresponse.js +1 -1
  247. package/dist/esm/models/portfolio-overview-item-response.d.ts +1 -1
  248. package/dist/esm/models/portfolio-overview-item-response.js +1 -1
  249. package/dist/esm/models/portfolio-response.d.ts +1 -1
  250. package/dist/esm/models/portfolio-response.js +1 -1
  251. package/dist/esm/models/portfolio-update.d.ts +1 -1
  252. package/dist/esm/models/portfolio-update.js +1 -1
  253. package/dist/esm/models/preferred-option-request.d.ts +1 -1
  254. package/dist/esm/models/preferred-option-request.js +1 -1
  255. package/dist/esm/models/preferred-option-response.d.ts +1 -1
  256. package/dist/esm/models/preferred-option-response.js +1 -1
  257. package/dist/esm/models/prioritization-overview-response.d.ts +71 -0
  258. package/dist/esm/models/prioritization-overview-response.js +14 -0
  259. package/dist/esm/models/prioritization-result-response.d.ts +47 -0
  260. package/dist/esm/models/prioritization-result-response.js +14 -0
  261. package/dist/esm/models/prioritization-results-response.d.ts +19 -0
  262. package/dist/esm/models/prioritization-results-response.js +14 -0
  263. package/dist/esm/models/prioritization-scenario-response.d.ts +38 -0
  264. package/dist/esm/models/prioritization-scenario-response.js +14 -0
  265. package/dist/esm/models/prioritization-scenario-run-request.d.ts +24 -0
  266. package/dist/esm/models/prioritization-scenario-run-request.js +14 -0
  267. package/dist/esm/models/prioritization-scenario-status-response.d.ts +20 -0
  268. package/dist/esm/models/prioritization-scenario-status-response.js +14 -0
  269. package/dist/esm/models/scenario-status.d.ts +19 -0
  270. package/dist/esm/models/scenario-status.js +20 -0
  271. package/dist/esm/models/validation-error.d.ts +1 -1
  272. package/dist/esm/models/validation-error.js +1 -1
  273. package/dist/esm/models/value-framework-create.d.ts +1 -1
  274. package/dist/esm/models/value-framework-create.js +1 -1
  275. package/dist/esm/models/value-framework-response.d.ts +1 -1
  276. package/dist/esm/models/value-framework-response.js +1 -1
  277. package/dist/esm/models/value-framework-update.d.ts +1 -1
  278. package/dist/esm/models/value-framework-update.js +1 -1
  279. package/dist/index.d.ts +1 -1
  280. package/dist/index.js +1 -1
  281. package/dist/models/budget-bulk-delete-request.d.ts +1 -1
  282. package/dist/models/budget-bulk-delete-request.js +1 -1
  283. package/dist/models/budget-create.d.ts +1 -1
  284. package/dist/models/budget-create.js +1 -1
  285. package/dist/models/budget-investment-response.d.ts +1 -1
  286. package/dist/models/budget-investment-response.js +1 -1
  287. package/dist/models/budget-link-options-request.d.ts +1 -1
  288. package/dist/models/budget-link-options-request.js +1 -1
  289. package/dist/models/budget-option-response.d.ts +1 -1
  290. package/dist/models/budget-option-response.js +1 -1
  291. package/dist/models/budget-overview-response.d.ts +1 -1
  292. package/dist/models/budget-overview-response.js +1 -1
  293. package/dist/models/budget-response.d.ts +1 -1
  294. package/dist/models/budget-response.js +1 -1
  295. package/dist/models/budget-update.d.ts +1 -1
  296. package/dist/models/budget-update.js +1 -1
  297. package/dist/models/bulk-delete-request.d.ts +1 -1
  298. package/dist/models/bulk-delete-request.js +1 -1
  299. package/dist/models/evolution-type.d.ts +1 -1
  300. package/dist/models/evolution-type.js +1 -1
  301. package/dist/models/httpvalidation-error.d.ts +1 -1
  302. package/dist/models/httpvalidation-error.js +1 -1
  303. package/dist/models/impact-apiresponse.d.ts +1 -1
  304. package/dist/models/impact-apiresponse.js +1 -1
  305. package/dist/models/impact-bulk-item.d.ts +1 -1
  306. package/dist/models/impact-bulk-item.js +1 -1
  307. package/dist/models/impact-create.d.ts +1 -1
  308. package/dist/models/impact-create.js +1 -1
  309. package/dist/models/impact-update.d.ts +1 -1
  310. package/dist/models/impact-update.js +1 -1
  311. package/dist/models/index.d.ts +7 -0
  312. package/dist/models/index.js +7 -0
  313. package/dist/models/investment-create.d.ts +1 -1
  314. package/dist/models/investment-create.js +1 -1
  315. package/dist/models/investment-overview-response.d.ts +1 -1
  316. package/dist/models/investment-overview-response.js +1 -1
  317. package/dist/models/investment-response.d.ts +1 -1
  318. package/dist/models/investment-response.js +1 -1
  319. package/dist/models/investment-update.d.ts +1 -1
  320. package/dist/models/investment-update.js +1 -1
  321. package/dist/models/location-inner.d.ts +1 -1
  322. package/dist/models/location-inner.js +1 -1
  323. package/dist/models/measurement-type.d.ts +1 -1
  324. package/dist/models/measurement-type.js +1 -1
  325. package/dist/models/metric-costs-per-year-create.d.ts +1 -1
  326. package/dist/models/metric-costs-per-year-create.js +1 -1
  327. package/dist/models/metric-costs-per-year-response.d.ts +1 -1
  328. package/dist/models/metric-costs-per-year-response.js +1 -1
  329. package/dist/models/metric-costs-per-year-update.d.ts +1 -1
  330. package/dist/models/metric-costs-per-year-update.js +1 -1
  331. package/dist/models/metric-create.d.ts +1 -1
  332. package/dist/models/metric-create.js +1 -1
  333. package/dist/models/metric-performance-response.d.ts +1 -1
  334. package/dist/models/metric-performance-response.js +1 -1
  335. package/dist/models/metric-performance-year.d.ts +1 -1
  336. package/dist/models/metric-performance-year.js +1 -1
  337. package/dist/models/metric-response.d.ts +1 -1
  338. package/dist/models/metric-response.js +1 -1
  339. package/dist/models/metric-type.d.ts +1 -1
  340. package/dist/models/metric-type.js +1 -1
  341. package/dist/models/metric-update.d.ts +1 -1
  342. package/dist/models/metric-update.js +1 -1
  343. package/dist/models/monetized-impact-detailed-response.d.ts +1 -1
  344. package/dist/models/monetized-impact-detailed-response.js +1 -1
  345. package/dist/models/monetized-impact-detailed-year.d.ts +1 -1
  346. package/dist/models/monetized-impact-detailed-year.js +1 -1
  347. package/dist/models/monetized-impact-metric-value.d.ts +2 -1
  348. package/dist/models/monetized-impact-metric-value.js +1 -1
  349. package/dist/models/monetized-impact-response.d.ts +1 -1
  350. package/dist/models/monetized-impact-response.js +1 -1
  351. package/dist/models/monetized-impact-year.d.ts +1 -1
  352. package/dist/models/monetized-impact-year.js +1 -1
  353. package/dist/models/objective-create.d.ts +1 -1
  354. package/dist/models/objective-create.js +1 -1
  355. package/dist/models/objective-response.d.ts +1 -1
  356. package/dist/models/objective-response.js +1 -1
  357. package/dist/models/objective-update.d.ts +1 -1
  358. package/dist/models/objective-update.js +1 -1
  359. package/dist/models/objective-weight-create.d.ts +1 -1
  360. package/dist/models/objective-weight-create.js +1 -1
  361. package/dist/models/objective-weight-response.d.ts +1 -1
  362. package/dist/models/objective-weight-response.js +1 -1
  363. package/dist/models/objective-weight-update.d.ts +1 -1
  364. package/dist/models/objective-weight-update.js +1 -1
  365. package/dist/models/option-chart-kpi.d.ts +1 -1
  366. package/dist/models/option-chart-kpi.js +1 -1
  367. package/dist/models/option-chart-kpis-yearly.d.ts +1 -1
  368. package/dist/models/option-chart-kpis-yearly.js +1 -1
  369. package/dist/models/option-create.d.ts +1 -1
  370. package/dist/models/option-create.js +1 -1
  371. package/dist/models/option-overview-response.d.ts +1 -1
  372. package/dist/models/option-overview-response.js +1 -1
  373. package/dist/models/option-response.d.ts +1 -1
  374. package/dist/models/option-response.js +1 -1
  375. package/dist/models/option-update.d.ts +1 -1
  376. package/dist/models/option-update.js +1 -1
  377. package/dist/models/portfolio-budget-expenditure-response.d.ts +1 -1
  378. package/dist/models/portfolio-budget-expenditure-response.js +1 -1
  379. package/dist/models/portfolio-budget-expenditure-year.d.ts +1 -1
  380. package/dist/models/portfolio-budget-expenditure-year.js +1 -1
  381. package/dist/models/portfolio-budget-usage-item.d.ts +1 -1
  382. package/dist/models/portfolio-budget-usage-item.js +1 -1
  383. package/dist/models/portfolio-bulk-delete-request.d.ts +1 -1
  384. package/dist/models/portfolio-bulk-delete-request.js +1 -1
  385. package/dist/models/portfolio-create.d.ts +1 -1
  386. package/dist/models/portfolio-create.js +1 -1
  387. package/dist/models/portfolio-investment-bulk-add-request.d.ts +1 -1
  388. package/dist/models/portfolio-investment-bulk-add-request.js +1 -1
  389. package/dist/models/portfolio-investment-bulk-add-response.d.ts +1 -1
  390. package/dist/models/portfolio-investment-bulk-add-response.js +1 -1
  391. package/dist/models/portfolio-investment-bulk-delete-request.d.ts +1 -1
  392. package/dist/models/portfolio-investment-bulk-delete-request.js +1 -1
  393. package/dist/models/portfolio-investment-overview-response.d.ts +1 -1
  394. package/dist/models/portfolio-investment-overview-response.js +1 -1
  395. package/dist/models/portfolio-investment-response.d.ts +1 -1
  396. package/dist/models/portfolio-investment-response.js +1 -1
  397. package/dist/models/portfolio-kpidistribution-budget-item.d.ts +1 -1
  398. package/dist/models/portfolio-kpidistribution-budget-item.js +1 -1
  399. package/dist/models/portfolio-kpidistribution-response.d.ts +1 -1
  400. package/dist/models/portfolio-kpidistribution-response.js +1 -1
  401. package/dist/models/portfolio-kpidistribution-year-overrun.d.ts +1 -1
  402. package/dist/models/portfolio-kpidistribution-year-overrun.js +1 -1
  403. package/dist/models/portfolio-kpidistribution-year-value.d.ts +1 -1
  404. package/dist/models/portfolio-kpidistribution-year-value.js +1 -1
  405. package/dist/models/portfolio-kpioverrun-distribution-response.d.ts +1 -1
  406. package/dist/models/portfolio-kpioverrun-distribution-response.js +1 -1
  407. package/dist/models/portfolio-kpiresponse.d.ts +1 -1
  408. package/dist/models/portfolio-kpiresponse.js +1 -1
  409. package/dist/models/portfolio-overview-item-response.d.ts +1 -1
  410. package/dist/models/portfolio-overview-item-response.js +1 -1
  411. package/dist/models/portfolio-response.d.ts +1 -1
  412. package/dist/models/portfolio-response.js +1 -1
  413. package/dist/models/portfolio-update.d.ts +1 -1
  414. package/dist/models/portfolio-update.js +1 -1
  415. package/dist/models/preferred-option-request.d.ts +1 -1
  416. package/dist/models/preferred-option-request.js +1 -1
  417. package/dist/models/preferred-option-response.d.ts +1 -1
  418. package/dist/models/preferred-option-response.js +1 -1
  419. package/dist/models/prioritization-overview-response.d.ts +71 -0
  420. package/dist/models/prioritization-overview-response.js +15 -0
  421. package/dist/models/prioritization-result-response.d.ts +47 -0
  422. package/dist/models/prioritization-result-response.js +15 -0
  423. package/dist/models/prioritization-results-response.d.ts +19 -0
  424. package/dist/models/prioritization-results-response.js +15 -0
  425. package/dist/models/prioritization-scenario-response.d.ts +38 -0
  426. package/dist/models/prioritization-scenario-response.js +15 -0
  427. package/dist/models/prioritization-scenario-run-request.d.ts +24 -0
  428. package/dist/models/prioritization-scenario-run-request.js +15 -0
  429. package/dist/models/prioritization-scenario-status-response.d.ts +20 -0
  430. package/dist/models/prioritization-scenario-status-response.js +15 -0
  431. package/dist/models/scenario-status.d.ts +19 -0
  432. package/dist/models/scenario-status.js +23 -0
  433. package/dist/models/validation-error.d.ts +1 -1
  434. package/dist/models/validation-error.js +1 -1
  435. package/dist/models/value-framework-create.d.ts +1 -1
  436. package/dist/models/value-framework-create.js +1 -1
  437. package/dist/models/value-framework-response.d.ts +1 -1
  438. package/dist/models/value-framework-response.js +1 -1
  439. package/dist/models/value-framework-update.d.ts +1 -1
  440. package/dist/models/value-framework-update.js +1 -1
  441. package/docs/BudgetApi.md +13 -12
  442. package/docs/MonetizedImpactMetricValue.md +2 -0
  443. package/docs/OptionApi.md +4 -4
  444. package/docs/PrioritizationApi.md +705 -0
  445. package/docs/PrioritizationOverviewResponse.md +57 -0
  446. package/docs/PrioritizationResultResponse.md +39 -0
  447. package/docs/PrioritizationResultsResponse.md +23 -0
  448. package/docs/PrioritizationScenarioResponse.md +43 -0
  449. package/docs/PrioritizationScenarioRunRequest.md +23 -0
  450. package/docs/PrioritizationScenarioStatusResponse.md +25 -0
  451. package/docs/ScenarioStatus.md +16 -0
  452. package/index.ts +1 -1
  453. package/models/budget-bulk-delete-request.ts +1 -1
  454. package/models/budget-create.ts +1 -1
  455. package/models/budget-investment-response.ts +1 -1
  456. package/models/budget-link-options-request.ts +1 -1
  457. package/models/budget-option-response.ts +1 -1
  458. package/models/budget-overview-response.ts +1 -1
  459. package/models/budget-response.ts +1 -1
  460. package/models/budget-update.ts +1 -1
  461. package/models/bulk-delete-request.ts +1 -1
  462. package/models/evolution-type.ts +1 -1
  463. package/models/httpvalidation-error.ts +1 -1
  464. package/models/impact-apiresponse.ts +1 -1
  465. package/models/impact-bulk-item.ts +1 -1
  466. package/models/impact-create.ts +1 -1
  467. package/models/impact-update.ts +1 -1
  468. package/models/index.ts +7 -0
  469. package/models/investment-create.ts +1 -1
  470. package/models/investment-overview-response.ts +1 -1
  471. package/models/investment-response.ts +1 -1
  472. package/models/investment-update.ts +1 -1
  473. package/models/location-inner.ts +1 -1
  474. package/models/measurement-type.ts +1 -1
  475. package/models/metric-costs-per-year-create.ts +1 -1
  476. package/models/metric-costs-per-year-response.ts +1 -1
  477. package/models/metric-costs-per-year-update.ts +1 -1
  478. package/models/metric-create.ts +1 -1
  479. package/models/metric-performance-response.ts +1 -1
  480. package/models/metric-performance-year.ts +1 -1
  481. package/models/metric-response.ts +1 -1
  482. package/models/metric-type.ts +1 -1
  483. package/models/metric-update.ts +1 -1
  484. package/models/monetized-impact-detailed-response.ts +1 -1
  485. package/models/monetized-impact-detailed-year.ts +1 -1
  486. package/models/monetized-impact-metric-value.ts +2 -1
  487. package/models/monetized-impact-response.ts +1 -1
  488. package/models/monetized-impact-year.ts +1 -1
  489. package/models/objective-create.ts +1 -1
  490. package/models/objective-response.ts +1 -1
  491. package/models/objective-update.ts +1 -1
  492. package/models/objective-weight-create.ts +1 -1
  493. package/models/objective-weight-response.ts +1 -1
  494. package/models/objective-weight-update.ts +1 -1
  495. package/models/option-chart-kpi.ts +1 -1
  496. package/models/option-chart-kpis-yearly.ts +1 -1
  497. package/models/option-create.ts +1 -1
  498. package/models/option-overview-response.ts +1 -1
  499. package/models/option-response.ts +1 -1
  500. package/models/option-update.ts +1 -1
  501. package/models/portfolio-budget-expenditure-response.ts +1 -1
  502. package/models/portfolio-budget-expenditure-year.ts +1 -1
  503. package/models/portfolio-budget-usage-item.ts +1 -1
  504. package/models/portfolio-bulk-delete-request.ts +1 -1
  505. package/models/portfolio-create.ts +1 -1
  506. package/models/portfolio-investment-bulk-add-request.ts +1 -1
  507. package/models/portfolio-investment-bulk-add-response.ts +1 -1
  508. package/models/portfolio-investment-bulk-delete-request.ts +1 -1
  509. package/models/portfolio-investment-overview-response.ts +1 -1
  510. package/models/portfolio-investment-response.ts +1 -1
  511. package/models/portfolio-kpidistribution-budget-item.ts +1 -1
  512. package/models/portfolio-kpidistribution-response.ts +1 -1
  513. package/models/portfolio-kpidistribution-year-overrun.ts +1 -1
  514. package/models/portfolio-kpidistribution-year-value.ts +1 -1
  515. package/models/portfolio-kpioverrun-distribution-response.ts +1 -1
  516. package/models/portfolio-kpiresponse.ts +1 -1
  517. package/models/portfolio-overview-item-response.ts +1 -1
  518. package/models/portfolio-response.ts +1 -1
  519. package/models/portfolio-update.ts +1 -1
  520. package/models/preferred-option-request.ts +1 -1
  521. package/models/preferred-option-response.ts +1 -1
  522. package/models/prioritization-overview-response.ts +77 -0
  523. package/models/prioritization-result-response.ts +53 -0
  524. package/models/prioritization-results-response.ts +27 -0
  525. package/models/prioritization-scenario-response.ts +48 -0
  526. package/models/prioritization-scenario-run-request.ts +30 -0
  527. package/models/prioritization-scenario-status-response.ts +30 -0
  528. package/models/scenario-status.ts +29 -0
  529. package/models/validation-error.ts +1 -1
  530. package/models/value-framework-create.ts +1 -1
  531. package/models/value-framework-response.ts +1 -1
  532. package/models/value-framework-update.ts +1 -1
  533. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @cosmotech/aip-client@0.4.0-dev4
1
+ ## @cosmotech/aip-client@1.0.0-dev1
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @cosmotech/aip-client@0.4.0-dev4 --save
39
+ npm install @cosmotech/aip-client@1.0.0-dev1 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -54,12 +54,12 @@ Class | Method | HTTP request | Description
54
54
  *BudgetApi* | [**bulkDeleteBudgets**](docs/BudgetApi.md#bulkdeletebudgets) | **POST** /budget/bulk-delete | Bulk delete budgets
55
55
  *BudgetApi* | [**deleteBudget**](docs/BudgetApi.md#deletebudget) | **DELETE** /budget/{budget_id} | Delete a budget
56
56
  *BudgetApi* | [**getBudgetById**](docs/BudgetApi.md#getbudgetbyid) | **GET** /budget/{budget_id} | Get a budget by ID
57
- *BudgetApi* | [**getBudgetInvestments**](docs/BudgetApi.md#getbudgetinvestments) | **GET** /budget/{budget_id}/investments/{value_framework_id} | List investments linked to this budget via options
58
- *BudgetApi* | [**getBudgetOptions**](docs/BudgetApi.md#getbudgetoptions) | **GET** /budget/{budget_id}/options/{value_framework_id} | List options linked to this budget
57
+ *BudgetApi* | [**getBudgetInvestments**](docs/BudgetApi.md#getbudgetinvestments) | **GET** /budget/{budget_id}/investments | List investments linked to this budget via options
58
+ *BudgetApi* | [**getBudgetOptions**](docs/BudgetApi.md#getbudgetoptions) | **GET** /budget/{budget_id}/options | List options linked to this budget
59
59
  *BudgetApi* | [**getBudgetOverview**](docs/BudgetApi.md#getbudgetoverview) | **GET** /budget/{budget_id}/overview | Get budget overview
60
60
  *BudgetApi* | [**getBudgets**](docs/BudgetApi.md#getbudgets) | **GET** /budget/ | List all budgets
61
61
  *BudgetApi* | [**linkOptionsToBudget**](docs/BudgetApi.md#linkoptionstobudget) | **POST** /budget/{budget_id}/link-options | Bulk-link options to this budget
62
- *BudgetApi* | [**listAvailableOptions**](docs/BudgetApi.md#listavailableoptions) | **GET** /budget/list-available-options/{value_framework_id} | List all options available to be added to a budget
62
+ *BudgetApi* | [**listAvailableOptions**](docs/BudgetApi.md#listavailableoptions) | **GET** /budget/list-available-options | List all options available to be added to a budget
63
63
  *BudgetApi* | [**patchBudget**](docs/BudgetApi.md#patchbudget) | **PATCH** /budget/{budget_id} | Partially update a budget
64
64
  *BudgetApi* | [**postBudget**](docs/BudgetApi.md#postbudget) | **POST** /budget/ | Create a budget
65
65
  *DefaultApi* | [**root**](docs/DefaultApi.md#root) | **GET** /about | Root
@@ -101,7 +101,7 @@ Class | Method | HTTP request | Description
101
101
  *OptionApi* | [**createOptionForInvestment**](docs/OptionApi.md#createoptionforinvestment) | **POST** /investment/{investment_id}/option/ | Create an option for this investment
102
102
  *OptionApi* | [**deleteOptionForInvestment**](docs/OptionApi.md#deleteoptionforinvestment) | **DELETE** /investment/{investment_id}/option/{option_id} | Delete an option for this investment
103
103
  *OptionApi* | [**getOptionForInvestment**](docs/OptionApi.md#getoptionforinvestment) | **GET** /investment/{investment_id}/option/{option_id} | Get an option for this investment
104
- *OptionApi* | [**getOptionKpis**](docs/OptionApi.md#getoptionkpis) | **GET** /investment/{investment_id}/option/{option_id}/kpis/{value_framework_id} | Get the kpis for a given option inside a value framework
104
+ *OptionApi* | [**getOptionKpis**](docs/OptionApi.md#getoptionkpis) | **GET** /investment/{investment_id}/option/{option_id}/kpis | Get the kpis for a given option inside a value framework
105
105
  *OptionApi* | [**getOptionsForInvestment**](docs/OptionApi.md#getoptionsforinvestment) | **GET** /investment/{investment_id}/option/ | List options for this investment
106
106
  *OptionApi* | [**getOptionsOverview**](docs/OptionApi.md#getoptionsoverview) | **GET** /investment/{investment_id}/option/overview | Option overview table for this investment
107
107
  *OptionApi* | [**patchOptionForInvestment**](docs/OptionApi.md#patchoptionforinvestment) | **PATCH** /investment/{investment_id}/option/{option_id} | Partially update an option for this investment
@@ -133,6 +133,19 @@ Class | Method | HTTP request | Description
133
133
  *PortfolioKPIApi* | [**getPortfolioMonetizedImpactDetailed**](docs/PortfolioKPIApi.md#getportfoliomonetizedimpactdetailed) | **GET** /portfolio/{portfolio_id}/monetized-impact/detailed | Portfolio monetized impact over time (split by metric)
134
134
  *PreferredOptionApi* | [**getPreferredOption**](docs/PreferredOptionApi.md#getpreferredoption) | **GET** /investment/{investment_id}/preferred_option | Get the preferred option for an investment
135
135
  *PreferredOptionApi* | [**setPreferredOption**](docs/PreferredOptionApi.md#setpreferredoption) | **POST** /investment/{investment_id}/preferred_option | Set the preferred option for an investment
136
+ *PrioritizationApi* | [**abortScenario**](docs/PrioritizationApi.md#abortscenario) | **POST** /portfolio/{portfolio_id}/scenario/abort | Abort a running prioritization
137
+ *PrioritizationApi* | [**deleteScenario**](docs/PrioritizationApi.md#deletescenario) | **DELETE** /portfolio/{portfolio_id}/scenario/ | Delete the prioritization scenario
138
+ *PrioritizationApi* | [**getScenario**](docs/PrioritizationApi.md#getscenario) | **GET** /portfolio/{portfolio_id}/scenario/ | Get the prioritization scenario
139
+ *PrioritizationApi* | [**getScenarioBudgetExpenditure**](docs/PrioritizationApi.md#getscenariobudgetexpenditure) | **GET** /portfolio/{portfolio_id}/scenario/budget-expenditure/{budget_id} | Per-year expenditure for one budget (performed investments)
140
+ *PrioritizationApi* | [**getScenarioBudgetExpenditureAll**](docs/PrioritizationApi.md#getscenariobudgetexpenditureall) | **GET** /portfolio/{portfolio_id}/scenario/budget-expenditure-all | Per-budget expenditure for performed investments
141
+ *PrioritizationApi* | [**getScenarioBudgetExpenditureNoBudget**](docs/PrioritizationApi.md#getscenariobudgetexpenditurenobudget) | **GET** /portfolio/{portfolio_id}/scenario/budget-expenditure-no-budget | Per-year expenditure for performed investments with no budget
142
+ *PrioritizationApi* | [**getScenarioBudgetUsage**](docs/PrioritizationApi.md#getscenariobudgetusage) | **GET** /portfolio/{portfolio_id}/scenario/budget-usage | Budget usage for performed investments
143
+ *PrioritizationApi* | [**getScenarioOverview**](docs/PrioritizationApi.md#getscenariooverview) | **GET** /portfolio/{portfolio_id}/scenario/overview | Run vs portfolio comparison KPIs
144
+ *PrioritizationApi* | [**getScenarioResults**](docs/PrioritizationApi.md#getscenarioresults) | **GET** /portfolio/{portfolio_id}/scenario/results | Get prioritization results
145
+ *PrioritizationApi* | [**getScenarioStatus**](docs/PrioritizationApi.md#getscenariostatus) | **GET** /portfolio/{portfolio_id}/scenario/status | Get prioritization run status
146
+ *PrioritizationApi* | [**getScenarioValueFrameworkImpact**](docs/PrioritizationApi.md#getscenariovalueframeworkimpact) | **GET** /portfolio/{portfolio_id}/scenario/value-framework-impact | Monetized impact filtered to performed investments
147
+ *PrioritizationApi* | [**getScenarioValueFrameworkImpactDetailed**](docs/PrioritizationApi.md#getscenariovalueframeworkimpactdetailed) | **GET** /portfolio/{portfolio_id}/scenario/value-framework-impact/detailed | Monetized impact (split by metric) filtered to performed investments
148
+ *PrioritizationApi* | [**runScenario**](docs/PrioritizationApi.md#runscenario) | **POST** /portfolio/{portfolio_id}/scenario/run | Create/update and run a prioritization scenario
136
149
  *ValueFrameworkApi* | [**deleteValueFramework**](docs/ValueFrameworkApi.md#deletevalueframework) | **DELETE** /value_framework/{value_framework_id} | Delete a value framework
137
150
  *ValueFrameworkApi* | [**getValueFrameworkById**](docs/ValueFrameworkApi.md#getvalueframeworkbyid) | **GET** /value_framework/{value_framework_id} | Get a value framework by ID
138
151
  *ValueFrameworkApi* | [**getValueFrameworks**](docs/ValueFrameworkApi.md#getvalueframeworks) | **GET** /value_framework/ | List value frameworks
@@ -213,6 +226,13 @@ Class | Method | HTTP request | Description
213
226
  - [PortfolioUpdate](docs/PortfolioUpdate.md)
214
227
  - [PreferredOptionRequest](docs/PreferredOptionRequest.md)
215
228
  - [PreferredOptionResponse](docs/PreferredOptionResponse.md)
229
+ - [PrioritizationOverviewResponse](docs/PrioritizationOverviewResponse.md)
230
+ - [PrioritizationResultResponse](docs/PrioritizationResultResponse.md)
231
+ - [PrioritizationResultsResponse](docs/PrioritizationResultsResponse.md)
232
+ - [PrioritizationScenarioResponse](docs/PrioritizationScenarioResponse.md)
233
+ - [PrioritizationScenarioRunRequest](docs/PrioritizationScenarioRunRequest.md)
234
+ - [PrioritizationScenarioStatusResponse](docs/PrioritizationScenarioStatusResponse.md)
235
+ - [ScenarioStatus](docs/ScenarioStatus.md)
216
236
  - [ValidationError](docs/ValidationError.md)
217
237
  - [ValueFrameworkCreate](docs/ValueFrameworkCreate.md)
218
238
  - [ValueFrameworkResponse](docs/ValueFrameworkResponse.md)
package/api/budget-api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -159,18 +159,15 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
159
159
  * Return all distinct investments that have at least one option linked to this budget. Each row shows the investment\'s current preferred option data and a flag indicating whether the preferred option is the one linked to the budget. NPV is computed for the preferred option from the v_option_npv view.
160
160
  * @summary List investments linked to this budget via options
161
161
  * @param {string} budgetId UUID of the budget
162
- * @param {string} valueFrameworkId UUID of the value framework
162
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
163
163
  * @param {*} [options] Override http request option.
164
164
  * @throws {RequiredError}
165
165
  */
166
- getBudgetInvestments: async (budgetId: string, valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
166
+ getBudgetInvestments: async (budgetId: string, valueFrameworkId?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
167
167
  // verify required parameter 'budgetId' is not null or undefined
168
168
  assertParamExists('getBudgetInvestments', 'budgetId', budgetId)
169
- // verify required parameter 'valueFrameworkId' is not null or undefined
170
- assertParamExists('getBudgetInvestments', 'valueFrameworkId', valueFrameworkId)
171
- const localVarPath = `/budget/{budget_id}/investments/{value_framework_id}`
172
- .replace(`{${"budget_id"}}`, encodeURIComponent(String(budgetId)))
173
- .replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
169
+ const localVarPath = `/budget/{budget_id}/investments`
170
+ .replace(`{${"budget_id"}}`, encodeURIComponent(String(budgetId)));
174
171
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
175
172
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
176
173
  let baseOptions;
@@ -186,6 +183,10 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
186
183
  // oauth required
187
184
  await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
188
185
 
186
+ if (valueFrameworkId !== undefined) {
187
+ localVarQueryParameter['value_framework_id'] = valueFrameworkId;
188
+ }
189
+
189
190
  localVarHeaderParameter['Accept'] = 'application/json';
190
191
 
191
192
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -201,18 +202,15 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
201
202
  * Return all options linked to this budget. Rows are ordered by investment name then option name. NPV is computed from the v_option_npv view for the given value framework.
202
203
  * @summary List options linked to this budget
203
204
  * @param {string} budgetId UUID of the budget
204
- * @param {string} valueFrameworkId UUID of the value framework
205
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
205
206
  * @param {*} [options] Override http request option.
206
207
  * @throws {RequiredError}
207
208
  */
208
- getBudgetOptions: async (budgetId: string, valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
209
+ getBudgetOptions: async (budgetId: string, valueFrameworkId?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
209
210
  // verify required parameter 'budgetId' is not null or undefined
210
211
  assertParamExists('getBudgetOptions', 'budgetId', budgetId)
211
- // verify required parameter 'valueFrameworkId' is not null or undefined
212
- assertParamExists('getBudgetOptions', 'valueFrameworkId', valueFrameworkId)
213
- const localVarPath = `/budget/{budget_id}/options/{value_framework_id}`
214
- .replace(`{${"budget_id"}}`, encodeURIComponent(String(budgetId)))
215
- .replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
212
+ const localVarPath = `/budget/{budget_id}/options`
213
+ .replace(`{${"budget_id"}}`, encodeURIComponent(String(budgetId)));
216
214
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
217
215
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
218
216
  let baseOptions;
@@ -228,6 +226,10 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
228
226
  // oauth required
229
227
  await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
230
228
 
229
+ if (valueFrameworkId !== undefined) {
230
+ localVarQueryParameter['value_framework_id'] = valueFrameworkId;
231
+ }
232
+
231
233
  localVarHeaderParameter['Accept'] = 'application/json';
232
234
 
233
235
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -365,17 +367,14 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
365
367
  };
366
368
  },
367
369
  /**
368
- * Returns a list of all options, with their investment context and NPV.
370
+ * Returns a list of all options, with their investment context and NPV. If value_framework_id is omitted, NPV will be null for all options.
369
371
  * @summary List all options available to be added to a budget
370
- * @param {string} valueFrameworkId UUID of the value framework
372
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
371
373
  * @param {*} [options] Override http request option.
372
374
  * @throws {RequiredError}
373
375
  */
374
- listAvailableOptions: async (valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
375
- // verify required parameter 'valueFrameworkId' is not null or undefined
376
- assertParamExists('listAvailableOptions', 'valueFrameworkId', valueFrameworkId)
377
- const localVarPath = `/budget/list-available-options/{value_framework_id}`
378
- .replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
376
+ listAvailableOptions: async (valueFrameworkId?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
377
+ const localVarPath = `/budget/list-available-options`;
379
378
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
380
379
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
381
380
  let baseOptions;
@@ -391,6 +390,10 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
391
390
  // oauth required
392
391
  await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
393
392
 
393
+ if (valueFrameworkId !== undefined) {
394
+ localVarQueryParameter['value_framework_id'] = valueFrameworkId;
395
+ }
396
+
394
397
  localVarHeaderParameter['Accept'] = 'application/json';
395
398
 
396
399
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -536,11 +539,11 @@ export const BudgetApiFp = function(configuration?: Configuration) {
536
539
  * Return all distinct investments that have at least one option linked to this budget. Each row shows the investment\'s current preferred option data and a flag indicating whether the preferred option is the one linked to the budget. NPV is computed for the preferred option from the v_option_npv view.
537
540
  * @summary List investments linked to this budget via options
538
541
  * @param {string} budgetId UUID of the budget
539
- * @param {string} valueFrameworkId UUID of the value framework
542
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
540
543
  * @param {*} [options] Override http request option.
541
544
  * @throws {RequiredError}
542
545
  */
543
- async getBudgetInvestments(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetInvestmentResponse>>> {
546
+ async getBudgetInvestments(budgetId: string, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetInvestmentResponse>>> {
544
547
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBudgetInvestments(budgetId, valueFrameworkId, options);
545
548
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
546
549
  const localVarOperationServerBasePath = operationServerMap['BudgetApi.getBudgetInvestments']?.[localVarOperationServerIndex]?.url;
@@ -550,11 +553,11 @@ export const BudgetApiFp = function(configuration?: Configuration) {
550
553
  * Return all options linked to this budget. Rows are ordered by investment name then option name. NPV is computed from the v_option_npv view for the given value framework.
551
554
  * @summary List options linked to this budget
552
555
  * @param {string} budgetId UUID of the budget
553
- * @param {string} valueFrameworkId UUID of the value framework
556
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
554
557
  * @param {*} [options] Override http request option.
555
558
  * @throws {RequiredError}
556
559
  */
557
- async getBudgetOptions(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetOptionResponse>>> {
560
+ async getBudgetOptions(budgetId: string, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetOptionResponse>>> {
558
561
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBudgetOptions(budgetId, valueFrameworkId, options);
559
562
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
560
563
  const localVarOperationServerBasePath = operationServerMap['BudgetApi.getBudgetOptions']?.[localVarOperationServerIndex]?.url;
@@ -602,13 +605,13 @@ export const BudgetApiFp = function(configuration?: Configuration) {
602
605
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
603
606
  },
604
607
  /**
605
- * Returns a list of all options, with their investment context and NPV.
608
+ * Returns a list of all options, with their investment context and NPV. If value_framework_id is omitted, NPV will be null for all options.
606
609
  * @summary List all options available to be added to a budget
607
- * @param {string} valueFrameworkId UUID of the value framework
610
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
608
611
  * @param {*} [options] Override http request option.
609
612
  * @throws {RequiredError}
610
613
  */
611
- async listAvailableOptions(valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetOptionResponse>>> {
614
+ async listAvailableOptions(valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetOptionResponse>>> {
612
615
  const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableOptions(valueFrameworkId, options);
613
616
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
614
617
  const localVarOperationServerBasePath = operationServerMap['BudgetApi.listAvailableOptions']?.[localVarOperationServerIndex]?.url;
@@ -684,22 +687,22 @@ export const BudgetApiFactory = function (configuration?: Configuration, basePat
684
687
  * Return all distinct investments that have at least one option linked to this budget. Each row shows the investment\'s current preferred option data and a flag indicating whether the preferred option is the one linked to the budget. NPV is computed for the preferred option from the v_option_npv view.
685
688
  * @summary List investments linked to this budget via options
686
689
  * @param {string} budgetId UUID of the budget
687
- * @param {string} valueFrameworkId UUID of the value framework
690
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
688
691
  * @param {*} [options] Override http request option.
689
692
  * @throws {RequiredError}
690
693
  */
691
- getBudgetInvestments(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetInvestmentResponse>> {
694
+ getBudgetInvestments(budgetId: string, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetInvestmentResponse>> {
692
695
  return localVarFp.getBudgetInvestments(budgetId, valueFrameworkId, options).then((request) => request(axios, basePath));
693
696
  },
694
697
  /**
695
698
  * Return all options linked to this budget. Rows are ordered by investment name then option name. NPV is computed from the v_option_npv view for the given value framework.
696
699
  * @summary List options linked to this budget
697
700
  * @param {string} budgetId UUID of the budget
698
- * @param {string} valueFrameworkId UUID of the value framework
701
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
699
702
  * @param {*} [options] Override http request option.
700
703
  * @throws {RequiredError}
701
704
  */
702
- getBudgetOptions(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetOptionResponse>> {
705
+ getBudgetOptions(budgetId: string, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetOptionResponse>> {
703
706
  return localVarFp.getBudgetOptions(budgetId, valueFrameworkId, options).then((request) => request(axios, basePath));
704
707
  },
705
708
  /**
@@ -735,13 +738,13 @@ export const BudgetApiFactory = function (configuration?: Configuration, basePat
735
738
  return localVarFp.linkOptionsToBudget(budgetId, budgetLinkOptionsRequest, options).then((request) => request(axios, basePath));
736
739
  },
737
740
  /**
738
- * Returns a list of all options, with their investment context and NPV.
741
+ * Returns a list of all options, with their investment context and NPV. If value_framework_id is omitted, NPV will be null for all options.
739
742
  * @summary List all options available to be added to a budget
740
- * @param {string} valueFrameworkId UUID of the value framework
743
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
741
744
  * @param {*} [options] Override http request option.
742
745
  * @throws {RequiredError}
743
746
  */
744
- listAvailableOptions(valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetOptionResponse>> {
747
+ listAvailableOptions(valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetOptionResponse>> {
745
748
  return localVarFp.listAvailableOptions(valueFrameworkId, options).then((request) => request(axios, basePath));
746
749
  },
747
750
  /**
@@ -809,11 +812,11 @@ export class BudgetApi extends BaseAPI {
809
812
  * Return all distinct investments that have at least one option linked to this budget. Each row shows the investment\'s current preferred option data and a flag indicating whether the preferred option is the one linked to the budget. NPV is computed for the preferred option from the v_option_npv view.
810
813
  * @summary List investments linked to this budget via options
811
814
  * @param {string} budgetId UUID of the budget
812
- * @param {string} valueFrameworkId UUID of the value framework
815
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
813
816
  * @param {*} [options] Override http request option.
814
817
  * @throws {RequiredError}
815
818
  */
816
- public getBudgetInvestments(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) {
819
+ public getBudgetInvestments(budgetId: string, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig) {
817
820
  return BudgetApiFp(this.configuration).getBudgetInvestments(budgetId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
818
821
  }
819
822
 
@@ -821,11 +824,11 @@ export class BudgetApi extends BaseAPI {
821
824
  * Return all options linked to this budget. Rows are ordered by investment name then option name. NPV is computed from the v_option_npv view for the given value framework.
822
825
  * @summary List options linked to this budget
823
826
  * @param {string} budgetId UUID of the budget
824
- * @param {string} valueFrameworkId UUID of the value framework
827
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
825
828
  * @param {*} [options] Override http request option.
826
829
  * @throws {RequiredError}
827
830
  */
828
- public getBudgetOptions(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) {
831
+ public getBudgetOptions(budgetId: string, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig) {
829
832
  return BudgetApiFp(this.configuration).getBudgetOptions(budgetId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
830
833
  }
831
834
 
@@ -865,13 +868,13 @@ export class BudgetApi extends BaseAPI {
865
868
  }
866
869
 
867
870
  /**
868
- * Returns a list of all options, with their investment context and NPV.
871
+ * Returns a list of all options, with their investment context and NPV. If value_framework_id is omitted, NPV will be null for all options.
869
872
  * @summary List all options available to be added to a budget
870
- * @param {string} valueFrameworkId UUID of the value framework
873
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
871
874
  * @param {*} [options] Override http request option.
872
875
  * @throws {RequiredError}
873
876
  */
874
- public listAvailableOptions(valueFrameworkId: string, options?: RawAxiosRequestConfig) {
877
+ public listAvailableOptions(valueFrameworkId?: string | null, options?: RawAxiosRequestConfig) {
875
878
  return BudgetApiFp(this.configuration).listAvailableOptions(valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
876
879
  }
877
880
 
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/impact-api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/metric-api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/option-api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -163,25 +163,22 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
163
163
  };
164
164
  },
165
165
  /**
166
- * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
166
+ * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view. If no value_framework_id is provided, returns an empty list.
167
167
  * @summary Get the kpis for a given option inside a value framework
168
168
  * @param {string} optionId UUID of the option
169
169
  * @param {string} investmentId UUID of the investment
170
- * @param {string} valueFrameworkId UUID of the value framework
170
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
171
171
  * @param {*} [options] Override http request option.
172
172
  * @throws {RequiredError}
173
173
  */
174
- getOptionKpis: async (optionId: string, investmentId: string, valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
174
+ getOptionKpis: async (optionId: string, investmentId: string, valueFrameworkId?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
175
175
  // verify required parameter 'optionId' is not null or undefined
176
176
  assertParamExists('getOptionKpis', 'optionId', optionId)
177
177
  // verify required parameter 'investmentId' is not null or undefined
178
178
  assertParamExists('getOptionKpis', 'investmentId', investmentId)
179
- // verify required parameter 'valueFrameworkId' is not null or undefined
180
- assertParamExists('getOptionKpis', 'valueFrameworkId', valueFrameworkId)
181
- const localVarPath = `/investment/{investment_id}/option/{option_id}/kpis/{value_framework_id}`
179
+ const localVarPath = `/investment/{investment_id}/option/{option_id}/kpis`
182
180
  .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
183
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
184
- .replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
181
+ .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
185
182
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
186
183
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
187
184
  let baseOptions;
@@ -197,6 +194,10 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
197
194
  // oauth required
198
195
  await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
199
196
 
197
+ if (valueFrameworkId !== undefined) {
198
+ localVarQueryParameter['value_framework_id'] = valueFrameworkId;
199
+ }
200
+
200
201
  localVarHeaderParameter['Accept'] = 'application/json';
201
202
 
202
203
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -400,15 +401,15 @@ export const OptionApiFp = function(configuration?: Configuration) {
400
401
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
401
402
  },
402
403
  /**
403
- * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
404
+ * 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. If no value_framework_id is provided, returns an empty list.
404
405
  * @summary Get the kpis for a given option inside a value framework
405
406
  * @param {string} optionId UUID of the option
406
407
  * @param {string} investmentId UUID of the investment
407
- * @param {string} valueFrameworkId UUID of the value framework
408
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
408
409
  * @param {*} [options] Override http request option.
409
410
  * @throws {RequiredError}
410
411
  */
411
- async getOptionKpis(optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionChartKPIsYearly>>> {
412
+ async getOptionKpis(optionId: string, investmentId: string, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionChartKPIsYearly>>> {
412
413
  const localVarAxiosArgs = await localVarAxiosParamCreator.getOptionKpis(optionId, investmentId, valueFrameworkId, options);
413
414
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
414
415
  const localVarOperationServerBasePath = operationServerMap['OptionApi.getOptionKpis']?.[localVarOperationServerIndex]?.url;
@@ -501,15 +502,15 @@ export const OptionApiFactory = function (configuration?: Configuration, basePat
501
502
  return localVarFp.getOptionForInvestment(optionId, investmentId, options).then((request) => request(axios, basePath));
502
503
  },
503
504
  /**
504
- * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
505
+ * 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. If no value_framework_id is provided, returns an empty list.
505
506
  * @summary Get the kpis for a given option inside a value framework
506
507
  * @param {string} optionId UUID of the option
507
508
  * @param {string} investmentId UUID of the investment
508
- * @param {string} valueFrameworkId UUID of the value framework
509
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
509
510
  * @param {*} [options] Override http request option.
510
511
  * @throws {RequiredError}
511
512
  */
512
- getOptionKpis(optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionChartKPIsYearly>> {
513
+ getOptionKpis(optionId: string, investmentId: string, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionChartKPIsYearly>> {
513
514
  return localVarFp.getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
514
515
  },
515
516
  /**
@@ -591,15 +592,15 @@ export class OptionApi extends BaseAPI {
591
592
  }
592
593
 
593
594
  /**
594
- * Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
595
+ * 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. If no value_framework_id is provided, returns an empty list.
595
596
  * @summary Get the kpis for a given option inside a value framework
596
597
  * @param {string} optionId UUID of the option
597
598
  * @param {string} investmentId UUID of the investment
598
- * @param {string} valueFrameworkId UUID of the value framework
599
+ * @param {string | null} [valueFrameworkId] UUID of the value framework
599
600
  * @param {*} [options] Override http request option.
600
601
  * @throws {RequiredError}
601
602
  */
602
- public getOptionKpis(optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) {
603
+ public getOptionKpis(optionId: string, investmentId: string, valueFrameworkId?: string | null, options?: RawAxiosRequestConfig) {
603
604
  return OptionApiFp(this.configuration).getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
604
605
  }
605
606
 
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-dev4
7
+ * The version of the OpenAPI document: 1.0.0-dev1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).