@cosmotech/aip-client 0.2.0-dev → 0.2.0-dev2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/default-api.ts +1 -1
- package/api/metric-api.ts +1 -1
- package/api/metric-costs-per-year-api.ts +1 -1
- package/api/objective-api.ts +1 -1
- package/api/objective-weight-api.ts +1 -1
- package/api/value-framework-api.ts +1 -1
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/default-api.d.ts +69 -0
- package/dist/api/default-api.js +128 -0
- package/dist/api/metric-api.d.ts +216 -0
- package/dist/api/metric-api.js +430 -0
- package/dist/api/metric-costs-per-year-api.d.ts +240 -0
- package/dist/api/metric-costs-per-year-api.js +472 -0
- package/dist/api/objective-api.d.ts +216 -0
- package/dist/api/objective-api.js +430 -0
- package/dist/api/objective-weight-api.d.ts +228 -0
- package/dist/api/objective-weight-api.js +451 -0
- package/dist/api/value-framework-api.d.ts +216 -0
- package/dist/api/value-framework-api.js +430 -0
- package/dist/api.d.ts +17 -0
- package/dist/api.js +35 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +43 -0
- package/dist/esm/api/default-api.d.ts +69 -0
- package/dist/esm/api/default-api.js +121 -0
- package/dist/esm/api/metric-api.d.ts +216 -0
- package/dist/esm/api/metric-api.js +423 -0
- package/dist/esm/api/metric-costs-per-year-api.d.ts +240 -0
- package/dist/esm/api/metric-costs-per-year-api.js +465 -0
- package/dist/esm/api/objective-api.d.ts +216 -0
- package/dist/esm/api/objective-api.js +423 -0
- package/dist/esm/api/objective-weight-api.d.ts +228 -0
- package/dist/esm/api/objective-weight-api.js +444 -0
- package/dist/esm/api/value-framework-api.d.ts +216 -0
- package/dist/esm/api/value-framework-api.js +423 -0
- package/dist/esm/api.d.ts +17 -0
- package/dist/esm/api.js +19 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +39 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/models/httpvalidation-error.d.ts +25 -0
- package/dist/esm/models/httpvalidation-error.js +14 -0
- package/dist/esm/models/index.d.ts +20 -0
- package/dist/esm/models/index.js +20 -0
- package/dist/esm/models/measurement-type.d.ts +21 -0
- package/dist/esm/models/measurement-type.js +22 -0
- package/dist/esm/models/metric-costs-per-year-create.d.ts +48 -0
- package/dist/esm/models/metric-costs-per-year-create.js +14 -0
- package/dist/esm/models/metric-costs-per-year-response.d.ts +54 -0
- package/dist/esm/models/metric-costs-per-year-response.js +14 -0
- package/dist/esm/models/metric-costs-per-year-update.d.ts +30 -0
- package/dist/esm/models/metric-costs-per-year-update.js +14 -0
- package/dist/esm/models/metric-create.d.ts +68 -0
- package/dist/esm/models/metric-create.js +14 -0
- package/dist/esm/models/metric-response.d.ts +92 -0
- package/dist/esm/models/metric-response.js +14 -0
- package/dist/esm/models/metric-type.d.ts +22 -0
- package/dist/esm/models/metric-type.js +23 -0
- package/dist/esm/models/metric-update.d.ts +56 -0
- package/dist/esm/models/metric-update.js +14 -0
- package/dist/esm/models/objective-create.d.ts +30 -0
- package/dist/esm/models/objective-create.js +14 -0
- package/dist/esm/models/objective-response.d.ts +54 -0
- package/dist/esm/models/objective-response.js +14 -0
- package/dist/esm/models/objective-update.d.ts +30 -0
- package/dist/esm/models/objective-update.js +14 -0
- package/dist/esm/models/objective-weight-create.d.ts +36 -0
- package/dist/esm/models/objective-weight-create.js +14 -0
- package/dist/esm/models/objective-weight-response.d.ts +42 -0
- package/dist/esm/models/objective-weight-response.js +14 -0
- package/dist/esm/models/objective-weight-update.d.ts +24 -0
- package/dist/esm/models/objective-weight-update.js +14 -0
- package/dist/esm/models/validation-error-loc-inner.d.ts +18 -0
- package/dist/esm/models/validation-error-loc-inner.js +14 -0
- package/dist/esm/models/validation-error.d.ts +49 -0
- package/dist/esm/models/validation-error.js +14 -0
- package/dist/esm/models/value-framework-create.d.ts +30 -0
- package/dist/esm/models/value-framework-create.js +14 -0
- package/dist/esm/models/value-framework-response.d.ts +54 -0
- package/dist/esm/models/value-framework-response.js +14 -0
- package/dist/esm/models/value-framework-update.d.ts +30 -0
- package/dist/esm/models/value-framework-update.js +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +32 -0
- package/dist/models/httpvalidation-error.d.ts +25 -0
- package/dist/models/httpvalidation-error.js +15 -0
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.js +36 -0
- package/dist/models/measurement-type.d.ts +21 -0
- package/dist/models/measurement-type.js +25 -0
- package/dist/models/metric-costs-per-year-create.d.ts +48 -0
- package/dist/models/metric-costs-per-year-create.js +15 -0
- package/dist/models/metric-costs-per-year-response.d.ts +54 -0
- package/dist/models/metric-costs-per-year-response.js +15 -0
- package/dist/models/metric-costs-per-year-update.d.ts +30 -0
- package/dist/models/metric-costs-per-year-update.js +15 -0
- package/dist/models/metric-create.d.ts +68 -0
- package/dist/models/metric-create.js +15 -0
- package/dist/models/metric-response.d.ts +92 -0
- package/dist/models/metric-response.js +15 -0
- package/dist/models/metric-type.d.ts +22 -0
- package/dist/models/metric-type.js +26 -0
- package/dist/models/metric-update.d.ts +56 -0
- package/dist/models/metric-update.js +15 -0
- package/dist/models/objective-create.d.ts +30 -0
- package/dist/models/objective-create.js +15 -0
- package/dist/models/objective-response.d.ts +54 -0
- package/dist/models/objective-response.js +15 -0
- package/dist/models/objective-update.d.ts +30 -0
- package/dist/models/objective-update.js +15 -0
- package/dist/models/objective-weight-create.d.ts +36 -0
- package/dist/models/objective-weight-create.js +15 -0
- package/dist/models/objective-weight-response.d.ts +42 -0
- package/dist/models/objective-weight-response.js +15 -0
- package/dist/models/objective-weight-update.d.ts +24 -0
- package/dist/models/objective-weight-update.js +15 -0
- package/dist/models/validation-error-loc-inner.d.ts +18 -0
- package/dist/models/validation-error-loc-inner.js +15 -0
- package/dist/models/validation-error.d.ts +49 -0
- package/dist/models/validation-error.js +15 -0
- package/dist/models/value-framework-create.d.ts +30 -0
- package/dist/models/value-framework-create.js +15 -0
- package/dist/models/value-framework-response.d.ts +54 -0
- package/dist/models/value-framework-response.js +15 -0
- package/dist/models/value-framework-update.d.ts +30 -0
- package/dist/models/value-framework-update.js +15 -0
- package/index.ts +1 -1
- package/models/httpvalidation-error.ts +1 -1
- package/models/measurement-type.ts +1 -1
- package/models/metric-costs-per-year-create.ts +1 -1
- package/models/metric-costs-per-year-response.ts +1 -1
- package/models/metric-costs-per-year-update.ts +1 -1
- package/models/metric-create.ts +1 -1
- package/models/metric-response.ts +1 -1
- package/models/metric-type.ts +1 -1
- package/models/metric-update.ts +1 -1
- package/models/objective-create.ts +1 -1
- package/models/objective-response.ts +1 -1
- package/models/objective-update.ts +1 -1
- package/models/objective-weight-create.ts +1 -1
- package/models/objective-weight-response.ts +1 -1
- package/models/objective-weight-update.ts +1 -1
- package/models/validation-error-loc-inner.ts +1 -1
- package/models/validation-error.ts +1 -1
- package/models/value-framework-create.ts +1 -1
- package/models/value-framework-response.ts +1 -1
- package/models/value-framework-update.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Asset Investment Planning
|
|
3
|
+
* API for Asset Investment Planning
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0-dev2
|
|
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 { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { MetricCostsPerYearCreate } from '../models';
|
|
16
|
+
import { MetricCostsPerYearResponse } from '../models';
|
|
17
|
+
import { MetricCostsPerYearUpdate } from '../models';
|
|
18
|
+
/**
|
|
19
|
+
* MetricCostsPerYearApi - axios parameter creator
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export declare const MetricCostsPerYearApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
* Delete a metric cost entry by its composite key (metric_id, framework_id, year).
|
|
25
|
+
* @summary Delete metric costs for a year
|
|
26
|
+
* @param {string} metricId UUID of the metric
|
|
27
|
+
* @param {string} frameworkId UUID of the value framework
|
|
28
|
+
* @param {number} year Year (1600-3000)
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
deleteMetricCost: (metricId: string, frameworkId: string, year: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
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
|
|
36
|
+
* @param {string} metricId UUID of the metric
|
|
37
|
+
* @param {string} frameworkId UUID of the value framework
|
|
38
|
+
* @param {number} year Year (1600-3000)
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
getMetricCostByKeys: (metricId: string, frameworkId: string, year: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
/**
|
|
44
|
+
* Retrieve a paginated list of all yearly metric cost overrides.
|
|
45
|
+
* @summary List yearly metric costs
|
|
46
|
+
* @param {number} [offset] Number of records to skip
|
|
47
|
+
* @param {number} [limit] Max number of records to return
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
getMetricCosts: (offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
/**
|
|
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
|
|
55
|
+
* @param {string} metricId UUID of the metric
|
|
56
|
+
* @param {string} frameworkId UUID of the value framework
|
|
57
|
+
* @param {number} year Year (1600-3000)
|
|
58
|
+
* @param {MetricCostsPerYearUpdate} metricCostsPerYearUpdate
|
|
59
|
+
* @param {*} [options] Override http request option.
|
|
60
|
+
* @throws {RequiredError}
|
|
61
|
+
*/
|
|
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
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* MetricCostsPerYearApi - functional programming interface
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const MetricCostsPerYearApiFp: (configuration?: Configuration) => {
|
|
77
|
+
/**
|
|
78
|
+
* Delete a metric cost entry by its composite key (metric_id, framework_id, year).
|
|
79
|
+
* @summary Delete metric costs for a year
|
|
80
|
+
* @param {string} metricId UUID of the metric
|
|
81
|
+
* @param {string} frameworkId UUID of the value framework
|
|
82
|
+
* @param {number} year Year (1600-3000)
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
deleteMetricCost(metricId: string, frameworkId: string, year: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
87
|
+
/**
|
|
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
|
|
90
|
+
* @param {string} metricId UUID of the metric
|
|
91
|
+
* @param {string} frameworkId UUID of the value framework
|
|
92
|
+
* @param {number} year Year (1600-3000)
|
|
93
|
+
* @param {*} [options] Override http request option.
|
|
94
|
+
* @throws {RequiredError}
|
|
95
|
+
*/
|
|
96
|
+
getMetricCostByKeys(metricId: string, frameworkId: string, year: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricCostsPerYearResponse>>;
|
|
97
|
+
/**
|
|
98
|
+
* Retrieve a paginated list of all yearly metric cost overrides.
|
|
99
|
+
* @summary List yearly metric costs
|
|
100
|
+
* @param {number} [offset] Number of records to skip
|
|
101
|
+
* @param {number} [limit] Max number of records to return
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
getMetricCosts(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MetricCostsPerYearResponse>>>;
|
|
106
|
+
/**
|
|
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
|
|
109
|
+
* @param {string} metricId UUID of the metric
|
|
110
|
+
* @param {string} frameworkId UUID of the value framework
|
|
111
|
+
* @param {number} year Year (1600-3000)
|
|
112
|
+
* @param {MetricCostsPerYearUpdate} metricCostsPerYearUpdate
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
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>>;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* MetricCostsPerYearApi - factory interface
|
|
128
|
+
* @export
|
|
129
|
+
*/
|
|
130
|
+
export declare const MetricCostsPerYearApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
131
|
+
/**
|
|
132
|
+
* Delete a metric cost entry by its composite key (metric_id, framework_id, year).
|
|
133
|
+
* @summary Delete metric costs for a year
|
|
134
|
+
* @param {string} metricId UUID of the metric
|
|
135
|
+
* @param {string} frameworkId UUID of the value framework
|
|
136
|
+
* @param {number} year Year (1600-3000)
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
deleteMetricCost(metricId: string, frameworkId: string, year: number, options?: any): AxiosPromise<void>;
|
|
141
|
+
/**
|
|
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
|
|
144
|
+
* @param {string} metricId UUID of the metric
|
|
145
|
+
* @param {string} frameworkId UUID of the value framework
|
|
146
|
+
* @param {number} year Year (1600-3000)
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
getMetricCostByKeys(metricId: string, frameworkId: string, year: number, options?: any): AxiosPromise<MetricCostsPerYearResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* Retrieve a paginated list of all yearly metric cost overrides.
|
|
153
|
+
* @summary List yearly metric costs
|
|
154
|
+
* @param {number} [offset] Number of records to skip
|
|
155
|
+
* @param {number} [limit] Max number of records to return
|
|
156
|
+
* @param {*} [options] Override http request option.
|
|
157
|
+
* @throws {RequiredError}
|
|
158
|
+
*/
|
|
159
|
+
getMetricCosts(offset?: number, limit?: number, options?: any): AxiosPromise<Array<MetricCostsPerYearResponse>>;
|
|
160
|
+
/**
|
|
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
|
|
163
|
+
* @param {string} metricId UUID of the metric
|
|
164
|
+
* @param {string} frameworkId UUID of the value framework
|
|
165
|
+
* @param {number} year Year (1600-3000)
|
|
166
|
+
* @param {MetricCostsPerYearUpdate} metricCostsPerYearUpdate
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
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>;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* MetricCostsPerYearApi - object-oriented interface
|
|
182
|
+
* @export
|
|
183
|
+
* @class MetricCostsPerYearApi
|
|
184
|
+
* @extends {BaseAPI}
|
|
185
|
+
*/
|
|
186
|
+
export declare class MetricCostsPerYearApi extends BaseAPI {
|
|
187
|
+
/**
|
|
188
|
+
* Delete a metric cost entry by its composite key (metric_id, framework_id, year).
|
|
189
|
+
* @summary Delete metric costs for a year
|
|
190
|
+
* @param {string} metricId UUID of the metric
|
|
191
|
+
* @param {string} frameworkId UUID of the value framework
|
|
192
|
+
* @param {number} year Year (1600-3000)
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
* @memberof MetricCostsPerYearApi
|
|
196
|
+
*/
|
|
197
|
+
deleteMetricCost(metricId: string, frameworkId: string, year: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
198
|
+
/**
|
|
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
|
|
201
|
+
* @param {string} metricId UUID of the metric
|
|
202
|
+
* @param {string} frameworkId UUID of the value framework
|
|
203
|
+
* @param {number} year Year (1600-3000)
|
|
204
|
+
* @param {*} [options] Override http request option.
|
|
205
|
+
* @throws {RequiredError}
|
|
206
|
+
* @memberof MetricCostsPerYearApi
|
|
207
|
+
*/
|
|
208
|
+
getMetricCostByKeys(metricId: string, frameworkId: string, year: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricCostsPerYearResponse, any, {}>>;
|
|
209
|
+
/**
|
|
210
|
+
* Retrieve a paginated list of all yearly metric cost overrides.
|
|
211
|
+
* @summary List yearly metric costs
|
|
212
|
+
* @param {number} [offset] Number of records to skip
|
|
213
|
+
* @param {number} [limit] Max number of records to return
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
* @memberof MetricCostsPerYearApi
|
|
217
|
+
*/
|
|
218
|
+
getMetricCosts(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricCostsPerYearResponse[], any, {}>>;
|
|
219
|
+
/**
|
|
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
|
|
222
|
+
* @param {string} metricId UUID of the metric
|
|
223
|
+
* @param {string} frameworkId UUID of the value framework
|
|
224
|
+
* @param {number} year Year (1600-3000)
|
|
225
|
+
* @param {MetricCostsPerYearUpdate} metricCostsPerYearUpdate
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @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
|
+
*/
|
|
239
|
+
postMetricCost(metricCostsPerYearCreate: MetricCostsPerYearCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricCostsPerYearResponse, any, {}>>;
|
|
240
|
+
}
|