@cosmotech/aip-client 0.2.0-dev5 → 0.2.0-dev6

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 (276) hide show
  1. package/README.md +8 -8
  2. package/api/default-api.ts +1 -1
  3. package/api/impact-api.ts +1 -1
  4. package/api/investment-api.ts +94 -94
  5. package/api/metric-api.ts +1 -1
  6. package/api/metric-costs-api.ts +1 -1
  7. package/api/metric-costs-per-year-api.ts +1 -1
  8. package/api/objective-api.ts +1 -1
  9. package/api/objective-weight-api.ts +1 -1
  10. package/api/objective-weights-api.ts +1 -1
  11. package/api/option-api.ts +1 -1
  12. package/api/{favored-option-api.ts → preferred-option-api.ts} +40 -40
  13. package/api/value-framework-api.ts +1 -1
  14. package/api/value-framework-costs-api.ts +1 -1
  15. package/api/value-framework-weights-api.ts +1 -1
  16. package/api.ts +2 -2
  17. package/base.ts +1 -1
  18. package/common.ts +1 -1
  19. package/configuration.ts +1 -1
  20. package/dist/api/default-api.d.ts +1 -1
  21. package/dist/api/default-api.js +1 -1
  22. package/dist/api/impact-api.d.ts +1 -1
  23. package/dist/api/impact-api.js +1 -1
  24. package/dist/api/investment-api.d.ts +43 -43
  25. package/dist/api/investment-api.js +87 -87
  26. package/dist/api/metric-api.d.ts +1 -1
  27. package/dist/api/metric-api.js +1 -1
  28. package/dist/api/metric-costs-api.d.ts +1 -1
  29. package/dist/api/metric-costs-api.js +1 -1
  30. package/dist/api/metric-costs-per-year-api.d.ts +1 -1
  31. package/dist/api/metric-costs-per-year-api.js +1 -1
  32. package/dist/api/objective-api.d.ts +1 -1
  33. package/dist/api/objective-api.js +1 -1
  34. package/dist/api/objective-weight-api.d.ts +1 -1
  35. package/dist/api/objective-weight-api.js +1 -1
  36. package/dist/api/objective-weights-api.d.ts +1 -1
  37. package/dist/api/objective-weights-api.js +1 -1
  38. package/dist/api/option-api.d.ts +1 -1
  39. package/dist/api/option-api.js +1 -1
  40. package/dist/api/{favored-option-api.d.ts → preferred-option-api.d.ts} +23 -23
  41. package/dist/api/{favored-option-api.js → preferred-option-api.js} +43 -43
  42. package/dist/api/value-framework-api.d.ts +1 -1
  43. package/dist/api/value-framework-api.js +1 -1
  44. package/dist/api/value-framework-costs-api.d.ts +1 -1
  45. package/dist/api/value-framework-costs-api.js +1 -1
  46. package/dist/api/value-framework-weights-api.d.ts +1 -1
  47. package/dist/api/value-framework-weights-api.js +1 -1
  48. package/dist/api.d.ts +2 -2
  49. package/dist/api.js +2 -2
  50. package/dist/base.d.ts +1 -1
  51. package/dist/base.js +1 -1
  52. package/dist/common.d.ts +1 -1
  53. package/dist/common.js +1 -1
  54. package/dist/configuration.d.ts +1 -1
  55. package/dist/configuration.js +1 -1
  56. package/dist/esm/api/default-api.d.ts +1 -1
  57. package/dist/esm/api/default-api.js +1 -1
  58. package/dist/esm/api/impact-api.d.ts +1 -1
  59. package/dist/esm/api/impact-api.js +1 -1
  60. package/dist/esm/api/investment-api.d.ts +43 -43
  61. package/dist/esm/api/investment-api.js +87 -87
  62. package/dist/esm/api/metric-api.d.ts +1 -1
  63. package/dist/esm/api/metric-api.js +1 -1
  64. package/dist/esm/api/metric-costs-api.d.ts +1 -1
  65. package/dist/esm/api/metric-costs-api.js +1 -1
  66. package/dist/esm/api/metric-costs-per-year-api.d.ts +1 -1
  67. package/dist/esm/api/metric-costs-per-year-api.js +1 -1
  68. package/dist/esm/api/objective-api.d.ts +1 -1
  69. package/dist/esm/api/objective-api.js +1 -1
  70. package/dist/esm/api/objective-weight-api.d.ts +1 -1
  71. package/dist/esm/api/objective-weight-api.js +1 -1
  72. package/dist/esm/api/objective-weights-api.d.ts +1 -1
  73. package/dist/esm/api/objective-weights-api.js +1 -1
  74. package/dist/esm/api/option-api.d.ts +1 -1
  75. package/dist/esm/api/option-api.js +1 -1
  76. package/dist/esm/api/{favored-option-api.d.ts → preferred-option-api.d.ts} +23 -23
  77. package/dist/esm/api/{favored-option-api.js → preferred-option-api.js} +38 -38
  78. package/dist/esm/api/value-framework-api.d.ts +1 -1
  79. package/dist/esm/api/value-framework-api.js +1 -1
  80. package/dist/esm/api/value-framework-costs-api.d.ts +1 -1
  81. package/dist/esm/api/value-framework-costs-api.js +1 -1
  82. package/dist/esm/api/value-framework-weights-api.d.ts +1 -1
  83. package/dist/esm/api/value-framework-weights-api.js +1 -1
  84. package/dist/esm/api.d.ts +2 -2
  85. package/dist/esm/api.js +2 -2
  86. package/dist/esm/base.d.ts +1 -1
  87. package/dist/esm/base.js +1 -1
  88. package/dist/esm/common.d.ts +1 -1
  89. package/dist/esm/common.js +1 -1
  90. package/dist/esm/configuration.d.ts +1 -1
  91. package/dist/esm/configuration.js +1 -1
  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 +1 -1
  95. package/dist/esm/models/evolution-type.js +1 -1
  96. package/dist/esm/models/httpvalidation-error.d.ts +1 -1
  97. package/dist/esm/models/httpvalidation-error.js +1 -1
  98. package/dist/esm/models/impact-apiresponse.d.ts +1 -1
  99. package/dist/esm/models/impact-apiresponse.js +1 -1
  100. package/dist/esm/models/impact-create.d.ts +1 -1
  101. package/dist/esm/models/impact-create.js +1 -1
  102. package/dist/esm/models/impact-update.d.ts +1 -1
  103. package/dist/esm/models/impact-update.js +1 -1
  104. package/dist/esm/models/index.d.ts +2 -2
  105. package/dist/esm/models/index.js +2 -2
  106. package/dist/esm/models/investment-create.d.ts +1 -1
  107. package/dist/esm/models/investment-create.js +1 -1
  108. package/dist/esm/models/investment-response.d.ts +1 -1
  109. package/dist/esm/models/investment-response.js +1 -1
  110. package/dist/esm/models/investment-update.d.ts +1 -1
  111. package/dist/esm/models/investment-update.js +1 -1
  112. package/dist/esm/models/location-inner.d.ts +1 -1
  113. package/dist/esm/models/location-inner.js +1 -1
  114. package/dist/esm/models/measurement-type.d.ts +1 -1
  115. package/dist/esm/models/measurement-type.js +1 -1
  116. package/dist/esm/models/metric-costs-per-year-create.d.ts +1 -1
  117. package/dist/esm/models/metric-costs-per-year-create.js +1 -1
  118. package/dist/esm/models/metric-costs-per-year-response.d.ts +1 -1
  119. package/dist/esm/models/metric-costs-per-year-response.js +1 -1
  120. package/dist/esm/models/metric-costs-per-year-update.d.ts +1 -1
  121. package/dist/esm/models/metric-costs-per-year-update.js +1 -1
  122. package/dist/esm/models/metric-create.d.ts +1 -1
  123. package/dist/esm/models/metric-create.js +1 -1
  124. package/dist/esm/models/metric-response.d.ts +1 -1
  125. package/dist/esm/models/metric-response.js +1 -1
  126. package/dist/esm/models/metric-type.d.ts +1 -1
  127. package/dist/esm/models/metric-type.js +1 -1
  128. package/dist/esm/models/metric-update.d.ts +1 -1
  129. package/dist/esm/models/metric-update.js +1 -1
  130. package/dist/esm/models/objective-create.d.ts +1 -1
  131. package/dist/esm/models/objective-create.js +1 -1
  132. package/dist/esm/models/objective-response.d.ts +1 -1
  133. package/dist/esm/models/objective-response.js +1 -1
  134. package/dist/esm/models/objective-update.d.ts +1 -1
  135. package/dist/esm/models/objective-update.js +1 -1
  136. package/dist/esm/models/objective-weight-create.d.ts +1 -1
  137. package/dist/esm/models/objective-weight-create.js +1 -1
  138. package/dist/esm/models/objective-weight-response.d.ts +1 -1
  139. package/dist/esm/models/objective-weight-response.js +1 -1
  140. package/dist/esm/models/objective-weight-update.d.ts +1 -1
  141. package/dist/esm/models/objective-weight-update.js +1 -1
  142. package/dist/esm/models/option-chart-kpi.d.ts +1 -1
  143. package/dist/esm/models/option-chart-kpi.js +1 -1
  144. package/dist/esm/models/option-chart-kpis-yearly.d.ts +1 -1
  145. package/dist/esm/models/option-chart-kpis-yearly.js +1 -1
  146. package/dist/esm/models/option-create.d.ts +1 -1
  147. package/dist/esm/models/option-create.js +1 -1
  148. package/dist/esm/models/option-response.d.ts +1 -1
  149. package/dist/esm/models/option-response.js +1 -1
  150. package/dist/esm/models/option-update.d.ts +1 -1
  151. package/dist/esm/models/option-update.js +1 -1
  152. package/dist/esm/models/{favored-option-request.d.ts → preferred-option-request.d.ts} +2 -2
  153. package/dist/esm/models/{favored-option-request.js → preferred-option-request.js} +1 -1
  154. package/dist/esm/models/{favored-option-response.d.ts → preferred-option-response.d.ts} +3 -3
  155. package/dist/esm/models/{favored-option-response.js → preferred-option-response.js} +1 -1
  156. package/dist/esm/models/validation-error.d.ts +1 -1
  157. package/dist/esm/models/validation-error.js +1 -1
  158. package/dist/esm/models/value-framework-create.d.ts +1 -1
  159. package/dist/esm/models/value-framework-create.js +1 -1
  160. package/dist/esm/models/value-framework-response.d.ts +1 -1
  161. package/dist/esm/models/value-framework-response.js +1 -1
  162. package/dist/esm/models/value-framework-update.d.ts +1 -1
  163. package/dist/esm/models/value-framework-update.js +1 -1
  164. package/dist/index.d.ts +1 -1
  165. package/dist/index.js +1 -1
  166. package/dist/models/evolution-type.d.ts +1 -1
  167. package/dist/models/evolution-type.js +1 -1
  168. package/dist/models/httpvalidation-error.d.ts +1 -1
  169. package/dist/models/httpvalidation-error.js +1 -1
  170. package/dist/models/impact-apiresponse.d.ts +1 -1
  171. package/dist/models/impact-apiresponse.js +1 -1
  172. package/dist/models/impact-create.d.ts +1 -1
  173. package/dist/models/impact-create.js +1 -1
  174. package/dist/models/impact-update.d.ts +1 -1
  175. package/dist/models/impact-update.js +1 -1
  176. package/dist/models/index.d.ts +2 -2
  177. package/dist/models/index.js +2 -2
  178. package/dist/models/investment-create.d.ts +1 -1
  179. package/dist/models/investment-create.js +1 -1
  180. package/dist/models/investment-response.d.ts +1 -1
  181. package/dist/models/investment-response.js +1 -1
  182. package/dist/models/investment-update.d.ts +1 -1
  183. package/dist/models/investment-update.js +1 -1
  184. package/dist/models/location-inner.d.ts +1 -1
  185. package/dist/models/location-inner.js +1 -1
  186. package/dist/models/measurement-type.d.ts +1 -1
  187. package/dist/models/measurement-type.js +1 -1
  188. package/dist/models/metric-costs-per-year-create.d.ts +1 -1
  189. package/dist/models/metric-costs-per-year-create.js +1 -1
  190. package/dist/models/metric-costs-per-year-response.d.ts +1 -1
  191. package/dist/models/metric-costs-per-year-response.js +1 -1
  192. package/dist/models/metric-costs-per-year-update.d.ts +1 -1
  193. package/dist/models/metric-costs-per-year-update.js +1 -1
  194. package/dist/models/metric-create.d.ts +1 -1
  195. package/dist/models/metric-create.js +1 -1
  196. package/dist/models/metric-response.d.ts +1 -1
  197. package/dist/models/metric-response.js +1 -1
  198. package/dist/models/metric-type.d.ts +1 -1
  199. package/dist/models/metric-type.js +1 -1
  200. package/dist/models/metric-update.d.ts +1 -1
  201. package/dist/models/metric-update.js +1 -1
  202. package/dist/models/objective-create.d.ts +1 -1
  203. package/dist/models/objective-create.js +1 -1
  204. package/dist/models/objective-response.d.ts +1 -1
  205. package/dist/models/objective-response.js +1 -1
  206. package/dist/models/objective-update.d.ts +1 -1
  207. package/dist/models/objective-update.js +1 -1
  208. package/dist/models/objective-weight-create.d.ts +1 -1
  209. package/dist/models/objective-weight-create.js +1 -1
  210. package/dist/models/objective-weight-response.d.ts +1 -1
  211. package/dist/models/objective-weight-response.js +1 -1
  212. package/dist/models/objective-weight-update.d.ts +1 -1
  213. package/dist/models/objective-weight-update.js +1 -1
  214. package/dist/models/option-chart-kpi.d.ts +1 -1
  215. package/dist/models/option-chart-kpi.js +1 -1
  216. package/dist/models/option-chart-kpis-yearly.d.ts +1 -1
  217. package/dist/models/option-chart-kpis-yearly.js +1 -1
  218. package/dist/models/option-create.d.ts +1 -1
  219. package/dist/models/option-create.js +1 -1
  220. package/dist/models/option-response.d.ts +1 -1
  221. package/dist/models/option-response.js +1 -1
  222. package/dist/models/option-update.d.ts +1 -1
  223. package/dist/models/option-update.js +1 -1
  224. package/dist/models/{favored-option-request.d.ts → preferred-option-request.d.ts} +2 -2
  225. package/dist/models/{favored-option-request.js → preferred-option-request.js} +1 -1
  226. package/dist/models/{favored-option-response.d.ts → preferred-option-response.d.ts} +3 -3
  227. package/dist/models/{favored-option-response.js → preferred-option-response.js} +1 -1
  228. package/dist/models/validation-error.d.ts +1 -1
  229. package/dist/models/validation-error.js +1 -1
  230. package/dist/models/value-framework-create.d.ts +1 -1
  231. package/dist/models/value-framework-create.js +1 -1
  232. package/dist/models/value-framework-response.d.ts +1 -1
  233. package/dist/models/value-framework-response.js +1 -1
  234. package/dist/models/value-framework-update.d.ts +1 -1
  235. package/dist/models/value-framework-update.js +1 -1
  236. package/docs/InvestmentApi.md +63 -63
  237. package/docs/{FavoredOptionApi.md → PreferredOptionApi.md} +19 -19
  238. package/docs/{FavoredOptionRequest.md → PreferredOptionRequest.md} +3 -3
  239. package/docs/{FavoredOptionResponse.md → PreferredOptionResponse.md} +4 -4
  240. package/index.ts +1 -1
  241. package/models/evolution-type.ts +1 -1
  242. package/models/httpvalidation-error.ts +1 -1
  243. package/models/impact-apiresponse.ts +1 -1
  244. package/models/impact-create.ts +1 -1
  245. package/models/impact-update.ts +1 -1
  246. package/models/index.ts +2 -2
  247. package/models/investment-create.ts +1 -1
  248. package/models/investment-response.ts +1 -1
  249. package/models/investment-update.ts +1 -1
  250. package/models/location-inner.ts +1 -1
  251. package/models/measurement-type.ts +1 -1
  252. package/models/metric-costs-per-year-create.ts +1 -1
  253. package/models/metric-costs-per-year-response.ts +1 -1
  254. package/models/metric-costs-per-year-update.ts +1 -1
  255. package/models/metric-create.ts +1 -1
  256. package/models/metric-response.ts +1 -1
  257. package/models/metric-type.ts +1 -1
  258. package/models/metric-update.ts +1 -1
  259. package/models/objective-create.ts +1 -1
  260. package/models/objective-response.ts +1 -1
  261. package/models/objective-update.ts +1 -1
  262. package/models/objective-weight-create.ts +1 -1
  263. package/models/objective-weight-response.ts +1 -1
  264. package/models/objective-weight-update.ts +1 -1
  265. package/models/option-chart-kpi.ts +1 -1
  266. package/models/option-chart-kpis-yearly.ts +1 -1
  267. package/models/option-create.ts +1 -1
  268. package/models/option-response.ts +1 -1
  269. package/models/option-update.ts +1 -1
  270. package/models/{favored-option-request.ts → preferred-option-request.ts} +2 -2
  271. package/models/{favored-option-response.ts → preferred-option-response.ts} +3 -3
  272. package/models/validation-error.ts +1 -1
  273. package/models/value-framework-create.ts +1 -1
  274. package/models/value-framework-response.ts +1 -1
  275. package/models/value-framework-update.ts +1 -1
  276. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.2.0-dev3
7
+ * The version of the OpenAPI document: 0.2.0-dev6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -219,39 +219,6 @@ export const InvestmentApiAxiosParamCreator = function (configuration) {
219
219
  options: localVarRequestOptions,
220
220
  };
221
221
  }),
222
- /**
223
- * Get the preferred option for an investment.
224
- * @summary Get the preferred option for an investment
225
- * @param {string} investmentId UUID of the investment
226
- * @param {*} [options] Override http request option.
227
- * @throws {RequiredError}
228
- */
229
- getFavoredOption: (investmentId_1, ...args_1) => __awaiter(this, [investmentId_1, ...args_1], void 0, function* (investmentId, options = {}) {
230
- // verify required parameter 'investmentId' is not null or undefined
231
- assertParamExists('getFavoredOption', 'investmentId', investmentId);
232
- const localVarPath = `/investment/{investment_id}/favored_option`
233
- .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
234
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
235
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
236
- let baseOptions;
237
- if (configuration) {
238
- baseOptions = configuration.baseOptions;
239
- }
240
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
241
- const localVarHeaderParameter = {};
242
- const localVarQueryParameter = {};
243
- // authentication OAuth2AuthorizationCodeBearer required
244
- // oauth required
245
- yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
246
- localVarHeaderParameter['Accept'] = 'application/json';
247
- setSearchParams(localVarUrlObj, localVarQueryParameter);
248
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
249
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
250
- return {
251
- url: toPathString(localVarUrlObj),
252
- options: localVarRequestOptions,
253
- };
254
- }),
255
222
  /**
256
223
  * Retrieve a specific impact for the option.
257
224
  * @summary Get an impact for this option
@@ -527,6 +494,39 @@ export const InvestmentApiAxiosParamCreator = function (configuration) {
527
494
  options: localVarRequestOptions,
528
495
  };
529
496
  }),
497
+ /**
498
+ * Get the preferred option for an investment.
499
+ * @summary Get the preferred option for an investment
500
+ * @param {string} investmentId UUID of the investment
501
+ * @param {*} [options] Override http request option.
502
+ * @throws {RequiredError}
503
+ */
504
+ getPreferredOption: (investmentId_1, ...args_1) => __awaiter(this, [investmentId_1, ...args_1], void 0, function* (investmentId, options = {}) {
505
+ // verify required parameter 'investmentId' is not null or undefined
506
+ assertParamExists('getPreferredOption', 'investmentId', investmentId);
507
+ const localVarPath = `/investment/{investment_id}/preferred_option`
508
+ .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
509
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
510
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
511
+ let baseOptions;
512
+ if (configuration) {
513
+ baseOptions = configuration.baseOptions;
514
+ }
515
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
516
+ const localVarHeaderParameter = {};
517
+ const localVarQueryParameter = {};
518
+ // authentication OAuth2AuthorizationCodeBearer required
519
+ // oauth required
520
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
521
+ localVarHeaderParameter['Accept'] = 'application/json';
522
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
523
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
524
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
525
+ return {
526
+ url: toPathString(localVarUrlObj),
527
+ options: localVarRequestOptions,
528
+ };
529
+ }),
530
530
  /**
531
531
  * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
532
532
  * @summary Partially update an impact for this option
@@ -691,16 +691,16 @@ export const InvestmentApiAxiosParamCreator = function (configuration) {
691
691
  * Set the preferred option for an investment.
692
692
  * @summary Set the preferred option for an investment
693
693
  * @param {string} investmentId UUID of the investment
694
- * @param {FavoredOptionRequest} favoredOptionRequest
694
+ * @param {PreferredOptionRequest} preferredOptionRequest
695
695
  * @param {*} [options] Override http request option.
696
696
  * @throws {RequiredError}
697
697
  */
698
- setFavoredOption: (investmentId_1, favoredOptionRequest_1, ...args_1) => __awaiter(this, [investmentId_1, favoredOptionRequest_1, ...args_1], void 0, function* (investmentId, favoredOptionRequest, options = {}) {
698
+ setPreferredOption: (investmentId_1, preferredOptionRequest_1, ...args_1) => __awaiter(this, [investmentId_1, preferredOptionRequest_1, ...args_1], void 0, function* (investmentId, preferredOptionRequest, options = {}) {
699
699
  // verify required parameter 'investmentId' is not null or undefined
700
- assertParamExists('setFavoredOption', 'investmentId', investmentId);
701
- // verify required parameter 'favoredOptionRequest' is not null or undefined
702
- assertParamExists('setFavoredOption', 'favoredOptionRequest', favoredOptionRequest);
703
- const localVarPath = `/investment/{investment_id}/favored_option`
700
+ assertParamExists('setPreferredOption', 'investmentId', investmentId);
701
+ // verify required parameter 'preferredOptionRequest' is not null or undefined
702
+ assertParamExists('setPreferredOption', 'preferredOptionRequest', preferredOptionRequest);
703
+ const localVarPath = `/investment/{investment_id}/preferred_option`
704
704
  .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
705
705
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
706
706
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -719,7 +719,7 @@ export const InvestmentApiAxiosParamCreator = function (configuration) {
719
719
  setSearchParams(localVarUrlObj, localVarQueryParameter);
720
720
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
721
721
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
722
- localVarRequestOptions.data = serializeDataIfNeeded(favoredOptionRequest, localVarRequestOptions, configuration);
722
+ localVarRequestOptions.data = serializeDataIfNeeded(preferredOptionRequest, localVarRequestOptions, configuration);
723
723
  return {
724
724
  url: toPathString(localVarUrlObj),
725
725
  options: localVarRequestOptions,
@@ -819,22 +819,6 @@ export const InvestmentApiFp = function (configuration) {
819
819
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
820
820
  });
821
821
  },
822
- /**
823
- * Get the preferred option for an investment.
824
- * @summary Get the preferred option for an investment
825
- * @param {string} investmentId UUID of the investment
826
- * @param {*} [options] Override http request option.
827
- * @throws {RequiredError}
828
- */
829
- getFavoredOption(investmentId, options) {
830
- return __awaiter(this, void 0, void 0, function* () {
831
- var _a, _b, _c;
832
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getFavoredOption(investmentId, options);
833
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
834
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InvestmentApi.getFavoredOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
835
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
836
- });
837
- },
838
822
  /**
839
823
  * Retrieve a specific impact for the option.
840
824
  * @summary Get an impact for this option
@@ -958,6 +942,22 @@ export const InvestmentApiFp = function (configuration) {
958
942
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
959
943
  });
960
944
  },
945
+ /**
946
+ * Get the preferred option for an investment.
947
+ * @summary Get the preferred option for an investment
948
+ * @param {string} investmentId UUID of the investment
949
+ * @param {*} [options] Override http request option.
950
+ * @throws {RequiredError}
951
+ */
952
+ getPreferredOption(investmentId, options) {
953
+ return __awaiter(this, void 0, void 0, function* () {
954
+ var _a, _b, _c;
955
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPreferredOption(investmentId, options);
956
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
957
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InvestmentApi.getPreferredOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
958
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
959
+ });
960
+ },
961
961
  /**
962
962
  * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
963
963
  * @summary Partially update an impact for this option
@@ -1032,16 +1032,16 @@ export const InvestmentApiFp = function (configuration) {
1032
1032
  * Set the preferred option for an investment.
1033
1033
  * @summary Set the preferred option for an investment
1034
1034
  * @param {string} investmentId UUID of the investment
1035
- * @param {FavoredOptionRequest} favoredOptionRequest
1035
+ * @param {PreferredOptionRequest} preferredOptionRequest
1036
1036
  * @param {*} [options] Override http request option.
1037
1037
  * @throws {RequiredError}
1038
1038
  */
1039
- setFavoredOption(investmentId, favoredOptionRequest, options) {
1039
+ setPreferredOption(investmentId, preferredOptionRequest, options) {
1040
1040
  return __awaiter(this, void 0, void 0, function* () {
1041
1041
  var _a, _b, _c;
1042
- const localVarAxiosArgs = yield localVarAxiosParamCreator.setFavoredOption(investmentId, favoredOptionRequest, options);
1042
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.setPreferredOption(investmentId, preferredOptionRequest, options);
1043
1043
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1044
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InvestmentApi.setFavoredOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1044
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InvestmentApi.setPreferredOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1045
1045
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1046
1046
  });
1047
1047
  },
@@ -1109,16 +1109,6 @@ export const InvestmentApiFactory = function (configuration, basePath, axios) {
1109
1109
  deleteOptionForInvestment(optionId, investmentId, options) {
1110
1110
  return localVarFp.deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(axios, basePath));
1111
1111
  },
1112
- /**
1113
- * Get the preferred option for an investment.
1114
- * @summary Get the preferred option for an investment
1115
- * @param {string} investmentId UUID of the investment
1116
- * @param {*} [options] Override http request option.
1117
- * @throws {RequiredError}
1118
- */
1119
- getFavoredOption(investmentId, options) {
1120
- return localVarFp.getFavoredOption(investmentId, options).then((request) => request(axios, basePath));
1121
- },
1122
1112
  /**
1123
1113
  * Retrieve a specific impact for the option.
1124
1114
  * @summary Get an impact for this option
@@ -1200,6 +1190,16 @@ export const InvestmentApiFactory = function (configuration, basePath, axios) {
1200
1190
  getOptionsForInvestment(investmentId, offset, limit, options) {
1201
1191
  return localVarFp.getOptionsForInvestment(investmentId, offset, limit, options).then((request) => request(axios, basePath));
1202
1192
  },
1193
+ /**
1194
+ * Get the preferred option for an investment.
1195
+ * @summary Get the preferred option for an investment
1196
+ * @param {string} investmentId UUID of the investment
1197
+ * @param {*} [options] Override http request option.
1198
+ * @throws {RequiredError}
1199
+ */
1200
+ getPreferredOption(investmentId, options) {
1201
+ return localVarFp.getPreferredOption(investmentId, options).then((request) => request(axios, basePath));
1202
+ },
1203
1203
  /**
1204
1204
  * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
1205
1205
  * @summary Partially update an impact for this option
@@ -1250,12 +1250,12 @@ export const InvestmentApiFactory = function (configuration, basePath, axios) {
1250
1250
  * Set the preferred option for an investment.
1251
1251
  * @summary Set the preferred option for an investment
1252
1252
  * @param {string} investmentId UUID of the investment
1253
- * @param {FavoredOptionRequest} favoredOptionRequest
1253
+ * @param {PreferredOptionRequest} preferredOptionRequest
1254
1254
  * @param {*} [options] Override http request option.
1255
1255
  * @throws {RequiredError}
1256
1256
  */
1257
- setFavoredOption(investmentId, favoredOptionRequest, options) {
1258
- return localVarFp.setFavoredOption(investmentId, favoredOptionRequest, options).then((request) => request(axios, basePath));
1257
+ setPreferredOption(investmentId, preferredOptionRequest, options) {
1258
+ return localVarFp.setPreferredOption(investmentId, preferredOptionRequest, options).then((request) => request(axios, basePath));
1259
1259
  },
1260
1260
  };
1261
1261
  };
@@ -1319,16 +1319,6 @@ export class InvestmentApi extends BaseAPI {
1319
1319
  deleteOptionForInvestment(optionId, investmentId, options) {
1320
1320
  return InvestmentApiFp(this.configuration).deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
1321
1321
  }
1322
- /**
1323
- * Get the preferred option for an investment.
1324
- * @summary Get the preferred option for an investment
1325
- * @param {string} investmentId UUID of the investment
1326
- * @param {*} [options] Override http request option.
1327
- * @throws {RequiredError}
1328
- */
1329
- getFavoredOption(investmentId, options) {
1330
- return InvestmentApiFp(this.configuration).getFavoredOption(investmentId, options).then((request) => request(this.axios, this.basePath));
1331
- }
1332
1322
  /**
1333
1323
  * Retrieve a specific impact for the option.
1334
1324
  * @summary Get an impact for this option
@@ -1410,6 +1400,16 @@ export class InvestmentApi extends BaseAPI {
1410
1400
  getOptionsForInvestment(investmentId, offset, limit, options) {
1411
1401
  return InvestmentApiFp(this.configuration).getOptionsForInvestment(investmentId, offset, limit, options).then((request) => request(this.axios, this.basePath));
1412
1402
  }
1403
+ /**
1404
+ * Get the preferred option for an investment.
1405
+ * @summary Get the preferred option for an investment
1406
+ * @param {string} investmentId UUID of the investment
1407
+ * @param {*} [options] Override http request option.
1408
+ * @throws {RequiredError}
1409
+ */
1410
+ getPreferredOption(investmentId, options) {
1411
+ return InvestmentApiFp(this.configuration).getPreferredOption(investmentId, options).then((request) => request(this.axios, this.basePath));
1412
+ }
1413
1413
  /**
1414
1414
  * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
1415
1415
  * @summary Partially update an impact for this option
@@ -1460,11 +1460,11 @@ export class InvestmentApi extends BaseAPI {
1460
1460
  * Set the preferred option for an investment.
1461
1461
  * @summary Set the preferred option for an investment
1462
1462
  * @param {string} investmentId UUID of the investment
1463
- * @param {FavoredOptionRequest} favoredOptionRequest
1463
+ * @param {PreferredOptionRequest} preferredOptionRequest
1464
1464
  * @param {*} [options] Override http request option.
1465
1465
  * @throws {RequiredError}
1466
1466
  */
1467
- setFavoredOption(investmentId, favoredOptionRequest, options) {
1468
- return InvestmentApiFp(this.configuration).setFavoredOption(investmentId, favoredOptionRequest, options).then((request) => request(this.axios, this.basePath));
1467
+ setPreferredOption(investmentId, preferredOptionRequest, options) {
1468
+ return InvestmentApiFp(this.configuration).setPreferredOption(investmentId, preferredOptionRequest, options).then((request) => request(this.axios, this.basePath));
1469
1469
  }
1470
1470
  }
@@ -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-dev3
5
+ * The version of the OpenAPI document: 0.2.0-dev6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.2.0-dev3
7
+ * The version of the OpenAPI document: 0.2.0-dev6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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-dev3
5
+ * The version of the OpenAPI document: 0.2.0-dev6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.2.0-dev3
7
+ * The version of the OpenAPI document: 0.2.0-dev6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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-dev3
5
+ * The version of the OpenAPI document: 0.2.0-dev6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.2.0-dev3
7
+ * The version of the OpenAPI document: 0.2.0-dev6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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-dev3
5
+ * The version of the OpenAPI document: 0.2.0-dev6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.2.0-dev3
7
+ * The version of the OpenAPI document: 0.2.0-dev6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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-dev3
5
+ * The version of the OpenAPI document: 0.2.0-dev6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.2.0-dev3
7
+ * The version of the OpenAPI document: 0.2.0-dev6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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-dev3
5
+ * The version of the OpenAPI document: 0.2.0-dev6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.2.0-dev3
7
+ * The version of the OpenAPI document: 0.2.0-dev6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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-dev3
5
+ * The version of the OpenAPI document: 0.2.0-dev6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Asset Investment Planning
5
5
  * API for Asset Investment Planning
6
6
  *
7
- * The version of the OpenAPI document: 0.2.0-dev3
7
+ * The version of the OpenAPI document: 0.2.0-dev6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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-dev3
5
+ * The version of the OpenAPI document: 0.2.0-dev6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,12 +12,12 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
- import type { FavoredOptionRequest } from '../models';
16
- import type { FavoredOptionResponse } from '../models';
15
+ import type { PreferredOptionRequest } from '../models';
16
+ import type { PreferredOptionResponse } from '../models';
17
17
  /**
18
- * FavoredOptionApi - axios parameter creator
18
+ * PreferredOptionApi - axios parameter creator
19
19
  */
20
- export declare const FavoredOptionApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ export declare const PreferredOptionApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
22
  * Get the preferred option for an investment.
23
23
  * @summary Get the preferred option for an investment
@@ -25,21 +25,21 @@ export declare const FavoredOptionApiAxiosParamCreator: (configuration?: Configu
25
25
  * @param {*} [options] Override http request option.
26
26
  * @throws {RequiredError}
27
27
  */
28
- getFavoredOption: (investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28
+ getPreferredOption: (investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
29
  /**
30
30
  * Set the preferred option for an investment.
31
31
  * @summary Set the preferred option for an investment
32
32
  * @param {string} investmentId UUID of the investment
33
- * @param {FavoredOptionRequest} favoredOptionRequest
33
+ * @param {PreferredOptionRequest} preferredOptionRequest
34
34
  * @param {*} [options] Override http request option.
35
35
  * @throws {RequiredError}
36
36
  */
37
- setFavoredOption: (investmentId: string, favoredOptionRequest: FavoredOptionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
+ setPreferredOption: (investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
38
  };
39
39
  /**
40
- * FavoredOptionApi - functional programming interface
40
+ * PreferredOptionApi - functional programming interface
41
41
  */
42
- export declare const FavoredOptionApiFp: (configuration?: Configuration) => {
42
+ export declare const PreferredOptionApiFp: (configuration?: Configuration) => {
43
43
  /**
44
44
  * Get the preferred option for an investment.
45
45
  * @summary Get the preferred option for an investment
@@ -47,21 +47,21 @@ export declare const FavoredOptionApiFp: (configuration?: Configuration) => {
47
47
  * @param {*} [options] Override http request option.
48
48
  * @throws {RequiredError}
49
49
  */
50
- getFavoredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoredOptionResponse>>;
50
+ getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>>;
51
51
  /**
52
52
  * Set the preferred option for an investment.
53
53
  * @summary Set the preferred option for an investment
54
54
  * @param {string} investmentId UUID of the investment
55
- * @param {FavoredOptionRequest} favoredOptionRequest
55
+ * @param {PreferredOptionRequest} preferredOptionRequest
56
56
  * @param {*} [options] Override http request option.
57
57
  * @throws {RequiredError}
58
58
  */
59
- setFavoredOption(investmentId: string, favoredOptionRequest: FavoredOptionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoredOptionResponse>>;
59
+ setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>>;
60
60
  };
61
61
  /**
62
- * FavoredOptionApi - factory interface
62
+ * PreferredOptionApi - factory interface
63
63
  */
64
- export declare const FavoredOptionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
64
+ export declare const PreferredOptionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
65
65
  /**
66
66
  * Get the preferred option for an investment.
67
67
  * @summary Get the preferred option for an investment
@@ -69,21 +69,21 @@ export declare const FavoredOptionApiFactory: (configuration?: Configuration, ba
69
69
  * @param {*} [options] Override http request option.
70
70
  * @throws {RequiredError}
71
71
  */
72
- getFavoredOption(investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<FavoredOptionResponse>;
72
+ getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse>;
73
73
  /**
74
74
  * Set the preferred option for an investment.
75
75
  * @summary Set the preferred option for an investment
76
76
  * @param {string} investmentId UUID of the investment
77
- * @param {FavoredOptionRequest} favoredOptionRequest
77
+ * @param {PreferredOptionRequest} preferredOptionRequest
78
78
  * @param {*} [options] Override http request option.
79
79
  * @throws {RequiredError}
80
80
  */
81
- setFavoredOption(investmentId: string, favoredOptionRequest: FavoredOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<FavoredOptionResponse>;
81
+ setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse>;
82
82
  };
83
83
  /**
84
- * FavoredOptionApi - object-oriented interface
84
+ * PreferredOptionApi - object-oriented interface
85
85
  */
86
- export declare class FavoredOptionApi extends BaseAPI {
86
+ export declare class PreferredOptionApi extends BaseAPI {
87
87
  /**
88
88
  * Get the preferred option for an investment.
89
89
  * @summary Get the preferred option for an investment
@@ -91,14 +91,14 @@ export declare class FavoredOptionApi extends BaseAPI {
91
91
  * @param {*} [options] Override http request option.
92
92
  * @throws {RequiredError}
93
93
  */
94
- getFavoredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoredOptionResponse, any, {}>>;
94
+ getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferredOptionResponse, any, {}>>;
95
95
  /**
96
96
  * Set the preferred option for an investment.
97
97
  * @summary Set the preferred option for an investment
98
98
  * @param {string} investmentId UUID of the investment
99
- * @param {FavoredOptionRequest} favoredOptionRequest
99
+ * @param {PreferredOptionRequest} preferredOptionRequest
100
100
  * @param {*} [options] Override http request option.
101
101
  * @throws {RequiredError}
102
102
  */
103
- setFavoredOption(investmentId: string, favoredOptionRequest: FavoredOptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoredOptionResponse, any, {}>>;
103
+ setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferredOptionResponse, any, {}>>;
104
104
  }