@cosmotech/aip-client 0.3.0-dev2 → 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 (343) hide show
  1. package/README.md +4 -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 +55 -1254
  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 +1 -551
  28. package/dist/api/investment-api.js +57 -1189
  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 +1 -551
  66. package/dist/esm/api/investment-api.js +56 -1188
  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 +1 -1
  116. package/dist/esm/models/bulk-delete-request.js +1 -1
  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 +1 -0
  130. package/dist/esm/models/index.js +1 -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 +1 -1
  212. package/dist/models/bulk-delete-request.js +1 -1
  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 +1 -0
  226. package/dist/models/index.js +1 -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/ImpactApi.md +60 -0
  290. package/docs/ImpactBulkItem.md +29 -0
  291. package/docs/InvestmentApi.md +29 -851
  292. package/docs/ObjectiveApi.md +0 -351
  293. package/docs/OptionApi.md +0 -305
  294. package/docs/ValueFrameworkApi.md +7 -778
  295. package/index.ts +1 -1
  296. package/models/budget-bulk-delete-request.ts +1 -1
  297. package/models/budget-create.ts +1 -1
  298. package/models/budget-investment-response.ts +1 -1
  299. package/models/budget-link-options-request.ts +1 -1
  300. package/models/budget-option-response.ts +1 -1
  301. package/models/budget-overview-response.ts +1 -1
  302. package/models/budget-response.ts +1 -1
  303. package/models/budget-update.ts +1 -1
  304. package/models/bulk-delete-request.ts +1 -1
  305. package/models/evolution-type.ts +1 -1
  306. package/models/httpvalidation-error.ts +1 -1
  307. package/models/impact-apiresponse.ts +1 -1
  308. package/models/impact-bulk-item.ts +47 -0
  309. package/models/impact-create.ts +1 -1
  310. package/models/impact-update.ts +1 -1
  311. package/models/index.ts +1 -0
  312. package/models/investment-create.ts +1 -1
  313. package/models/investment-overview-response.ts +1 -1
  314. package/models/investment-response.ts +1 -1
  315. package/models/investment-update.ts +1 -1
  316. package/models/location-inner.ts +1 -1
  317. package/models/measurement-type.ts +1 -1
  318. package/models/metric-costs-per-year-create.ts +1 -1
  319. package/models/metric-costs-per-year-response.ts +1 -1
  320. package/models/metric-costs-per-year-update.ts +1 -1
  321. package/models/metric-create.ts +1 -1
  322. package/models/metric-response.ts +1 -1
  323. package/models/metric-type.ts +1 -1
  324. package/models/metric-update.ts +1 -1
  325. package/models/objective-create.ts +1 -1
  326. package/models/objective-response.ts +1 -1
  327. package/models/objective-update.ts +1 -1
  328. package/models/objective-weight-create.ts +1 -1
  329. package/models/objective-weight-response.ts +1 -1
  330. package/models/objective-weight-update.ts +1 -1
  331. package/models/option-chart-kpi.ts +1 -1
  332. package/models/option-chart-kpis-yearly.ts +1 -1
  333. package/models/option-create.ts +1 -1
  334. package/models/option-overview-response.ts +1 -1
  335. package/models/option-response.ts +1 -1
  336. package/models/option-update.ts +1 -1
  337. package/models/preferred-option-request.ts +1 -1
  338. package/models/preferred-option-response.ts +1 -1
  339. package/models/validation-error.ts +1 -1
  340. package/models/value-framework-create.ts +1 -1
  341. package/models/value-framework-response.ts +1 -1
  342. package/models/value-framework-update.ts +1 -1
  343. package/package.json +1 -1
package/api/option-api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.3.0-dev1
7
+ * The version of the OpenAPI document: 0.3.0-dev3
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,12 +22,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
22
22
  // @ts-ignore
23
23
  import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
24
  // @ts-ignore
25
- import type { ImpactAPIResponse } from '../models';
26
- // @ts-ignore
27
- import type { ImpactCreate } from '../models';
28
- // @ts-ignore
29
- import type { ImpactUpdate } from '../models';
30
- // @ts-ignore
31
25
  import type { OptionChartKPIsYearly } from '../models';
32
26
  // @ts-ignore
33
27
  import type { OptionCreate } from '../models';
@@ -42,53 +36,6 @@ import type { OptionUpdate } from '../models';
42
36
  */
43
37
  export const OptionApiAxiosParamCreator = function (configuration?: Configuration) {
44
38
  return {
45
- /**
46
- * Create a new impact under this option.
47
- * @summary Create an impact for this option
48
- * @param {string} optionId UUID of the option
49
- * @param {string} investmentId UUID of the investment
50
- * @param {ImpactCreate} impactCreate
51
- * @param {*} [options] Override http request option.
52
- * @throws {RequiredError}
53
- */
54
- createImpactForOption: async (optionId: string, investmentId: string, impactCreate: ImpactCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55
- // verify required parameter 'optionId' is not null or undefined
56
- assertParamExists('createImpactForOption', 'optionId', optionId)
57
- // verify required parameter 'investmentId' is not null or undefined
58
- assertParamExists('createImpactForOption', 'investmentId', investmentId)
59
- // verify required parameter 'impactCreate' is not null or undefined
60
- assertParamExists('createImpactForOption', 'impactCreate', impactCreate)
61
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
62
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
63
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
64
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
65
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66
- let baseOptions;
67
- if (configuration) {
68
- baseOptions = configuration.baseOptions;
69
- }
70
-
71
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
72
- const localVarHeaderParameter = {} as any;
73
- const localVarQueryParameter = {} as any;
74
-
75
- // authentication OAuth2AuthorizationCodeBearer required
76
- // oauth required
77
- await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
78
-
79
- localVarHeaderParameter['Content-Type'] = 'application/json';
80
- localVarHeaderParameter['Accept'] = 'application/json';
81
-
82
- setSearchParams(localVarUrlObj, localVarQueryParameter);
83
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
85
- localVarRequestOptions.data = serializeDataIfNeeded(impactCreate, localVarRequestOptions, configuration)
86
-
87
- return {
88
- url: toPathString(localVarUrlObj),
89
- options: localVarRequestOptions,
90
- };
91
- },
92
39
  /**
93
40
  * Create a new option under this investment.
94
41
  * @summary Create an option for this investment
@@ -132,51 +79,6 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
132
79
  options: localVarRequestOptions,
133
80
  };
134
81
  },
135
- /**
136
- * Delete an existing impact by its ID.
137
- * @summary Delete an impact for this option
138
- * @param {string} impactId UUID of the impact
139
- * @param {string} optionId UUID of the option
140
- * @param {string} investmentId UUID of the investment
141
- * @param {*} [options] Override http request option.
142
- * @throws {RequiredError}
143
- */
144
- deleteImpactForOption: async (impactId: string, optionId: string, investmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
145
- // verify required parameter 'impactId' is not null or undefined
146
- assertParamExists('deleteImpactForOption', 'impactId', impactId)
147
- // verify required parameter 'optionId' is not null or undefined
148
- assertParamExists('deleteImpactForOption', 'optionId', optionId)
149
- // verify required parameter 'investmentId' is not null or undefined
150
- assertParamExists('deleteImpactForOption', 'investmentId', investmentId)
151
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
152
- .replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
153
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
154
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
155
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
156
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
157
- let baseOptions;
158
- if (configuration) {
159
- baseOptions = configuration.baseOptions;
160
- }
161
-
162
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
163
- const localVarHeaderParameter = {} as any;
164
- const localVarQueryParameter = {} as any;
165
-
166
- // authentication OAuth2AuthorizationCodeBearer required
167
- // oauth required
168
- await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
169
-
170
-
171
- setSearchParams(localVarUrlObj, localVarQueryParameter);
172
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
173
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
174
-
175
- return {
176
- url: toPathString(localVarUrlObj),
177
- options: localVarRequestOptions,
178
- };
179
- },
180
82
  /**
181
83
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
182
84
  * @summary Delete an option for this investment
@@ -209,104 +111,6 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
209
111
  await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
210
112
 
211
113
 
212
- setSearchParams(localVarUrlObj, localVarQueryParameter);
213
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
214
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
215
-
216
- return {
217
- url: toPathString(localVarUrlObj),
218
- options: localVarRequestOptions,
219
- };
220
- },
221
- /**
222
- * Retrieve a specific impact for the option.
223
- * @summary Get an impact for this option
224
- * @param {string} impactId UUID of the impact
225
- * @param {string} optionId UUID of the option
226
- * @param {string} investmentId UUID of the investment
227
- * @param {*} [options] Override http request option.
228
- * @throws {RequiredError}
229
- */
230
- getImpactForOption: async (impactId: string, optionId: string, investmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
231
- // verify required parameter 'impactId' is not null or undefined
232
- assertParamExists('getImpactForOption', 'impactId', impactId)
233
- // verify required parameter 'optionId' is not null or undefined
234
- assertParamExists('getImpactForOption', 'optionId', optionId)
235
- // verify required parameter 'investmentId' is not null or undefined
236
- assertParamExists('getImpactForOption', 'investmentId', investmentId)
237
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
238
- .replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
239
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
240
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
241
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
242
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
243
- let baseOptions;
244
- if (configuration) {
245
- baseOptions = configuration.baseOptions;
246
- }
247
-
248
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
249
- const localVarHeaderParameter = {} as any;
250
- const localVarQueryParameter = {} as any;
251
-
252
- // authentication OAuth2AuthorizationCodeBearer required
253
- // oauth required
254
- await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
255
-
256
- localVarHeaderParameter['Accept'] = 'application/json';
257
-
258
- setSearchParams(localVarUrlObj, localVarQueryParameter);
259
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
260
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
261
-
262
- return {
263
- url: toPathString(localVarUrlObj),
264
- options: localVarRequestOptions,
265
- };
266
- },
267
- /**
268
- * Retrieve a paginated list of all impacts for a specific option.
269
- * @summary List impacts for this option
270
- * @param {string} optionId UUID of the option
271
- * @param {string} investmentId UUID of the investment
272
- * @param {number} [offset] Number of records to skip
273
- * @param {number} [limit] Max number of records to return
274
- * @param {*} [options] Override http request option.
275
- * @throws {RequiredError}
276
- */
277
- getImpactsForOption: async (optionId: string, investmentId: string, offset?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
278
- // verify required parameter 'optionId' is not null or undefined
279
- assertParamExists('getImpactsForOption', 'optionId', optionId)
280
- // verify required parameter 'investmentId' is not null or undefined
281
- assertParamExists('getImpactsForOption', 'investmentId', investmentId)
282
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
283
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
284
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
285
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
286
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
287
- let baseOptions;
288
- if (configuration) {
289
- baseOptions = configuration.baseOptions;
290
- }
291
-
292
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
293
- const localVarHeaderParameter = {} as any;
294
- const localVarQueryParameter = {} as any;
295
-
296
- // authentication OAuth2AuthorizationCodeBearer required
297
- // oauth required
298
- await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
299
-
300
- if (offset !== undefined) {
301
- localVarQueryParameter['offset'] = offset;
302
- }
303
-
304
- if (limit !== undefined) {
305
- localVarQueryParameter['limit'] = limit;
306
- }
307
-
308
- localVarHeaderParameter['Accept'] = 'application/json';
309
-
310
114
  setSearchParams(localVarUrlObj, localVarQueryParameter);
311
115
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
312
116
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -497,57 +301,6 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
497
301
  options: localVarRequestOptions,
498
302
  };
499
303
  },
500
- /**
501
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
502
- * @summary Partially update an impact for this option
503
- * @param {string} impactId UUID of the impact
504
- * @param {string} optionId UUID of the option
505
- * @param {string} investmentId UUID of the investment
506
- * @param {ImpactUpdate} impactUpdate
507
- * @param {*} [options] Override http request option.
508
- * @throws {RequiredError}
509
- */
510
- patchImpactForOption: async (impactId: string, optionId: string, investmentId: string, impactUpdate: ImpactUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
511
- // verify required parameter 'impactId' is not null or undefined
512
- assertParamExists('patchImpactForOption', 'impactId', impactId)
513
- // verify required parameter 'optionId' is not null or undefined
514
- assertParamExists('patchImpactForOption', 'optionId', optionId)
515
- // verify required parameter 'investmentId' is not null or undefined
516
- assertParamExists('patchImpactForOption', 'investmentId', investmentId)
517
- // verify required parameter 'impactUpdate' is not null or undefined
518
- assertParamExists('patchImpactForOption', 'impactUpdate', impactUpdate)
519
- const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
520
- .replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
521
- .replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
522
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
523
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
524
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
525
- let baseOptions;
526
- if (configuration) {
527
- baseOptions = configuration.baseOptions;
528
- }
529
-
530
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
531
- const localVarHeaderParameter = {} as any;
532
- const localVarQueryParameter = {} as any;
533
-
534
- // authentication OAuth2AuthorizationCodeBearer required
535
- // oauth required
536
- await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
537
-
538
- localVarHeaderParameter['Content-Type'] = 'application/json';
539
- localVarHeaderParameter['Accept'] = 'application/json';
540
-
541
- setSearchParams(localVarUrlObj, localVarQueryParameter);
542
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
543
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
544
- localVarRequestOptions.data = serializeDataIfNeeded(impactUpdate, localVarRequestOptions, configuration)
545
-
546
- return {
547
- url: toPathString(localVarUrlObj),
548
- options: localVarRequestOptions,
549
- };
550
- },
551
304
  /**
552
305
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
553
306
  * @summary Partially update an option for this investment
@@ -604,21 +357,6 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
604
357
  export const OptionApiFp = function(configuration?: Configuration) {
605
358
  const localVarAxiosParamCreator = OptionApiAxiosParamCreator(configuration)
606
359
  return {
607
- /**
608
- * Create a new impact under this option.
609
- * @summary Create an impact for this option
610
- * @param {string} optionId UUID of the option
611
- * @param {string} investmentId UUID of the investment
612
- * @param {ImpactCreate} impactCreate
613
- * @param {*} [options] Override http request option.
614
- * @throws {RequiredError}
615
- */
616
- async createImpactForOption(optionId: string, investmentId: string, impactCreate: ImpactCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImpactAPIResponse>> {
617
- const localVarAxiosArgs = await localVarAxiosParamCreator.createImpactForOption(optionId, investmentId, impactCreate, options);
618
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
619
- const localVarOperationServerBasePath = operationServerMap['OptionApi.createImpactForOption']?.[localVarOperationServerIndex]?.url;
620
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
621
- },
622
360
  /**
623
361
  * Create a new option under this investment.
624
362
  * @summary Create an option for this investment
@@ -633,21 +371,6 @@ export const OptionApiFp = function(configuration?: Configuration) {
633
371
  const localVarOperationServerBasePath = operationServerMap['OptionApi.createOptionForInvestment']?.[localVarOperationServerIndex]?.url;
634
372
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
635
373
  },
636
- /**
637
- * Delete an existing impact by its ID.
638
- * @summary Delete an impact for this option
639
- * @param {string} impactId UUID of the impact
640
- * @param {string} optionId UUID of the option
641
- * @param {string} investmentId UUID of the investment
642
- * @param {*} [options] Override http request option.
643
- * @throws {RequiredError}
644
- */
645
- async deleteImpactForOption(impactId: string, optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
646
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteImpactForOption(impactId, optionId, investmentId, options);
647
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
648
- const localVarOperationServerBasePath = operationServerMap['OptionApi.deleteImpactForOption']?.[localVarOperationServerIndex]?.url;
649
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
650
- },
651
374
  /**
652
375
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
653
376
  * @summary Delete an option for this investment
@@ -662,37 +385,6 @@ export const OptionApiFp = function(configuration?: Configuration) {
662
385
  const localVarOperationServerBasePath = operationServerMap['OptionApi.deleteOptionForInvestment']?.[localVarOperationServerIndex]?.url;
663
386
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
664
387
  },
665
- /**
666
- * Retrieve a specific impact for the option.
667
- * @summary Get an impact for this option
668
- * @param {string} impactId UUID of the impact
669
- * @param {string} optionId UUID of the option
670
- * @param {string} investmentId UUID of the investment
671
- * @param {*} [options] Override http request option.
672
- * @throws {RequiredError}
673
- */
674
- async getImpactForOption(impactId: string, optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImpactAPIResponse>> {
675
- const localVarAxiosArgs = await localVarAxiosParamCreator.getImpactForOption(impactId, optionId, investmentId, options);
676
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
677
- const localVarOperationServerBasePath = operationServerMap['OptionApi.getImpactForOption']?.[localVarOperationServerIndex]?.url;
678
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
679
- },
680
- /**
681
- * Retrieve a paginated list of all impacts for a specific option.
682
- * @summary List impacts for this option
683
- * @param {string} optionId UUID of the option
684
- * @param {string} investmentId UUID of the investment
685
- * @param {number} [offset] Number of records to skip
686
- * @param {number} [limit] Max number of records to return
687
- * @param {*} [options] Override http request option.
688
- * @throws {RequiredError}
689
- */
690
- async getImpactsForOption(optionId: string, investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ImpactAPIResponse>>> {
691
- const localVarAxiosArgs = await localVarAxiosParamCreator.getImpactsForOption(optionId, investmentId, offset, limit, options);
692
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
693
- const localVarOperationServerBasePath = operationServerMap['OptionApi.getImpactsForOption']?.[localVarOperationServerIndex]?.url;
694
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
695
- },
696
388
  /**
697
389
  * Retrieve a specific option for the investment.
698
390
  * @summary Get an option for this investment
@@ -751,22 +443,6 @@ export const OptionApiFp = function(configuration?: Configuration) {
751
443
  const localVarOperationServerBasePath = operationServerMap['OptionApi.getOptionsOverview']?.[localVarOperationServerIndex]?.url;
752
444
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
753
445
  },
754
- /**
755
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
756
- * @summary Partially update an impact for this option
757
- * @param {string} impactId UUID of the impact
758
- * @param {string} optionId UUID of the option
759
- * @param {string} investmentId UUID of the investment
760
- * @param {ImpactUpdate} impactUpdate
761
- * @param {*} [options] Override http request option.
762
- * @throws {RequiredError}
763
- */
764
- async patchImpactForOption(impactId: string, optionId: string, investmentId: string, impactUpdate: ImpactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImpactAPIResponse>> {
765
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options);
766
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
767
- const localVarOperationServerBasePath = operationServerMap['OptionApi.patchImpactForOption']?.[localVarOperationServerIndex]?.url;
768
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
769
- },
770
446
  /**
771
447
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
772
448
  * @summary Partially update an option for this investment
@@ -791,18 +467,6 @@ export const OptionApiFp = function(configuration?: Configuration) {
791
467
  export const OptionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
792
468
  const localVarFp = OptionApiFp(configuration)
793
469
  return {
794
- /**
795
- * Create a new impact under this option.
796
- * @summary Create an impact for this option
797
- * @param {string} optionId UUID of the option
798
- * @param {string} investmentId UUID of the investment
799
- * @param {ImpactCreate} impactCreate
800
- * @param {*} [options] Override http request option.
801
- * @throws {RequiredError}
802
- */
803
- createImpactForOption(optionId: string, investmentId: string, impactCreate: ImpactCreate, options?: RawAxiosRequestConfig): AxiosPromise<ImpactAPIResponse> {
804
- return localVarFp.createImpactForOption(optionId, investmentId, impactCreate, options).then((request) => request(axios, basePath));
805
- },
806
470
  /**
807
471
  * Create a new option under this investment.
808
472
  * @summary Create an option for this investment
@@ -814,18 +478,6 @@ export const OptionApiFactory = function (configuration?: Configuration, basePat
814
478
  createOptionForInvestment(investmentId: string, optionCreate: OptionCreate, options?: RawAxiosRequestConfig): AxiosPromise<OptionResponse> {
815
479
  return localVarFp.createOptionForInvestment(investmentId, optionCreate, options).then((request) => request(axios, basePath));
816
480
  },
817
- /**
818
- * Delete an existing impact by its ID.
819
- * @summary Delete an impact for this option
820
- * @param {string} impactId UUID of the impact
821
- * @param {string} optionId UUID of the option
822
- * @param {string} investmentId UUID of the investment
823
- * @param {*} [options] Override http request option.
824
- * @throws {RequiredError}
825
- */
826
- deleteImpactForOption(impactId: string, optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
827
- return localVarFp.deleteImpactForOption(impactId, optionId, investmentId, options).then((request) => request(axios, basePath));
828
- },
829
481
  /**
830
482
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
831
483
  * @summary Delete an option for this investment
@@ -837,31 +489,6 @@ export const OptionApiFactory = function (configuration?: Configuration, basePat
837
489
  deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
838
490
  return localVarFp.deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(axios, basePath));
839
491
  },
840
- /**
841
- * Retrieve a specific impact for the option.
842
- * @summary Get an impact for this option
843
- * @param {string} impactId UUID of the impact
844
- * @param {string} optionId UUID of the option
845
- * @param {string} investmentId UUID of the investment
846
- * @param {*} [options] Override http request option.
847
- * @throws {RequiredError}
848
- */
849
- getImpactForOption(impactId: string, optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<ImpactAPIResponse> {
850
- return localVarFp.getImpactForOption(impactId, optionId, investmentId, options).then((request) => request(axios, basePath));
851
- },
852
- /**
853
- * Retrieve a paginated list of all impacts for a specific option.
854
- * @summary List impacts for this option
855
- * @param {string} optionId UUID of the option
856
- * @param {string} investmentId UUID of the investment
857
- * @param {number} [offset] Number of records to skip
858
- * @param {number} [limit] Max number of records to return
859
- * @param {*} [options] Override http request option.
860
- * @throws {RequiredError}
861
- */
862
- getImpactsForOption(optionId: string, investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ImpactAPIResponse>> {
863
- return localVarFp.getImpactsForOption(optionId, investmentId, offset, limit, options).then((request) => request(axios, basePath));
864
- },
865
492
  /**
866
493
  * Retrieve a specific option for the investment.
867
494
  * @summary Get an option for this investment
@@ -908,19 +535,6 @@ export const OptionApiFactory = function (configuration?: Configuration, basePat
908
535
  getOptionsOverview(investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionOverviewResponse>> {
909
536
  return localVarFp.getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
910
537
  },
911
- /**
912
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
913
- * @summary Partially update an impact for this option
914
- * @param {string} impactId UUID of the impact
915
- * @param {string} optionId UUID of the option
916
- * @param {string} investmentId UUID of the investment
917
- * @param {ImpactUpdate} impactUpdate
918
- * @param {*} [options] Override http request option.
919
- * @throws {RequiredError}
920
- */
921
- patchImpactForOption(impactId: string, optionId: string, investmentId: string, impactUpdate: ImpactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ImpactAPIResponse> {
922
- return localVarFp.patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options).then((request) => request(axios, basePath));
923
- },
924
538
  /**
925
539
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
926
540
  * @summary Partially update an option for this investment
@@ -940,19 +554,6 @@ export const OptionApiFactory = function (configuration?: Configuration, basePat
940
554
  * OptionApi - object-oriented interface
941
555
  */
942
556
  export class OptionApi extends BaseAPI {
943
- /**
944
- * Create a new impact under this option.
945
- * @summary Create an impact for this option
946
- * @param {string} optionId UUID of the option
947
- * @param {string} investmentId UUID of the investment
948
- * @param {ImpactCreate} impactCreate
949
- * @param {*} [options] Override http request option.
950
- * @throws {RequiredError}
951
- */
952
- public createImpactForOption(optionId: string, investmentId: string, impactCreate: ImpactCreate, options?: RawAxiosRequestConfig) {
953
- return OptionApiFp(this.configuration).createImpactForOption(optionId, investmentId, impactCreate, options).then((request) => request(this.axios, this.basePath));
954
- }
955
-
956
557
  /**
957
558
  * Create a new option under this investment.
958
559
  * @summary Create an option for this investment
@@ -965,19 +566,6 @@ export class OptionApi extends BaseAPI {
965
566
  return OptionApiFp(this.configuration).createOptionForInvestment(investmentId, optionCreate, options).then((request) => request(this.axios, this.basePath));
966
567
  }
967
568
 
968
- /**
969
- * Delete an existing impact by its ID.
970
- * @summary Delete an impact for this option
971
- * @param {string} impactId UUID of the impact
972
- * @param {string} optionId UUID of the option
973
- * @param {string} investmentId UUID of the investment
974
- * @param {*} [options] Override http request option.
975
- * @throws {RequiredError}
976
- */
977
- public deleteImpactForOption(impactId: string, optionId: string, investmentId: string, options?: RawAxiosRequestConfig) {
978
- return OptionApiFp(this.configuration).deleteImpactForOption(impactId, optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
979
- }
980
-
981
569
  /**
982
570
  * Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
983
571
  * @summary Delete an option for this investment
@@ -990,33 +578,6 @@ export class OptionApi extends BaseAPI {
990
578
  return OptionApiFp(this.configuration).deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
991
579
  }
992
580
 
993
- /**
994
- * Retrieve a specific impact for the option.
995
- * @summary Get an impact for this option
996
- * @param {string} impactId UUID of the impact
997
- * @param {string} optionId UUID of the option
998
- * @param {string} investmentId UUID of the investment
999
- * @param {*} [options] Override http request option.
1000
- * @throws {RequiredError}
1001
- */
1002
- public getImpactForOption(impactId: string, optionId: string, investmentId: string, options?: RawAxiosRequestConfig) {
1003
- return OptionApiFp(this.configuration).getImpactForOption(impactId, optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
1004
- }
1005
-
1006
- /**
1007
- * Retrieve a paginated list of all impacts for a specific option.
1008
- * @summary List impacts for this option
1009
- * @param {string} optionId UUID of the option
1010
- * @param {string} investmentId UUID of the investment
1011
- * @param {number} [offset] Number of records to skip
1012
- * @param {number} [limit] Max number of records to return
1013
- * @param {*} [options] Override http request option.
1014
- * @throws {RequiredError}
1015
- */
1016
- public getImpactsForOption(optionId: string, investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) {
1017
- return OptionApiFp(this.configuration).getImpactsForOption(optionId, investmentId, offset, limit, options).then((request) => request(this.axios, this.basePath));
1018
- }
1019
-
1020
581
  /**
1021
582
  * Retrieve a specific option for the investment.
1022
583
  * @summary Get an option for this investment
@@ -1067,20 +628,6 @@ export class OptionApi extends BaseAPI {
1067
628
  return OptionApiFp(this.configuration).getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
1068
629
  }
1069
630
 
1070
- /**
1071
- * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
1072
- * @summary Partially update an impact for this option
1073
- * @param {string} impactId UUID of the impact
1074
- * @param {string} optionId UUID of the option
1075
- * @param {string} investmentId UUID of the investment
1076
- * @param {ImpactUpdate} impactUpdate
1077
- * @param {*} [options] Override http request option.
1078
- * @throws {RequiredError}
1079
- */
1080
- public patchImpactForOption(impactId: string, optionId: string, investmentId: string, impactUpdate: ImpactUpdate, options?: RawAxiosRequestConfig) {
1081
- return OptionApiFp(this.configuration).patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options).then((request) => request(this.axios, this.basePath));
1082
- }
1083
-
1084
631
  /**
1085
632
  * Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
1086
633
  * @summary Partially update an option for this investment
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.3.0-dev1
7
+ * The version of the OpenAPI document: 0.3.0-dev3
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).