@cosmotech/aip-client 0.3.0-dev1 → 0.3.0-dev3

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 (344) hide show
  1. package/README.md +6 -40
  2. package/api/budget-api.ts +1 -1
  3. package/api/default-api.ts +1 -1
  4. package/api/impact-api.ts +90 -1
  5. package/api/investment-api.ts +68 -1193
  6. package/api/metric-api.ts +1 -1
  7. package/api/metric-costs-api.ts +1 -1
  8. package/api/metric-costs-per-year-api.ts +1 -1
  9. package/api/objective-api.ts +1 -509
  10. package/api/objective-weight-api.ts +1 -1
  11. package/api/objective-weights-api.ts +1 -1
  12. package/api/option-api.ts +1 -454
  13. package/api/preferred-option-api.ts +1 -1
  14. package/api/value-framework-api.ts +61 -1189
  15. package/api/value-framework-costs-api.ts +1 -1
  16. package/api/value-framework-weights-api.ts +1 -1
  17. package/api.ts +1 -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 +1 -1
  22. package/dist/api/budget-api.js +1 -1
  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 +42 -1
  26. package/dist/api/impact-api.js +85 -1
  27. package/dist/api/investment-api.d.ts +18 -535
  28. package/dist/api/investment-api.js +79 -1142
  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 -233
  36. package/dist/api/objective-api.js +1 -479
  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 -212
  42. package/dist/api/option-api.js +1 -431
  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 -519
  46. package/dist/api/value-framework-api.js +61 -1128
  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 +1 -1
  52. package/dist/api.js +1 -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 +1 -1
  60. package/dist/esm/api/budget-api.js +1 -1
  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 +42 -1
  64. package/dist/esm/api/impact-api.js +85 -1
  65. package/dist/esm/api/investment-api.d.ts +18 -535
  66. package/dist/esm/api/investment-api.js +78 -1141
  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 -233
  74. package/dist/esm/api/objective-api.js +1 -479
  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 -212
  80. package/dist/esm/api/option-api.js +1 -431
  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 -519
  84. package/dist/esm/api/value-framework-api.js +61 -1128
  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 +1 -1
  90. package/dist/esm/api.js +1 -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 +1 -1
  100. package/dist/esm/models/budget-bulk-delete-request.js +1 -1
  101. package/dist/esm/models/budget-create.d.ts +1 -1
  102. package/dist/esm/models/budget-create.js +1 -1
  103. package/dist/esm/models/budget-investment-response.d.ts +1 -1
  104. package/dist/esm/models/budget-investment-response.js +1 -1
  105. package/dist/esm/models/budget-link-options-request.d.ts +1 -1
  106. package/dist/esm/models/budget-link-options-request.js +1 -1
  107. package/dist/esm/models/budget-option-response.d.ts +1 -1
  108. package/dist/esm/models/budget-option-response.js +1 -1
  109. package/dist/esm/models/budget-overview-response.d.ts +1 -1
  110. package/dist/esm/models/budget-overview-response.js +1 -1
  111. package/dist/esm/models/budget-response.d.ts +1 -1
  112. package/dist/esm/models/budget-response.js +1 -1
  113. package/dist/esm/models/budget-update.d.ts +1 -1
  114. package/dist/esm/models/budget-update.js +1 -1
  115. package/dist/esm/models/bulk-delete-request.d.ts +20 -0
  116. package/dist/esm/models/bulk-delete-request.js +14 -0
  117. package/dist/esm/models/evolution-type.d.ts +1 -1
  118. package/dist/esm/models/evolution-type.js +1 -1
  119. package/dist/esm/models/httpvalidation-error.d.ts +1 -1
  120. package/dist/esm/models/httpvalidation-error.js +1 -1
  121. package/dist/esm/models/impact-apiresponse.d.ts +1 -1
  122. package/dist/esm/models/impact-apiresponse.js +1 -1
  123. package/dist/esm/models/impact-bulk-item.d.ts +37 -0
  124. package/dist/esm/models/impact-bulk-item.js +14 -0
  125. package/dist/esm/models/impact-create.d.ts +1 -1
  126. package/dist/esm/models/impact-create.js +1 -1
  127. package/dist/esm/models/impact-update.d.ts +1 -1
  128. package/dist/esm/models/impact-update.js +1 -1
  129. package/dist/esm/models/index.d.ts +2 -0
  130. package/dist/esm/models/index.js +2 -0
  131. package/dist/esm/models/investment-create.d.ts +1 -1
  132. package/dist/esm/models/investment-create.js +1 -1
  133. package/dist/esm/models/investment-overview-response.d.ts +1 -1
  134. package/dist/esm/models/investment-overview-response.js +1 -1
  135. package/dist/esm/models/investment-response.d.ts +1 -1
  136. package/dist/esm/models/investment-response.js +1 -1
  137. package/dist/esm/models/investment-update.d.ts +1 -1
  138. package/dist/esm/models/investment-update.js +1 -1
  139. package/dist/esm/models/location-inner.d.ts +1 -1
  140. package/dist/esm/models/location-inner.js +1 -1
  141. package/dist/esm/models/measurement-type.d.ts +1 -1
  142. package/dist/esm/models/measurement-type.js +1 -1
  143. package/dist/esm/models/metric-costs-per-year-create.d.ts +1 -1
  144. package/dist/esm/models/metric-costs-per-year-create.js +1 -1
  145. package/dist/esm/models/metric-costs-per-year-response.d.ts +1 -1
  146. package/dist/esm/models/metric-costs-per-year-response.js +1 -1
  147. package/dist/esm/models/metric-costs-per-year-update.d.ts +1 -1
  148. package/dist/esm/models/metric-costs-per-year-update.js +1 -1
  149. package/dist/esm/models/metric-create.d.ts +1 -1
  150. package/dist/esm/models/metric-create.js +1 -1
  151. package/dist/esm/models/metric-response.d.ts +1 -1
  152. package/dist/esm/models/metric-response.js +1 -1
  153. package/dist/esm/models/metric-type.d.ts +1 -1
  154. package/dist/esm/models/metric-type.js +1 -1
  155. package/dist/esm/models/metric-update.d.ts +1 -1
  156. package/dist/esm/models/metric-update.js +1 -1
  157. package/dist/esm/models/objective-create.d.ts +1 -1
  158. package/dist/esm/models/objective-create.js +1 -1
  159. package/dist/esm/models/objective-response.d.ts +1 -1
  160. package/dist/esm/models/objective-response.js +1 -1
  161. package/dist/esm/models/objective-update.d.ts +1 -1
  162. package/dist/esm/models/objective-update.js +1 -1
  163. package/dist/esm/models/objective-weight-create.d.ts +1 -1
  164. package/dist/esm/models/objective-weight-create.js +1 -1
  165. package/dist/esm/models/objective-weight-response.d.ts +1 -1
  166. package/dist/esm/models/objective-weight-response.js +1 -1
  167. package/dist/esm/models/objective-weight-update.d.ts +1 -1
  168. package/dist/esm/models/objective-weight-update.js +1 -1
  169. package/dist/esm/models/option-chart-kpi.d.ts +1 -1
  170. package/dist/esm/models/option-chart-kpi.js +1 -1
  171. package/dist/esm/models/option-chart-kpis-yearly.d.ts +1 -1
  172. package/dist/esm/models/option-chart-kpis-yearly.js +1 -1
  173. package/dist/esm/models/option-create.d.ts +1 -1
  174. package/dist/esm/models/option-create.js +1 -1
  175. package/dist/esm/models/option-overview-response.d.ts +1 -1
  176. package/dist/esm/models/option-overview-response.js +1 -1
  177. package/dist/esm/models/option-response.d.ts +1 -1
  178. package/dist/esm/models/option-response.js +1 -1
  179. package/dist/esm/models/option-update.d.ts +1 -1
  180. package/dist/esm/models/option-update.js +1 -1
  181. package/dist/esm/models/preferred-option-request.d.ts +1 -1
  182. package/dist/esm/models/preferred-option-request.js +1 -1
  183. package/dist/esm/models/preferred-option-response.d.ts +1 -1
  184. package/dist/esm/models/preferred-option-response.js +1 -1
  185. package/dist/esm/models/validation-error.d.ts +1 -1
  186. package/dist/esm/models/validation-error.js +1 -1
  187. package/dist/esm/models/value-framework-create.d.ts +1 -1
  188. package/dist/esm/models/value-framework-create.js +1 -1
  189. package/dist/esm/models/value-framework-response.d.ts +1 -1
  190. package/dist/esm/models/value-framework-response.js +1 -1
  191. package/dist/esm/models/value-framework-update.d.ts +1 -1
  192. package/dist/esm/models/value-framework-update.js +1 -1
  193. package/dist/index.d.ts +1 -1
  194. package/dist/index.js +1 -1
  195. package/dist/models/budget-bulk-delete-request.d.ts +1 -1
  196. package/dist/models/budget-bulk-delete-request.js +1 -1
  197. package/dist/models/budget-create.d.ts +1 -1
  198. package/dist/models/budget-create.js +1 -1
  199. package/dist/models/budget-investment-response.d.ts +1 -1
  200. package/dist/models/budget-investment-response.js +1 -1
  201. package/dist/models/budget-link-options-request.d.ts +1 -1
  202. package/dist/models/budget-link-options-request.js +1 -1
  203. package/dist/models/budget-option-response.d.ts +1 -1
  204. package/dist/models/budget-option-response.js +1 -1
  205. package/dist/models/budget-overview-response.d.ts +1 -1
  206. package/dist/models/budget-overview-response.js +1 -1
  207. package/dist/models/budget-response.d.ts +1 -1
  208. package/dist/models/budget-response.js +1 -1
  209. package/dist/models/budget-update.d.ts +1 -1
  210. package/dist/models/budget-update.js +1 -1
  211. package/dist/models/bulk-delete-request.d.ts +20 -0
  212. package/dist/models/bulk-delete-request.js +15 -0
  213. package/dist/models/evolution-type.d.ts +1 -1
  214. package/dist/models/evolution-type.js +1 -1
  215. package/dist/models/httpvalidation-error.d.ts +1 -1
  216. package/dist/models/httpvalidation-error.js +1 -1
  217. package/dist/models/impact-apiresponse.d.ts +1 -1
  218. package/dist/models/impact-apiresponse.js +1 -1
  219. package/dist/models/impact-bulk-item.d.ts +37 -0
  220. package/dist/models/impact-bulk-item.js +15 -0
  221. package/dist/models/impact-create.d.ts +1 -1
  222. package/dist/models/impact-create.js +1 -1
  223. package/dist/models/impact-update.d.ts +1 -1
  224. package/dist/models/impact-update.js +1 -1
  225. package/dist/models/index.d.ts +2 -0
  226. package/dist/models/index.js +2 -0
  227. package/dist/models/investment-create.d.ts +1 -1
  228. package/dist/models/investment-create.js +1 -1
  229. package/dist/models/investment-overview-response.d.ts +1 -1
  230. package/dist/models/investment-overview-response.js +1 -1
  231. package/dist/models/investment-response.d.ts +1 -1
  232. package/dist/models/investment-response.js +1 -1
  233. package/dist/models/investment-update.d.ts +1 -1
  234. package/dist/models/investment-update.js +1 -1
  235. package/dist/models/location-inner.d.ts +1 -1
  236. package/dist/models/location-inner.js +1 -1
  237. package/dist/models/measurement-type.d.ts +1 -1
  238. package/dist/models/measurement-type.js +1 -1
  239. package/dist/models/metric-costs-per-year-create.d.ts +1 -1
  240. package/dist/models/metric-costs-per-year-create.js +1 -1
  241. package/dist/models/metric-costs-per-year-response.d.ts +1 -1
  242. package/dist/models/metric-costs-per-year-response.js +1 -1
  243. package/dist/models/metric-costs-per-year-update.d.ts +1 -1
  244. package/dist/models/metric-costs-per-year-update.js +1 -1
  245. package/dist/models/metric-create.d.ts +1 -1
  246. package/dist/models/metric-create.js +1 -1
  247. package/dist/models/metric-response.d.ts +1 -1
  248. package/dist/models/metric-response.js +1 -1
  249. package/dist/models/metric-type.d.ts +1 -1
  250. package/dist/models/metric-type.js +1 -1
  251. package/dist/models/metric-update.d.ts +1 -1
  252. package/dist/models/metric-update.js +1 -1
  253. package/dist/models/objective-create.d.ts +1 -1
  254. package/dist/models/objective-create.js +1 -1
  255. package/dist/models/objective-response.d.ts +1 -1
  256. package/dist/models/objective-response.js +1 -1
  257. package/dist/models/objective-update.d.ts +1 -1
  258. package/dist/models/objective-update.js +1 -1
  259. package/dist/models/objective-weight-create.d.ts +1 -1
  260. package/dist/models/objective-weight-create.js +1 -1
  261. package/dist/models/objective-weight-response.d.ts +1 -1
  262. package/dist/models/objective-weight-response.js +1 -1
  263. package/dist/models/objective-weight-update.d.ts +1 -1
  264. package/dist/models/objective-weight-update.js +1 -1
  265. package/dist/models/option-chart-kpi.d.ts +1 -1
  266. package/dist/models/option-chart-kpi.js +1 -1
  267. package/dist/models/option-chart-kpis-yearly.d.ts +1 -1
  268. package/dist/models/option-chart-kpis-yearly.js +1 -1
  269. package/dist/models/option-create.d.ts +1 -1
  270. package/dist/models/option-create.js +1 -1
  271. package/dist/models/option-overview-response.d.ts +1 -1
  272. package/dist/models/option-overview-response.js +1 -1
  273. package/dist/models/option-response.d.ts +1 -1
  274. package/dist/models/option-response.js +1 -1
  275. package/dist/models/option-update.d.ts +1 -1
  276. package/dist/models/option-update.js +1 -1
  277. package/dist/models/preferred-option-request.d.ts +1 -1
  278. package/dist/models/preferred-option-request.js +1 -1
  279. package/dist/models/preferred-option-response.d.ts +1 -1
  280. package/dist/models/preferred-option-response.js +1 -1
  281. package/dist/models/validation-error.d.ts +1 -1
  282. package/dist/models/validation-error.js +1 -1
  283. package/dist/models/value-framework-create.d.ts +1 -1
  284. package/dist/models/value-framework-create.js +1 -1
  285. package/dist/models/value-framework-response.d.ts +1 -1
  286. package/dist/models/value-framework-response.js +1 -1
  287. package/dist/models/value-framework-update.d.ts +1 -1
  288. package/dist/models/value-framework-update.js +1 -1
  289. package/docs/BulkDeleteRequest.md +21 -0
  290. package/docs/ImpactApi.md +60 -0
  291. package/docs/ImpactBulkItem.md +29 -0
  292. package/docs/InvestmentApi.md +43 -811
  293. package/docs/ObjectiveApi.md +0 -351
  294. package/docs/OptionApi.md +0 -305
  295. package/docs/ValueFrameworkApi.md +7 -778
  296. package/index.ts +1 -1
  297. package/models/budget-bulk-delete-request.ts +1 -1
  298. package/models/budget-create.ts +1 -1
  299. package/models/budget-investment-response.ts +1 -1
  300. package/models/budget-link-options-request.ts +1 -1
  301. package/models/budget-option-response.ts +1 -1
  302. package/models/budget-overview-response.ts +1 -1
  303. package/models/budget-response.ts +1 -1
  304. package/models/budget-update.ts +1 -1
  305. package/models/bulk-delete-request.ts +26 -0
  306. package/models/evolution-type.ts +1 -1
  307. package/models/httpvalidation-error.ts +1 -1
  308. package/models/impact-apiresponse.ts +1 -1
  309. package/models/impact-bulk-item.ts +47 -0
  310. package/models/impact-create.ts +1 -1
  311. package/models/impact-update.ts +1 -1
  312. package/models/index.ts +2 -0
  313. package/models/investment-create.ts +1 -1
  314. package/models/investment-overview-response.ts +1 -1
  315. package/models/investment-response.ts +1 -1
  316. package/models/investment-update.ts +1 -1
  317. package/models/location-inner.ts +1 -1
  318. package/models/measurement-type.ts +1 -1
  319. package/models/metric-costs-per-year-create.ts +1 -1
  320. package/models/metric-costs-per-year-response.ts +1 -1
  321. package/models/metric-costs-per-year-update.ts +1 -1
  322. package/models/metric-create.ts +1 -1
  323. package/models/metric-response.ts +1 -1
  324. package/models/metric-type.ts +1 -1
  325. package/models/metric-update.ts +1 -1
  326. package/models/objective-create.ts +1 -1
  327. package/models/objective-response.ts +1 -1
  328. package/models/objective-update.ts +1 -1
  329. package/models/objective-weight-create.ts +1 -1
  330. package/models/objective-weight-response.ts +1 -1
  331. package/models/objective-weight-update.ts +1 -1
  332. package/models/option-chart-kpi.ts +1 -1
  333. package/models/option-chart-kpis-yearly.ts +1 -1
  334. package/models/option-create.ts +1 -1
  335. package/models/option-overview-response.ts +1 -1
  336. package/models/option-response.ts +1 -1
  337. package/models/option-update.ts +1 -1
  338. package/models/preferred-option-request.ts +1 -1
  339. package/models/preferred-option-response.ts +1 -1
  340. package/models/validation-error.ts +1 -1
  341. package/models/value-framework-create.ts +1 -1
  342. package/models/value-framework-response.ts +1 -1
  343. package/models/value-framework-update.ts +1 -1
  344. package/package.json +1 -1
@@ -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.3.0-dev1
8
+ * The version of the OpenAPI document: 0.3.0-dev3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,48 +34,6 @@ const base_1 = require("../base");
34
34
  */
35
35
  const OptionApiAxiosParamCreator = function (configuration) {
36
36
  return {
37
- /**
38
- * Create a new impact under this option.
39
- * @summary Create an impact for this option
40
- * @param {string} optionId UUID of the option
41
- * @param {string} investmentId UUID of the investment
42
- * @param {ImpactCreate} impactCreate
43
- * @param {*} [options] Override http request option.
44
- * @throws {RequiredError}
45
- */
46
- createImpactForOption: (optionId_1, investmentId_1, impactCreate_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, impactCreate_1, ...args_1], void 0, function* (optionId, investmentId, impactCreate, options = {}) {
47
- // verify required parameter 'optionId' is not null or undefined
48
- (0, common_1.assertParamExists)('createImpactForOption', 'optionId', optionId);
49
- // verify required parameter 'investmentId' is not null or undefined
50
- (0, common_1.assertParamExists)('createImpactForOption', 'investmentId', investmentId);
51
- // verify required parameter 'impactCreate' is not null or undefined
52
- (0, common_1.assertParamExists)('createImpactForOption', 'impactCreate', impactCreate);
53
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
54
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
55
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
56
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
57
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
58
- let baseOptions;
59
- if (configuration) {
60
- baseOptions = configuration.baseOptions;
61
- }
62
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
63
- const localVarHeaderParameter = {};
64
- const localVarQueryParameter = {};
65
- // authentication OAuth2AuthorizationCodeBearer required
66
- // oauth required
67
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
68
- localVarHeaderParameter['Content-Type'] = 'application/json';
69
- localVarHeaderParameter['Accept'] = 'application/json';
70
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
71
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
73
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(impactCreate, localVarRequestOptions, configuration);
74
- return {
75
- url: (0, common_1.toPathString)(localVarUrlObj),
76
- options: localVarRequestOptions,
77
- };
78
- }),
79
37
  /**
80
38
  * Create a new option under this investment.
81
39
  * @summary Create an option for this investment
@@ -114,46 +72,6 @@ const OptionApiAxiosParamCreator = function (configuration) {
114
72
  options: localVarRequestOptions,
115
73
  };
116
74
  }),
117
- /**
118
- * Delete an existing impact by its ID.
119
- * @summary Delete an impact for this option
120
- * @param {string} impactId UUID of the impact
121
- * @param {string} optionId UUID of the option
122
- * @param {string} investmentId UUID of the investment
123
- * @param {*} [options] Override http request option.
124
- * @throws {RequiredError}
125
- */
126
- deleteImpactForOption: (impactId_1, optionId_1, investmentId_1, ...args_1) => __awaiter(this, [impactId_1, optionId_1, investmentId_1, ...args_1], void 0, function* (impactId, optionId, investmentId, options = {}) {
127
- // verify required parameter 'impactId' is not null or undefined
128
- (0, common_1.assertParamExists)('deleteImpactForOption', 'impactId', impactId);
129
- // verify required parameter 'optionId' is not null or undefined
130
- (0, common_1.assertParamExists)('deleteImpactForOption', 'optionId', optionId);
131
- // verify required parameter 'investmentId' is not null or undefined
132
- (0, common_1.assertParamExists)('deleteImpactForOption', 'investmentId', investmentId);
133
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
134
- .replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
135
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
136
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
137
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
138
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
139
- let baseOptions;
140
- if (configuration) {
141
- baseOptions = configuration.baseOptions;
142
- }
143
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
144
- const localVarHeaderParameter = {};
145
- const localVarQueryParameter = {};
146
- // authentication OAuth2AuthorizationCodeBearer required
147
- // oauth required
148
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
149
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
150
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
151
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
152
- return {
153
- url: (0, common_1.toPathString)(localVarUrlObj),
154
- options: localVarRequestOptions,
155
- };
156
- }),
157
75
  /**
158
76
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
159
77
  * @summary Delete an option for this investment
@@ -190,92 +108,6 @@ const OptionApiAxiosParamCreator = function (configuration) {
190
108
  options: localVarRequestOptions,
191
109
  };
192
110
  }),
193
- /**
194
- * Retrieve a specific impact for the option.
195
- * @summary Get an impact for this option
196
- * @param {string} impactId UUID of the impact
197
- * @param {string} optionId UUID of the option
198
- * @param {string} investmentId UUID of the investment
199
- * @param {*} [options] Override http request option.
200
- * @throws {RequiredError}
201
- */
202
- getImpactForOption: (impactId_1, optionId_1, investmentId_1, ...args_1) => __awaiter(this, [impactId_1, optionId_1, investmentId_1, ...args_1], void 0, function* (impactId, optionId, investmentId, options = {}) {
203
- // verify required parameter 'impactId' is not null or undefined
204
- (0, common_1.assertParamExists)('getImpactForOption', 'impactId', impactId);
205
- // verify required parameter 'optionId' is not null or undefined
206
- (0, common_1.assertParamExists)('getImpactForOption', 'optionId', optionId);
207
- // verify required parameter 'investmentId' is not null or undefined
208
- (0, common_1.assertParamExists)('getImpactForOption', 'investmentId', investmentId);
209
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
210
- .replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
211
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
212
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
213
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
214
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
215
- let baseOptions;
216
- if (configuration) {
217
- baseOptions = configuration.baseOptions;
218
- }
219
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
220
- const localVarHeaderParameter = {};
221
- const localVarQueryParameter = {};
222
- // authentication OAuth2AuthorizationCodeBearer required
223
- // oauth required
224
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
225
- localVarHeaderParameter['Accept'] = 'application/json';
226
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
227
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
228
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
229
- return {
230
- url: (0, common_1.toPathString)(localVarUrlObj),
231
- options: localVarRequestOptions,
232
- };
233
- }),
234
- /**
235
- * Retrieve a paginated list of all impacts for a specific option.
236
- * @summary List impacts for this option
237
- * @param {string} optionId UUID of the option
238
- * @param {string} investmentId UUID of the investment
239
- * @param {number} [offset] Number of records to skip
240
- * @param {number} [limit] Max number of records to return
241
- * @param {*} [options] Override http request option.
242
- * @throws {RequiredError}
243
- */
244
- getImpactsForOption: (optionId_1, investmentId_1, offset_1, limit_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, offset_1, limit_1, ...args_1], void 0, function* (optionId, investmentId, offset, limit, options = {}) {
245
- // verify required parameter 'optionId' is not null or undefined
246
- (0, common_1.assertParamExists)('getImpactsForOption', 'optionId', optionId);
247
- // verify required parameter 'investmentId' is not null or undefined
248
- (0, common_1.assertParamExists)('getImpactsForOption', 'investmentId', investmentId);
249
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
250
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
251
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
252
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
253
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
254
- let baseOptions;
255
- if (configuration) {
256
- baseOptions = configuration.baseOptions;
257
- }
258
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
259
- const localVarHeaderParameter = {};
260
- const localVarQueryParameter = {};
261
- // authentication OAuth2AuthorizationCodeBearer required
262
- // oauth required
263
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
264
- if (offset !== undefined) {
265
- localVarQueryParameter['offset'] = offset;
266
- }
267
- if (limit !== undefined) {
268
- localVarQueryParameter['limit'] = limit;
269
- }
270
- localVarHeaderParameter['Accept'] = 'application/json';
271
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
272
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
273
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
274
- return {
275
- url: (0, common_1.toPathString)(localVarUrlObj),
276
- options: localVarRequestOptions,
277
- };
278
- }),
279
111
  /**
280
112
  * Retrieve a specific option for the investment.
281
113
  * @summary Get an option for this investment
@@ -434,52 +266,6 @@ const OptionApiAxiosParamCreator = function (configuration) {
434
266
  options: localVarRequestOptions,
435
267
  };
436
268
  }),
437
- /**
438
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
439
- * @summary Partially update an impact for this option
440
- * @param {string} impactId UUID of the impact
441
- * @param {string} optionId UUID of the option
442
- * @param {string} investmentId UUID of the investment
443
- * @param {ImpactUpdate} impactUpdate
444
- * @param {*} [options] Override http request option.
445
- * @throws {RequiredError}
446
- */
447
- patchImpactForOption: (impactId_1, optionId_1, investmentId_1, impactUpdate_1, ...args_1) => __awaiter(this, [impactId_1, optionId_1, investmentId_1, impactUpdate_1, ...args_1], void 0, function* (impactId, optionId, investmentId, impactUpdate, options = {}) {
448
- // verify required parameter 'impactId' is not null or undefined
449
- (0, common_1.assertParamExists)('patchImpactForOption', 'impactId', impactId);
450
- // verify required parameter 'optionId' is not null or undefined
451
- (0, common_1.assertParamExists)('patchImpactForOption', 'optionId', optionId);
452
- // verify required parameter 'investmentId' is not null or undefined
453
- (0, common_1.assertParamExists)('patchImpactForOption', 'investmentId', investmentId);
454
- // verify required parameter 'impactUpdate' is not null or undefined
455
- (0, common_1.assertParamExists)('patchImpactForOption', 'impactUpdate', impactUpdate);
456
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
457
- .replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
458
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
459
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
460
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
461
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
462
- let baseOptions;
463
- if (configuration) {
464
- baseOptions = configuration.baseOptions;
465
- }
466
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
467
- const localVarHeaderParameter = {};
468
- const localVarQueryParameter = {};
469
- // authentication OAuth2AuthorizationCodeBearer required
470
- // oauth required
471
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
472
- localVarHeaderParameter['Content-Type'] = 'application/json';
473
- localVarHeaderParameter['Accept'] = 'application/json';
474
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
475
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
476
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
477
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(impactUpdate, localVarRequestOptions, configuration);
478
- return {
479
- url: (0, common_1.toPathString)(localVarUrlObj),
480
- options: localVarRequestOptions,
481
- };
482
- }),
483
269
  /**
484
270
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
485
271
  * @summary Partially update an option for this investment
@@ -531,24 +317,6 @@ exports.OptionApiAxiosParamCreator = OptionApiAxiosParamCreator;
531
317
  const OptionApiFp = function (configuration) {
532
318
  const localVarAxiosParamCreator = (0, exports.OptionApiAxiosParamCreator)(configuration);
533
319
  return {
534
- /**
535
- * Create a new impact under this option.
536
- * @summary Create an impact for this option
537
- * @param {string} optionId UUID of the option
538
- * @param {string} investmentId UUID of the investment
539
- * @param {ImpactCreate} impactCreate
540
- * @param {*} [options] Override http request option.
541
- * @throws {RequiredError}
542
- */
543
- createImpactForOption(optionId, investmentId, impactCreate, options) {
544
- return __awaiter(this, void 0, void 0, function* () {
545
- var _a, _b, _c;
546
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createImpactForOption(optionId, investmentId, impactCreate, options);
547
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
548
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OptionApi.createImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
549
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
550
- });
551
- },
552
320
  /**
553
321
  * Create a new option under this investment.
554
322
  * @summary Create an option for this investment
@@ -566,24 +334,6 @@ const OptionApiFp = function (configuration) {
566
334
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
567
335
  });
568
336
  },
569
- /**
570
- * Delete an existing impact by its ID.
571
- * @summary Delete an impact for this option
572
- * @param {string} impactId UUID of the impact
573
- * @param {string} optionId UUID of the option
574
- * @param {string} investmentId UUID of the investment
575
- * @param {*} [options] Override http request option.
576
- * @throws {RequiredError}
577
- */
578
- deleteImpactForOption(impactId, optionId, investmentId, options) {
579
- return __awaiter(this, void 0, void 0, function* () {
580
- var _a, _b, _c;
581
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteImpactForOption(impactId, optionId, investmentId, options);
582
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
583
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OptionApi.deleteImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
584
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
585
- });
586
- },
587
337
  /**
588
338
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
589
339
  * @summary Delete an option for this investment
@@ -601,43 +351,6 @@ const OptionApiFp = function (configuration) {
601
351
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
602
352
  });
603
353
  },
604
- /**
605
- * Retrieve a specific impact for the option.
606
- * @summary Get an impact for this option
607
- * @param {string} impactId UUID of the impact
608
- * @param {string} optionId UUID of the option
609
- * @param {string} investmentId UUID of the investment
610
- * @param {*} [options] Override http request option.
611
- * @throws {RequiredError}
612
- */
613
- getImpactForOption(impactId, optionId, investmentId, options) {
614
- return __awaiter(this, void 0, void 0, function* () {
615
- var _a, _b, _c;
616
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getImpactForOption(impactId, optionId, investmentId, options);
617
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
618
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OptionApi.getImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
619
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
620
- });
621
- },
622
- /**
623
- * Retrieve a paginated list of all impacts for a specific option.
624
- * @summary List impacts for this option
625
- * @param {string} optionId UUID of the option
626
- * @param {string} investmentId UUID of the investment
627
- * @param {number} [offset] Number of records to skip
628
- * @param {number} [limit] Max number of records to return
629
- * @param {*} [options] Override http request option.
630
- * @throws {RequiredError}
631
- */
632
- getImpactsForOption(optionId, investmentId, offset, limit, options) {
633
- return __awaiter(this, void 0, void 0, function* () {
634
- var _a, _b, _c;
635
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getImpactsForOption(optionId, investmentId, offset, limit, options);
636
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
637
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OptionApi.getImpactsForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
638
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
639
- });
640
- },
641
354
  /**
642
355
  * Retrieve a specific option for the investment.
643
356
  * @summary Get an option for this investment
@@ -708,25 +421,6 @@ const OptionApiFp = function (configuration) {
708
421
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
709
422
  });
710
423
  },
711
- /**
712
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
713
- * @summary Partially update an impact for this option
714
- * @param {string} impactId UUID of the impact
715
- * @param {string} optionId UUID of the option
716
- * @param {string} investmentId UUID of the investment
717
- * @param {ImpactUpdate} impactUpdate
718
- * @param {*} [options] Override http request option.
719
- * @throws {RequiredError}
720
- */
721
- patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options) {
722
- return __awaiter(this, void 0, void 0, function* () {
723
- var _a, _b, _c;
724
- const localVarAxiosArgs = yield localVarAxiosParamCreator.patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options);
725
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
726
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OptionApi.patchImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
727
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
728
- });
729
- },
730
424
  /**
731
425
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
732
426
  * @summary Partially update an option for this investment
@@ -754,18 +448,6 @@ exports.OptionApiFp = OptionApiFp;
754
448
  const OptionApiFactory = function (configuration, basePath, axios) {
755
449
  const localVarFp = (0, exports.OptionApiFp)(configuration);
756
450
  return {
757
- /**
758
- * Create a new impact under this option.
759
- * @summary Create an impact for this option
760
- * @param {string} optionId UUID of the option
761
- * @param {string} investmentId UUID of the investment
762
- * @param {ImpactCreate} impactCreate
763
- * @param {*} [options] Override http request option.
764
- * @throws {RequiredError}
765
- */
766
- createImpactForOption(optionId, investmentId, impactCreate, options) {
767
- return localVarFp.createImpactForOption(optionId, investmentId, impactCreate, options).then((request) => request(axios, basePath));
768
- },
769
451
  /**
770
452
  * Create a new option under this investment.
771
453
  * @summary Create an option for this investment
@@ -777,18 +459,6 @@ const OptionApiFactory = function (configuration, basePath, axios) {
777
459
  createOptionForInvestment(investmentId, optionCreate, options) {
778
460
  return localVarFp.createOptionForInvestment(investmentId, optionCreate, options).then((request) => request(axios, basePath));
779
461
  },
780
- /**
781
- * Delete an existing impact by its ID.
782
- * @summary Delete an impact for this option
783
- * @param {string} impactId UUID of the impact
784
- * @param {string} optionId UUID of the option
785
- * @param {string} investmentId UUID of the investment
786
- * @param {*} [options] Override http request option.
787
- * @throws {RequiredError}
788
- */
789
- deleteImpactForOption(impactId, optionId, investmentId, options) {
790
- return localVarFp.deleteImpactForOption(impactId, optionId, investmentId, options).then((request) => request(axios, basePath));
791
- },
792
462
  /**
793
463
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
794
464
  * @summary Delete an option for this investment
@@ -800,31 +470,6 @@ const OptionApiFactory = function (configuration, basePath, axios) {
800
470
  deleteOptionForInvestment(optionId, investmentId, options) {
801
471
  return localVarFp.deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(axios, basePath));
802
472
  },
803
- /**
804
- * Retrieve a specific impact for the option.
805
- * @summary Get an impact for this option
806
- * @param {string} impactId UUID of the impact
807
- * @param {string} optionId UUID of the option
808
- * @param {string} investmentId UUID of the investment
809
- * @param {*} [options] Override http request option.
810
- * @throws {RequiredError}
811
- */
812
- getImpactForOption(impactId, optionId, investmentId, options) {
813
- return localVarFp.getImpactForOption(impactId, optionId, investmentId, options).then((request) => request(axios, basePath));
814
- },
815
- /**
816
- * Retrieve a paginated list of all impacts for a specific option.
817
- * @summary List impacts for this option
818
- * @param {string} optionId UUID of the option
819
- * @param {string} investmentId UUID of the investment
820
- * @param {number} [offset] Number of records to skip
821
- * @param {number} [limit] Max number of records to return
822
- * @param {*} [options] Override http request option.
823
- * @throws {RequiredError}
824
- */
825
- getImpactsForOption(optionId, investmentId, offset, limit, options) {
826
- return localVarFp.getImpactsForOption(optionId, investmentId, offset, limit, options).then((request) => request(axios, basePath));
827
- },
828
473
  /**
829
474
  * Retrieve a specific option for the investment.
830
475
  * @summary Get an option for this investment
@@ -871,19 +516,6 @@ const OptionApiFactory = function (configuration, basePath, axios) {
871
516
  getOptionsOverview(investmentId, valueFrameworkId, options) {
872
517
  return localVarFp.getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
873
518
  },
874
- /**
875
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
876
- * @summary Partially update an impact for this option
877
- * @param {string} impactId UUID of the impact
878
- * @param {string} optionId UUID of the option
879
- * @param {string} investmentId UUID of the investment
880
- * @param {ImpactUpdate} impactUpdate
881
- * @param {*} [options] Override http request option.
882
- * @throws {RequiredError}
883
- */
884
- patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options) {
885
- return localVarFp.patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options).then((request) => request(axios, basePath));
886
- },
887
519
  /**
888
520
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
889
521
  * @summary Partially update an option for this investment
@@ -903,18 +535,6 @@ exports.OptionApiFactory = OptionApiFactory;
903
535
  * OptionApi - object-oriented interface
904
536
  */
905
537
  class OptionApi extends base_1.BaseAPI {
906
- /**
907
- * Create a new impact under this option.
908
- * @summary Create an impact for this option
909
- * @param {string} optionId UUID of the option
910
- * @param {string} investmentId UUID of the investment
911
- * @param {ImpactCreate} impactCreate
912
- * @param {*} [options] Override http request option.
913
- * @throws {RequiredError}
914
- */
915
- createImpactForOption(optionId, investmentId, impactCreate, options) {
916
- return (0, exports.OptionApiFp)(this.configuration).createImpactForOption(optionId, investmentId, impactCreate, options).then((request) => request(this.axios, this.basePath));
917
- }
918
538
  /**
919
539
  * Create a new option under this investment.
920
540
  * @summary Create an option for this investment
@@ -926,18 +546,6 @@ class OptionApi extends base_1.BaseAPI {
926
546
  createOptionForInvestment(investmentId, optionCreate, options) {
927
547
  return (0, exports.OptionApiFp)(this.configuration).createOptionForInvestment(investmentId, optionCreate, options).then((request) => request(this.axios, this.basePath));
928
548
  }
929
- /**
930
- * Delete an existing impact by its ID.
931
- * @summary Delete an impact for this option
932
- * @param {string} impactId UUID of the impact
933
- * @param {string} optionId UUID of the option
934
- * @param {string} investmentId UUID of the investment
935
- * @param {*} [options] Override http request option.
936
- * @throws {RequiredError}
937
- */
938
- deleteImpactForOption(impactId, optionId, investmentId, options) {
939
- return (0, exports.OptionApiFp)(this.configuration).deleteImpactForOption(impactId, optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
940
- }
941
549
  /**
942
550
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
943
551
  * @summary Delete an option for this investment
@@ -949,31 +557,6 @@ class OptionApi extends base_1.BaseAPI {
949
557
  deleteOptionForInvestment(optionId, investmentId, options) {
950
558
  return (0, exports.OptionApiFp)(this.configuration).deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
951
559
  }
952
- /**
953
- * Retrieve a specific impact for the option.
954
- * @summary Get an impact for this option
955
- * @param {string} impactId UUID of the impact
956
- * @param {string} optionId UUID of the option
957
- * @param {string} investmentId UUID of the investment
958
- * @param {*} [options] Override http request option.
959
- * @throws {RequiredError}
960
- */
961
- getImpactForOption(impactId, optionId, investmentId, options) {
962
- return (0, exports.OptionApiFp)(this.configuration).getImpactForOption(impactId, optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
963
- }
964
- /**
965
- * Retrieve a paginated list of all impacts for a specific option.
966
- * @summary List impacts for this option
967
- * @param {string} optionId UUID of the option
968
- * @param {string} investmentId UUID of the investment
969
- * @param {number} [offset] Number of records to skip
970
- * @param {number} [limit] Max number of records to return
971
- * @param {*} [options] Override http request option.
972
- * @throws {RequiredError}
973
- */
974
- getImpactsForOption(optionId, investmentId, offset, limit, options) {
975
- return (0, exports.OptionApiFp)(this.configuration).getImpactsForOption(optionId, investmentId, offset, limit, options).then((request) => request(this.axios, this.basePath));
976
- }
977
560
  /**
978
561
  * Retrieve a specific option for the investment.
979
562
  * @summary Get an option for this investment
@@ -1020,19 +603,6 @@ class OptionApi extends base_1.BaseAPI {
1020
603
  getOptionsOverview(investmentId, valueFrameworkId, options) {
1021
604
  return (0, exports.OptionApiFp)(this.configuration).getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
1022
605
  }
1023
- /**
1024
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
1025
- * @summary Partially update an impact for this option
1026
- * @param {string} impactId UUID of the impact
1027
- * @param {string} optionId UUID of the option
1028
- * @param {string} investmentId UUID of the investment
1029
- * @param {ImpactUpdate} impactUpdate
1030
- * @param {*} [options] Override http request option.
1031
- * @throws {RequiredError}
1032
- */
1033
- patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options) {
1034
- return (0, exports.OptionApiFp)(this.configuration).patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options).then((request) => request(this.axios, this.basePath));
1035
- }
1036
606
  /**
1037
607
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
1038
608
  * @summary Partially update an option for this investment
@@ -2,7 +2,7 @@
2
2
  * Asset Investment Planning
3
3
  * API for Asset Investment Planning
4
4
  *
5
- * The version of the OpenAPI document: 0.3.0-dev1
5
+ * The version of the OpenAPI document: 0.3.0-dev3
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.3.0-dev1
8
+ * The version of the OpenAPI document: 0.3.0-dev3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).