@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.
Files changed (161) hide show
  1. package/README.md +2 -2
  2. package/api/default-api.ts +1 -1
  3. package/api/metric-api.ts +1 -1
  4. package/api/metric-costs-per-year-api.ts +1 -1
  5. package/api/objective-api.ts +1 -1
  6. package/api/objective-weight-api.ts +1 -1
  7. package/api/value-framework-api.ts +1 -1
  8. package/api.ts +1 -1
  9. package/base.ts +1 -1
  10. package/common.ts +1 -1
  11. package/configuration.ts +1 -1
  12. package/dist/api/default-api.d.ts +69 -0
  13. package/dist/api/default-api.js +128 -0
  14. package/dist/api/metric-api.d.ts +216 -0
  15. package/dist/api/metric-api.js +430 -0
  16. package/dist/api/metric-costs-per-year-api.d.ts +240 -0
  17. package/dist/api/metric-costs-per-year-api.js +472 -0
  18. package/dist/api/objective-api.d.ts +216 -0
  19. package/dist/api/objective-api.js +430 -0
  20. package/dist/api/objective-weight-api.d.ts +228 -0
  21. package/dist/api/objective-weight-api.js +451 -0
  22. package/dist/api/value-framework-api.d.ts +216 -0
  23. package/dist/api/value-framework-api.js +430 -0
  24. package/dist/api.d.ts +17 -0
  25. package/dist/api.js +35 -0
  26. package/dist/base.d.ts +66 -0
  27. package/dist/base.js +65 -0
  28. package/dist/common.d.ts +65 -0
  29. package/dist/common.js +161 -0
  30. package/dist/configuration.d.ts +91 -0
  31. package/dist/configuration.js +43 -0
  32. package/dist/esm/api/default-api.d.ts +69 -0
  33. package/dist/esm/api/default-api.js +121 -0
  34. package/dist/esm/api/metric-api.d.ts +216 -0
  35. package/dist/esm/api/metric-api.js +423 -0
  36. package/dist/esm/api/metric-costs-per-year-api.d.ts +240 -0
  37. package/dist/esm/api/metric-costs-per-year-api.js +465 -0
  38. package/dist/esm/api/objective-api.d.ts +216 -0
  39. package/dist/esm/api/objective-api.js +423 -0
  40. package/dist/esm/api/objective-weight-api.d.ts +228 -0
  41. package/dist/esm/api/objective-weight-api.js +444 -0
  42. package/dist/esm/api/value-framework-api.d.ts +216 -0
  43. package/dist/esm/api/value-framework-api.js +423 -0
  44. package/dist/esm/api.d.ts +17 -0
  45. package/dist/esm/api.js +19 -0
  46. package/dist/esm/base.d.ts +66 -0
  47. package/dist/esm/base.js +60 -0
  48. package/dist/esm/common.d.ts +65 -0
  49. package/dist/esm/common.js +149 -0
  50. package/dist/esm/configuration.d.ts +91 -0
  51. package/dist/esm/configuration.js +39 -0
  52. package/dist/esm/index.d.ts +14 -0
  53. package/dist/esm/index.js +16 -0
  54. package/dist/esm/models/httpvalidation-error.d.ts +25 -0
  55. package/dist/esm/models/httpvalidation-error.js +14 -0
  56. package/dist/esm/models/index.d.ts +20 -0
  57. package/dist/esm/models/index.js +20 -0
  58. package/dist/esm/models/measurement-type.d.ts +21 -0
  59. package/dist/esm/models/measurement-type.js +22 -0
  60. package/dist/esm/models/metric-costs-per-year-create.d.ts +48 -0
  61. package/dist/esm/models/metric-costs-per-year-create.js +14 -0
  62. package/dist/esm/models/metric-costs-per-year-response.d.ts +54 -0
  63. package/dist/esm/models/metric-costs-per-year-response.js +14 -0
  64. package/dist/esm/models/metric-costs-per-year-update.d.ts +30 -0
  65. package/dist/esm/models/metric-costs-per-year-update.js +14 -0
  66. package/dist/esm/models/metric-create.d.ts +68 -0
  67. package/dist/esm/models/metric-create.js +14 -0
  68. package/dist/esm/models/metric-response.d.ts +92 -0
  69. package/dist/esm/models/metric-response.js +14 -0
  70. package/dist/esm/models/metric-type.d.ts +22 -0
  71. package/dist/esm/models/metric-type.js +23 -0
  72. package/dist/esm/models/metric-update.d.ts +56 -0
  73. package/dist/esm/models/metric-update.js +14 -0
  74. package/dist/esm/models/objective-create.d.ts +30 -0
  75. package/dist/esm/models/objective-create.js +14 -0
  76. package/dist/esm/models/objective-response.d.ts +54 -0
  77. package/dist/esm/models/objective-response.js +14 -0
  78. package/dist/esm/models/objective-update.d.ts +30 -0
  79. package/dist/esm/models/objective-update.js +14 -0
  80. package/dist/esm/models/objective-weight-create.d.ts +36 -0
  81. package/dist/esm/models/objective-weight-create.js +14 -0
  82. package/dist/esm/models/objective-weight-response.d.ts +42 -0
  83. package/dist/esm/models/objective-weight-response.js +14 -0
  84. package/dist/esm/models/objective-weight-update.d.ts +24 -0
  85. package/dist/esm/models/objective-weight-update.js +14 -0
  86. package/dist/esm/models/validation-error-loc-inner.d.ts +18 -0
  87. package/dist/esm/models/validation-error-loc-inner.js +14 -0
  88. package/dist/esm/models/validation-error.d.ts +49 -0
  89. package/dist/esm/models/validation-error.js +14 -0
  90. package/dist/esm/models/value-framework-create.d.ts +30 -0
  91. package/dist/esm/models/value-framework-create.js +14 -0
  92. package/dist/esm/models/value-framework-response.d.ts +54 -0
  93. package/dist/esm/models/value-framework-response.js +14 -0
  94. package/dist/esm/models/value-framework-update.d.ts +30 -0
  95. package/dist/esm/models/value-framework-update.js +14 -0
  96. package/dist/index.d.ts +14 -0
  97. package/dist/index.js +32 -0
  98. package/dist/models/httpvalidation-error.d.ts +25 -0
  99. package/dist/models/httpvalidation-error.js +15 -0
  100. package/dist/models/index.d.ts +20 -0
  101. package/dist/models/index.js +36 -0
  102. package/dist/models/measurement-type.d.ts +21 -0
  103. package/dist/models/measurement-type.js +25 -0
  104. package/dist/models/metric-costs-per-year-create.d.ts +48 -0
  105. package/dist/models/metric-costs-per-year-create.js +15 -0
  106. package/dist/models/metric-costs-per-year-response.d.ts +54 -0
  107. package/dist/models/metric-costs-per-year-response.js +15 -0
  108. package/dist/models/metric-costs-per-year-update.d.ts +30 -0
  109. package/dist/models/metric-costs-per-year-update.js +15 -0
  110. package/dist/models/metric-create.d.ts +68 -0
  111. package/dist/models/metric-create.js +15 -0
  112. package/dist/models/metric-response.d.ts +92 -0
  113. package/dist/models/metric-response.js +15 -0
  114. package/dist/models/metric-type.d.ts +22 -0
  115. package/dist/models/metric-type.js +26 -0
  116. package/dist/models/metric-update.d.ts +56 -0
  117. package/dist/models/metric-update.js +15 -0
  118. package/dist/models/objective-create.d.ts +30 -0
  119. package/dist/models/objective-create.js +15 -0
  120. package/dist/models/objective-response.d.ts +54 -0
  121. package/dist/models/objective-response.js +15 -0
  122. package/dist/models/objective-update.d.ts +30 -0
  123. package/dist/models/objective-update.js +15 -0
  124. package/dist/models/objective-weight-create.d.ts +36 -0
  125. package/dist/models/objective-weight-create.js +15 -0
  126. package/dist/models/objective-weight-response.d.ts +42 -0
  127. package/dist/models/objective-weight-response.js +15 -0
  128. package/dist/models/objective-weight-update.d.ts +24 -0
  129. package/dist/models/objective-weight-update.js +15 -0
  130. package/dist/models/validation-error-loc-inner.d.ts +18 -0
  131. package/dist/models/validation-error-loc-inner.js +15 -0
  132. package/dist/models/validation-error.d.ts +49 -0
  133. package/dist/models/validation-error.js +15 -0
  134. package/dist/models/value-framework-create.d.ts +30 -0
  135. package/dist/models/value-framework-create.js +15 -0
  136. package/dist/models/value-framework-response.d.ts +54 -0
  137. package/dist/models/value-framework-response.js +15 -0
  138. package/dist/models/value-framework-update.d.ts +30 -0
  139. package/dist/models/value-framework-update.js +15 -0
  140. package/index.ts +1 -1
  141. package/models/httpvalidation-error.ts +1 -1
  142. package/models/measurement-type.ts +1 -1
  143. package/models/metric-costs-per-year-create.ts +1 -1
  144. package/models/metric-costs-per-year-response.ts +1 -1
  145. package/models/metric-costs-per-year-update.ts +1 -1
  146. package/models/metric-create.ts +1 -1
  147. package/models/metric-response.ts +1 -1
  148. package/models/metric-type.ts +1 -1
  149. package/models/metric-update.ts +1 -1
  150. package/models/objective-create.ts +1 -1
  151. package/models/objective-response.ts +1 -1
  152. package/models/objective-update.ts +1 -1
  153. package/models/objective-weight-create.ts +1 -1
  154. package/models/objective-weight-response.ts +1 -1
  155. package/models/objective-weight-update.ts +1 -1
  156. package/models/validation-error-loc-inner.ts +1 -1
  157. package/models/validation-error.ts +1 -1
  158. package/models/value-framework-create.ts +1 -1
  159. package/models/value-framework-response.ts +1 -1
  160. package/models/value-framework-update.ts +1 -1
  161. package/package.json +1 -1
@@ -0,0 +1,451 @@
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-dev2
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.ObjectiveWeightApi = exports.ObjectiveWeightApiFactory = exports.ObjectiveWeightApiFp = exports.ObjectiveWeightApiAxiosParamCreator = 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
+ * ObjectiveWeightApi - axios parameter creator
34
+ * @export
35
+ */
36
+ const ObjectiveWeightApiAxiosParamCreator = function (configuration) {
37
+ return {
38
+ /**
39
+ * Delete an objective weight link by its composite key (framework_id, objective_id).
40
+ * @summary Delete an objective weight
41
+ * @param {string} frameworkId UUID of the value framework
42
+ * @param {string} objectiveId UUID of the objective
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ deleteObjectiveWeight: (frameworkId, objectiveId, options = {}) => __awaiter(this, void 0, void 0, function* () {
47
+ // verify required parameter 'frameworkId' is not null or undefined
48
+ (0, common_1.assertParamExists)('deleteObjectiveWeight', 'frameworkId', frameworkId);
49
+ // verify required parameter 'objectiveId' is not null or undefined
50
+ (0, common_1.assertParamExists)('deleteObjectiveWeight', 'objectiveId', objectiveId);
51
+ const localVarPath = `/objective_weight/{framework_id}/{objective_id}`
52
+ .replace(`{${"framework_id"}}`, encodeURIComponent(String(frameworkId)))
53
+ .replace(`{${"objective_id"}}`, encodeURIComponent(String(objectiveId)));
54
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
55
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
56
+ let baseOptions;
57
+ if (configuration) {
58
+ baseOptions = configuration.baseOptions;
59
+ }
60
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
61
+ const localVarHeaderParameter = {};
62
+ const localVarQueryParameter = {};
63
+ // authentication OAuth2AuthorizationCodeBearer required
64
+ // oauth required
65
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
66
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
67
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
69
+ return {
70
+ url: (0, common_1.toPathString)(localVarUrlObj),
71
+ options: localVarRequestOptions,
72
+ };
73
+ }),
74
+ /**
75
+ * Retrieve the weight for a specific objective within a specific framework.
76
+ * @summary Get an objective weight by framework and objective
77
+ * @param {string} frameworkId UUID of the value framework
78
+ * @param {string} objectiveId UUID of the objective
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ getObjectiveWeightByKeys: (frameworkId, objectiveId, options = {}) => __awaiter(this, void 0, void 0, function* () {
83
+ // verify required parameter 'frameworkId' is not null or undefined
84
+ (0, common_1.assertParamExists)('getObjectiveWeightByKeys', 'frameworkId', frameworkId);
85
+ // verify required parameter 'objectiveId' is not null or undefined
86
+ (0, common_1.assertParamExists)('getObjectiveWeightByKeys', 'objectiveId', objectiveId);
87
+ const localVarPath = `/objective_weight/{framework_id}/{objective_id}`
88
+ .replace(`{${"framework_id"}}`, encodeURIComponent(String(frameworkId)))
89
+ .replace(`{${"objective_id"}}`, encodeURIComponent(String(objectiveId)));
90
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
91
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
92
+ let baseOptions;
93
+ if (configuration) {
94
+ baseOptions = configuration.baseOptions;
95
+ }
96
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
97
+ const localVarHeaderParameter = {};
98
+ const localVarQueryParameter = {};
99
+ // authentication OAuth2AuthorizationCodeBearer required
100
+ // oauth required
101
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
102
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
103
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
105
+ return {
106
+ url: (0, common_1.toPathString)(localVarUrlObj),
107
+ options: localVarRequestOptions,
108
+ };
109
+ }),
110
+ /**
111
+ * Retrieve a paginated list of all objective-framework weight assignments.
112
+ * @summary List objective weights
113
+ * @param {number} [offset] Number of records to skip
114
+ * @param {number} [limit] Max number of records to return
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ getObjectiveWeights: (offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
119
+ const localVarPath = `/objective_weight/`;
120
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
121
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
122
+ let baseOptions;
123
+ if (configuration) {
124
+ baseOptions = configuration.baseOptions;
125
+ }
126
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
127
+ const localVarHeaderParameter = {};
128
+ const localVarQueryParameter = {};
129
+ // authentication OAuth2AuthorizationCodeBearer required
130
+ // oauth required
131
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
132
+ if (offset !== undefined) {
133
+ localVarQueryParameter['offset'] = offset;
134
+ }
135
+ if (limit !== undefined) {
136
+ localVarQueryParameter['limit'] = limit;
137
+ }
138
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
139
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
140
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
141
+ return {
142
+ url: (0, common_1.toPathString)(localVarUrlObj),
143
+ options: localVarRequestOptions,
144
+ };
145
+ }),
146
+ /**
147
+ * Update the weight of an objective within a value framework. Identified by the composite key (framework_id, objective_id).
148
+ * @summary Partially update an objective weight
149
+ * @param {string} frameworkId UUID of the value framework
150
+ * @param {string} objectiveId UUID of the objective
151
+ * @param {ObjectiveWeightUpdate} objectiveWeightUpdate
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ patchObjectiveWeight: (frameworkId, objectiveId, objectiveWeightUpdate, options = {}) => __awaiter(this, void 0, void 0, function* () {
156
+ // verify required parameter 'frameworkId' is not null or undefined
157
+ (0, common_1.assertParamExists)('patchObjectiveWeight', 'frameworkId', frameworkId);
158
+ // verify required parameter 'objectiveId' is not null or undefined
159
+ (0, common_1.assertParamExists)('patchObjectiveWeight', 'objectiveId', objectiveId);
160
+ // verify required parameter 'objectiveWeightUpdate' is not null or undefined
161
+ (0, common_1.assertParamExists)('patchObjectiveWeight', 'objectiveWeightUpdate', objectiveWeightUpdate);
162
+ const localVarPath = `/objective_weight/{framework_id}/{objective_id}`
163
+ .replace(`{${"framework_id"}}`, encodeURIComponent(String(frameworkId)))
164
+ .replace(`{${"objective_id"}}`, encodeURIComponent(String(objectiveId)));
165
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
166
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
167
+ let baseOptions;
168
+ if (configuration) {
169
+ baseOptions = configuration.baseOptions;
170
+ }
171
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
172
+ const localVarHeaderParameter = {};
173
+ const localVarQueryParameter = {};
174
+ // authentication OAuth2AuthorizationCodeBearer required
175
+ // oauth required
176
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
177
+ localVarHeaderParameter['Content-Type'] = 'application/json';
178
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
179
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
180
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
181
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(objectiveWeightUpdate, localVarRequestOptions, configuration);
182
+ return {
183
+ url: (0, common_1.toPathString)(localVarUrlObj),
184
+ options: localVarRequestOptions,
185
+ };
186
+ }),
187
+ /**
188
+ * Assign a weight to an objective within a framework. Weight must be >= 0, defaults to 1.0.
189
+ * @summary Create an objective weight
190
+ * @param {ObjectiveWeightCreate} objectiveWeightCreate
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ postObjectiveWeight: (objectiveWeightCreate, options = {}) => __awaiter(this, void 0, void 0, function* () {
195
+ // verify required parameter 'objectiveWeightCreate' is not null or undefined
196
+ (0, common_1.assertParamExists)('postObjectiveWeight', 'objectiveWeightCreate', objectiveWeightCreate);
197
+ const localVarPath = `/objective_weight/`;
198
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
199
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
200
+ let baseOptions;
201
+ if (configuration) {
202
+ baseOptions = configuration.baseOptions;
203
+ }
204
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
205
+ const localVarHeaderParameter = {};
206
+ const localVarQueryParameter = {};
207
+ // authentication OAuth2AuthorizationCodeBearer required
208
+ // oauth required
209
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
210
+ localVarHeaderParameter['Content-Type'] = 'application/json';
211
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
212
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
213
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
214
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(objectiveWeightCreate, localVarRequestOptions, configuration);
215
+ return {
216
+ url: (0, common_1.toPathString)(localVarUrlObj),
217
+ options: localVarRequestOptions,
218
+ };
219
+ }),
220
+ };
221
+ };
222
+ exports.ObjectiveWeightApiAxiosParamCreator = ObjectiveWeightApiAxiosParamCreator;
223
+ /**
224
+ * ObjectiveWeightApi - functional programming interface
225
+ * @export
226
+ */
227
+ const ObjectiveWeightApiFp = function (configuration) {
228
+ const localVarAxiosParamCreator = (0, exports.ObjectiveWeightApiAxiosParamCreator)(configuration);
229
+ return {
230
+ /**
231
+ * Delete an objective weight link by its composite key (framework_id, objective_id).
232
+ * @summary Delete an objective weight
233
+ * @param {string} frameworkId UUID of the value framework
234
+ * @param {string} objectiveId UUID of the objective
235
+ * @param {*} [options] Override http request option.
236
+ * @throws {RequiredError}
237
+ */
238
+ deleteObjectiveWeight(frameworkId, objectiveId, options) {
239
+ var _a, _b, _c;
240
+ return __awaiter(this, void 0, void 0, function* () {
241
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteObjectiveWeight(frameworkId, objectiveId, options);
242
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
243
+ const operationBasePath = (_c = (_b = base_1.operationServerMap['ObjectiveWeightApi.deleteObjectiveWeight']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
244
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
245
+ });
246
+ },
247
+ /**
248
+ * Retrieve the weight for a specific objective within a specific framework.
249
+ * @summary Get an objective weight by framework and objective
250
+ * @param {string} frameworkId UUID of the value framework
251
+ * @param {string} objectiveId UUID of the objective
252
+ * @param {*} [options] Override http request option.
253
+ * @throws {RequiredError}
254
+ */
255
+ getObjectiveWeightByKeys(frameworkId, objectiveId, options) {
256
+ var _a, _b, _c;
257
+ return __awaiter(this, void 0, void 0, function* () {
258
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getObjectiveWeightByKeys(frameworkId, objectiveId, options);
259
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
260
+ const operationBasePath = (_c = (_b = base_1.operationServerMap['ObjectiveWeightApi.getObjectiveWeightByKeys']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
261
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
262
+ });
263
+ },
264
+ /**
265
+ * Retrieve a paginated list of all objective-framework weight assignments.
266
+ * @summary List objective weights
267
+ * @param {number} [offset] Number of records to skip
268
+ * @param {number} [limit] Max number of records to return
269
+ * @param {*} [options] Override http request option.
270
+ * @throws {RequiredError}
271
+ */
272
+ getObjectiveWeights(offset, limit, options) {
273
+ var _a, _b, _c;
274
+ return __awaiter(this, void 0, void 0, function* () {
275
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getObjectiveWeights(offset, limit, options);
276
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
277
+ const operationBasePath = (_c = (_b = base_1.operationServerMap['ObjectiveWeightApi.getObjectiveWeights']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
278
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
279
+ });
280
+ },
281
+ /**
282
+ * Update the weight of an objective within a value framework. Identified by the composite key (framework_id, objective_id).
283
+ * @summary Partially update an objective weight
284
+ * @param {string} frameworkId UUID of the value framework
285
+ * @param {string} objectiveId UUID of the objective
286
+ * @param {ObjectiveWeightUpdate} objectiveWeightUpdate
287
+ * @param {*} [options] Override http request option.
288
+ * @throws {RequiredError}
289
+ */
290
+ patchObjectiveWeight(frameworkId, objectiveId, objectiveWeightUpdate, options) {
291
+ var _a, _b, _c;
292
+ return __awaiter(this, void 0, void 0, function* () {
293
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.patchObjectiveWeight(frameworkId, objectiveId, objectiveWeightUpdate, options);
294
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
295
+ const operationBasePath = (_c = (_b = base_1.operationServerMap['ObjectiveWeightApi.patchObjectiveWeight']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
296
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
297
+ });
298
+ },
299
+ /**
300
+ * Assign a weight to an objective within a framework. Weight must be >= 0, defaults to 1.0.
301
+ * @summary Create an objective weight
302
+ * @param {ObjectiveWeightCreate} objectiveWeightCreate
303
+ * @param {*} [options] Override http request option.
304
+ * @throws {RequiredError}
305
+ */
306
+ postObjectiveWeight(objectiveWeightCreate, options) {
307
+ var _a, _b, _c;
308
+ return __awaiter(this, void 0, void 0, function* () {
309
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.postObjectiveWeight(objectiveWeightCreate, options);
310
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
311
+ const operationBasePath = (_c = (_b = base_1.operationServerMap['ObjectiveWeightApi.postObjectiveWeight']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
312
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
313
+ });
314
+ },
315
+ };
316
+ };
317
+ exports.ObjectiveWeightApiFp = ObjectiveWeightApiFp;
318
+ /**
319
+ * ObjectiveWeightApi - factory interface
320
+ * @export
321
+ */
322
+ const ObjectiveWeightApiFactory = function (configuration, basePath, axios) {
323
+ const localVarFp = (0, exports.ObjectiveWeightApiFp)(configuration);
324
+ return {
325
+ /**
326
+ * Delete an objective weight link by its composite key (framework_id, objective_id).
327
+ * @summary Delete an objective weight
328
+ * @param {string} frameworkId UUID of the value framework
329
+ * @param {string} objectiveId UUID of the objective
330
+ * @param {*} [options] Override http request option.
331
+ * @throws {RequiredError}
332
+ */
333
+ deleteObjectiveWeight(frameworkId, objectiveId, options) {
334
+ return localVarFp.deleteObjectiveWeight(frameworkId, objectiveId, options).then((request) => request(axios, basePath));
335
+ },
336
+ /**
337
+ * Retrieve the weight for a specific objective within a specific framework.
338
+ * @summary Get an objective weight by framework and objective
339
+ * @param {string} frameworkId UUID of the value framework
340
+ * @param {string} objectiveId UUID of the objective
341
+ * @param {*} [options] Override http request option.
342
+ * @throws {RequiredError}
343
+ */
344
+ getObjectiveWeightByKeys(frameworkId, objectiveId, options) {
345
+ return localVarFp.getObjectiveWeightByKeys(frameworkId, objectiveId, options).then((request) => request(axios, basePath));
346
+ },
347
+ /**
348
+ * Retrieve a paginated list of all objective-framework weight assignments.
349
+ * @summary List objective weights
350
+ * @param {number} [offset] Number of records to skip
351
+ * @param {number} [limit] Max number of records to return
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ */
355
+ getObjectiveWeights(offset, limit, options) {
356
+ return localVarFp.getObjectiveWeights(offset, limit, options).then((request) => request(axios, basePath));
357
+ },
358
+ /**
359
+ * Update the weight of an objective within a value framework. Identified by the composite key (framework_id, objective_id).
360
+ * @summary Partially update an objective weight
361
+ * @param {string} frameworkId UUID of the value framework
362
+ * @param {string} objectiveId UUID of the objective
363
+ * @param {ObjectiveWeightUpdate} objectiveWeightUpdate
364
+ * @param {*} [options] Override http request option.
365
+ * @throws {RequiredError}
366
+ */
367
+ patchObjectiveWeight(frameworkId, objectiveId, objectiveWeightUpdate, options) {
368
+ return localVarFp.patchObjectiveWeight(frameworkId, objectiveId, objectiveWeightUpdate, options).then((request) => request(axios, basePath));
369
+ },
370
+ /**
371
+ * Assign a weight to an objective within a framework. Weight must be >= 0, defaults to 1.0.
372
+ * @summary Create an objective weight
373
+ * @param {ObjectiveWeightCreate} objectiveWeightCreate
374
+ * @param {*} [options] Override http request option.
375
+ * @throws {RequiredError}
376
+ */
377
+ postObjectiveWeight(objectiveWeightCreate, options) {
378
+ return localVarFp.postObjectiveWeight(objectiveWeightCreate, options).then((request) => request(axios, basePath));
379
+ },
380
+ };
381
+ };
382
+ exports.ObjectiveWeightApiFactory = ObjectiveWeightApiFactory;
383
+ /**
384
+ * ObjectiveWeightApi - object-oriented interface
385
+ * @export
386
+ * @class ObjectiveWeightApi
387
+ * @extends {BaseAPI}
388
+ */
389
+ class ObjectiveWeightApi extends base_1.BaseAPI {
390
+ /**
391
+ * Delete an objective weight link by its composite key (framework_id, objective_id).
392
+ * @summary Delete an objective weight
393
+ * @param {string} frameworkId UUID of the value framework
394
+ * @param {string} objectiveId UUID of the objective
395
+ * @param {*} [options] Override http request option.
396
+ * @throws {RequiredError}
397
+ * @memberof ObjectiveWeightApi
398
+ */
399
+ deleteObjectiveWeight(frameworkId, objectiveId, options) {
400
+ return (0, exports.ObjectiveWeightApiFp)(this.configuration).deleteObjectiveWeight(frameworkId, objectiveId, options).then((request) => request(this.axios, this.basePath));
401
+ }
402
+ /**
403
+ * Retrieve the weight for a specific objective within a specific framework.
404
+ * @summary Get an objective weight by framework and objective
405
+ * @param {string} frameworkId UUID of the value framework
406
+ * @param {string} objectiveId UUID of the objective
407
+ * @param {*} [options] Override http request option.
408
+ * @throws {RequiredError}
409
+ * @memberof ObjectiveWeightApi
410
+ */
411
+ getObjectiveWeightByKeys(frameworkId, objectiveId, options) {
412
+ return (0, exports.ObjectiveWeightApiFp)(this.configuration).getObjectiveWeightByKeys(frameworkId, objectiveId, options).then((request) => request(this.axios, this.basePath));
413
+ }
414
+ /**
415
+ * Retrieve a paginated list of all objective-framework weight assignments.
416
+ * @summary List objective weights
417
+ * @param {number} [offset] Number of records to skip
418
+ * @param {number} [limit] Max number of records to return
419
+ * @param {*} [options] Override http request option.
420
+ * @throws {RequiredError}
421
+ * @memberof ObjectiveWeightApi
422
+ */
423
+ getObjectiveWeights(offset, limit, options) {
424
+ return (0, exports.ObjectiveWeightApiFp)(this.configuration).getObjectiveWeights(offset, limit, options).then((request) => request(this.axios, this.basePath));
425
+ }
426
+ /**
427
+ * Update the weight of an objective within a value framework. Identified by the composite key (framework_id, objective_id).
428
+ * @summary Partially update an objective weight
429
+ * @param {string} frameworkId UUID of the value framework
430
+ * @param {string} objectiveId UUID of the objective
431
+ * @param {ObjectiveWeightUpdate} objectiveWeightUpdate
432
+ * @param {*} [options] Override http request option.
433
+ * @throws {RequiredError}
434
+ * @memberof ObjectiveWeightApi
435
+ */
436
+ patchObjectiveWeight(frameworkId, objectiveId, objectiveWeightUpdate, options) {
437
+ return (0, exports.ObjectiveWeightApiFp)(this.configuration).patchObjectiveWeight(frameworkId, objectiveId, objectiveWeightUpdate, options).then((request) => request(this.axios, this.basePath));
438
+ }
439
+ /**
440
+ * Assign a weight to an objective within a framework. Weight must be >= 0, defaults to 1.0.
441
+ * @summary Create an objective weight
442
+ * @param {ObjectiveWeightCreate} objectiveWeightCreate
443
+ * @param {*} [options] Override http request option.
444
+ * @throws {RequiredError}
445
+ * @memberof ObjectiveWeightApi
446
+ */
447
+ postObjectiveWeight(objectiveWeightCreate, options) {
448
+ return (0, exports.ObjectiveWeightApiFp)(this.configuration).postObjectiveWeight(objectiveWeightCreate, options).then((request) => request(this.axios, this.basePath));
449
+ }
450
+ }
451
+ exports.ObjectiveWeightApi = ObjectiveWeightApi;
@@ -0,0 +1,216 @@
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 { ValueFrameworkCreate } from '../models';
16
+ import { ValueFrameworkResponse } from '../models';
17
+ import { ValueFrameworkUpdate } from '../models';
18
+ /**
19
+ * ValueFrameworkApi - axios parameter creator
20
+ * @export
21
+ */
22
+ export declare const ValueFrameworkApiAxiosParamCreator: (configuration?: Configuration) => {
23
+ /**
24
+ * Delete an existing value framework by its ID. Associated objective weights and metric costs per year are also deleted via cascade.
25
+ * @summary Delete a value framework
26
+ * @param {string} valueFrameworkId UUID of the value framework
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ */
30
+ deleteValueFramework: (valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
+ /**
32
+ * Retrieve a single value framework by its ID.
33
+ * @summary Get a value framework by ID
34
+ * @param {string} valueFrameworkId UUID of the value framework
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ getValueFrameworkById: (valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
+ /**
40
+ * Retrieve a paginated list of all value frameworks.
41
+ * @summary List value frameworks
42
+ * @param {number} [offset] Number of records to skip
43
+ * @param {number} [limit] Max number of records to return
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ getValueFrameworks: (offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48
+ /**
49
+ * Update one or more fields of an existing value framework. Only the fields included in the request body will be modified; omitted fields remain unchanged.
50
+ * @summary Partially update a value framework
51
+ * @param {string} valueFrameworkId UUID of the value framework
52
+ * @param {ValueFrameworkUpdate} valueFrameworkUpdate
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ patchValueFramework: (valueFrameworkId: string, valueFrameworkUpdate: ValueFrameworkUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
57
+ /**
58
+ * Create a new value framework. Name must be unique and non-empty.
59
+ * @summary Create a value framework
60
+ * @param {ValueFrameworkCreate} valueFrameworkCreate
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ postValueFramework: (valueFrameworkCreate: ValueFrameworkCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
65
+ };
66
+ /**
67
+ * ValueFrameworkApi - functional programming interface
68
+ * @export
69
+ */
70
+ export declare const ValueFrameworkApiFp: (configuration?: Configuration) => {
71
+ /**
72
+ * Delete an existing value framework by its ID. Associated objective weights and metric costs per year are also deleted via cascade.
73
+ * @summary Delete a value framework
74
+ * @param {string} valueFrameworkId UUID of the value framework
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ deleteValueFramework(valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
79
+ /**
80
+ * Retrieve a single value framework by its ID.
81
+ * @summary Get a value framework by ID
82
+ * @param {string} valueFrameworkId UUID of the value framework
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ getValueFrameworkById(valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValueFrameworkResponse>>;
87
+ /**
88
+ * Retrieve a paginated list of all value frameworks.
89
+ * @summary List value frameworks
90
+ * @param {number} [offset] Number of records to skip
91
+ * @param {number} [limit] Max number of records to return
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ */
95
+ getValueFrameworks(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ValueFrameworkResponse>>>;
96
+ /**
97
+ * Update one or more fields of an existing value framework. Only the fields included in the request body will be modified; omitted fields remain unchanged.
98
+ * @summary Partially update a value framework
99
+ * @param {string} valueFrameworkId UUID of the value framework
100
+ * @param {ValueFrameworkUpdate} valueFrameworkUpdate
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ patchValueFramework(valueFrameworkId: string, valueFrameworkUpdate: ValueFrameworkUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValueFrameworkResponse>>;
105
+ /**
106
+ * Create a new value framework. Name must be unique and non-empty.
107
+ * @summary Create a value framework
108
+ * @param {ValueFrameworkCreate} valueFrameworkCreate
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ postValueFramework(valueFrameworkCreate: ValueFrameworkCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValueFrameworkResponse>>;
113
+ };
114
+ /**
115
+ * ValueFrameworkApi - factory interface
116
+ * @export
117
+ */
118
+ export declare const ValueFrameworkApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
119
+ /**
120
+ * Delete an existing value framework by its ID. Associated objective weights and metric costs per year are also deleted via cascade.
121
+ * @summary Delete a value framework
122
+ * @param {string} valueFrameworkId UUID of the value framework
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ deleteValueFramework(valueFrameworkId: string, options?: any): AxiosPromise<void>;
127
+ /**
128
+ * Retrieve a single value framework by its ID.
129
+ * @summary Get a value framework by ID
130
+ * @param {string} valueFrameworkId UUID of the value framework
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ getValueFrameworkById(valueFrameworkId: string, options?: any): AxiosPromise<ValueFrameworkResponse>;
135
+ /**
136
+ * Retrieve a paginated list of all value frameworks.
137
+ * @summary List value frameworks
138
+ * @param {number} [offset] Number of records to skip
139
+ * @param {number} [limit] Max number of records to return
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ */
143
+ getValueFrameworks(offset?: number, limit?: number, options?: any): AxiosPromise<Array<ValueFrameworkResponse>>;
144
+ /**
145
+ * Update one or more fields of an existing value framework. Only the fields included in the request body will be modified; omitted fields remain unchanged.
146
+ * @summary Partially update a value framework
147
+ * @param {string} valueFrameworkId UUID of the value framework
148
+ * @param {ValueFrameworkUpdate} valueFrameworkUpdate
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ patchValueFramework(valueFrameworkId: string, valueFrameworkUpdate: ValueFrameworkUpdate, options?: any): AxiosPromise<ValueFrameworkResponse>;
153
+ /**
154
+ * Create a new value framework. Name must be unique and non-empty.
155
+ * @summary Create a value framework
156
+ * @param {ValueFrameworkCreate} valueFrameworkCreate
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ postValueFramework(valueFrameworkCreate: ValueFrameworkCreate, options?: any): AxiosPromise<ValueFrameworkResponse>;
161
+ };
162
+ /**
163
+ * ValueFrameworkApi - object-oriented interface
164
+ * @export
165
+ * @class ValueFrameworkApi
166
+ * @extends {BaseAPI}
167
+ */
168
+ export declare class ValueFrameworkApi extends BaseAPI {
169
+ /**
170
+ * Delete an existing value framework by its ID. Associated objective weights and metric costs per year are also deleted via cascade.
171
+ * @summary Delete a value framework
172
+ * @param {string} valueFrameworkId UUID of the value framework
173
+ * @param {*} [options] Override http request option.
174
+ * @throws {RequiredError}
175
+ * @memberof ValueFrameworkApi
176
+ */
177
+ deleteValueFramework(valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
178
+ /**
179
+ * Retrieve a single value framework by its ID.
180
+ * @summary Get a value framework by ID
181
+ * @param {string} valueFrameworkId UUID of the value framework
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ * @memberof ValueFrameworkApi
185
+ */
186
+ getValueFrameworkById(valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ValueFrameworkResponse, any, {}>>;
187
+ /**
188
+ * Retrieve a paginated list of all value frameworks.
189
+ * @summary List value frameworks
190
+ * @param {number} [offset] Number of records to skip
191
+ * @param {number} [limit] Max number of records to return
192
+ * @param {*} [options] Override http request option.
193
+ * @throws {RequiredError}
194
+ * @memberof ValueFrameworkApi
195
+ */
196
+ getValueFrameworks(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ValueFrameworkResponse[], any, {}>>;
197
+ /**
198
+ * Update one or more fields of an existing value framework. Only the fields included in the request body will be modified; omitted fields remain unchanged.
199
+ * @summary Partially update a value framework
200
+ * @param {string} valueFrameworkId UUID of the value framework
201
+ * @param {ValueFrameworkUpdate} valueFrameworkUpdate
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ * @memberof ValueFrameworkApi
205
+ */
206
+ patchValueFramework(valueFrameworkId: string, valueFrameworkUpdate: ValueFrameworkUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ValueFrameworkResponse, any, {}>>;
207
+ /**
208
+ * Create a new value framework. Name must be unique and non-empty.
209
+ * @summary Create a value framework
210
+ * @param {ValueFrameworkCreate} valueFrameworkCreate
211
+ * @param {*} [options] Override http request option.
212
+ * @throws {RequiredError}
213
+ * @memberof ValueFrameworkApi
214
+ */
215
+ postValueFramework(valueFrameworkCreate: ValueFrameworkCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ValueFrameworkResponse, any, {}>>;
216
+ }