@cosmotech/aip-client 0.2.0-dev7 → 0.3.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 (340) hide show
  1. package/README.md +20 -2
  2. package/api/budget-api.ts +835 -0
  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/preferred-option-api.ts +1 -1
  14. package/api/value-framework-api.ts +1 -1
  15. package/api/value-framework-costs-api.ts +1 -1
  16. package/api/value-framework-weights-api.ts +1 -1
  17. package/api.ts +2 -1
  18. package/base.ts +1 -1
  19. package/common.ts +1 -1
  20. package/configuration.ts +1 -1
  21. package/dist/api/budget-api.d.ts +382 -0
  22. package/dist/api/budget-api.js +794 -0
  23. package/dist/api/default-api.d.ts +1 -1
  24. package/dist/api/default-api.js +1 -1
  25. package/dist/api/impact-api.d.ts +1 -1
  26. package/dist/api/impact-api.js +1 -1
  27. package/dist/api/investment-api.d.ts +1 -1
  28. package/dist/api/investment-api.js +1 -1
  29. package/dist/api/metric-api.d.ts +1 -1
  30. package/dist/api/metric-api.js +1 -1
  31. package/dist/api/metric-costs-api.d.ts +1 -1
  32. package/dist/api/metric-costs-api.js +1 -1
  33. package/dist/api/metric-costs-per-year-api.d.ts +1 -1
  34. package/dist/api/metric-costs-per-year-api.js +1 -1
  35. package/dist/api/objective-api.d.ts +1 -1
  36. package/dist/api/objective-api.js +1 -1
  37. package/dist/api/objective-weight-api.d.ts +1 -1
  38. package/dist/api/objective-weight-api.js +1 -1
  39. package/dist/api/objective-weights-api.d.ts +1 -1
  40. package/dist/api/objective-weights-api.js +1 -1
  41. package/dist/api/option-api.d.ts +1 -1
  42. package/dist/api/option-api.js +1 -1
  43. package/dist/api/preferred-option-api.d.ts +1 -1
  44. package/dist/api/preferred-option-api.js +1 -1
  45. package/dist/api/value-framework-api.d.ts +1 -1
  46. package/dist/api/value-framework-api.js +1 -1
  47. package/dist/api/value-framework-costs-api.d.ts +1 -1
  48. package/dist/api/value-framework-costs-api.js +1 -1
  49. package/dist/api/value-framework-weights-api.d.ts +1 -1
  50. package/dist/api/value-framework-weights-api.js +1 -1
  51. package/dist/api.d.ts +2 -1
  52. package/dist/api.js +2 -1
  53. package/dist/base.d.ts +1 -1
  54. package/dist/base.js +1 -1
  55. package/dist/common.d.ts +1 -1
  56. package/dist/common.js +1 -1
  57. package/dist/configuration.d.ts +1 -1
  58. package/dist/configuration.js +1 -1
  59. package/dist/esm/api/budget-api.d.ts +382 -0
  60. package/dist/esm/api/budget-api.js +787 -0
  61. package/dist/esm/api/default-api.d.ts +1 -1
  62. package/dist/esm/api/default-api.js +1 -1
  63. package/dist/esm/api/impact-api.d.ts +1 -1
  64. package/dist/esm/api/impact-api.js +1 -1
  65. package/dist/esm/api/investment-api.d.ts +1 -1
  66. package/dist/esm/api/investment-api.js +1 -1
  67. package/dist/esm/api/metric-api.d.ts +1 -1
  68. package/dist/esm/api/metric-api.js +1 -1
  69. package/dist/esm/api/metric-costs-api.d.ts +1 -1
  70. package/dist/esm/api/metric-costs-api.js +1 -1
  71. package/dist/esm/api/metric-costs-per-year-api.d.ts +1 -1
  72. package/dist/esm/api/metric-costs-per-year-api.js +1 -1
  73. package/dist/esm/api/objective-api.d.ts +1 -1
  74. package/dist/esm/api/objective-api.js +1 -1
  75. package/dist/esm/api/objective-weight-api.d.ts +1 -1
  76. package/dist/esm/api/objective-weight-api.js +1 -1
  77. package/dist/esm/api/objective-weights-api.d.ts +1 -1
  78. package/dist/esm/api/objective-weights-api.js +1 -1
  79. package/dist/esm/api/option-api.d.ts +1 -1
  80. package/dist/esm/api/option-api.js +1 -1
  81. package/dist/esm/api/preferred-option-api.d.ts +1 -1
  82. package/dist/esm/api/preferred-option-api.js +1 -1
  83. package/dist/esm/api/value-framework-api.d.ts +1 -1
  84. package/dist/esm/api/value-framework-api.js +1 -1
  85. package/dist/esm/api/value-framework-costs-api.d.ts +1 -1
  86. package/dist/esm/api/value-framework-costs-api.js +1 -1
  87. package/dist/esm/api/value-framework-weights-api.d.ts +1 -1
  88. package/dist/esm/api/value-framework-weights-api.js +1 -1
  89. package/dist/esm/api.d.ts +2 -1
  90. package/dist/esm/api.js +2 -1
  91. package/dist/esm/base.d.ts +1 -1
  92. package/dist/esm/base.js +1 -1
  93. package/dist/esm/common.d.ts +1 -1
  94. package/dist/esm/common.js +1 -1
  95. package/dist/esm/configuration.d.ts +1 -1
  96. package/dist/esm/configuration.js +1 -1
  97. package/dist/esm/index.d.ts +1 -1
  98. package/dist/esm/index.js +1 -1
  99. package/dist/esm/models/budget-bulk-delete-request.d.ts +20 -0
  100. package/dist/esm/models/budget-bulk-delete-request.js +14 -0
  101. package/dist/esm/models/budget-create.d.ts +22 -0
  102. package/dist/esm/models/budget-create.js +14 -0
  103. package/dist/esm/models/budget-investment-response.d.ts +34 -0
  104. package/dist/esm/models/budget-investment-response.js +14 -0
  105. package/dist/esm/models/budget-link-options-request.d.ts +20 -0
  106. package/dist/esm/models/budget-link-options-request.js +14 -0
  107. package/dist/esm/models/budget-option-response.d.ts +50 -0
  108. package/dist/esm/models/budget-option-response.js +14 -0
  109. package/dist/esm/models/budget-overview-response.d.ts +25 -0
  110. package/dist/esm/models/budget-overview-response.js +14 -0
  111. package/dist/esm/models/budget-response.d.ts +26 -0
  112. package/dist/esm/models/budget-response.js +14 -0
  113. package/dist/esm/models/budget-update.d.ts +19 -0
  114. package/dist/esm/models/budget-update.js +14 -0
  115. package/dist/esm/models/evolution-type.d.ts +1 -1
  116. package/dist/esm/models/evolution-type.js +1 -1
  117. package/dist/esm/models/httpvalidation-error.d.ts +1 -1
  118. package/dist/esm/models/httpvalidation-error.js +1 -1
  119. package/dist/esm/models/impact-apiresponse.d.ts +1 -1
  120. package/dist/esm/models/impact-apiresponse.js +1 -1
  121. package/dist/esm/models/impact-create.d.ts +1 -1
  122. package/dist/esm/models/impact-create.js +1 -1
  123. package/dist/esm/models/impact-update.d.ts +1 -1
  124. package/dist/esm/models/impact-update.js +1 -1
  125. package/dist/esm/models/index.d.ts +8 -0
  126. package/dist/esm/models/index.js +8 -0
  127. package/dist/esm/models/investment-create.d.ts +1 -1
  128. package/dist/esm/models/investment-create.js +1 -1
  129. package/dist/esm/models/investment-overview-response.d.ts +1 -1
  130. package/dist/esm/models/investment-overview-response.js +1 -1
  131. package/dist/esm/models/investment-response.d.ts +1 -1
  132. package/dist/esm/models/investment-response.js +1 -1
  133. package/dist/esm/models/investment-update.d.ts +1 -1
  134. package/dist/esm/models/investment-update.js +1 -1
  135. package/dist/esm/models/location-inner.d.ts +1 -1
  136. package/dist/esm/models/location-inner.js +1 -1
  137. package/dist/esm/models/measurement-type.d.ts +1 -1
  138. package/dist/esm/models/measurement-type.js +1 -1
  139. package/dist/esm/models/metric-costs-per-year-create.d.ts +1 -1
  140. package/dist/esm/models/metric-costs-per-year-create.js +1 -1
  141. package/dist/esm/models/metric-costs-per-year-response.d.ts +1 -1
  142. package/dist/esm/models/metric-costs-per-year-response.js +1 -1
  143. package/dist/esm/models/metric-costs-per-year-update.d.ts +1 -1
  144. package/dist/esm/models/metric-costs-per-year-update.js +1 -1
  145. package/dist/esm/models/metric-create.d.ts +1 -1
  146. package/dist/esm/models/metric-create.js +1 -1
  147. package/dist/esm/models/metric-response.d.ts +1 -1
  148. package/dist/esm/models/metric-response.js +1 -1
  149. package/dist/esm/models/metric-type.d.ts +1 -1
  150. package/dist/esm/models/metric-type.js +1 -1
  151. package/dist/esm/models/metric-update.d.ts +1 -1
  152. package/dist/esm/models/metric-update.js +1 -1
  153. package/dist/esm/models/objective-create.d.ts +1 -1
  154. package/dist/esm/models/objective-create.js +1 -1
  155. package/dist/esm/models/objective-response.d.ts +1 -1
  156. package/dist/esm/models/objective-response.js +1 -1
  157. package/dist/esm/models/objective-update.d.ts +1 -1
  158. package/dist/esm/models/objective-update.js +1 -1
  159. package/dist/esm/models/objective-weight-create.d.ts +1 -1
  160. package/dist/esm/models/objective-weight-create.js +1 -1
  161. package/dist/esm/models/objective-weight-response.d.ts +1 -1
  162. package/dist/esm/models/objective-weight-response.js +1 -1
  163. package/dist/esm/models/objective-weight-update.d.ts +1 -1
  164. package/dist/esm/models/objective-weight-update.js +1 -1
  165. package/dist/esm/models/option-chart-kpi.d.ts +1 -1
  166. package/dist/esm/models/option-chart-kpi.js +1 -1
  167. package/dist/esm/models/option-chart-kpis-yearly.d.ts +1 -1
  168. package/dist/esm/models/option-chart-kpis-yearly.js +1 -1
  169. package/dist/esm/models/option-create.d.ts +2 -1
  170. package/dist/esm/models/option-create.js +1 -1
  171. package/dist/esm/models/option-overview-response.d.ts +2 -1
  172. package/dist/esm/models/option-overview-response.js +1 -1
  173. package/dist/esm/models/option-response.d.ts +2 -1
  174. package/dist/esm/models/option-response.js +1 -1
  175. package/dist/esm/models/option-update.d.ts +2 -1
  176. package/dist/esm/models/option-update.js +1 -1
  177. package/dist/esm/models/preferred-option-request.d.ts +1 -1
  178. package/dist/esm/models/preferred-option-request.js +1 -1
  179. package/dist/esm/models/preferred-option-response.d.ts +1 -1
  180. package/dist/esm/models/preferred-option-response.js +1 -1
  181. package/dist/esm/models/validation-error.d.ts +1 -1
  182. package/dist/esm/models/validation-error.js +1 -1
  183. package/dist/esm/models/value-framework-create.d.ts +1 -1
  184. package/dist/esm/models/value-framework-create.js +1 -1
  185. package/dist/esm/models/value-framework-response.d.ts +1 -1
  186. package/dist/esm/models/value-framework-response.js +1 -1
  187. package/dist/esm/models/value-framework-update.d.ts +1 -1
  188. package/dist/esm/models/value-framework-update.js +1 -1
  189. package/dist/index.d.ts +1 -1
  190. package/dist/index.js +1 -1
  191. package/dist/models/budget-bulk-delete-request.d.ts +20 -0
  192. package/dist/models/budget-bulk-delete-request.js +15 -0
  193. package/dist/models/budget-create.d.ts +22 -0
  194. package/dist/models/budget-create.js +15 -0
  195. package/dist/models/budget-investment-response.d.ts +34 -0
  196. package/dist/models/budget-investment-response.js +15 -0
  197. package/dist/models/budget-link-options-request.d.ts +20 -0
  198. package/dist/models/budget-link-options-request.js +15 -0
  199. package/dist/models/budget-option-response.d.ts +50 -0
  200. package/dist/models/budget-option-response.js +15 -0
  201. package/dist/models/budget-overview-response.d.ts +25 -0
  202. package/dist/models/budget-overview-response.js +15 -0
  203. package/dist/models/budget-response.d.ts +26 -0
  204. package/dist/models/budget-response.js +15 -0
  205. package/dist/models/budget-update.d.ts +19 -0
  206. package/dist/models/budget-update.js +15 -0
  207. package/dist/models/evolution-type.d.ts +1 -1
  208. package/dist/models/evolution-type.js +1 -1
  209. package/dist/models/httpvalidation-error.d.ts +1 -1
  210. package/dist/models/httpvalidation-error.js +1 -1
  211. package/dist/models/impact-apiresponse.d.ts +1 -1
  212. package/dist/models/impact-apiresponse.js +1 -1
  213. package/dist/models/impact-create.d.ts +1 -1
  214. package/dist/models/impact-create.js +1 -1
  215. package/dist/models/impact-update.d.ts +1 -1
  216. package/dist/models/impact-update.js +1 -1
  217. package/dist/models/index.d.ts +8 -0
  218. package/dist/models/index.js +8 -0
  219. package/dist/models/investment-create.d.ts +1 -1
  220. package/dist/models/investment-create.js +1 -1
  221. package/dist/models/investment-overview-response.d.ts +1 -1
  222. package/dist/models/investment-overview-response.js +1 -1
  223. package/dist/models/investment-response.d.ts +1 -1
  224. package/dist/models/investment-response.js +1 -1
  225. package/dist/models/investment-update.d.ts +1 -1
  226. package/dist/models/investment-update.js +1 -1
  227. package/dist/models/location-inner.d.ts +1 -1
  228. package/dist/models/location-inner.js +1 -1
  229. package/dist/models/measurement-type.d.ts +1 -1
  230. package/dist/models/measurement-type.js +1 -1
  231. package/dist/models/metric-costs-per-year-create.d.ts +1 -1
  232. package/dist/models/metric-costs-per-year-create.js +1 -1
  233. package/dist/models/metric-costs-per-year-response.d.ts +1 -1
  234. package/dist/models/metric-costs-per-year-response.js +1 -1
  235. package/dist/models/metric-costs-per-year-update.d.ts +1 -1
  236. package/dist/models/metric-costs-per-year-update.js +1 -1
  237. package/dist/models/metric-create.d.ts +1 -1
  238. package/dist/models/metric-create.js +1 -1
  239. package/dist/models/metric-response.d.ts +1 -1
  240. package/dist/models/metric-response.js +1 -1
  241. package/dist/models/metric-type.d.ts +1 -1
  242. package/dist/models/metric-type.js +1 -1
  243. package/dist/models/metric-update.d.ts +1 -1
  244. package/dist/models/metric-update.js +1 -1
  245. package/dist/models/objective-create.d.ts +1 -1
  246. package/dist/models/objective-create.js +1 -1
  247. package/dist/models/objective-response.d.ts +1 -1
  248. package/dist/models/objective-response.js +1 -1
  249. package/dist/models/objective-update.d.ts +1 -1
  250. package/dist/models/objective-update.js +1 -1
  251. package/dist/models/objective-weight-create.d.ts +1 -1
  252. package/dist/models/objective-weight-create.js +1 -1
  253. package/dist/models/objective-weight-response.d.ts +1 -1
  254. package/dist/models/objective-weight-response.js +1 -1
  255. package/dist/models/objective-weight-update.d.ts +1 -1
  256. package/dist/models/objective-weight-update.js +1 -1
  257. package/dist/models/option-chart-kpi.d.ts +1 -1
  258. package/dist/models/option-chart-kpi.js +1 -1
  259. package/dist/models/option-chart-kpis-yearly.d.ts +1 -1
  260. package/dist/models/option-chart-kpis-yearly.js +1 -1
  261. package/dist/models/option-create.d.ts +2 -1
  262. package/dist/models/option-create.js +1 -1
  263. package/dist/models/option-overview-response.d.ts +2 -1
  264. package/dist/models/option-overview-response.js +1 -1
  265. package/dist/models/option-response.d.ts +2 -1
  266. package/dist/models/option-response.js +1 -1
  267. package/dist/models/option-update.d.ts +2 -1
  268. package/dist/models/option-update.js +1 -1
  269. package/dist/models/preferred-option-request.d.ts +1 -1
  270. package/dist/models/preferred-option-request.js +1 -1
  271. package/dist/models/preferred-option-response.d.ts +1 -1
  272. package/dist/models/preferred-option-response.js +1 -1
  273. package/dist/models/validation-error.d.ts +1 -1
  274. package/dist/models/validation-error.js +1 -1
  275. package/dist/models/value-framework-create.d.ts +1 -1
  276. package/dist/models/value-framework-create.js +1 -1
  277. package/dist/models/value-framework-response.d.ts +1 -1
  278. package/dist/models/value-framework-response.js +1 -1
  279. package/dist/models/value-framework-update.d.ts +1 -1
  280. package/dist/models/value-framework-update.js +1 -1
  281. package/docs/BudgetApi.md +559 -0
  282. package/docs/BudgetBulkDeleteRequest.md +21 -0
  283. package/docs/BudgetCreate.md +25 -0
  284. package/docs/BudgetInvestmentResponse.md +37 -0
  285. package/docs/BudgetLinkOptionsRequest.md +21 -0
  286. package/docs/BudgetOptionResponse.md +39 -0
  287. package/docs/BudgetOverviewResponse.md +25 -0
  288. package/docs/BudgetResponse.md +33 -0
  289. package/docs/BudgetUpdate.md +25 -0
  290. package/docs/OptionCreate.md +2 -0
  291. package/docs/OptionOverviewResponse.md +2 -0
  292. package/docs/OptionResponse.md +2 -0
  293. package/docs/OptionUpdate.md +2 -0
  294. package/index.ts +1 -1
  295. package/models/budget-bulk-delete-request.ts +26 -0
  296. package/models/budget-create.ts +28 -0
  297. package/models/budget-investment-response.ts +40 -0
  298. package/models/budget-link-options-request.ts +26 -0
  299. package/models/budget-option-response.ts +56 -0
  300. package/models/budget-overview-response.ts +31 -0
  301. package/models/budget-response.ts +32 -0
  302. package/models/budget-update.ts +25 -0
  303. package/models/evolution-type.ts +1 -1
  304. package/models/httpvalidation-error.ts +1 -1
  305. package/models/impact-apiresponse.ts +1 -1
  306. package/models/impact-create.ts +1 -1
  307. package/models/impact-update.ts +1 -1
  308. package/models/index.ts +8 -0
  309. package/models/investment-create.ts +1 -1
  310. package/models/investment-overview-response.ts +1 -1
  311. package/models/investment-response.ts +1 -1
  312. package/models/investment-update.ts +1 -1
  313. package/models/location-inner.ts +1 -1
  314. package/models/measurement-type.ts +1 -1
  315. package/models/metric-costs-per-year-create.ts +1 -1
  316. package/models/metric-costs-per-year-response.ts +1 -1
  317. package/models/metric-costs-per-year-update.ts +1 -1
  318. package/models/metric-create.ts +1 -1
  319. package/models/metric-response.ts +1 -1
  320. package/models/metric-type.ts +1 -1
  321. package/models/metric-update.ts +1 -1
  322. package/models/objective-create.ts +1 -1
  323. package/models/objective-response.ts +1 -1
  324. package/models/objective-update.ts +1 -1
  325. package/models/objective-weight-create.ts +1 -1
  326. package/models/objective-weight-response.ts +1 -1
  327. package/models/objective-weight-update.ts +1 -1
  328. package/models/option-chart-kpi.ts +1 -1
  329. package/models/option-chart-kpis-yearly.ts +1 -1
  330. package/models/option-create.ts +2 -1
  331. package/models/option-overview-response.ts +2 -1
  332. package/models/option-response.ts +2 -1
  333. package/models/option-update.ts +2 -1
  334. package/models/preferred-option-request.ts +1 -1
  335. package/models/preferred-option-response.ts +1 -1
  336. package/models/validation-error.ts +1 -1
  337. package/models/value-framework-create.ts +1 -1
  338. package/models/value-framework-response.ts +1 -1
  339. package/models/value-framework-update.ts +1 -1
  340. package/package.json +1 -1
@@ -0,0 +1,382 @@
1
+ /**
2
+ * Asset Investment Planning
3
+ * API for Asset Investment Planning
4
+ *
5
+ * The version of the OpenAPI document: 0.3.0-dev1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { BudgetBulkDeleteRequest } from '../models';
16
+ import type { BudgetCreate } from '../models';
17
+ import type { BudgetInvestmentResponse } from '../models';
18
+ import type { BudgetLinkOptionsRequest } from '../models';
19
+ import type { BudgetOptionResponse } from '../models';
20
+ import type { BudgetOverviewResponse } from '../models';
21
+ import type { BudgetResponse } from '../models';
22
+ import type { BudgetUpdate } from '../models';
23
+ /**
24
+ * BudgetApi - axios parameter creator
25
+ */
26
+ export declare const BudgetApiAxiosParamCreator: (configuration?: Configuration) => {
27
+ /**
28
+ * Delete multiple budgets at once. Options linked to deleted budgets will have their budget link removed (set to null).
29
+ * @summary Bulk delete budgets
30
+ * @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ bulkDeleteBudgets: (budgetBulkDeleteRequest: BudgetBulkDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * Delete an existing budget by its ID. Options linked to this budget will have their budget link removed (set to null).
37
+ * @summary Delete a budget
38
+ * @param {string} budgetId UUID of the budget
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ deleteBudget: (budgetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ * Retrieve a single budget by its ID.
45
+ * @summary Get a budget by ID
46
+ * @param {string} budgetId UUID of the budget
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ getBudgetById: (budgetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
51
+ /**
52
+ * 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.
53
+ * @summary List investments linked to this budget via options
54
+ * @param {string} budgetId UUID of the budget
55
+ * @param {string} valueFrameworkId UUID of the value framework
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ getBudgetInvestments: (budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
60
+ /**
61
+ * 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.
62
+ * @summary List options linked to this budget
63
+ * @param {string} budgetId UUID of the budget
64
+ * @param {string} valueFrameworkId UUID of the value framework
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ getBudgetOptions: (budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
69
+ /**
70
+ * Return aggregated overview data for a budget: annual capacity, number of options linked to it, and number of distinct investments that have at least one option linked to it.
71
+ * @summary Get budget overview
72
+ * @param {string} budgetId UUID of the budget
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ getBudgetOverview: (budgetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
77
+ /**
78
+ * Retrieve a paginated list of all budgets, ordered by name.
79
+ * @summary List all budgets
80
+ * @param {number} [offset] Number of records to skip
81
+ * @param {number} [limit] Max number of records to return
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ getBudgets: (offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
86
+ /**
87
+ * Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Returns the list of option IDs that were successfully linked.
88
+ * @summary Bulk-link options to this budget
89
+ * @param {string} budgetId UUID of the budget
90
+ * @param {BudgetLinkOptionsRequest} budgetLinkOptionsRequest
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ linkOptionsToBudget: (budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
95
+ /**
96
+ * 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
+ * @summary Partially update a budget
98
+ * @param {string} budgetId UUID of the budget
99
+ * @param {BudgetUpdate} budgetUpdate
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ patchBudget: (budgetId: string, budgetUpdate: BudgetUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
104
+ /**
105
+ * Create a new budget.
106
+ * @summary Create a budget
107
+ * @param {BudgetCreate} budgetCreate
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ postBudget: (budgetCreate: BudgetCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
112
+ };
113
+ /**
114
+ * BudgetApi - functional programming interface
115
+ */
116
+ export declare const BudgetApiFp: (configuration?: Configuration) => {
117
+ /**
118
+ * Delete multiple budgets at once. Options linked to deleted budgets will have their budget link removed (set to null).
119
+ * @summary Bulk delete budgets
120
+ * @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ bulkDeleteBudgets(budgetBulkDeleteRequest: BudgetBulkDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
125
+ /**
126
+ * Delete an existing budget by its ID. Options linked to this budget will have their budget link removed (set to null).
127
+ * @summary Delete a budget
128
+ * @param {string} budgetId UUID of the budget
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ deleteBudget(budgetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
133
+ /**
134
+ * Retrieve a single budget by its ID.
135
+ * @summary Get a budget by ID
136
+ * @param {string} budgetId UUID of the budget
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ getBudgetById(budgetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BudgetResponse>>;
141
+ /**
142
+ * 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.
143
+ * @summary List investments linked to this budget via options
144
+ * @param {string} budgetId UUID of the budget
145
+ * @param {string} valueFrameworkId UUID of the value framework
146
+ * @param {*} [options] Override http request option.
147
+ * @throws {RequiredError}
148
+ */
149
+ getBudgetInvestments(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetInvestmentResponse>>>;
150
+ /**
151
+ * 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.
152
+ * @summary List options linked to this budget
153
+ * @param {string} budgetId UUID of the budget
154
+ * @param {string} valueFrameworkId UUID of the value framework
155
+ * @param {*} [options] Override http request option.
156
+ * @throws {RequiredError}
157
+ */
158
+ getBudgetOptions(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetOptionResponse>>>;
159
+ /**
160
+ * Return aggregated overview data for a budget: annual capacity, number of options linked to it, and number of distinct investments that have at least one option linked to it.
161
+ * @summary Get budget overview
162
+ * @param {string} budgetId UUID of the budget
163
+ * @param {*} [options] Override http request option.
164
+ * @throws {RequiredError}
165
+ */
166
+ getBudgetOverview(budgetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BudgetOverviewResponse>>;
167
+ /**
168
+ * Retrieve a paginated list of all budgets, ordered by name.
169
+ * @summary List all budgets
170
+ * @param {number} [offset] Number of records to skip
171
+ * @param {number} [limit] Max number of records to return
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ getBudgets(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetResponse>>>;
176
+ /**
177
+ * Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Returns the list of option IDs that were successfully linked.
178
+ * @summary Bulk-link options to this budget
179
+ * @param {string} budgetId UUID of the budget
180
+ * @param {BudgetLinkOptionsRequest} budgetLinkOptionsRequest
181
+ * @param {*} [options] Override http request option.
182
+ * @throws {RequiredError}
183
+ */
184
+ linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
185
+ /**
186
+ * 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
+ * @summary Partially update a budget
188
+ * @param {string} budgetId UUID of the budget
189
+ * @param {BudgetUpdate} budgetUpdate
190
+ * @param {*} [options] Override http request option.
191
+ * @throws {RequiredError}
192
+ */
193
+ patchBudget(budgetId: string, budgetUpdate: BudgetUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BudgetResponse>>;
194
+ /**
195
+ * Create a new budget.
196
+ * @summary Create a budget
197
+ * @param {BudgetCreate} budgetCreate
198
+ * @param {*} [options] Override http request option.
199
+ * @throws {RequiredError}
200
+ */
201
+ postBudget(budgetCreate: BudgetCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BudgetResponse>>;
202
+ };
203
+ /**
204
+ * BudgetApi - factory interface
205
+ */
206
+ export declare const BudgetApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
207
+ /**
208
+ * Delete multiple budgets at once. Options linked to deleted budgets will have their budget link removed (set to null).
209
+ * @summary Bulk delete budgets
210
+ * @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
211
+ * @param {*} [options] Override http request option.
212
+ * @throws {RequiredError}
213
+ */
214
+ bulkDeleteBudgets(budgetBulkDeleteRequest: BudgetBulkDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
215
+ /**
216
+ * Delete an existing budget by its ID. Options linked to this budget will have their budget link removed (set to null).
217
+ * @summary Delete a budget
218
+ * @param {string} budgetId UUID of the budget
219
+ * @param {*} [options] Override http request option.
220
+ * @throws {RequiredError}
221
+ */
222
+ deleteBudget(budgetId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
223
+ /**
224
+ * Retrieve a single budget by its ID.
225
+ * @summary Get a budget by ID
226
+ * @param {string} budgetId UUID of the budget
227
+ * @param {*} [options] Override http request option.
228
+ * @throws {RequiredError}
229
+ */
230
+ getBudgetById(budgetId: string, options?: RawAxiosRequestConfig): AxiosPromise<BudgetResponse>;
231
+ /**
232
+ * 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.
233
+ * @summary List investments linked to this budget via options
234
+ * @param {string} budgetId UUID of the budget
235
+ * @param {string} valueFrameworkId UUID of the value framework
236
+ * @param {*} [options] Override http request option.
237
+ * @throws {RequiredError}
238
+ */
239
+ getBudgetInvestments(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetInvestmentResponse>>;
240
+ /**
241
+ * 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.
242
+ * @summary List options linked to this budget
243
+ * @param {string} budgetId UUID of the budget
244
+ * @param {string} valueFrameworkId UUID of the value framework
245
+ * @param {*} [options] Override http request option.
246
+ * @throws {RequiredError}
247
+ */
248
+ getBudgetOptions(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetOptionResponse>>;
249
+ /**
250
+ * Return aggregated overview data for a budget: annual capacity, number of options linked to it, and number of distinct investments that have at least one option linked to it.
251
+ * @summary Get budget overview
252
+ * @param {string} budgetId UUID of the budget
253
+ * @param {*} [options] Override http request option.
254
+ * @throws {RequiredError}
255
+ */
256
+ getBudgetOverview(budgetId: string, options?: RawAxiosRequestConfig): AxiosPromise<BudgetOverviewResponse>;
257
+ /**
258
+ * Retrieve a paginated list of all budgets, ordered by name.
259
+ * @summary List all budgets
260
+ * @param {number} [offset] Number of records to skip
261
+ * @param {number} [limit] Max number of records to return
262
+ * @param {*} [options] Override http request option.
263
+ * @throws {RequiredError}
264
+ */
265
+ getBudgets(offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetResponse>>;
266
+ /**
267
+ * Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Returns the list of option IDs that were successfully linked.
268
+ * @summary Bulk-link options to this budget
269
+ * @param {string} budgetId UUID of the budget
270
+ * @param {BudgetLinkOptionsRequest} budgetLinkOptionsRequest
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ */
274
+ linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
275
+ /**
276
+ * 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
+ * @summary Partially update a budget
278
+ * @param {string} budgetId UUID of the budget
279
+ * @param {BudgetUpdate} budgetUpdate
280
+ * @param {*} [options] Override http request option.
281
+ * @throws {RequiredError}
282
+ */
283
+ patchBudget(budgetId: string, budgetUpdate: BudgetUpdate, options?: RawAxiosRequestConfig): AxiosPromise<BudgetResponse>;
284
+ /**
285
+ * Create a new budget.
286
+ * @summary Create a budget
287
+ * @param {BudgetCreate} budgetCreate
288
+ * @param {*} [options] Override http request option.
289
+ * @throws {RequiredError}
290
+ */
291
+ postBudget(budgetCreate: BudgetCreate, options?: RawAxiosRequestConfig): AxiosPromise<BudgetResponse>;
292
+ };
293
+ /**
294
+ * BudgetApi - object-oriented interface
295
+ */
296
+ export declare class BudgetApi extends BaseAPI {
297
+ /**
298
+ * Delete multiple budgets at once. Options linked to deleted budgets will have their budget link removed (set to null).
299
+ * @summary Bulk delete budgets
300
+ * @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
301
+ * @param {*} [options] Override http request option.
302
+ * @throws {RequiredError}
303
+ */
304
+ bulkDeleteBudgets(budgetBulkDeleteRequest: BudgetBulkDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
305
+ /**
306
+ * Delete an existing budget by its ID. Options linked to this budget will have their budget link removed (set to null).
307
+ * @summary Delete a budget
308
+ * @param {string} budgetId UUID of the budget
309
+ * @param {*} [options] Override http request option.
310
+ * @throws {RequiredError}
311
+ */
312
+ deleteBudget(budgetId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
313
+ /**
314
+ * Retrieve a single budget by its ID.
315
+ * @summary Get a budget by ID
316
+ * @param {string} budgetId UUID of the budget
317
+ * @param {*} [options] Override http request option.
318
+ * @throws {RequiredError}
319
+ */
320
+ getBudgetById(budgetId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetResponse, any, {}>>;
321
+ /**
322
+ * 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.
323
+ * @summary List investments linked to this budget via options
324
+ * @param {string} budgetId UUID of the budget
325
+ * @param {string} valueFrameworkId UUID of the value framework
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ */
329
+ getBudgetInvestments(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetInvestmentResponse[], any, {}>>;
330
+ /**
331
+ * 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.
332
+ * @summary List options linked to this budget
333
+ * @param {string} budgetId UUID of the budget
334
+ * @param {string} valueFrameworkId UUID of the value framework
335
+ * @param {*} [options] Override http request option.
336
+ * @throws {RequiredError}
337
+ */
338
+ getBudgetOptions(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetOptionResponse[], any, {}>>;
339
+ /**
340
+ * Return aggregated overview data for a budget: annual capacity, number of options linked to it, and number of distinct investments that have at least one option linked to it.
341
+ * @summary Get budget overview
342
+ * @param {string} budgetId UUID of the budget
343
+ * @param {*} [options] Override http request option.
344
+ * @throws {RequiredError}
345
+ */
346
+ getBudgetOverview(budgetId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetOverviewResponse, any, {}>>;
347
+ /**
348
+ * Retrieve a paginated list of all budgets, ordered by name.
349
+ * @summary List all budgets
350
+ * @param {number} [offset] Number of records to skip
351
+ * @param {number} [limit] Max number of records to return
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ */
355
+ getBudgets(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetResponse[], any, {}>>;
356
+ /**
357
+ * Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Returns the list of option IDs that were successfully linked.
358
+ * @summary Bulk-link options to this budget
359
+ * @param {string} budgetId UUID of the budget
360
+ * @param {BudgetLinkOptionsRequest} budgetLinkOptionsRequest
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ */
364
+ linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
365
+ /**
366
+ * 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
+ * @summary Partially update a budget
368
+ * @param {string} budgetId UUID of the budget
369
+ * @param {BudgetUpdate} budgetUpdate
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ */
373
+ patchBudget(budgetId: string, budgetUpdate: BudgetUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetResponse, any, {}>>;
374
+ /**
375
+ * Create a new budget.
376
+ * @summary Create a budget
377
+ * @param {BudgetCreate} budgetCreate
378
+ * @param {*} [options] Override http request option.
379
+ * @throws {RequiredError}
380
+ */
381
+ postBudget(budgetCreate: BudgetCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetResponse, any, {}>>;
382
+ }