@cosmotech/aip-client 0.2.0-dev2 → 0.2.0-dev4

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 (308) hide show
  1. package/README.md +147 -4
  2. package/api/default-api.ts +8 -15
  3. package/api/favored-option-api.ts +210 -0
  4. package/api/impact-api.ts +507 -0
  5. package/api/investment-api.ts +1464 -0
  6. package/api/metric-api.ts +185 -164
  7. package/api/metric-costs-api.ts +144 -0
  8. package/api/metric-costs-per-year-api.ts +200 -200
  9. package/api/objective-api.ts +538 -44
  10. package/api/objective-weight-api.ts +190 -190
  11. package/api/objective-weights-api.ts +144 -0
  12. package/api/option-api.ts +925 -0
  13. package/api/value-framework-api.ts +1223 -109
  14. package/api/value-framework-costs-api.ts +239 -0
  15. package/api/value-framework-weights-api.ts +144 -0
  16. package/api.ts +9 -1
  17. package/base.ts +1 -25
  18. package/common.ts +20 -43
  19. package/configuration.ts +31 -20
  20. package/dist/api/default-api.d.ts +3 -10
  21. package/dist/api/default-api.js +7 -13
  22. package/dist/api/favored-option-api.d.ts +104 -0
  23. package/dist/api/favored-option-api.js +209 -0
  24. package/dist/api/impact-api.d.ts +245 -0
  25. package/dist/api/impact-api.js +493 -0
  26. package/dist/api/investment-api.d.ts +677 -0
  27. package/dist/api/investment-api.js +1394 -0
  28. package/dist/api/metric-api.d.ts +97 -88
  29. package/dist/api/metric-api.js +185 -157
  30. package/dist/api/metric-costs-api.d.ts +75 -0
  31. package/dist/api/metric-costs-api.js +146 -0
  32. package/dist/api/metric-costs-per-year-api.d.ts +105 -108
  33. package/dist/api/metric-costs-per-year-api.js +199 -192
  34. package/dist/api/objective-api.d.ts +242 -21
  35. package/dist/api/objective-api.js +508 -37
  36. package/dist/api/objective-weight-api.d.ts +105 -108
  37. package/dist/api/objective-weight-api.js +189 -182
  38. package/dist/api/objective-weights-api.d.ts +75 -0
  39. package/dist/api/objective-weights-api.js +146 -0
  40. package/dist/api/option-api.d.ts +436 -0
  41. package/dist/api/option-api.js +888 -0
  42. package/dist/api/value-framework-api.d.ts +528 -21
  43. package/dist/api/value-framework-api.js +1138 -78
  44. package/dist/api/value-framework-costs-api.d.ts +119 -0
  45. package/dist/api/value-framework-costs-api.js +236 -0
  46. package/dist/api/value-framework-weights-api.d.ts +75 -0
  47. package/dist/api/value-framework-weights-api.js +146 -0
  48. package/dist/api.d.ts +9 -1
  49. package/dist/api.js +9 -1
  50. package/dist/base.d.ts +1 -25
  51. package/dist/base.js +1 -20
  52. package/dist/common.d.ts +6 -37
  53. package/dist/common.js +17 -39
  54. package/dist/configuration.d.ts +25 -18
  55. package/dist/configuration.js +4 -3
  56. package/dist/esm/api/default-api.d.ts +3 -10
  57. package/dist/esm/api/default-api.js +7 -13
  58. package/dist/esm/api/favored-option-api.d.ts +104 -0
  59. package/dist/esm/api/favored-option-api.js +202 -0
  60. package/dist/esm/api/impact-api.d.ts +245 -0
  61. package/dist/esm/api/impact-api.js +486 -0
  62. package/dist/esm/api/investment-api.d.ts +677 -0
  63. package/dist/esm/api/investment-api.js +1387 -0
  64. package/dist/esm/api/metric-api.d.ts +97 -88
  65. package/dist/esm/api/metric-api.js +185 -157
  66. package/dist/esm/api/metric-costs-api.d.ts +75 -0
  67. package/dist/esm/api/metric-costs-api.js +139 -0
  68. package/dist/esm/api/metric-costs-per-year-api.d.ts +105 -108
  69. package/dist/esm/api/metric-costs-per-year-api.js +199 -192
  70. package/dist/esm/api/objective-api.d.ts +242 -21
  71. package/dist/esm/api/objective-api.js +508 -37
  72. package/dist/esm/api/objective-weight-api.d.ts +105 -108
  73. package/dist/esm/api/objective-weight-api.js +189 -182
  74. package/dist/esm/api/objective-weights-api.d.ts +75 -0
  75. package/dist/esm/api/objective-weights-api.js +139 -0
  76. package/dist/esm/api/option-api.d.ts +436 -0
  77. package/dist/esm/api/option-api.js +881 -0
  78. package/dist/esm/api/value-framework-api.d.ts +528 -21
  79. package/dist/esm/api/value-framework-api.js +1137 -77
  80. package/dist/esm/api/value-framework-costs-api.d.ts +119 -0
  81. package/dist/esm/api/value-framework-costs-api.js +229 -0
  82. package/dist/esm/api/value-framework-weights-api.d.ts +75 -0
  83. package/dist/esm/api/value-framework-weights-api.js +139 -0
  84. package/dist/esm/api.d.ts +9 -1
  85. package/dist/esm/api.js +9 -1
  86. package/dist/esm/base.d.ts +1 -25
  87. package/dist/esm/base.js +1 -20
  88. package/dist/esm/common.d.ts +6 -37
  89. package/dist/esm/common.js +15 -38
  90. package/dist/esm/configuration.d.ts +25 -18
  91. package/dist/esm/configuration.js +4 -3
  92. package/dist/esm/index.d.ts +1 -1
  93. package/dist/esm/index.js +1 -1
  94. package/dist/esm/models/evolution-type.d.ts +16 -0
  95. package/dist/esm/models/evolution-type.js +17 -0
  96. package/dist/esm/models/favored-option-request.d.ts +20 -0
  97. package/dist/esm/models/{validation-error-loc-inner.js → favored-option-request.js} +1 -1
  98. package/dist/esm/models/favored-option-response.d.ts +20 -0
  99. package/dist/esm/models/favored-option-response.js +14 -0
  100. package/dist/esm/models/httpvalidation-error.d.ts +2 -12
  101. package/dist/esm/models/httpvalidation-error.js +1 -1
  102. package/dist/esm/models/impact-apiresponse.d.ts +33 -0
  103. package/dist/esm/models/impact-apiresponse.js +14 -0
  104. package/dist/esm/models/impact-create.d.ts +37 -0
  105. package/dist/esm/models/impact-create.js +14 -0
  106. package/dist/esm/models/impact-update.d.ts +22 -0
  107. package/dist/esm/models/impact-update.js +14 -0
  108. package/dist/esm/models/index.d.ts +13 -1
  109. package/dist/esm/models/index.js +13 -1
  110. package/dist/esm/models/investment-create.d.ts +21 -0
  111. package/dist/esm/models/investment-create.js +14 -0
  112. package/dist/esm/models/investment-response.d.ts +26 -0
  113. package/dist/esm/models/investment-response.js +14 -0
  114. package/dist/esm/models/investment-update.d.ts +18 -0
  115. package/dist/esm/models/investment-update.js +14 -0
  116. package/dist/esm/models/{validation-error-loc-inner.d.ts → location-inner.d.ts} +2 -7
  117. package/dist/esm/models/location-inner.js +14 -0
  118. package/dist/esm/models/measurement-type.d.ts +1 -6
  119. package/dist/esm/models/measurement-type.js +1 -6
  120. package/dist/esm/models/metric-costs-per-year-create.d.ts +1 -17
  121. package/dist/esm/models/metric-costs-per-year-create.js +1 -1
  122. package/dist/esm/models/metric-costs-per-year-response.d.ts +1 -18
  123. package/dist/esm/models/metric-costs-per-year-response.js +1 -1
  124. package/dist/esm/models/metric-costs-per-year-update.d.ts +1 -13
  125. package/dist/esm/models/metric-costs-per-year-update.js +1 -1
  126. package/dist/esm/models/metric-create.d.ts +3 -28
  127. package/dist/esm/models/metric-create.js +1 -1
  128. package/dist/esm/models/metric-response.d.ts +3 -50
  129. package/dist/esm/models/metric-response.js +1 -1
  130. package/dist/esm/models/metric-type.d.ts +1 -6
  131. package/dist/esm/models/metric-type.js +1 -6
  132. package/dist/esm/models/metric-update.d.ts +3 -35
  133. package/dist/esm/models/metric-update.js +1 -1
  134. package/dist/esm/models/objective-create.d.ts +1 -10
  135. package/dist/esm/models/objective-create.js +1 -1
  136. package/dist/esm/models/objective-response.d.ts +1 -30
  137. package/dist/esm/models/objective-response.js +1 -1
  138. package/dist/esm/models/objective-update.d.ts +1 -13
  139. package/dist/esm/models/objective-update.js +1 -1
  140. package/dist/esm/models/objective-weight-create.d.ts +1 -9
  141. package/dist/esm/models/objective-weight-create.js +1 -1
  142. package/dist/esm/models/objective-weight-response.d.ts +1 -14
  143. package/dist/esm/models/objective-weight-response.js +1 -1
  144. package/dist/esm/models/objective-weight-update.d.ts +1 -8
  145. package/dist/esm/models/objective-weight-update.js +1 -1
  146. package/dist/esm/models/option-create.d.ts +33 -0
  147. package/dist/esm/models/option-create.js +14 -0
  148. package/dist/esm/models/option-response.d.ts +32 -0
  149. package/dist/esm/models/option-response.js +14 -0
  150. package/dist/esm/models/option-update.d.ts +21 -0
  151. package/dist/esm/models/option-update.js +14 -0
  152. package/dist/esm/models/validation-error.d.ts +3 -33
  153. package/dist/esm/models/validation-error.js +1 -1
  154. package/dist/esm/models/value-framework-create.d.ts +1 -10
  155. package/dist/esm/models/value-framework-create.js +1 -1
  156. package/dist/esm/models/value-framework-response.d.ts +1 -30
  157. package/dist/esm/models/value-framework-response.js +1 -1
  158. package/dist/esm/models/value-framework-update.d.ts +1 -13
  159. package/dist/esm/models/value-framework-update.js +1 -1
  160. package/dist/index.d.ts +1 -1
  161. package/dist/index.js +1 -1
  162. package/dist/models/evolution-type.d.ts +16 -0
  163. package/dist/models/evolution-type.js +20 -0
  164. package/dist/models/favored-option-request.d.ts +20 -0
  165. package/dist/models/{validation-error-loc-inner.js → favored-option-request.js} +1 -1
  166. package/dist/models/favored-option-response.d.ts +20 -0
  167. package/dist/models/favored-option-response.js +15 -0
  168. package/dist/models/httpvalidation-error.d.ts +2 -12
  169. package/dist/models/httpvalidation-error.js +1 -1
  170. package/dist/models/impact-apiresponse.d.ts +33 -0
  171. package/dist/models/impact-apiresponse.js +15 -0
  172. package/dist/models/impact-create.d.ts +37 -0
  173. package/dist/models/impact-create.js +15 -0
  174. package/dist/models/impact-update.d.ts +22 -0
  175. package/dist/models/impact-update.js +15 -0
  176. package/dist/models/index.d.ts +13 -1
  177. package/dist/models/index.js +13 -1
  178. package/dist/models/investment-create.d.ts +21 -0
  179. package/dist/models/investment-create.js +15 -0
  180. package/dist/models/investment-response.d.ts +26 -0
  181. package/dist/models/investment-response.js +15 -0
  182. package/dist/models/investment-update.d.ts +18 -0
  183. package/dist/models/investment-update.js +15 -0
  184. package/dist/models/{validation-error-loc-inner.d.ts → location-inner.d.ts} +2 -7
  185. package/dist/models/location-inner.js +15 -0
  186. package/dist/models/measurement-type.d.ts +1 -6
  187. package/dist/models/measurement-type.js +1 -6
  188. package/dist/models/metric-costs-per-year-create.d.ts +1 -17
  189. package/dist/models/metric-costs-per-year-create.js +1 -1
  190. package/dist/models/metric-costs-per-year-response.d.ts +1 -18
  191. package/dist/models/metric-costs-per-year-response.js +1 -1
  192. package/dist/models/metric-costs-per-year-update.d.ts +1 -13
  193. package/dist/models/metric-costs-per-year-update.js +1 -1
  194. package/dist/models/metric-create.d.ts +3 -28
  195. package/dist/models/metric-create.js +1 -1
  196. package/dist/models/metric-response.d.ts +3 -50
  197. package/dist/models/metric-response.js +1 -1
  198. package/dist/models/metric-type.d.ts +1 -6
  199. package/dist/models/metric-type.js +1 -6
  200. package/dist/models/metric-update.d.ts +3 -35
  201. package/dist/models/metric-update.js +1 -1
  202. package/dist/models/objective-create.d.ts +1 -10
  203. package/dist/models/objective-create.js +1 -1
  204. package/dist/models/objective-response.d.ts +1 -30
  205. package/dist/models/objective-response.js +1 -1
  206. package/dist/models/objective-update.d.ts +1 -13
  207. package/dist/models/objective-update.js +1 -1
  208. package/dist/models/objective-weight-create.d.ts +1 -9
  209. package/dist/models/objective-weight-create.js +1 -1
  210. package/dist/models/objective-weight-response.d.ts +1 -14
  211. package/dist/models/objective-weight-response.js +1 -1
  212. package/dist/models/objective-weight-update.d.ts +1 -8
  213. package/dist/models/objective-weight-update.js +1 -1
  214. package/dist/models/option-create.d.ts +33 -0
  215. package/dist/models/option-create.js +15 -0
  216. package/dist/models/option-response.d.ts +32 -0
  217. package/dist/models/option-response.js +15 -0
  218. package/dist/models/option-update.d.ts +21 -0
  219. package/dist/models/option-update.js +15 -0
  220. package/dist/models/validation-error.d.ts +3 -33
  221. package/dist/models/validation-error.js +1 -1
  222. package/dist/models/value-framework-create.d.ts +1 -10
  223. package/dist/models/value-framework-create.js +1 -1
  224. package/dist/models/value-framework-response.d.ts +1 -30
  225. package/dist/models/value-framework-response.js +1 -1
  226. package/dist/models/value-framework-update.d.ts +1 -13
  227. package/dist/models/value-framework-update.js +1 -1
  228. package/docs/DefaultApi.md +51 -0
  229. package/docs/EvolutionType.md +10 -0
  230. package/docs/FavoredOptionApi.md +119 -0
  231. package/docs/FavoredOptionRequest.md +21 -0
  232. package/docs/FavoredOptionResponse.md +21 -0
  233. package/docs/HTTPValidationError.md +20 -0
  234. package/docs/ImpactAPIResponse.md +39 -0
  235. package/docs/ImpactApi.md +312 -0
  236. package/docs/ImpactCreate.md +29 -0
  237. package/docs/ImpactUpdate.md +29 -0
  238. package/docs/InvestmentApi.md +987 -0
  239. package/docs/InvestmentCreate.md +23 -0
  240. package/docs/InvestmentResponse.md +33 -0
  241. package/docs/InvestmentUpdate.md +23 -0
  242. package/docs/LocationInner.md +18 -0
  243. package/docs/MeasurementType.md +10 -0
  244. package/docs/MetricApi.md +299 -0
  245. package/docs/MetricCostsApi.md +66 -0
  246. package/docs/MetricCostsPerYearApi.md +307 -0
  247. package/docs/MetricCostsPerYearCreate.md +27 -0
  248. package/docs/MetricCostsPerYearResponse.md +31 -0
  249. package/docs/MetricCostsPerYearUpdate.md +23 -0
  250. package/docs/MetricCreate.md +33 -0
  251. package/docs/MetricResponse.md +43 -0
  252. package/docs/MetricType.md +12 -0
  253. package/docs/MetricUpdate.md +31 -0
  254. package/docs/ObjectiveApi.md +633 -0
  255. package/docs/ObjectiveCreate.md +23 -0
  256. package/docs/ObjectiveResponse.md +31 -0
  257. package/docs/ObjectiveUpdate.md +23 -0
  258. package/docs/ObjectiveWeightApi.md +298 -0
  259. package/docs/ObjectiveWeightCreate.md +25 -0
  260. package/docs/ObjectiveWeightResponse.md +27 -0
  261. package/docs/ObjectiveWeightUpdate.md +21 -0
  262. package/docs/ObjectiveWeightsApi.md +66 -0
  263. package/docs/OptionApi.md +602 -0
  264. package/docs/OptionCreate.md +29 -0
  265. package/docs/OptionResponse.md +39 -0
  266. package/docs/OptionUpdate.md +29 -0
  267. package/docs/ValidationError.md +28 -0
  268. package/docs/ValueFrameworkApi.md +1053 -0
  269. package/docs/ValueFrameworkCostsApi.md +128 -0
  270. package/docs/ValueFrameworkCreate.md +23 -0
  271. package/docs/ValueFrameworkResponse.md +31 -0
  272. package/docs/ValueFrameworkUpdate.md +23 -0
  273. package/docs/ValueFrameworkWeightsApi.md +66 -0
  274. package/index.ts +1 -1
  275. package/models/evolution-type.ts +26 -0
  276. package/models/favored-option-request.ts +26 -0
  277. package/models/favored-option-response.ts +26 -0
  278. package/models/httpvalidation-error.ts +2 -12
  279. package/models/impact-apiresponse.ts +43 -0
  280. package/models/impact-create.ts +47 -0
  281. package/models/impact-update.ts +32 -0
  282. package/models/index.ts +13 -1
  283. package/models/investment-create.ts +27 -0
  284. package/models/investment-response.ts +32 -0
  285. package/models/investment-update.ts +24 -0
  286. package/models/{validation-error-loc-inner.ts → location-inner.ts} +2 -7
  287. package/models/measurement-type.ts +1 -6
  288. package/models/metric-costs-per-year-create.ts +1 -17
  289. package/models/metric-costs-per-year-response.ts +1 -18
  290. package/models/metric-costs-per-year-update.ts +1 -13
  291. package/models/metric-create.ts +3 -28
  292. package/models/metric-response.ts +3 -50
  293. package/models/metric-type.ts +1 -6
  294. package/models/metric-update.ts +3 -35
  295. package/models/objective-create.ts +1 -10
  296. package/models/objective-response.ts +1 -30
  297. package/models/objective-update.ts +1 -13
  298. package/models/objective-weight-create.ts +1 -9
  299. package/models/objective-weight-response.ts +1 -14
  300. package/models/objective-weight-update.ts +1 -8
  301. package/models/option-create.ts +39 -0
  302. package/models/option-response.ts +38 -0
  303. package/models/option-update.ts +27 -0
  304. package/models/validation-error.ts +3 -33
  305. package/models/value-framework-create.ts +1 -10
  306. package/models/value-framework-response.ts +1 -30
  307. package/models/value-framework-update.ts +1 -13
  308. package/package.json +4 -4
@@ -0,0 +1,75 @@
1
+ /**
2
+ * Asset Investment Planning
3
+ * API for Asset Investment Planning
4
+ *
5
+ * The version of the OpenAPI document: 0.2.0-dev3
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { MetricCostsPerYearResponse } from '../models';
16
+ /**
17
+ * MetricCostsApi - axios parameter creator
18
+ */
19
+ export declare const MetricCostsApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ /**
21
+ * Retrieve a paginated list of all metric costs for a specific metric across all frameworks.
22
+ * @summary List all metric costs for a metric
23
+ * @param {string} metricId UUID of the metric
24
+ * @param {number} [offset] Number of records to skip
25
+ * @param {number} [limit] Max number of records to return
26
+ * @param {*} [options] Override http request option.
27
+ * @throws {RequiredError}
28
+ */
29
+ getCostsForMetric: (metricId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
+ };
31
+ /**
32
+ * MetricCostsApi - functional programming interface
33
+ */
34
+ export declare const MetricCostsApiFp: (configuration?: Configuration) => {
35
+ /**
36
+ * Retrieve a paginated list of all metric costs for a specific metric across all frameworks.
37
+ * @summary List all metric costs for a metric
38
+ * @param {string} metricId UUID of the metric
39
+ * @param {number} [offset] Number of records to skip
40
+ * @param {number} [limit] Max number of records to return
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ getCostsForMetric(metricId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MetricCostsPerYearResponse>>>;
45
+ };
46
+ /**
47
+ * MetricCostsApi - factory interface
48
+ */
49
+ export declare const MetricCostsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
50
+ /**
51
+ * Retrieve a paginated list of all metric costs for a specific metric across all frameworks.
52
+ * @summary List all metric costs for a metric
53
+ * @param {string} metricId UUID of the metric
54
+ * @param {number} [offset] Number of records to skip
55
+ * @param {number} [limit] Max number of records to return
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ getCostsForMetric(metricId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<MetricCostsPerYearResponse>>;
60
+ };
61
+ /**
62
+ * MetricCostsApi - object-oriented interface
63
+ */
64
+ export declare class MetricCostsApi extends BaseAPI {
65
+ /**
66
+ * Retrieve a paginated list of all metric costs for a specific metric across all frameworks.
67
+ * @summary List all metric costs for a metric
68
+ * @param {string} metricId UUID of the metric
69
+ * @param {number} [offset] Number of records to skip
70
+ * @param {number} [limit] Max number of records to return
71
+ * @param {*} [options] Override http request option.
72
+ * @throws {RequiredError}
73
+ */
74
+ getCostsForMetric(metricId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricCostsPerYearResponse[], any, {}>>;
75
+ }
@@ -0,0 +1,146 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Asset Investment Planning
6
+ * API for Asset Investment Planning
7
+ *
8
+ * The version of the OpenAPI document: 0.2.0-dev3
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.MetricCostsApi = exports.MetricCostsApiFactory = exports.MetricCostsApiFp = exports.MetricCostsApiAxiosParamCreator = void 0;
26
+ const axios_1 = require("axios");
27
+ // Some imports not used depending on template conditions
28
+ // @ts-ignore
29
+ const common_1 = require("../common");
30
+ // @ts-ignore
31
+ const base_1 = require("../base");
32
+ /**
33
+ * MetricCostsApi - axios parameter creator
34
+ */
35
+ const MetricCostsApiAxiosParamCreator = function (configuration) {
36
+ return {
37
+ /**
38
+ * Retrieve a paginated list of all metric costs for a specific metric across all frameworks.
39
+ * @summary List all metric costs for a metric
40
+ * @param {string} metricId UUID of the metric
41
+ * @param {number} [offset] Number of records to skip
42
+ * @param {number} [limit] Max number of records to return
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ getCostsForMetric: (metricId_1, offset_1, limit_1, ...args_1) => __awaiter(this, [metricId_1, offset_1, limit_1, ...args_1], void 0, function* (metricId, offset, limit, options = {}) {
47
+ // verify required parameter 'metricId' is not null or undefined
48
+ (0, common_1.assertParamExists)('getCostsForMetric', 'metricId', metricId);
49
+ const localVarPath = `/metric/{metric_id}/costs/`
50
+ .replace(`{${"metric_id"}}`, encodeURIComponent(String(metricId)));
51
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
53
+ let baseOptions;
54
+ if (configuration) {
55
+ baseOptions = configuration.baseOptions;
56
+ }
57
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
58
+ const localVarHeaderParameter = {};
59
+ const localVarQueryParameter = {};
60
+ // authentication OAuth2AuthorizationCodeBearer required
61
+ // oauth required
62
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
63
+ if (offset !== undefined) {
64
+ localVarQueryParameter['offset'] = offset;
65
+ }
66
+ if (limit !== undefined) {
67
+ localVarQueryParameter['limit'] = limit;
68
+ }
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
+ return {
74
+ url: (0, common_1.toPathString)(localVarUrlObj),
75
+ options: localVarRequestOptions,
76
+ };
77
+ }),
78
+ };
79
+ };
80
+ exports.MetricCostsApiAxiosParamCreator = MetricCostsApiAxiosParamCreator;
81
+ /**
82
+ * MetricCostsApi - functional programming interface
83
+ */
84
+ const MetricCostsApiFp = function (configuration) {
85
+ const localVarAxiosParamCreator = (0, exports.MetricCostsApiAxiosParamCreator)(configuration);
86
+ return {
87
+ /**
88
+ * Retrieve a paginated list of all metric costs for a specific metric across all frameworks.
89
+ * @summary List all metric costs for a metric
90
+ * @param {string} metricId UUID of the metric
91
+ * @param {number} [offset] Number of records to skip
92
+ * @param {number} [limit] Max number of records to return
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ getCostsForMetric(metricId, offset, limit, options) {
97
+ return __awaiter(this, void 0, void 0, function* () {
98
+ var _a, _b, _c;
99
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCostsForMetric(metricId, offset, limit, options);
100
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
101
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MetricCostsApi.getCostsForMetric']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
102
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
103
+ });
104
+ },
105
+ };
106
+ };
107
+ exports.MetricCostsApiFp = MetricCostsApiFp;
108
+ /**
109
+ * MetricCostsApi - factory interface
110
+ */
111
+ const MetricCostsApiFactory = function (configuration, basePath, axios) {
112
+ const localVarFp = (0, exports.MetricCostsApiFp)(configuration);
113
+ return {
114
+ /**
115
+ * Retrieve a paginated list of all metric costs for a specific metric across all frameworks.
116
+ * @summary List all metric costs for a metric
117
+ * @param {string} metricId UUID of the metric
118
+ * @param {number} [offset] Number of records to skip
119
+ * @param {number} [limit] Max number of records to return
120
+ * @param {*} [options] Override http request option.
121
+ * @throws {RequiredError}
122
+ */
123
+ getCostsForMetric(metricId, offset, limit, options) {
124
+ return localVarFp.getCostsForMetric(metricId, offset, limit, options).then((request) => request(axios, basePath));
125
+ },
126
+ };
127
+ };
128
+ exports.MetricCostsApiFactory = MetricCostsApiFactory;
129
+ /**
130
+ * MetricCostsApi - object-oriented interface
131
+ */
132
+ class MetricCostsApi extends base_1.BaseAPI {
133
+ /**
134
+ * Retrieve a paginated list of all metric costs for a specific metric across all frameworks.
135
+ * @summary List all metric costs for a metric
136
+ * @param {string} metricId UUID of the metric
137
+ * @param {number} [offset] Number of records to skip
138
+ * @param {number} [limit] Max number of records to return
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ */
142
+ getCostsForMetric(metricId, offset, limit, options) {
143
+ return (0, exports.MetricCostsApiFp)(this.configuration).getCostsForMetric(metricId, offset, limit, options).then((request) => request(this.axios, this.basePath));
144
+ }
145
+ }
146
+ exports.MetricCostsApi = MetricCostsApi;
@@ -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.2.0-dev2
5
+ * The version of the OpenAPI document: 0.2.0-dev3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11,230 +11,227 @@
11
11
  */
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import { RequestArgs, BaseAPI } from '../base';
15
- import { MetricCostsPerYearCreate } from '../models';
16
- import { MetricCostsPerYearResponse } from '../models';
17
- import { MetricCostsPerYearUpdate } from '../models';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { MetricCostsPerYearCreate } from '../models';
16
+ import type { MetricCostsPerYearResponse } from '../models';
17
+ import type { MetricCostsPerYearUpdate } from '../models';
18
18
  /**
19
19
  * MetricCostsPerYearApi - axios parameter creator
20
- * @export
21
20
  */
22
21
  export declare const MetricCostsPerYearApiAxiosParamCreator: (configuration?: Configuration) => {
23
22
  /**
24
- * Delete a metric cost entry by its composite key (metric_id, framework_id, year).
25
- * @summary Delete metric costs for a year
23
+ * Create a yearly cost override for a metric within this framework.
24
+ * @summary Create a yearly metric cost for this framework
25
+ * @param {string} valueFrameworkId UUID of the value framework
26
+ * @param {MetricCostsPerYearCreate} metricCostsPerYearCreate
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ */
30
+ createMetricCostForFramework: (valueFrameworkId: string, metricCostsPerYearCreate: MetricCostsPerYearCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
+ /**
32
+ * Delete a metric cost entry for a specific year within this framework.
33
+ * @summary Delete metric costs for this framework
26
34
  * @param {string} metricId UUID of the metric
27
- * @param {string} frameworkId UUID of the value framework
28
35
  * @param {number} year Year (1600-3000)
36
+ * @param {string} valueFrameworkId UUID of the value framework
29
37
  * @param {*} [options] Override http request option.
30
38
  * @throws {RequiredError}
31
39
  */
32
- deleteMetricCost: (metricId: string, frameworkId: string, year: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ deleteMetricCostForFramework: (metricId: string, year: number, valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
33
41
  /**
34
- * Retrieve cost data for a specific metric within a framework for a given year.
35
- * @summary Get a yearly metric cost by metric, framework, and year
42
+ * Retrieve cost data for a specific metric within this framework for a given year.
43
+ * @summary Get a yearly metric cost for this framework
36
44
  * @param {string} metricId UUID of the metric
37
- * @param {string} frameworkId UUID of the value framework
38
45
  * @param {number} year Year (1600-3000)
46
+ * @param {string} valueFrameworkId UUID of the value framework
39
47
  * @param {*} [options] Override http request option.
40
48
  * @throws {RequiredError}
41
49
  */
42
- getMetricCostByKeys: (metricId: string, frameworkId: string, year: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
50
+ getMetricCostForFramework: (metricId: string, year: number, valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
51
  /**
44
- * Retrieve a paginated list of all yearly metric cost overrides.
45
- * @summary List yearly metric costs
52
+ * Retrieve a paginated list of all yearly metric costs for a specific framework.
53
+ * @summary List yearly metric costs for this framework
54
+ * @param {string} valueFrameworkId UUID of the value framework
46
55
  * @param {number} [offset] Number of records to skip
47
56
  * @param {number} [limit] Max number of records to return
48
57
  * @param {*} [options] Override http request option.
49
58
  * @throws {RequiredError}
50
59
  */
51
- getMetricCosts: (offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
60
+ getMetricCostsForFramework: (valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
52
61
  /**
53
- * Update the perceived and/or direct cost of a metric for a specific year and framework. Identified by the composite key (metric_id, framework_id, year).
54
- * @summary Partially update metric costs for a year
62
+ * Update the perceived and/or direct cost of a metric for a specific year within this framework.
63
+ * @summary Partially update metric costs for this framework
55
64
  * @param {string} metricId UUID of the metric
56
- * @param {string} frameworkId UUID of the value framework
57
65
  * @param {number} year Year (1600-3000)
66
+ * @param {string} valueFrameworkId UUID of the value framework
58
67
  * @param {MetricCostsPerYearUpdate} metricCostsPerYearUpdate
59
68
  * @param {*} [options] Override http request option.
60
69
  * @throws {RequiredError}
61
70
  */
62
- patchMetricCost: (metricId: string, frameworkId: string, year: number, metricCostsPerYearUpdate: MetricCostsPerYearUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
63
- /**
64
- * Create a yearly cost override for a metric within a framework. Year must be between 1600 and 3000, costs must be >= 0.
65
- * @summary Create a yearly metric cost
66
- * @param {MetricCostsPerYearCreate} metricCostsPerYearCreate
67
- * @param {*} [options] Override http request option.
68
- * @throws {RequiredError}
69
- */
70
- postMetricCost: (metricCostsPerYearCreate: MetricCostsPerYearCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
71
+ patchMetricCostForFramework: (metricId: string, year: number, valueFrameworkId: string, metricCostsPerYearUpdate: MetricCostsPerYearUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
71
72
  };
72
73
  /**
73
74
  * MetricCostsPerYearApi - functional programming interface
74
- * @export
75
75
  */
76
76
  export declare const MetricCostsPerYearApiFp: (configuration?: Configuration) => {
77
77
  /**
78
- * Delete a metric cost entry by its composite key (metric_id, framework_id, year).
79
- * @summary Delete metric costs for a year
78
+ * Create a yearly cost override for a metric within this framework.
79
+ * @summary Create a yearly metric cost for this framework
80
+ * @param {string} valueFrameworkId UUID of the value framework
81
+ * @param {MetricCostsPerYearCreate} metricCostsPerYearCreate
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ createMetricCostForFramework(valueFrameworkId: string, metricCostsPerYearCreate: MetricCostsPerYearCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricCostsPerYearResponse>>;
86
+ /**
87
+ * Delete a metric cost entry for a specific year within this framework.
88
+ * @summary Delete metric costs for this framework
80
89
  * @param {string} metricId UUID of the metric
81
- * @param {string} frameworkId UUID of the value framework
82
90
  * @param {number} year Year (1600-3000)
91
+ * @param {string} valueFrameworkId UUID of the value framework
83
92
  * @param {*} [options] Override http request option.
84
93
  * @throws {RequiredError}
85
94
  */
86
- deleteMetricCost(metricId: string, frameworkId: string, year: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
95
+ deleteMetricCostForFramework(metricId: string, year: number, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
87
96
  /**
88
- * Retrieve cost data for a specific metric within a framework for a given year.
89
- * @summary Get a yearly metric cost by metric, framework, and year
97
+ * Retrieve cost data for a specific metric within this framework for a given year.
98
+ * @summary Get a yearly metric cost for this framework
90
99
  * @param {string} metricId UUID of the metric
91
- * @param {string} frameworkId UUID of the value framework
92
100
  * @param {number} year Year (1600-3000)
101
+ * @param {string} valueFrameworkId UUID of the value framework
93
102
  * @param {*} [options] Override http request option.
94
103
  * @throws {RequiredError}
95
104
  */
96
- getMetricCostByKeys(metricId: string, frameworkId: string, year: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricCostsPerYearResponse>>;
105
+ getMetricCostForFramework(metricId: string, year: number, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricCostsPerYearResponse>>;
97
106
  /**
98
- * Retrieve a paginated list of all yearly metric cost overrides.
99
- * @summary List yearly metric costs
107
+ * Retrieve a paginated list of all yearly metric costs for a specific framework.
108
+ * @summary List yearly metric costs for this framework
109
+ * @param {string} valueFrameworkId UUID of the value framework
100
110
  * @param {number} [offset] Number of records to skip
101
111
  * @param {number} [limit] Max number of records to return
102
112
  * @param {*} [options] Override http request option.
103
113
  * @throws {RequiredError}
104
114
  */
105
- getMetricCosts(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MetricCostsPerYearResponse>>>;
115
+ getMetricCostsForFramework(valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MetricCostsPerYearResponse>>>;
106
116
  /**
107
- * Update the perceived and/or direct cost of a metric for a specific year and framework. Identified by the composite key (metric_id, framework_id, year).
108
- * @summary Partially update metric costs for a year
117
+ * Update the perceived and/or direct cost of a metric for a specific year within this framework.
118
+ * @summary Partially update metric costs for this framework
109
119
  * @param {string} metricId UUID of the metric
110
- * @param {string} frameworkId UUID of the value framework
111
120
  * @param {number} year Year (1600-3000)
121
+ * @param {string} valueFrameworkId UUID of the value framework
112
122
  * @param {MetricCostsPerYearUpdate} metricCostsPerYearUpdate
113
123
  * @param {*} [options] Override http request option.
114
124
  * @throws {RequiredError}
115
125
  */
116
- patchMetricCost(metricId: string, frameworkId: string, year: number, metricCostsPerYearUpdate: MetricCostsPerYearUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricCostsPerYearResponse>>;
117
- /**
118
- * Create a yearly cost override for a metric within a framework. Year must be between 1600 and 3000, costs must be >= 0.
119
- * @summary Create a yearly metric cost
120
- * @param {MetricCostsPerYearCreate} metricCostsPerYearCreate
121
- * @param {*} [options] Override http request option.
122
- * @throws {RequiredError}
123
- */
124
- postMetricCost(metricCostsPerYearCreate: MetricCostsPerYearCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricCostsPerYearResponse>>;
126
+ patchMetricCostForFramework(metricId: string, year: number, valueFrameworkId: string, metricCostsPerYearUpdate: MetricCostsPerYearUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricCostsPerYearResponse>>;
125
127
  };
126
128
  /**
127
129
  * MetricCostsPerYearApi - factory interface
128
- * @export
129
130
  */
130
131
  export declare const MetricCostsPerYearApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
131
132
  /**
132
- * Delete a metric cost entry by its composite key (metric_id, framework_id, year).
133
- * @summary Delete metric costs for a year
133
+ * Create a yearly cost override for a metric within this framework.
134
+ * @summary Create a yearly metric cost for this framework
135
+ * @param {string} valueFrameworkId UUID of the value framework
136
+ * @param {MetricCostsPerYearCreate} metricCostsPerYearCreate
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ createMetricCostForFramework(valueFrameworkId: string, metricCostsPerYearCreate: MetricCostsPerYearCreate, options?: RawAxiosRequestConfig): AxiosPromise<MetricCostsPerYearResponse>;
141
+ /**
142
+ * Delete a metric cost entry for a specific year within this framework.
143
+ * @summary Delete metric costs for this framework
134
144
  * @param {string} metricId UUID of the metric
135
- * @param {string} frameworkId UUID of the value framework
136
145
  * @param {number} year Year (1600-3000)
146
+ * @param {string} valueFrameworkId UUID of the value framework
137
147
  * @param {*} [options] Override http request option.
138
148
  * @throws {RequiredError}
139
149
  */
140
- deleteMetricCost(metricId: string, frameworkId: string, year: number, options?: any): AxiosPromise<void>;
150
+ deleteMetricCostForFramework(metricId: string, year: number, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
141
151
  /**
142
- * Retrieve cost data for a specific metric within a framework for a given year.
143
- * @summary Get a yearly metric cost by metric, framework, and year
152
+ * Retrieve cost data for a specific metric within this framework for a given year.
153
+ * @summary Get a yearly metric cost for this framework
144
154
  * @param {string} metricId UUID of the metric
145
- * @param {string} frameworkId UUID of the value framework
146
155
  * @param {number} year Year (1600-3000)
156
+ * @param {string} valueFrameworkId UUID of the value framework
147
157
  * @param {*} [options] Override http request option.
148
158
  * @throws {RequiredError}
149
159
  */
150
- getMetricCostByKeys(metricId: string, frameworkId: string, year: number, options?: any): AxiosPromise<MetricCostsPerYearResponse>;
160
+ getMetricCostForFramework(metricId: string, year: number, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<MetricCostsPerYearResponse>;
151
161
  /**
152
- * Retrieve a paginated list of all yearly metric cost overrides.
153
- * @summary List yearly metric costs
162
+ * Retrieve a paginated list of all yearly metric costs for a specific framework.
163
+ * @summary List yearly metric costs for this framework
164
+ * @param {string} valueFrameworkId UUID of the value framework
154
165
  * @param {number} [offset] Number of records to skip
155
166
  * @param {number} [limit] Max number of records to return
156
167
  * @param {*} [options] Override http request option.
157
168
  * @throws {RequiredError}
158
169
  */
159
- getMetricCosts(offset?: number, limit?: number, options?: any): AxiosPromise<Array<MetricCostsPerYearResponse>>;
170
+ getMetricCostsForFramework(valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<MetricCostsPerYearResponse>>;
160
171
  /**
161
- * Update the perceived and/or direct cost of a metric for a specific year and framework. Identified by the composite key (metric_id, framework_id, year).
162
- * @summary Partially update metric costs for a year
172
+ * Update the perceived and/or direct cost of a metric for a specific year within this framework.
173
+ * @summary Partially update metric costs for this framework
163
174
  * @param {string} metricId UUID of the metric
164
- * @param {string} frameworkId UUID of the value framework
165
175
  * @param {number} year Year (1600-3000)
176
+ * @param {string} valueFrameworkId UUID of the value framework
166
177
  * @param {MetricCostsPerYearUpdate} metricCostsPerYearUpdate
167
178
  * @param {*} [options] Override http request option.
168
179
  * @throws {RequiredError}
169
180
  */
170
- patchMetricCost(metricId: string, frameworkId: string, year: number, metricCostsPerYearUpdate: MetricCostsPerYearUpdate, options?: any): AxiosPromise<MetricCostsPerYearResponse>;
171
- /**
172
- * Create a yearly cost override for a metric within a framework. Year must be between 1600 and 3000, costs must be >= 0.
173
- * @summary Create a yearly metric cost
174
- * @param {MetricCostsPerYearCreate} metricCostsPerYearCreate
175
- * @param {*} [options] Override http request option.
176
- * @throws {RequiredError}
177
- */
178
- postMetricCost(metricCostsPerYearCreate: MetricCostsPerYearCreate, options?: any): AxiosPromise<MetricCostsPerYearResponse>;
181
+ patchMetricCostForFramework(metricId: string, year: number, valueFrameworkId: string, metricCostsPerYearUpdate: MetricCostsPerYearUpdate, options?: RawAxiosRequestConfig): AxiosPromise<MetricCostsPerYearResponse>;
179
182
  };
180
183
  /**
181
184
  * MetricCostsPerYearApi - object-oriented interface
182
- * @export
183
- * @class MetricCostsPerYearApi
184
- * @extends {BaseAPI}
185
185
  */
186
186
  export declare class MetricCostsPerYearApi extends BaseAPI {
187
187
  /**
188
- * Delete a metric cost entry by its composite key (metric_id, framework_id, year).
189
- * @summary Delete metric costs for a year
188
+ * Create a yearly cost override for a metric within this framework.
189
+ * @summary Create a yearly metric cost for this framework
190
+ * @param {string} valueFrameworkId UUID of the value framework
191
+ * @param {MetricCostsPerYearCreate} metricCostsPerYearCreate
192
+ * @param {*} [options] Override http request option.
193
+ * @throws {RequiredError}
194
+ */
195
+ createMetricCostForFramework(valueFrameworkId: string, metricCostsPerYearCreate: MetricCostsPerYearCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricCostsPerYearResponse, any, {}>>;
196
+ /**
197
+ * Delete a metric cost entry for a specific year within this framework.
198
+ * @summary Delete metric costs for this framework
190
199
  * @param {string} metricId UUID of the metric
191
- * @param {string} frameworkId UUID of the value framework
192
200
  * @param {number} year Year (1600-3000)
201
+ * @param {string} valueFrameworkId UUID of the value framework
193
202
  * @param {*} [options] Override http request option.
194
203
  * @throws {RequiredError}
195
- * @memberof MetricCostsPerYearApi
196
204
  */
197
- deleteMetricCost(metricId: string, frameworkId: string, year: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
205
+ deleteMetricCostForFramework(metricId: string, year: number, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
198
206
  /**
199
- * Retrieve cost data for a specific metric within a framework for a given year.
200
- * @summary Get a yearly metric cost by metric, framework, and year
207
+ * Retrieve cost data for a specific metric within this framework for a given year.
208
+ * @summary Get a yearly metric cost for this framework
201
209
  * @param {string} metricId UUID of the metric
202
- * @param {string} frameworkId UUID of the value framework
203
210
  * @param {number} year Year (1600-3000)
211
+ * @param {string} valueFrameworkId UUID of the value framework
204
212
  * @param {*} [options] Override http request option.
205
213
  * @throws {RequiredError}
206
- * @memberof MetricCostsPerYearApi
207
214
  */
208
- getMetricCostByKeys(metricId: string, frameworkId: string, year: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricCostsPerYearResponse, any, {}>>;
215
+ getMetricCostForFramework(metricId: string, year: number, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricCostsPerYearResponse, any, {}>>;
209
216
  /**
210
- * Retrieve a paginated list of all yearly metric cost overrides.
211
- * @summary List yearly metric costs
217
+ * Retrieve a paginated list of all yearly metric costs for a specific framework.
218
+ * @summary List yearly metric costs for this framework
219
+ * @param {string} valueFrameworkId UUID of the value framework
212
220
  * @param {number} [offset] Number of records to skip
213
221
  * @param {number} [limit] Max number of records to return
214
222
  * @param {*} [options] Override http request option.
215
223
  * @throws {RequiredError}
216
- * @memberof MetricCostsPerYearApi
217
224
  */
218
- getMetricCosts(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricCostsPerYearResponse[], any, {}>>;
225
+ getMetricCostsForFramework(valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricCostsPerYearResponse[], any, {}>>;
219
226
  /**
220
- * Update the perceived and/or direct cost of a metric for a specific year and framework. Identified by the composite key (metric_id, framework_id, year).
221
- * @summary Partially update metric costs for a year
227
+ * Update the perceived and/or direct cost of a metric for a specific year within this framework.
228
+ * @summary Partially update metric costs for this framework
222
229
  * @param {string} metricId UUID of the metric
223
- * @param {string} frameworkId UUID of the value framework
224
230
  * @param {number} year Year (1600-3000)
231
+ * @param {string} valueFrameworkId UUID of the value framework
225
232
  * @param {MetricCostsPerYearUpdate} metricCostsPerYearUpdate
226
233
  * @param {*} [options] Override http request option.
227
234
  * @throws {RequiredError}
228
- * @memberof MetricCostsPerYearApi
229
- */
230
- patchMetricCost(metricId: string, frameworkId: string, year: number, metricCostsPerYearUpdate: MetricCostsPerYearUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricCostsPerYearResponse, any, {}>>;
231
- /**
232
- * Create a yearly cost override for a metric within a framework. Year must be between 1600 and 3000, costs must be >= 0.
233
- * @summary Create a yearly metric cost
234
- * @param {MetricCostsPerYearCreate} metricCostsPerYearCreate
235
- * @param {*} [options] Override http request option.
236
- * @throws {RequiredError}
237
- * @memberof MetricCostsPerYearApi
238
235
  */
239
- postMetricCost(metricCostsPerYearCreate: MetricCostsPerYearCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricCostsPerYearResponse, any, {}>>;
236
+ patchMetricCostForFramework(metricId: string, year: number, valueFrameworkId: string, metricCostsPerYearUpdate: MetricCostsPerYearUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricCostsPerYearResponse, any, {}>>;
240
237
  }