@cosmotech/aip-client 0.4.0-dev1 → 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 (458) hide show
  1. package/README.md +5 -4
  2. package/api/budget-api.ts +79 -13
  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 +1 -1
  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/value-framework-api.ts +1 -1
  18. package/api/value-framework-costs-api.ts +1 -1
  19. package/api/value-framework-weights-api.ts +1 -1
  20. package/api.ts +1 -1
  21. package/base.ts +1 -1
  22. package/common.ts +1 -1
  23. package/configuration.ts +1 -1
  24. package/dist/api/budget-api.d.ts +33 -1
  25. package/dist/api/budget-api.js +76 -11
  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 +1 -1
  45. package/dist/api/option-api.js +1 -1
  46. package/dist/api/portfolio-api.d.ts +1 -1
  47. package/dist/api/portfolio-api.js +1 -1
  48. package/dist/api/portfolio-investment-api.d.ts +1 -1
  49. package/dist/api/portfolio-investment-api.js +1 -1
  50. package/dist/api/portfolio-kpiapi.d.ts +1 -1
  51. package/dist/api/portfolio-kpiapi.js +1 -1
  52. package/dist/api/preferred-option-api.d.ts +1 -1
  53. package/dist/api/preferred-option-api.js +1 -1
  54. package/dist/api/value-framework-api.d.ts +1 -1
  55. package/dist/api/value-framework-api.js +1 -1
  56. package/dist/api/value-framework-costs-api.d.ts +1 -1
  57. package/dist/api/value-framework-costs-api.js +1 -1
  58. package/dist/api/value-framework-weights-api.d.ts +1 -1
  59. package/dist/api/value-framework-weights-api.js +1 -1
  60. package/dist/api.d.ts +1 -1
  61. package/dist/api.js +1 -1
  62. package/dist/base.d.ts +1 -1
  63. package/dist/base.js +1 -1
  64. package/dist/common.d.ts +1 -1
  65. package/dist/common.js +1 -1
  66. package/dist/configuration.d.ts +1 -1
  67. package/dist/configuration.js +1 -1
  68. package/dist/esm/api/budget-api.d.ts +33 -1
  69. package/dist/esm/api/budget-api.js +76 -11
  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 +1 -1
  89. package/dist/esm/api/option-api.js +1 -1
  90. package/dist/esm/api/portfolio-api.d.ts +1 -1
  91. package/dist/esm/api/portfolio-api.js +1 -1
  92. package/dist/esm/api/portfolio-investment-api.d.ts +1 -1
  93. package/dist/esm/api/portfolio-investment-api.js +1 -1
  94. package/dist/esm/api/portfolio-kpiapi.d.ts +1 -1
  95. package/dist/esm/api/portfolio-kpiapi.js +1 -1
  96. package/dist/esm/api/preferred-option-api.d.ts +1 -1
  97. package/dist/esm/api/preferred-option-api.js +1 -1
  98. package/dist/esm/api/value-framework-api.d.ts +1 -1
  99. package/dist/esm/api/value-framework-api.js +1 -1
  100. package/dist/esm/api/value-framework-costs-api.d.ts +1 -1
  101. package/dist/esm/api/value-framework-costs-api.js +1 -1
  102. package/dist/esm/api/value-framework-weights-api.d.ts +1 -1
  103. package/dist/esm/api/value-framework-weights-api.js +1 -1
  104. package/dist/esm/api.d.ts +1 -1
  105. package/dist/esm/api.js +1 -1
  106. package/dist/esm/base.d.ts +1 -1
  107. package/dist/esm/base.js +1 -1
  108. package/dist/esm/common.d.ts +1 -1
  109. package/dist/esm/common.js +1 -1
  110. package/dist/esm/configuration.d.ts +1 -1
  111. package/dist/esm/configuration.js +1 -1
  112. package/dist/esm/index.d.ts +1 -1
  113. package/dist/esm/index.js +1 -1
  114. package/dist/esm/models/budget-bulk-delete-request.d.ts +1 -1
  115. package/dist/esm/models/budget-bulk-delete-request.js +1 -1
  116. package/dist/esm/models/budget-create.d.ts +1 -1
  117. package/dist/esm/models/budget-create.js +1 -1
  118. package/dist/esm/models/budget-investment-response.d.ts +1 -1
  119. package/dist/esm/models/budget-investment-response.js +1 -1
  120. package/dist/esm/models/budget-link-options-request.d.ts +1 -1
  121. package/dist/esm/models/budget-link-options-request.js +1 -1
  122. package/dist/esm/models/budget-option-response.d.ts +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 -1
  137. package/dist/esm/models/impact-apiresponse.js +1 -1
  138. package/dist/esm/models/impact-bulk-item.d.ts +1 -1
  139. package/dist/esm/models/impact-bulk-item.js +1 -1
  140. package/dist/esm/models/impact-create.d.ts +1 -1
  141. package/dist/esm/models/impact-create.js +1 -1
  142. package/dist/esm/models/impact-update.d.ts +1 -1
  143. package/dist/esm/models/impact-update.js +1 -1
  144. package/dist/esm/models/investment-create.d.ts +1 -1
  145. package/dist/esm/models/investment-create.js +1 -1
  146. package/dist/esm/models/investment-overview-response.d.ts +1 -1
  147. package/dist/esm/models/investment-overview-response.js +1 -1
  148. package/dist/esm/models/investment-response.d.ts +1 -1
  149. package/dist/esm/models/investment-response.js +1 -1
  150. package/dist/esm/models/investment-update.d.ts +1 -1
  151. package/dist/esm/models/investment-update.js +1 -1
  152. package/dist/esm/models/location-inner.d.ts +1 -1
  153. package/dist/esm/models/location-inner.js +1 -1
  154. package/dist/esm/models/measurement-type.d.ts +1 -1
  155. package/dist/esm/models/measurement-type.js +1 -1
  156. package/dist/esm/models/metric-costs-per-year-create.d.ts +1 -1
  157. package/dist/esm/models/metric-costs-per-year-create.js +1 -1
  158. package/dist/esm/models/metric-costs-per-year-response.d.ts +1 -1
  159. package/dist/esm/models/metric-costs-per-year-response.js +1 -1
  160. package/dist/esm/models/metric-costs-per-year-update.d.ts +1 -1
  161. package/dist/esm/models/metric-costs-per-year-update.js +1 -1
  162. package/dist/esm/models/metric-create.d.ts +1 -1
  163. package/dist/esm/models/metric-create.js +1 -1
  164. package/dist/esm/models/metric-performance-response.d.ts +1 -1
  165. package/dist/esm/models/metric-performance-response.js +1 -1
  166. package/dist/esm/models/metric-performance-year.d.ts +1 -1
  167. package/dist/esm/models/metric-performance-year.js +1 -1
  168. package/dist/esm/models/metric-response.d.ts +1 -1
  169. package/dist/esm/models/metric-response.js +1 -1
  170. package/dist/esm/models/metric-type.d.ts +1 -1
  171. package/dist/esm/models/metric-type.js +1 -1
  172. package/dist/esm/models/metric-update.d.ts +1 -1
  173. package/dist/esm/models/metric-update.js +1 -1
  174. package/dist/esm/models/monetized-impact-response.d.ts +1 -1
  175. package/dist/esm/models/monetized-impact-response.js +1 -1
  176. package/dist/esm/models/monetized-impact-year.d.ts +1 -1
  177. package/dist/esm/models/monetized-impact-year.js +1 -1
  178. package/dist/esm/models/objective-create.d.ts +1 -1
  179. package/dist/esm/models/objective-create.js +1 -1
  180. package/dist/esm/models/objective-response.d.ts +1 -1
  181. package/dist/esm/models/objective-response.js +1 -1
  182. package/dist/esm/models/objective-update.d.ts +1 -1
  183. package/dist/esm/models/objective-update.js +1 -1
  184. package/dist/esm/models/objective-weight-create.d.ts +1 -1
  185. package/dist/esm/models/objective-weight-create.js +1 -1
  186. package/dist/esm/models/objective-weight-response.d.ts +1 -1
  187. package/dist/esm/models/objective-weight-response.js +1 -1
  188. package/dist/esm/models/objective-weight-update.d.ts +1 -1
  189. package/dist/esm/models/objective-weight-update.js +1 -1
  190. package/dist/esm/models/option-chart-kpi.d.ts +1 -1
  191. package/dist/esm/models/option-chart-kpi.js +1 -1
  192. package/dist/esm/models/option-chart-kpis-yearly.d.ts +1 -1
  193. package/dist/esm/models/option-chart-kpis-yearly.js +1 -1
  194. package/dist/esm/models/option-create.d.ts +1 -1
  195. package/dist/esm/models/option-create.js +1 -1
  196. package/dist/esm/models/option-overview-response.d.ts +1 -1
  197. package/dist/esm/models/option-overview-response.js +1 -1
  198. package/dist/esm/models/option-response.d.ts +1 -1
  199. package/dist/esm/models/option-response.js +1 -1
  200. package/dist/esm/models/option-update.d.ts +1 -1
  201. package/dist/esm/models/option-update.js +1 -1
  202. package/dist/esm/models/portfolio-budget-expenditure-response.d.ts +1 -1
  203. package/dist/esm/models/portfolio-budget-expenditure-response.js +1 -1
  204. package/dist/esm/models/portfolio-budget-expenditure-year.d.ts +1 -1
  205. package/dist/esm/models/portfolio-budget-expenditure-year.js +1 -1
  206. package/dist/esm/models/portfolio-budget-usage-item.d.ts +1 -1
  207. package/dist/esm/models/portfolio-budget-usage-item.js +1 -1
  208. package/dist/esm/models/portfolio-bulk-delete-request.d.ts +1 -1
  209. package/dist/esm/models/portfolio-bulk-delete-request.js +1 -1
  210. package/dist/esm/models/portfolio-create.d.ts +1 -1
  211. package/dist/esm/models/portfolio-create.js +1 -1
  212. package/dist/esm/models/portfolio-investment-bulk-add-request.d.ts +1 -1
  213. package/dist/esm/models/portfolio-investment-bulk-add-request.js +1 -1
  214. package/dist/esm/models/portfolio-investment-bulk-add-response.d.ts +1 -1
  215. package/dist/esm/models/portfolio-investment-bulk-add-response.js +1 -1
  216. package/dist/esm/models/portfolio-investment-bulk-delete-request.d.ts +1 -1
  217. package/dist/esm/models/portfolio-investment-bulk-delete-request.js +1 -1
  218. package/dist/esm/models/portfolio-investment-response.d.ts +1 -1
  219. package/dist/esm/models/portfolio-investment-response.js +1 -1
  220. package/dist/esm/models/portfolio-kpidistribution-budget-item.d.ts +1 -1
  221. package/dist/esm/models/portfolio-kpidistribution-budget-item.js +1 -1
  222. package/dist/esm/models/portfolio-kpidistribution-response.d.ts +1 -1
  223. package/dist/esm/models/portfolio-kpidistribution-response.js +1 -1
  224. package/dist/esm/models/portfolio-kpidistribution-year-overrun.d.ts +1 -1
  225. package/dist/esm/models/portfolio-kpidistribution-year-overrun.js +1 -1
  226. package/dist/esm/models/portfolio-kpidistribution-year-value.d.ts +1 -1
  227. package/dist/esm/models/portfolio-kpidistribution-year-value.js +1 -1
  228. package/dist/esm/models/portfolio-kpioverrun-distribution-response.d.ts +1 -1
  229. package/dist/esm/models/portfolio-kpioverrun-distribution-response.js +1 -1
  230. package/dist/esm/models/portfolio-kpiresponse.d.ts +1 -1
  231. package/dist/esm/models/portfolio-kpiresponse.js +1 -1
  232. package/dist/esm/models/portfolio-overview-item-response.d.ts +1 -1
  233. package/dist/esm/models/portfolio-overview-item-response.js +1 -1
  234. package/dist/esm/models/portfolio-response.d.ts +1 -1
  235. package/dist/esm/models/portfolio-response.js +1 -1
  236. package/dist/esm/models/portfolio-update.d.ts +1 -1
  237. package/dist/esm/models/portfolio-update.js +1 -1
  238. package/dist/esm/models/preferred-option-request.d.ts +1 -1
  239. package/dist/esm/models/preferred-option-request.js +1 -1
  240. package/dist/esm/models/preferred-option-response.d.ts +1 -1
  241. package/dist/esm/models/preferred-option-response.js +1 -1
  242. package/dist/esm/models/validation-error.d.ts +1 -1
  243. package/dist/esm/models/validation-error.js +1 -1
  244. package/dist/esm/models/value-framework-create.d.ts +1 -1
  245. package/dist/esm/models/value-framework-create.js +1 -1
  246. package/dist/esm/models/value-framework-response.d.ts +1 -1
  247. package/dist/esm/models/value-framework-response.js +1 -1
  248. package/dist/esm/models/value-framework-update.d.ts +1 -1
  249. package/dist/esm/models/value-framework-update.js +1 -1
  250. package/dist/index.d.ts +1 -1
  251. package/dist/index.js +1 -1
  252. package/dist/models/budget-bulk-delete-request.d.ts +1 -1
  253. package/dist/models/budget-bulk-delete-request.js +1 -1
  254. package/dist/models/budget-create.d.ts +1 -1
  255. package/dist/models/budget-create.js +1 -1
  256. package/dist/models/budget-investment-response.d.ts +1 -1
  257. package/dist/models/budget-investment-response.js +1 -1
  258. package/dist/models/budget-link-options-request.d.ts +1 -1
  259. package/dist/models/budget-link-options-request.js +1 -1
  260. package/dist/models/budget-option-response.d.ts +1 -1
  261. package/dist/models/budget-option-response.js +1 -1
  262. package/dist/models/budget-overview-response.d.ts +1 -1
  263. package/dist/models/budget-overview-response.js +1 -1
  264. package/dist/models/budget-response.d.ts +1 -1
  265. package/dist/models/budget-response.js +1 -1
  266. package/dist/models/budget-update.d.ts +1 -1
  267. package/dist/models/budget-update.js +1 -1
  268. package/dist/models/bulk-delete-request.d.ts +1 -1
  269. package/dist/models/bulk-delete-request.js +1 -1
  270. package/dist/models/evolution-type.d.ts +1 -1
  271. package/dist/models/evolution-type.js +1 -1
  272. package/dist/models/httpvalidation-error.d.ts +1 -1
  273. package/dist/models/httpvalidation-error.js +1 -1
  274. package/dist/models/impact-apiresponse.d.ts +1 -1
  275. package/dist/models/impact-apiresponse.js +1 -1
  276. package/dist/models/impact-bulk-item.d.ts +1 -1
  277. package/dist/models/impact-bulk-item.js +1 -1
  278. package/dist/models/impact-create.d.ts +1 -1
  279. package/dist/models/impact-create.js +1 -1
  280. package/dist/models/impact-update.d.ts +1 -1
  281. package/dist/models/impact-update.js +1 -1
  282. package/dist/models/investment-create.d.ts +1 -1
  283. package/dist/models/investment-create.js +1 -1
  284. package/dist/models/investment-overview-response.d.ts +1 -1
  285. package/dist/models/investment-overview-response.js +1 -1
  286. package/dist/models/investment-response.d.ts +1 -1
  287. package/dist/models/investment-response.js +1 -1
  288. package/dist/models/investment-update.d.ts +1 -1
  289. package/dist/models/investment-update.js +1 -1
  290. package/dist/models/location-inner.d.ts +1 -1
  291. package/dist/models/location-inner.js +1 -1
  292. package/dist/models/measurement-type.d.ts +1 -1
  293. package/dist/models/measurement-type.js +1 -1
  294. package/dist/models/metric-costs-per-year-create.d.ts +1 -1
  295. package/dist/models/metric-costs-per-year-create.js +1 -1
  296. package/dist/models/metric-costs-per-year-response.d.ts +1 -1
  297. package/dist/models/metric-costs-per-year-response.js +1 -1
  298. package/dist/models/metric-costs-per-year-update.d.ts +1 -1
  299. package/dist/models/metric-costs-per-year-update.js +1 -1
  300. package/dist/models/metric-create.d.ts +1 -1
  301. package/dist/models/metric-create.js +1 -1
  302. package/dist/models/metric-performance-response.d.ts +1 -1
  303. package/dist/models/metric-performance-response.js +1 -1
  304. package/dist/models/metric-performance-year.d.ts +1 -1
  305. package/dist/models/metric-performance-year.js +1 -1
  306. package/dist/models/metric-response.d.ts +1 -1
  307. package/dist/models/metric-response.js +1 -1
  308. package/dist/models/metric-type.d.ts +1 -1
  309. package/dist/models/metric-type.js +1 -1
  310. package/dist/models/metric-update.d.ts +1 -1
  311. package/dist/models/metric-update.js +1 -1
  312. package/dist/models/monetized-impact-response.d.ts +1 -1
  313. package/dist/models/monetized-impact-response.js +1 -1
  314. package/dist/models/monetized-impact-year.d.ts +1 -1
  315. package/dist/models/monetized-impact-year.js +1 -1
  316. package/dist/models/objective-create.d.ts +1 -1
  317. package/dist/models/objective-create.js +1 -1
  318. package/dist/models/objective-response.d.ts +1 -1
  319. package/dist/models/objective-response.js +1 -1
  320. package/dist/models/objective-update.d.ts +1 -1
  321. package/dist/models/objective-update.js +1 -1
  322. package/dist/models/objective-weight-create.d.ts +1 -1
  323. package/dist/models/objective-weight-create.js +1 -1
  324. package/dist/models/objective-weight-response.d.ts +1 -1
  325. package/dist/models/objective-weight-response.js +1 -1
  326. package/dist/models/objective-weight-update.d.ts +1 -1
  327. package/dist/models/objective-weight-update.js +1 -1
  328. package/dist/models/option-chart-kpi.d.ts +1 -1
  329. package/dist/models/option-chart-kpi.js +1 -1
  330. package/dist/models/option-chart-kpis-yearly.d.ts +1 -1
  331. package/dist/models/option-chart-kpis-yearly.js +1 -1
  332. package/dist/models/option-create.d.ts +1 -1
  333. package/dist/models/option-create.js +1 -1
  334. package/dist/models/option-overview-response.d.ts +1 -1
  335. package/dist/models/option-overview-response.js +1 -1
  336. package/dist/models/option-response.d.ts +1 -1
  337. package/dist/models/option-response.js +1 -1
  338. package/dist/models/option-update.d.ts +1 -1
  339. package/dist/models/option-update.js +1 -1
  340. package/dist/models/portfolio-budget-expenditure-response.d.ts +1 -1
  341. package/dist/models/portfolio-budget-expenditure-response.js +1 -1
  342. package/dist/models/portfolio-budget-expenditure-year.d.ts +1 -1
  343. package/dist/models/portfolio-budget-expenditure-year.js +1 -1
  344. package/dist/models/portfolio-budget-usage-item.d.ts +1 -1
  345. package/dist/models/portfolio-budget-usage-item.js +1 -1
  346. package/dist/models/portfolio-bulk-delete-request.d.ts +1 -1
  347. package/dist/models/portfolio-bulk-delete-request.js +1 -1
  348. package/dist/models/portfolio-create.d.ts +1 -1
  349. package/dist/models/portfolio-create.js +1 -1
  350. package/dist/models/portfolio-investment-bulk-add-request.d.ts +1 -1
  351. package/dist/models/portfolio-investment-bulk-add-request.js +1 -1
  352. package/dist/models/portfolio-investment-bulk-add-response.d.ts +1 -1
  353. package/dist/models/portfolio-investment-bulk-add-response.js +1 -1
  354. package/dist/models/portfolio-investment-bulk-delete-request.d.ts +1 -1
  355. package/dist/models/portfolio-investment-bulk-delete-request.js +1 -1
  356. package/dist/models/portfolio-investment-response.d.ts +1 -1
  357. package/dist/models/portfolio-investment-response.js +1 -1
  358. package/dist/models/portfolio-kpidistribution-budget-item.d.ts +1 -1
  359. package/dist/models/portfolio-kpidistribution-budget-item.js +1 -1
  360. package/dist/models/portfolio-kpidistribution-response.d.ts +1 -1
  361. package/dist/models/portfolio-kpidistribution-response.js +1 -1
  362. package/dist/models/portfolio-kpidistribution-year-overrun.d.ts +1 -1
  363. package/dist/models/portfolio-kpidistribution-year-overrun.js +1 -1
  364. package/dist/models/portfolio-kpidistribution-year-value.d.ts +1 -1
  365. package/dist/models/portfolio-kpidistribution-year-value.js +1 -1
  366. package/dist/models/portfolio-kpioverrun-distribution-response.d.ts +1 -1
  367. package/dist/models/portfolio-kpioverrun-distribution-response.js +1 -1
  368. package/dist/models/portfolio-kpiresponse.d.ts +1 -1
  369. package/dist/models/portfolio-kpiresponse.js +1 -1
  370. package/dist/models/portfolio-overview-item-response.d.ts +1 -1
  371. package/dist/models/portfolio-overview-item-response.js +1 -1
  372. package/dist/models/portfolio-response.d.ts +1 -1
  373. package/dist/models/portfolio-response.js +1 -1
  374. package/dist/models/portfolio-update.d.ts +1 -1
  375. package/dist/models/portfolio-update.js +1 -1
  376. package/dist/models/preferred-option-request.d.ts +1 -1
  377. package/dist/models/preferred-option-request.js +1 -1
  378. package/dist/models/preferred-option-response.d.ts +1 -1
  379. package/dist/models/preferred-option-response.js +1 -1
  380. package/dist/models/validation-error.d.ts +1 -1
  381. package/dist/models/validation-error.js +1 -1
  382. package/dist/models/value-framework-create.d.ts +1 -1
  383. package/dist/models/value-framework-create.js +1 -1
  384. package/dist/models/value-framework-response.d.ts +1 -1
  385. package/dist/models/value-framework-response.js +1 -1
  386. package/dist/models/value-framework-update.d.ts +1 -1
  387. package/dist/models/value-framework-update.js +1 -1
  388. package/docs/BudgetApi.md +54 -2
  389. package/index.ts +1 -1
  390. package/models/budget-bulk-delete-request.ts +1 -1
  391. package/models/budget-create.ts +1 -1
  392. package/models/budget-investment-response.ts +1 -1
  393. package/models/budget-link-options-request.ts +1 -1
  394. package/models/budget-option-response.ts +1 -1
  395. package/models/budget-overview-response.ts +1 -1
  396. package/models/budget-response.ts +1 -1
  397. package/models/budget-update.ts +1 -1
  398. package/models/bulk-delete-request.ts +1 -1
  399. package/models/evolution-type.ts +1 -1
  400. package/models/httpvalidation-error.ts +1 -1
  401. package/models/impact-apiresponse.ts +1 -1
  402. package/models/impact-bulk-item.ts +1 -1
  403. package/models/impact-create.ts +1 -1
  404. package/models/impact-update.ts +1 -1
  405. package/models/investment-create.ts +1 -1
  406. package/models/investment-overview-response.ts +1 -1
  407. package/models/investment-response.ts +1 -1
  408. package/models/investment-update.ts +1 -1
  409. package/models/location-inner.ts +1 -1
  410. package/models/measurement-type.ts +1 -1
  411. package/models/metric-costs-per-year-create.ts +1 -1
  412. package/models/metric-costs-per-year-response.ts +1 -1
  413. package/models/metric-costs-per-year-update.ts +1 -1
  414. package/models/metric-create.ts +1 -1
  415. package/models/metric-performance-response.ts +1 -1
  416. package/models/metric-performance-year.ts +1 -1
  417. package/models/metric-response.ts +1 -1
  418. package/models/metric-type.ts +1 -1
  419. package/models/metric-update.ts +1 -1
  420. package/models/monetized-impact-response.ts +1 -1
  421. package/models/monetized-impact-year.ts +1 -1
  422. package/models/objective-create.ts +1 -1
  423. package/models/objective-response.ts +1 -1
  424. package/models/objective-update.ts +1 -1
  425. package/models/objective-weight-create.ts +1 -1
  426. package/models/objective-weight-response.ts +1 -1
  427. package/models/objective-weight-update.ts +1 -1
  428. package/models/option-chart-kpi.ts +1 -1
  429. package/models/option-chart-kpis-yearly.ts +1 -1
  430. package/models/option-create.ts +1 -1
  431. package/models/option-overview-response.ts +1 -1
  432. package/models/option-response.ts +1 -1
  433. package/models/option-update.ts +1 -1
  434. package/models/portfolio-budget-expenditure-response.ts +1 -1
  435. package/models/portfolio-budget-expenditure-year.ts +1 -1
  436. package/models/portfolio-budget-usage-item.ts +1 -1
  437. package/models/portfolio-bulk-delete-request.ts +1 -1
  438. package/models/portfolio-create.ts +1 -1
  439. package/models/portfolio-investment-bulk-add-request.ts +1 -1
  440. package/models/portfolio-investment-bulk-add-response.ts +1 -1
  441. package/models/portfolio-investment-bulk-delete-request.ts +1 -1
  442. package/models/portfolio-investment-response.ts +1 -1
  443. package/models/portfolio-kpidistribution-budget-item.ts +1 -1
  444. package/models/portfolio-kpidistribution-response.ts +1 -1
  445. package/models/portfolio-kpidistribution-year-overrun.ts +1 -1
  446. package/models/portfolio-kpidistribution-year-value.ts +1 -1
  447. package/models/portfolio-kpioverrun-distribution-response.ts +1 -1
  448. package/models/portfolio-kpiresponse.ts +1 -1
  449. package/models/portfolio-overview-item-response.ts +1 -1
  450. package/models/portfolio-response.ts +1 -1
  451. package/models/portfolio-update.ts +1 -1
  452. package/models/preferred-option-request.ts +1 -1
  453. package/models/preferred-option-response.ts +1 -1
  454. package/models/validation-error.ts +1 -1
  455. package/models/value-framework-create.ts +1 -1
  456. package/models/value-framework-response.ts +1 -1
  457. package/models/value-framework-update.ts +1 -1
  458. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @cosmotech/aip-client@0.4.0-dev1
1
+ ## @cosmotech/aip-client@0.4.0-dev2
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-dev1 --save
39
+ npm install @cosmotech/aip-client@0.4.0-dev2 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -54,11 +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 | 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
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
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
63
  *BudgetApi* | [**patchBudget**](docs/BudgetApi.md#patchbudget) | **PATCH** /budget/{budget_id} | Partially update a budget
63
64
  *BudgetApi* | [**postBudget**](docs/BudgetApi.md#postbudget) | **POST** /budget/ | Create a budget
64
65
  *DefaultApi* | [**root**](docs/DefaultApi.md#root) | **GET** /about | Root
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-dev1
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).
@@ -168,8 +168,9 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
168
168
  assertParamExists('getBudgetInvestments', 'budgetId', budgetId)
169
169
  // verify required parameter 'valueFrameworkId' is not null or undefined
170
170
  assertParamExists('getBudgetInvestments', 'valueFrameworkId', valueFrameworkId)
171
- const localVarPath = `/budget/{budget_id}/investments`
172
- .replace(`{${"budget_id"}}`, encodeURIComponent(String(budgetId)));
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)));
173
174
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
174
175
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
175
176
  let baseOptions;
@@ -185,10 +186,6 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
185
186
  // oauth required
186
187
  await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
187
188
 
188
- if (valueFrameworkId !== undefined) {
189
- localVarQueryParameter['value_framework_id'] = valueFrameworkId;
190
- }
191
-
192
189
  localVarHeaderParameter['Accept'] = 'application/json';
193
190
 
194
191
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -213,8 +210,9 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
213
210
  assertParamExists('getBudgetOptions', 'budgetId', budgetId)
214
211
  // verify required parameter 'valueFrameworkId' is not null or undefined
215
212
  assertParamExists('getBudgetOptions', 'valueFrameworkId', valueFrameworkId)
216
- const localVarPath = `/budget/{budget_id}/options`
217
- .replace(`{${"budget_id"}}`, encodeURIComponent(String(budgetId)));
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)));
218
216
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
219
217
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
220
218
  let baseOptions;
@@ -230,10 +228,6 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
230
228
  // oauth required
231
229
  await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
232
230
 
233
- if (valueFrameworkId !== undefined) {
234
- localVarQueryParameter['value_framework_id'] = valueFrameworkId;
235
- }
236
-
237
231
  localVarHeaderParameter['Accept'] = 'application/json';
238
232
 
239
233
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -370,6 +364,44 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
370
364
  options: localVarRequestOptions,
371
365
  };
372
366
  },
367
+ /**
368
+ * Returns a list of all options, with their investment context and NPV.
369
+ * @summary List all options available to be added to a budget
370
+ * @param {string} valueFrameworkId UUID of the value framework
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ */
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)));
379
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
380
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
381
+ let baseOptions;
382
+ if (configuration) {
383
+ baseOptions = configuration.baseOptions;
384
+ }
385
+
386
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
387
+ const localVarHeaderParameter = {} as any;
388
+ const localVarQueryParameter = {} as any;
389
+
390
+ // authentication OAuth2AuthorizationCodeBearer required
391
+ // oauth required
392
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
393
+
394
+ localVarHeaderParameter['Accept'] = 'application/json';
395
+
396
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
397
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
398
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
399
+
400
+ return {
401
+ url: toPathString(localVarUrlObj),
402
+ options: localVarRequestOptions,
403
+ };
404
+ },
373
405
  /**
374
406
  * Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
375
407
  * @summary Partially update a budget
@@ -569,6 +601,19 @@ export const BudgetApiFp = function(configuration?: Configuration) {
569
601
  const localVarOperationServerBasePath = operationServerMap['BudgetApi.linkOptionsToBudget']?.[localVarOperationServerIndex]?.url;
570
602
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
571
603
  },
604
+ /**
605
+ * Returns a list of all options, with their investment context and NPV.
606
+ * @summary List all options available to be added to a budget
607
+ * @param {string} valueFrameworkId UUID of the value framework
608
+ * @param {*} [options] Override http request option.
609
+ * @throws {RequiredError}
610
+ */
611
+ async listAvailableOptions(valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetOptionResponse>>> {
612
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableOptions(valueFrameworkId, options);
613
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
614
+ const localVarOperationServerBasePath = operationServerMap['BudgetApi.listAvailableOptions']?.[localVarOperationServerIndex]?.url;
615
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
616
+ },
572
617
  /**
573
618
  * Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
574
619
  * @summary Partially update a budget
@@ -689,6 +734,16 @@ export const BudgetApiFactory = function (configuration?: Configuration, basePat
689
734
  linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
690
735
  return localVarFp.linkOptionsToBudget(budgetId, budgetLinkOptionsRequest, options).then((request) => request(axios, basePath));
691
736
  },
737
+ /**
738
+ * Returns a list of all options, with their investment context and NPV.
739
+ * @summary List all options available to be added to a budget
740
+ * @param {string} valueFrameworkId UUID of the value framework
741
+ * @param {*} [options] Override http request option.
742
+ * @throws {RequiredError}
743
+ */
744
+ listAvailableOptions(valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetOptionResponse>> {
745
+ return localVarFp.listAvailableOptions(valueFrameworkId, options).then((request) => request(axios, basePath));
746
+ },
692
747
  /**
693
748
  * Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
694
749
  * @summary Partially update a budget
@@ -809,6 +864,17 @@ export class BudgetApi extends BaseAPI {
809
864
  return BudgetApiFp(this.configuration).linkOptionsToBudget(budgetId, budgetLinkOptionsRequest, options).then((request) => request(this.axios, this.basePath));
810
865
  }
811
866
 
867
+ /**
868
+ * Returns a list of all options, with their investment context and NPV.
869
+ * @summary List all options available to be added to a budget
870
+ * @param {string} valueFrameworkId UUID of the value framework
871
+ * @param {*} [options] Override http request option.
872
+ * @throws {RequiredError}
873
+ */
874
+ public listAvailableOptions(valueFrameworkId: string, options?: RawAxiosRequestConfig) {
875
+ return BudgetApiFp(this.configuration).listAvailableOptions(valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
876
+ }
877
+
812
878
  /**
813
879
  * Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
814
880
  * @summary Partially update a budget
@@ -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-dev1
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).
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-dev1
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).
@@ -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-dev1
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).
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-dev1
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).
@@ -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-dev1
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).
@@ -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-dev1
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).
@@ -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-dev1
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).
@@ -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-dev1
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).
@@ -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-dev1
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).
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-dev1
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).
@@ -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-dev1
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).
@@ -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-dev1
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).
@@ -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-dev1
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).
@@ -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-dev1
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).
@@ -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-dev1
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).
@@ -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-dev1
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).
@@ -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-dev1
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).
package/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-dev1
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).
package/base.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-dev1
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).
package/common.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-dev1
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).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Asset Investment Planning
4
4
  * API for Asset Investment Planning
5
5
  *
6
- * The version of the OpenAPI document: 0.4.0-dev1
6
+ * The version of the OpenAPI document: 0.4.0-dev2
7
7
  *
8
8
  *
9
9
  * 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.4.0-dev1
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).
@@ -92,6 +92,14 @@ export declare const BudgetApiAxiosParamCreator: (configuration?: Configuration)
92
92
  * @throws {RequiredError}
93
93
  */
94
94
  linkOptionsToBudget: (budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
95
+ /**
96
+ * Returns a list of all options, with their investment context and NPV.
97
+ * @summary List all options available to be added to a budget
98
+ * @param {string} valueFrameworkId UUID of the value framework
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ listAvailableOptions: (valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
95
103
  /**
96
104
  * Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
97
105
  * @summary Partially update a budget
@@ -182,6 +190,14 @@ export declare const BudgetApiFp: (configuration?: Configuration) => {
182
190
  * @throws {RequiredError}
183
191
  */
184
192
  linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
193
+ /**
194
+ * Returns a list of all options, with their investment context and NPV.
195
+ * @summary List all options available to be added to a budget
196
+ * @param {string} valueFrameworkId UUID of the value framework
197
+ * @param {*} [options] Override http request option.
198
+ * @throws {RequiredError}
199
+ */
200
+ listAvailableOptions(valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetOptionResponse>>>;
185
201
  /**
186
202
  * Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
187
203
  * @summary Partially update a budget
@@ -272,6 +288,14 @@ export declare const BudgetApiFactory: (configuration?: Configuration, basePath?
272
288
  * @throws {RequiredError}
273
289
  */
274
290
  linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
291
+ /**
292
+ * Returns a list of all options, with their investment context and NPV.
293
+ * @summary List all options available to be added to a budget
294
+ * @param {string} valueFrameworkId UUID of the value framework
295
+ * @param {*} [options] Override http request option.
296
+ * @throws {RequiredError}
297
+ */
298
+ listAvailableOptions(valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetOptionResponse>>;
275
299
  /**
276
300
  * Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
277
301
  * @summary Partially update a budget
@@ -362,6 +386,14 @@ export declare class BudgetApi extends BaseAPI {
362
386
  * @throws {RequiredError}
363
387
  */
364
388
  linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
389
+ /**
390
+ * Returns a list of all options, with their investment context and NPV.
391
+ * @summary List all options available to be added to a budget
392
+ * @param {string} valueFrameworkId UUID of the value framework
393
+ * @param {*} [options] Override http request option.
394
+ * @throws {RequiredError}
395
+ */
396
+ listAvailableOptions(valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetOptionResponse[], any, {}>>;
365
397
  /**
366
398
  * Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
367
399
  * @summary Partially update a budget
@@ -5,7 +5,7 @@
5
5
  * Asset Investment Planning
6
6
  * API for Asset Investment Planning
7
7
  *
8
- * The version of the OpenAPI document: 0.4.0-dev1
8
+ * The version of the OpenAPI document: 0.4.0-dev2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -145,8 +145,9 @@ const BudgetApiAxiosParamCreator = function (configuration) {
145
145
  (0, common_1.assertParamExists)('getBudgetInvestments', 'budgetId', budgetId);
146
146
  // verify required parameter 'valueFrameworkId' is not null or undefined
147
147
  (0, common_1.assertParamExists)('getBudgetInvestments', 'valueFrameworkId', valueFrameworkId);
148
- const localVarPath = `/budget/{budget_id}/investments`
149
- .replace(`{${"budget_id"}}`, encodeURIComponent(String(budgetId)));
148
+ const localVarPath = `/budget/{budget_id}/investments/{value_framework_id}`
149
+ .replace(`{${"budget_id"}}`, encodeURIComponent(String(budgetId)))
150
+ .replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
150
151
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
151
152
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
152
153
  let baseOptions;
@@ -159,9 +160,6 @@ const BudgetApiAxiosParamCreator = function (configuration) {
159
160
  // authentication OAuth2AuthorizationCodeBearer required
160
161
  // oauth required
161
162
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
162
- if (valueFrameworkId !== undefined) {
163
- localVarQueryParameter['value_framework_id'] = valueFrameworkId;
164
- }
165
163
  localVarHeaderParameter['Accept'] = 'application/json';
166
164
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
167
165
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -184,8 +182,9 @@ const BudgetApiAxiosParamCreator = function (configuration) {
184
182
  (0, common_1.assertParamExists)('getBudgetOptions', 'budgetId', budgetId);
185
183
  // verify required parameter 'valueFrameworkId' is not null or undefined
186
184
  (0, common_1.assertParamExists)('getBudgetOptions', 'valueFrameworkId', valueFrameworkId);
187
- const localVarPath = `/budget/{budget_id}/options`
188
- .replace(`{${"budget_id"}}`, encodeURIComponent(String(budgetId)));
185
+ const localVarPath = `/budget/{budget_id}/options/{value_framework_id}`
186
+ .replace(`{${"budget_id"}}`, encodeURIComponent(String(budgetId)))
187
+ .replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
189
188
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
190
189
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
191
190
  let baseOptions;
@@ -198,9 +197,6 @@ const BudgetApiAxiosParamCreator = function (configuration) {
198
197
  // authentication OAuth2AuthorizationCodeBearer required
199
198
  // oauth required
200
199
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
201
- if (valueFrameworkId !== undefined) {
202
- localVarQueryParameter['value_framework_id'] = valueFrameworkId;
203
- }
204
200
  localVarHeaderParameter['Accept'] = 'application/json';
205
201
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
206
202
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -318,6 +314,39 @@ const BudgetApiAxiosParamCreator = function (configuration) {
318
314
  options: localVarRequestOptions,
319
315
  };
320
316
  }),
317
+ /**
318
+ * Returns a list of all options, with their investment context and NPV.
319
+ * @summary List all options available to be added to a budget
320
+ * @param {string} valueFrameworkId UUID of the value framework
321
+ * @param {*} [options] Override http request option.
322
+ * @throws {RequiredError}
323
+ */
324
+ listAvailableOptions: (valueFrameworkId_1, ...args_1) => __awaiter(this, [valueFrameworkId_1, ...args_1], void 0, function* (valueFrameworkId, options = {}) {
325
+ // verify required parameter 'valueFrameworkId' is not null or undefined
326
+ (0, common_1.assertParamExists)('listAvailableOptions', 'valueFrameworkId', valueFrameworkId);
327
+ const localVarPath = `/budget/list-available-options/{value_framework_id}`
328
+ .replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
329
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
330
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
331
+ let baseOptions;
332
+ if (configuration) {
333
+ baseOptions = configuration.baseOptions;
334
+ }
335
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
336
+ const localVarHeaderParameter = {};
337
+ const localVarQueryParameter = {};
338
+ // authentication OAuth2AuthorizationCodeBearer required
339
+ // oauth required
340
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
341
+ localVarHeaderParameter['Accept'] = 'application/json';
342
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
343
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
344
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
345
+ return {
346
+ url: (0, common_1.toPathString)(localVarUrlObj),
347
+ options: localVarRequestOptions,
348
+ };
349
+ }),
321
350
  /**
322
351
  * Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
323
352
  * @summary Partially update a budget
@@ -531,6 +560,22 @@ const BudgetApiFp = function (configuration) {
531
560
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
532
561
  });
533
562
  },
563
+ /**
564
+ * Returns a list of all options, with their investment context and NPV.
565
+ * @summary List all options available to be added to a budget
566
+ * @param {string} valueFrameworkId UUID of the value framework
567
+ * @param {*} [options] Override http request option.
568
+ * @throws {RequiredError}
569
+ */
570
+ listAvailableOptions(valueFrameworkId, options) {
571
+ return __awaiter(this, void 0, void 0, function* () {
572
+ var _a, _b, _c;
573
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listAvailableOptions(valueFrameworkId, options);
574
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
575
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BudgetApi.listAvailableOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
576
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
577
+ });
578
+ },
534
579
  /**
535
580
  * Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
536
581
  * @summary Partially update a budget
@@ -657,6 +702,16 @@ const BudgetApiFactory = function (configuration, basePath, axios) {
657
702
  linkOptionsToBudget(budgetId, budgetLinkOptionsRequest, options) {
658
703
  return localVarFp.linkOptionsToBudget(budgetId, budgetLinkOptionsRequest, options).then((request) => request(axios, basePath));
659
704
  },
705
+ /**
706
+ * Returns a list of all options, with their investment context and NPV.
707
+ * @summary List all options available to be added to a budget
708
+ * @param {string} valueFrameworkId UUID of the value framework
709
+ * @param {*} [options] Override http request option.
710
+ * @throws {RequiredError}
711
+ */
712
+ listAvailableOptions(valueFrameworkId, options) {
713
+ return localVarFp.listAvailableOptions(valueFrameworkId, options).then((request) => request(axios, basePath));
714
+ },
660
715
  /**
661
716
  * Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
662
717
  * @summary Partially update a budget
@@ -769,6 +824,16 @@ class BudgetApi extends base_1.BaseAPI {
769
824
  linkOptionsToBudget(budgetId, budgetLinkOptionsRequest, options) {
770
825
  return (0, exports.BudgetApiFp)(this.configuration).linkOptionsToBudget(budgetId, budgetLinkOptionsRequest, options).then((request) => request(this.axios, this.basePath));
771
826
  }
827
+ /**
828
+ * Returns a list of all options, with their investment context and NPV.
829
+ * @summary List all options available to be added to a budget
830
+ * @param {string} valueFrameworkId UUID of the value framework
831
+ * @param {*} [options] Override http request option.
832
+ * @throws {RequiredError}
833
+ */
834
+ listAvailableOptions(valueFrameworkId, options) {
835
+ return (0, exports.BudgetApiFp)(this.configuration).listAvailableOptions(valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
836
+ }
772
837
  /**
773
838
  * Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
774
839
  * @summary Partially update a budget
@@ -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.4.0-dev1
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).
@@ -5,7 +5,7 @@
5
5
  * Asset Investment Planning
6
6
  * API for Asset Investment Planning
7
7
  *
8
- * The version of the OpenAPI document: 0.4.0-dev1
8
+ * The version of the OpenAPI document: 0.4.0-dev2
9
9
  *
10
10
  *
11
11
  * 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.4.0-dev1
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).