@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
@@ -5,7 +5,7 @@
5
5
  * Asset Investment Planning
6
6
  * API for Asset Investment Planning
7
7
  *
8
- * The version of the OpenAPI document: 0.2.0-dev3
8
+ * The version of the OpenAPI document: 0.2.0-dev6
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.FavoredOptionApi = exports.FavoredOptionApiFactory = exports.FavoredOptionApiFp = exports.FavoredOptionApiAxiosParamCreator = void 0;
25
+ exports.PreferredOptionApi = exports.PreferredOptionApiFactory = exports.PreferredOptionApiFp = exports.PreferredOptionApiAxiosParamCreator = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -30,9 +30,9 @@ const common_1 = require("../common");
30
30
  // @ts-ignore
31
31
  const base_1 = require("../base");
32
32
  /**
33
- * FavoredOptionApi - axios parameter creator
33
+ * PreferredOptionApi - axios parameter creator
34
34
  */
35
- const FavoredOptionApiAxiosParamCreator = function (configuration) {
35
+ const PreferredOptionApiAxiosParamCreator = function (configuration) {
36
36
  return {
37
37
  /**
38
38
  * Get the preferred option for an investment.
@@ -41,10 +41,10 @@ const FavoredOptionApiAxiosParamCreator = function (configuration) {
41
41
  * @param {*} [options] Override http request option.
42
42
  * @throws {RequiredError}
43
43
  */
44
- getFavoredOption: (investmentId_1, ...args_1) => __awaiter(this, [investmentId_1, ...args_1], void 0, function* (investmentId, options = {}) {
44
+ getPreferredOption: (investmentId_1, ...args_1) => __awaiter(this, [investmentId_1, ...args_1], void 0, function* (investmentId, options = {}) {
45
45
  // verify required parameter 'investmentId' is not null or undefined
46
- (0, common_1.assertParamExists)('getFavoredOption', 'investmentId', investmentId);
47
- const localVarPath = `/investment/{investment_id}/favored_option`
46
+ (0, common_1.assertParamExists)('getPreferredOption', 'investmentId', investmentId);
47
+ const localVarPath = `/investment/{investment_id}/preferred_option`
48
48
  .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
49
49
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
50
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -71,16 +71,16 @@ const FavoredOptionApiAxiosParamCreator = function (configuration) {
71
71
  * Set the preferred option for an investment.
72
72
  * @summary Set the preferred option for an investment
73
73
  * @param {string} investmentId UUID of the investment
74
- * @param {FavoredOptionRequest} favoredOptionRequest
74
+ * @param {PreferredOptionRequest} preferredOptionRequest
75
75
  * @param {*} [options] Override http request option.
76
76
  * @throws {RequiredError}
77
77
  */
78
- setFavoredOption: (investmentId_1, favoredOptionRequest_1, ...args_1) => __awaiter(this, [investmentId_1, favoredOptionRequest_1, ...args_1], void 0, function* (investmentId, favoredOptionRequest, options = {}) {
78
+ setPreferredOption: (investmentId_1, preferredOptionRequest_1, ...args_1) => __awaiter(this, [investmentId_1, preferredOptionRequest_1, ...args_1], void 0, function* (investmentId, preferredOptionRequest, options = {}) {
79
79
  // verify required parameter 'investmentId' is not null or undefined
80
- (0, common_1.assertParamExists)('setFavoredOption', 'investmentId', investmentId);
81
- // verify required parameter 'favoredOptionRequest' is not null or undefined
82
- (0, common_1.assertParamExists)('setFavoredOption', 'favoredOptionRequest', favoredOptionRequest);
83
- const localVarPath = `/investment/{investment_id}/favored_option`
80
+ (0, common_1.assertParamExists)('setPreferredOption', 'investmentId', investmentId);
81
+ // verify required parameter 'preferredOptionRequest' is not null or undefined
82
+ (0, common_1.assertParamExists)('setPreferredOption', 'preferredOptionRequest', preferredOptionRequest);
83
+ const localVarPath = `/investment/{investment_id}/preferred_option`
84
84
  .replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
85
85
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
86
86
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -99,7 +99,7 @@ const FavoredOptionApiAxiosParamCreator = function (configuration) {
99
99
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
100
100
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
101
101
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
102
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(favoredOptionRequest, localVarRequestOptions, configuration);
102
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(preferredOptionRequest, localVarRequestOptions, configuration);
103
103
  return {
104
104
  url: (0, common_1.toPathString)(localVarUrlObj),
105
105
  options: localVarRequestOptions,
@@ -107,12 +107,12 @@ const FavoredOptionApiAxiosParamCreator = function (configuration) {
107
107
  }),
108
108
  };
109
109
  };
110
- exports.FavoredOptionApiAxiosParamCreator = FavoredOptionApiAxiosParamCreator;
110
+ exports.PreferredOptionApiAxiosParamCreator = PreferredOptionApiAxiosParamCreator;
111
111
  /**
112
- * FavoredOptionApi - functional programming interface
112
+ * PreferredOptionApi - functional programming interface
113
113
  */
114
- const FavoredOptionApiFp = function (configuration) {
115
- const localVarAxiosParamCreator = (0, exports.FavoredOptionApiAxiosParamCreator)(configuration);
114
+ const PreferredOptionApiFp = function (configuration) {
115
+ const localVarAxiosParamCreator = (0, exports.PreferredOptionApiAxiosParamCreator)(configuration);
116
116
  return {
117
117
  /**
118
118
  * Get the preferred option for an investment.
@@ -121,12 +121,12 @@ const FavoredOptionApiFp = function (configuration) {
121
121
  * @param {*} [options] Override http request option.
122
122
  * @throws {RequiredError}
123
123
  */
124
- getFavoredOption(investmentId, options) {
124
+ getPreferredOption(investmentId, options) {
125
125
  return __awaiter(this, void 0, void 0, function* () {
126
126
  var _a, _b, _c;
127
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getFavoredOption(investmentId, options);
127
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPreferredOption(investmentId, options);
128
128
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
129
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FavoredOptionApi.getFavoredOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
129
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PreferredOptionApi.getPreferredOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
130
130
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
131
131
  });
132
132
  },
@@ -134,27 +134,27 @@ const FavoredOptionApiFp = function (configuration) {
134
134
  * Set the preferred option for an investment.
135
135
  * @summary Set the preferred option for an investment
136
136
  * @param {string} investmentId UUID of the investment
137
- * @param {FavoredOptionRequest} favoredOptionRequest
137
+ * @param {PreferredOptionRequest} preferredOptionRequest
138
138
  * @param {*} [options] Override http request option.
139
139
  * @throws {RequiredError}
140
140
  */
141
- setFavoredOption(investmentId, favoredOptionRequest, options) {
141
+ setPreferredOption(investmentId, preferredOptionRequest, options) {
142
142
  return __awaiter(this, void 0, void 0, function* () {
143
143
  var _a, _b, _c;
144
- const localVarAxiosArgs = yield localVarAxiosParamCreator.setFavoredOption(investmentId, favoredOptionRequest, options);
144
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.setPreferredOption(investmentId, preferredOptionRequest, options);
145
145
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
146
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FavoredOptionApi.setFavoredOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
146
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PreferredOptionApi.setPreferredOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
147
147
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
148
148
  });
149
149
  },
150
150
  };
151
151
  };
152
- exports.FavoredOptionApiFp = FavoredOptionApiFp;
152
+ exports.PreferredOptionApiFp = PreferredOptionApiFp;
153
153
  /**
154
- * FavoredOptionApi - factory interface
154
+ * PreferredOptionApi - factory interface
155
155
  */
156
- const FavoredOptionApiFactory = function (configuration, basePath, axios) {
157
- const localVarFp = (0, exports.FavoredOptionApiFp)(configuration);
156
+ const PreferredOptionApiFactory = function (configuration, basePath, axios) {
157
+ const localVarFp = (0, exports.PreferredOptionApiFp)(configuration);
158
158
  return {
159
159
  /**
160
160
  * Get the preferred option for an investment.
@@ -163,27 +163,27 @@ const FavoredOptionApiFactory = function (configuration, basePath, axios) {
163
163
  * @param {*} [options] Override http request option.
164
164
  * @throws {RequiredError}
165
165
  */
166
- getFavoredOption(investmentId, options) {
167
- return localVarFp.getFavoredOption(investmentId, options).then((request) => request(axios, basePath));
166
+ getPreferredOption(investmentId, options) {
167
+ return localVarFp.getPreferredOption(investmentId, options).then((request) => request(axios, basePath));
168
168
  },
169
169
  /**
170
170
  * Set the preferred option for an investment.
171
171
  * @summary Set the preferred option for an investment
172
172
  * @param {string} investmentId UUID of the investment
173
- * @param {FavoredOptionRequest} favoredOptionRequest
173
+ * @param {PreferredOptionRequest} preferredOptionRequest
174
174
  * @param {*} [options] Override http request option.
175
175
  * @throws {RequiredError}
176
176
  */
177
- setFavoredOption(investmentId, favoredOptionRequest, options) {
178
- return localVarFp.setFavoredOption(investmentId, favoredOptionRequest, options).then((request) => request(axios, basePath));
177
+ setPreferredOption(investmentId, preferredOptionRequest, options) {
178
+ return localVarFp.setPreferredOption(investmentId, preferredOptionRequest, options).then((request) => request(axios, basePath));
179
179
  },
180
180
  };
181
181
  };
182
- exports.FavoredOptionApiFactory = FavoredOptionApiFactory;
182
+ exports.PreferredOptionApiFactory = PreferredOptionApiFactory;
183
183
  /**
184
- * FavoredOptionApi - object-oriented interface
184
+ * PreferredOptionApi - object-oriented interface
185
185
  */
186
- class FavoredOptionApi extends base_1.BaseAPI {
186
+ class PreferredOptionApi extends base_1.BaseAPI {
187
187
  /**
188
188
  * Get the preferred option for an investment.
189
189
  * @summary Get the preferred option for an investment
@@ -191,19 +191,19 @@ class FavoredOptionApi extends base_1.BaseAPI {
191
191
  * @param {*} [options] Override http request option.
192
192
  * @throws {RequiredError}
193
193
  */
194
- getFavoredOption(investmentId, options) {
195
- return (0, exports.FavoredOptionApiFp)(this.configuration).getFavoredOption(investmentId, options).then((request) => request(this.axios, this.basePath));
194
+ getPreferredOption(investmentId, options) {
195
+ return (0, exports.PreferredOptionApiFp)(this.configuration).getPreferredOption(investmentId, options).then((request) => request(this.axios, this.basePath));
196
196
  }
197
197
  /**
198
198
  * Set the preferred option for an investment.
199
199
  * @summary Set the preferred option for an investment
200
200
  * @param {string} investmentId UUID of the investment
201
- * @param {FavoredOptionRequest} favoredOptionRequest
201
+ * @param {PreferredOptionRequest} preferredOptionRequest
202
202
  * @param {*} [options] Override http request option.
203
203
  * @throws {RequiredError}
204
204
  */
205
- setFavoredOption(investmentId, favoredOptionRequest, options) {
206
- return (0, exports.FavoredOptionApiFp)(this.configuration).setFavoredOption(investmentId, favoredOptionRequest, options).then((request) => request(this.axios, this.basePath));
205
+ setPreferredOption(investmentId, preferredOptionRequest, options) {
206
+ return (0, exports.PreferredOptionApiFp)(this.configuration).setPreferredOption(investmentId, preferredOptionRequest, options).then((request) => request(this.axios, this.basePath));
207
207
  }
208
208
  }
209
- exports.FavoredOptionApi = FavoredOptionApi;
209
+ exports.PreferredOptionApi = PreferredOptionApi;
@@ -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).
@@ -5,7 +5,7 @@
5
5
  * Asset Investment Planning
6
6
  * API for Asset Investment Planning
7
7
  *
8
- * The version of the OpenAPI document: 0.2.0-dev3
8
+ * The version of the OpenAPI document: 0.2.0-dev6
9
9
  *
10
10
  *
11
11
  * 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).
@@ -5,7 +5,7 @@
5
5
  * Asset Investment Planning
6
6
  * API for Asset Investment Planning
7
7
  *
8
- * The version of the OpenAPI document: 0.2.0-dev3
8
+ * The version of the OpenAPI document: 0.2.0-dev6
9
9
  *
10
10
  *
11
11
  * 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).
@@ -5,7 +5,7 @@
5
5
  * Asset Investment Planning
6
6
  * API for Asset Investment Planning
7
7
  *
8
- * The version of the OpenAPI document: 0.2.0-dev3
8
+ * The version of the OpenAPI document: 0.2.0-dev6
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -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).
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/default-api';
13
- export * from './api/favored-option-api';
14
13
  export * from './api/impact-api';
15
14
  export * from './api/investment-api';
16
15
  export * from './api/metric-api';
@@ -20,6 +19,7 @@ export * from './api/objective-api';
20
19
  export * from './api/objective-weight-api';
21
20
  export * from './api/objective-weights-api';
22
21
  export * from './api/option-api';
22
+ export * from './api/preferred-option-api';
23
23
  export * from './api/value-framework-api';
24
24
  export * from './api/value-framework-costs-api';
25
25
  export * from './api/value-framework-weights-api';
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Asset Investment Planning
6
6
  * API for Asset Investment Planning
7
7
  *
8
- * The version of the OpenAPI document: 0.2.0-dev3
8
+ * The version of the OpenAPI document: 0.2.0-dev6
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/default-api"), exports);
31
- __exportStar(require("./api/favored-option-api"), exports);
32
31
  __exportStar(require("./api/impact-api"), exports);
33
32
  __exportStar(require("./api/investment-api"), exports);
34
33
  __exportStar(require("./api/metric-api"), exports);
@@ -38,6 +37,7 @@ __exportStar(require("./api/objective-api"), exports);
38
37
  __exportStar(require("./api/objective-weight-api"), exports);
39
38
  __exportStar(require("./api/objective-weights-api"), exports);
40
39
  __exportStar(require("./api/option-api"), exports);
40
+ __exportStar(require("./api/preferred-option-api"), exports);
41
41
  __exportStar(require("./api/value-framework-api"), exports);
42
42
  __exportStar(require("./api/value-framework-costs-api"), exports);
43
43
  __exportStar(require("./api/value-framework-weights-api"), exports);
package/dist/base.d.ts CHANGED
@@ -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).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Asset Investment Planning
6
6
  * API for Asset Investment Planning
7
7
  *
8
- * The version of the OpenAPI document: 0.2.0-dev3
8
+ * The version of the OpenAPI document: 0.2.0-dev6
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -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).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Asset Investment Planning
6
6
  * API for Asset Investment Planning
7
7
  *
8
- * The version of the OpenAPI document: 0.2.0-dev3
8
+ * The version of the OpenAPI document: 0.2.0-dev6
9
9
  *
10
10
  *
11
11
  * 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,8 +12,6 @@
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';
17
15
  import type { ImpactAPIResponse } from '../models';
18
16
  import type { ImpactCreate } from '../models';
19
17
  import type { ImpactUpdate } from '../models';
@@ -24,6 +22,8 @@ import type { OptionChartKPIsYearly } from '../models';
24
22
  import type { OptionCreate } from '../models';
25
23
  import type { OptionResponse } from '../models';
26
24
  import type { OptionUpdate } from '../models';
25
+ import type { PreferredOptionRequest } from '../models';
26
+ import type { PreferredOptionResponse } from '../models';
27
27
  /**
28
28
  * InvestmentApi - axios parameter creator
29
29
  */
@@ -74,14 +74,6 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
74
74
  * @throws {RequiredError}
75
75
  */
76
76
  deleteOptionForInvestment: (optionId: string, investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
77
- /**
78
- * Get the preferred option for an investment.
79
- * @summary Get the preferred option for an investment
80
- * @param {string} investmentId UUID of the investment
81
- * @param {*} [options] Override http request option.
82
- * @throws {RequiredError}
83
- */
84
- getFavoredOption: (investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
85
77
  /**
86
78
  * Retrieve a specific impact for the option.
87
79
  * @summary Get an impact for this option
@@ -149,6 +141,14 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
149
141
  * @throws {RequiredError}
150
142
  */
151
143
  getOptionsForInvestment: (investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
144
+ /**
145
+ * Get the preferred option for an investment.
146
+ * @summary Get the preferred option for an investment
147
+ * @param {string} investmentId UUID of the investment
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ getPreferredOption: (investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
152
152
  /**
153
153
  * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
154
154
  * @summary Partially update an impact for this option
@@ -191,11 +191,11 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
191
191
  * Set the preferred option for an investment.
192
192
  * @summary Set the preferred option for an investment
193
193
  * @param {string} investmentId UUID of the investment
194
- * @param {FavoredOptionRequest} favoredOptionRequest
194
+ * @param {PreferredOptionRequest} preferredOptionRequest
195
195
  * @param {*} [options] Override http request option.
196
196
  * @throws {RequiredError}
197
197
  */
198
- setFavoredOption: (investmentId: string, favoredOptionRequest: FavoredOptionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
198
+ setPreferredOption: (investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
199
199
  };
200
200
  /**
201
201
  * InvestmentApi - functional programming interface
@@ -247,14 +247,6 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
247
247
  * @throws {RequiredError}
248
248
  */
249
249
  deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
250
- /**
251
- * Get the preferred option for an investment.
252
- * @summary Get the preferred option for an investment
253
- * @param {string} investmentId UUID of the investment
254
- * @param {*} [options] Override http request option.
255
- * @throws {RequiredError}
256
- */
257
- getFavoredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoredOptionResponse>>;
258
250
  /**
259
251
  * Retrieve a specific impact for the option.
260
252
  * @summary Get an impact for this option
@@ -322,6 +314,14 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
322
314
  * @throws {RequiredError}
323
315
  */
324
316
  getOptionsForInvestment(investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionResponse>>>;
317
+ /**
318
+ * Get the preferred option for an investment.
319
+ * @summary Get the preferred option for an investment
320
+ * @param {string} investmentId UUID of the investment
321
+ * @param {*} [options] Override http request option.
322
+ * @throws {RequiredError}
323
+ */
324
+ getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>>;
325
325
  /**
326
326
  * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
327
327
  * @summary Partially update an impact for this option
@@ -364,11 +364,11 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
364
364
  * Set the preferred option for an investment.
365
365
  * @summary Set the preferred option for an investment
366
366
  * @param {string} investmentId UUID of the investment
367
- * @param {FavoredOptionRequest} favoredOptionRequest
367
+ * @param {PreferredOptionRequest} preferredOptionRequest
368
368
  * @param {*} [options] Override http request option.
369
369
  * @throws {RequiredError}
370
370
  */
371
- setFavoredOption(investmentId: string, favoredOptionRequest: FavoredOptionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoredOptionResponse>>;
371
+ setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>>;
372
372
  };
373
373
  /**
374
374
  * InvestmentApi - factory interface
@@ -420,14 +420,6 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
420
420
  * @throws {RequiredError}
421
421
  */
422
422
  deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
423
- /**
424
- * Get the preferred option for an investment.
425
- * @summary Get the preferred option for an investment
426
- * @param {string} investmentId UUID of the investment
427
- * @param {*} [options] Override http request option.
428
- * @throws {RequiredError}
429
- */
430
- getFavoredOption(investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<FavoredOptionResponse>;
431
423
  /**
432
424
  * Retrieve a specific impact for the option.
433
425
  * @summary Get an impact for this option
@@ -495,6 +487,14 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
495
487
  * @throws {RequiredError}
496
488
  */
497
489
  getOptionsForInvestment(investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionResponse>>;
490
+ /**
491
+ * Get the preferred option for an investment.
492
+ * @summary Get the preferred option for an investment
493
+ * @param {string} investmentId UUID of the investment
494
+ * @param {*} [options] Override http request option.
495
+ * @throws {RequiredError}
496
+ */
497
+ getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse>;
498
498
  /**
499
499
  * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
500
500
  * @summary Partially update an impact for this option
@@ -537,11 +537,11 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
537
537
  * Set the preferred option for an investment.
538
538
  * @summary Set the preferred option for an investment
539
539
  * @param {string} investmentId UUID of the investment
540
- * @param {FavoredOptionRequest} favoredOptionRequest
540
+ * @param {PreferredOptionRequest} preferredOptionRequest
541
541
  * @param {*} [options] Override http request option.
542
542
  * @throws {RequiredError}
543
543
  */
544
- setFavoredOption(investmentId: string, favoredOptionRequest: FavoredOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<FavoredOptionResponse>;
544
+ setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse>;
545
545
  };
546
546
  /**
547
547
  * InvestmentApi - object-oriented interface
@@ -593,14 +593,6 @@ export declare class InvestmentApi extends BaseAPI {
593
593
  * @throws {RequiredError}
594
594
  */
595
595
  deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
596
- /**
597
- * Get the preferred option for an investment.
598
- * @summary Get the preferred option for an investment
599
- * @param {string} investmentId UUID of the investment
600
- * @param {*} [options] Override http request option.
601
- * @throws {RequiredError}
602
- */
603
- getFavoredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoredOptionResponse, any, {}>>;
604
596
  /**
605
597
  * Retrieve a specific impact for the option.
606
598
  * @summary Get an impact for this option
@@ -668,6 +660,14 @@ export declare class InvestmentApi extends BaseAPI {
668
660
  * @throws {RequiredError}
669
661
  */
670
662
  getOptionsForInvestment(investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OptionResponse[], any, {}>>;
663
+ /**
664
+ * Get the preferred option for an investment.
665
+ * @summary Get the preferred option for an investment
666
+ * @param {string} investmentId UUID of the investment
667
+ * @param {*} [options] Override http request option.
668
+ * @throws {RequiredError}
669
+ */
670
+ getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferredOptionResponse, any, {}>>;
671
671
  /**
672
672
  * Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
673
673
  * @summary Partially update an impact for this option
@@ -710,9 +710,9 @@ export declare class InvestmentApi extends BaseAPI {
710
710
  * Set the preferred option for an investment.
711
711
  * @summary Set the preferred option for an investment
712
712
  * @param {string} investmentId UUID of the investment
713
- * @param {FavoredOptionRequest} favoredOptionRequest
713
+ * @param {PreferredOptionRequest} preferredOptionRequest
714
714
  * @param {*} [options] Override http request option.
715
715
  * @throws {RequiredError}
716
716
  */
717
- setFavoredOption(investmentId: string, favoredOptionRequest: FavoredOptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoredOptionResponse, any, {}>>;
717
+ setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferredOptionResponse, any, {}>>;
718
718
  }