@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.
- package/README.md +8 -8
- package/api/default-api.ts +1 -1
- package/api/impact-api.ts +1 -1
- package/api/investment-api.ts +94 -94
- package/api/metric-api.ts +1 -1
- package/api/metric-costs-api.ts +1 -1
- package/api/metric-costs-per-year-api.ts +1 -1
- package/api/objective-api.ts +1 -1
- package/api/objective-weight-api.ts +1 -1
- package/api/objective-weights-api.ts +1 -1
- package/api/option-api.ts +1 -1
- package/api/{favored-option-api.ts → preferred-option-api.ts} +40 -40
- package/api/value-framework-api.ts +1 -1
- package/api/value-framework-costs-api.ts +1 -1
- package/api/value-framework-weights-api.ts +1 -1
- package/api.ts +2 -2
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/impact-api.d.ts +1 -1
- package/dist/api/impact-api.js +1 -1
- package/dist/api/investment-api.d.ts +43 -43
- package/dist/api/investment-api.js +87 -87
- package/dist/api/metric-api.d.ts +1 -1
- package/dist/api/metric-api.js +1 -1
- package/dist/api/metric-costs-api.d.ts +1 -1
- package/dist/api/metric-costs-api.js +1 -1
- package/dist/api/metric-costs-per-year-api.d.ts +1 -1
- package/dist/api/metric-costs-per-year-api.js +1 -1
- package/dist/api/objective-api.d.ts +1 -1
- package/dist/api/objective-api.js +1 -1
- package/dist/api/objective-weight-api.d.ts +1 -1
- package/dist/api/objective-weight-api.js +1 -1
- package/dist/api/objective-weights-api.d.ts +1 -1
- package/dist/api/objective-weights-api.js +1 -1
- package/dist/api/option-api.d.ts +1 -1
- package/dist/api/option-api.js +1 -1
- package/dist/api/{favored-option-api.d.ts → preferred-option-api.d.ts} +23 -23
- package/dist/api/{favored-option-api.js → preferred-option-api.js} +43 -43
- package/dist/api/value-framework-api.d.ts +1 -1
- package/dist/api/value-framework-api.js +1 -1
- package/dist/api/value-framework-costs-api.d.ts +1 -1
- package/dist/api/value-framework-costs-api.js +1 -1
- package/dist/api/value-framework-weights-api.d.ts +1 -1
- package/dist/api/value-framework-weights-api.js +1 -1
- package/dist/api.d.ts +2 -2
- package/dist/api.js +2 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api/default-api.d.ts +1 -1
- package/dist/esm/api/default-api.js +1 -1
- package/dist/esm/api/impact-api.d.ts +1 -1
- package/dist/esm/api/impact-api.js +1 -1
- package/dist/esm/api/investment-api.d.ts +43 -43
- package/dist/esm/api/investment-api.js +87 -87
- package/dist/esm/api/metric-api.d.ts +1 -1
- package/dist/esm/api/metric-api.js +1 -1
- package/dist/esm/api/metric-costs-api.d.ts +1 -1
- package/dist/esm/api/metric-costs-api.js +1 -1
- package/dist/esm/api/metric-costs-per-year-api.d.ts +1 -1
- package/dist/esm/api/metric-costs-per-year-api.js +1 -1
- package/dist/esm/api/objective-api.d.ts +1 -1
- package/dist/esm/api/objective-api.js +1 -1
- package/dist/esm/api/objective-weight-api.d.ts +1 -1
- package/dist/esm/api/objective-weight-api.js +1 -1
- package/dist/esm/api/objective-weights-api.d.ts +1 -1
- package/dist/esm/api/objective-weights-api.js +1 -1
- package/dist/esm/api/option-api.d.ts +1 -1
- package/dist/esm/api/option-api.js +1 -1
- package/dist/esm/api/{favored-option-api.d.ts → preferred-option-api.d.ts} +23 -23
- package/dist/esm/api/{favored-option-api.js → preferred-option-api.js} +38 -38
- package/dist/esm/api/value-framework-api.d.ts +1 -1
- package/dist/esm/api/value-framework-api.js +1 -1
- package/dist/esm/api/value-framework-costs-api.d.ts +1 -1
- package/dist/esm/api/value-framework-costs-api.js +1 -1
- package/dist/esm/api/value-framework-weights-api.d.ts +1 -1
- package/dist/esm/api/value-framework-weights-api.js +1 -1
- package/dist/esm/api.d.ts +2 -2
- package/dist/esm/api.js +2 -2
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/evolution-type.d.ts +1 -1
- package/dist/esm/models/evolution-type.js +1 -1
- package/dist/esm/models/httpvalidation-error.d.ts +1 -1
- package/dist/esm/models/httpvalidation-error.js +1 -1
- package/dist/esm/models/impact-apiresponse.d.ts +1 -1
- package/dist/esm/models/impact-apiresponse.js +1 -1
- package/dist/esm/models/impact-create.d.ts +1 -1
- package/dist/esm/models/impact-create.js +1 -1
- package/dist/esm/models/impact-update.d.ts +1 -1
- package/dist/esm/models/impact-update.js +1 -1
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.js +2 -2
- package/dist/esm/models/investment-create.d.ts +1 -1
- package/dist/esm/models/investment-create.js +1 -1
- package/dist/esm/models/investment-response.d.ts +1 -1
- package/dist/esm/models/investment-response.js +1 -1
- package/dist/esm/models/investment-update.d.ts +1 -1
- package/dist/esm/models/investment-update.js +1 -1
- package/dist/esm/models/location-inner.d.ts +1 -1
- package/dist/esm/models/location-inner.js +1 -1
- package/dist/esm/models/measurement-type.d.ts +1 -1
- package/dist/esm/models/measurement-type.js +1 -1
- package/dist/esm/models/metric-costs-per-year-create.d.ts +1 -1
- package/dist/esm/models/metric-costs-per-year-create.js +1 -1
- package/dist/esm/models/metric-costs-per-year-response.d.ts +1 -1
- package/dist/esm/models/metric-costs-per-year-response.js +1 -1
- package/dist/esm/models/metric-costs-per-year-update.d.ts +1 -1
- package/dist/esm/models/metric-costs-per-year-update.js +1 -1
- package/dist/esm/models/metric-create.d.ts +1 -1
- package/dist/esm/models/metric-create.js +1 -1
- package/dist/esm/models/metric-response.d.ts +1 -1
- package/dist/esm/models/metric-response.js +1 -1
- package/dist/esm/models/metric-type.d.ts +1 -1
- package/dist/esm/models/metric-type.js +1 -1
- package/dist/esm/models/metric-update.d.ts +1 -1
- package/dist/esm/models/metric-update.js +1 -1
- package/dist/esm/models/objective-create.d.ts +1 -1
- package/dist/esm/models/objective-create.js +1 -1
- package/dist/esm/models/objective-response.d.ts +1 -1
- package/dist/esm/models/objective-response.js +1 -1
- package/dist/esm/models/objective-update.d.ts +1 -1
- package/dist/esm/models/objective-update.js +1 -1
- package/dist/esm/models/objective-weight-create.d.ts +1 -1
- package/dist/esm/models/objective-weight-create.js +1 -1
- package/dist/esm/models/objective-weight-response.d.ts +1 -1
- package/dist/esm/models/objective-weight-response.js +1 -1
- package/dist/esm/models/objective-weight-update.d.ts +1 -1
- package/dist/esm/models/objective-weight-update.js +1 -1
- package/dist/esm/models/option-chart-kpi.d.ts +1 -1
- package/dist/esm/models/option-chart-kpi.js +1 -1
- package/dist/esm/models/option-chart-kpis-yearly.d.ts +1 -1
- package/dist/esm/models/option-chart-kpis-yearly.js +1 -1
- package/dist/esm/models/option-create.d.ts +1 -1
- package/dist/esm/models/option-create.js +1 -1
- package/dist/esm/models/option-response.d.ts +1 -1
- package/dist/esm/models/option-response.js +1 -1
- package/dist/esm/models/option-update.d.ts +1 -1
- package/dist/esm/models/option-update.js +1 -1
- package/dist/esm/models/{favored-option-request.d.ts → preferred-option-request.d.ts} +2 -2
- package/dist/esm/models/{favored-option-request.js → preferred-option-request.js} +1 -1
- package/dist/esm/models/{favored-option-response.d.ts → preferred-option-response.d.ts} +3 -3
- package/dist/esm/models/{favored-option-response.js → preferred-option-response.js} +1 -1
- package/dist/esm/models/validation-error.d.ts +1 -1
- package/dist/esm/models/validation-error.js +1 -1
- package/dist/esm/models/value-framework-create.d.ts +1 -1
- package/dist/esm/models/value-framework-create.js +1 -1
- package/dist/esm/models/value-framework-response.d.ts +1 -1
- package/dist/esm/models/value-framework-response.js +1 -1
- package/dist/esm/models/value-framework-update.d.ts +1 -1
- package/dist/esm/models/value-framework-update.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/evolution-type.d.ts +1 -1
- package/dist/models/evolution-type.js +1 -1
- package/dist/models/httpvalidation-error.d.ts +1 -1
- package/dist/models/httpvalidation-error.js +1 -1
- package/dist/models/impact-apiresponse.d.ts +1 -1
- package/dist/models/impact-apiresponse.js +1 -1
- package/dist/models/impact-create.d.ts +1 -1
- package/dist/models/impact-create.js +1 -1
- package/dist/models/impact-update.d.ts +1 -1
- package/dist/models/impact-update.js +1 -1
- package/dist/models/index.d.ts +2 -2
- package/dist/models/index.js +2 -2
- package/dist/models/investment-create.d.ts +1 -1
- package/dist/models/investment-create.js +1 -1
- package/dist/models/investment-response.d.ts +1 -1
- package/dist/models/investment-response.js +1 -1
- package/dist/models/investment-update.d.ts +1 -1
- package/dist/models/investment-update.js +1 -1
- package/dist/models/location-inner.d.ts +1 -1
- package/dist/models/location-inner.js +1 -1
- package/dist/models/measurement-type.d.ts +1 -1
- package/dist/models/measurement-type.js +1 -1
- package/dist/models/metric-costs-per-year-create.d.ts +1 -1
- package/dist/models/metric-costs-per-year-create.js +1 -1
- package/dist/models/metric-costs-per-year-response.d.ts +1 -1
- package/dist/models/metric-costs-per-year-response.js +1 -1
- package/dist/models/metric-costs-per-year-update.d.ts +1 -1
- package/dist/models/metric-costs-per-year-update.js +1 -1
- package/dist/models/metric-create.d.ts +1 -1
- package/dist/models/metric-create.js +1 -1
- package/dist/models/metric-response.d.ts +1 -1
- package/dist/models/metric-response.js +1 -1
- package/dist/models/metric-type.d.ts +1 -1
- package/dist/models/metric-type.js +1 -1
- package/dist/models/metric-update.d.ts +1 -1
- package/dist/models/metric-update.js +1 -1
- package/dist/models/objective-create.d.ts +1 -1
- package/dist/models/objective-create.js +1 -1
- package/dist/models/objective-response.d.ts +1 -1
- package/dist/models/objective-response.js +1 -1
- package/dist/models/objective-update.d.ts +1 -1
- package/dist/models/objective-update.js +1 -1
- package/dist/models/objective-weight-create.d.ts +1 -1
- package/dist/models/objective-weight-create.js +1 -1
- package/dist/models/objective-weight-response.d.ts +1 -1
- package/dist/models/objective-weight-response.js +1 -1
- package/dist/models/objective-weight-update.d.ts +1 -1
- package/dist/models/objective-weight-update.js +1 -1
- package/dist/models/option-chart-kpi.d.ts +1 -1
- package/dist/models/option-chart-kpi.js +1 -1
- package/dist/models/option-chart-kpis-yearly.d.ts +1 -1
- package/dist/models/option-chart-kpis-yearly.js +1 -1
- package/dist/models/option-create.d.ts +1 -1
- package/dist/models/option-create.js +1 -1
- package/dist/models/option-response.d.ts +1 -1
- package/dist/models/option-response.js +1 -1
- package/dist/models/option-update.d.ts +1 -1
- package/dist/models/option-update.js +1 -1
- package/dist/models/{favored-option-request.d.ts → preferred-option-request.d.ts} +2 -2
- package/dist/models/{favored-option-request.js → preferred-option-request.js} +1 -1
- package/dist/models/{favored-option-response.d.ts → preferred-option-response.d.ts} +3 -3
- package/dist/models/{favored-option-response.js → preferred-option-response.js} +1 -1
- package/dist/models/validation-error.d.ts +1 -1
- package/dist/models/validation-error.js +1 -1
- package/dist/models/value-framework-create.d.ts +1 -1
- package/dist/models/value-framework-create.js +1 -1
- package/dist/models/value-framework-response.d.ts +1 -1
- package/dist/models/value-framework-response.js +1 -1
- package/dist/models/value-framework-update.d.ts +1 -1
- package/dist/models/value-framework-update.js +1 -1
- package/docs/InvestmentApi.md +63 -63
- package/docs/{FavoredOptionApi.md → PreferredOptionApi.md} +19 -19
- package/docs/{FavoredOptionRequest.md → PreferredOptionRequest.md} +3 -3
- package/docs/{FavoredOptionResponse.md → PreferredOptionResponse.md} +4 -4
- package/index.ts +1 -1
- package/models/evolution-type.ts +1 -1
- package/models/httpvalidation-error.ts +1 -1
- package/models/impact-apiresponse.ts +1 -1
- package/models/impact-create.ts +1 -1
- package/models/impact-update.ts +1 -1
- package/models/index.ts +2 -2
- package/models/investment-create.ts +1 -1
- package/models/investment-response.ts +1 -1
- package/models/investment-update.ts +1 -1
- package/models/location-inner.ts +1 -1
- package/models/measurement-type.ts +1 -1
- package/models/metric-costs-per-year-create.ts +1 -1
- package/models/metric-costs-per-year-response.ts +1 -1
- package/models/metric-costs-per-year-update.ts +1 -1
- package/models/metric-create.ts +1 -1
- package/models/metric-response.ts +1 -1
- package/models/metric-type.ts +1 -1
- package/models/metric-update.ts +1 -1
- package/models/objective-create.ts +1 -1
- package/models/objective-response.ts +1 -1
- package/models/objective-update.ts +1 -1
- package/models/objective-weight-create.ts +1 -1
- package/models/objective-weight-response.ts +1 -1
- package/models/objective-weight-update.ts +1 -1
- package/models/option-chart-kpi.ts +1 -1
- package/models/option-chart-kpis-yearly.ts +1 -1
- package/models/option-create.ts +1 -1
- package/models/option-response.ts +1 -1
- package/models/option-update.ts +1 -1
- package/models/{favored-option-request.ts → preferred-option-request.ts} +2 -2
- package/models/{favored-option-response.ts → preferred-option-response.ts} +3 -3
- package/models/validation-error.ts +1 -1
- package/models/value-framework-create.ts +1 -1
- package/models/value-framework-response.ts +1 -1
- package/models/value-framework-update.ts +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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).
|
|
@@ -22,13 +22,13 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
-
import type {
|
|
25
|
+
import type { PreferredOptionRequest } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
|
-
import type {
|
|
27
|
+
import type { PreferredOptionResponse } from '../models';
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* PreferredOptionApi - axios parameter creator
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
31
|
+
export const PreferredOptionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
34
|
* Get the preferred option for an investment.
|
|
@@ -37,10 +37,10 @@ export const FavoredOptionApiAxiosParamCreator = function (configuration?: Confi
|
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
getPreferredOption: async (investmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
41
|
// verify required parameter 'investmentId' is not null or undefined
|
|
42
|
-
assertParamExists('
|
|
43
|
-
const localVarPath = `/investment/{investment_id}/
|
|
42
|
+
assertParamExists('getPreferredOption', 'investmentId', investmentId)
|
|
43
|
+
const localVarPath = `/investment/{investment_id}/preferred_option`
|
|
44
44
|
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
45
45
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
46
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -72,16 +72,16 @@ export const FavoredOptionApiAxiosParamCreator = function (configuration?: Confi
|
|
|
72
72
|
* Set the preferred option for an investment.
|
|
73
73
|
* @summary Set the preferred option for an investment
|
|
74
74
|
* @param {string} investmentId UUID of the investment
|
|
75
|
-
* @param {
|
|
75
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
77
77
|
* @throws {RequiredError}
|
|
78
78
|
*/
|
|
79
|
-
|
|
79
|
+
setPreferredOption: async (investmentId: string, preferredOptionRequest: PreferredOptionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80
80
|
// verify required parameter 'investmentId' is not null or undefined
|
|
81
|
-
assertParamExists('
|
|
82
|
-
// verify required parameter '
|
|
83
|
-
assertParamExists('
|
|
84
|
-
const localVarPath = `/investment/{investment_id}/
|
|
81
|
+
assertParamExists('setPreferredOption', 'investmentId', investmentId)
|
|
82
|
+
// verify required parameter 'preferredOptionRequest' is not null or undefined
|
|
83
|
+
assertParamExists('setPreferredOption', 'preferredOptionRequest', preferredOptionRequest)
|
|
84
|
+
const localVarPath = `/investment/{investment_id}/preferred_option`
|
|
85
85
|
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
86
86
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
87
87
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -104,7 +104,7 @@ export const FavoredOptionApiAxiosParamCreator = function (configuration?: Confi
|
|
|
104
104
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105
105
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
106
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
107
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
107
|
+
localVarRequestOptions.data = serializeDataIfNeeded(preferredOptionRequest, localVarRequestOptions, configuration)
|
|
108
108
|
|
|
109
109
|
return {
|
|
110
110
|
url: toPathString(localVarUrlObj),
|
|
@@ -115,10 +115,10 @@ export const FavoredOptionApiAxiosParamCreator = function (configuration?: Confi
|
|
|
115
115
|
};
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
*
|
|
118
|
+
* PreferredOptionApi - functional programming interface
|
|
119
119
|
*/
|
|
120
|
-
export const
|
|
121
|
-
const localVarAxiosParamCreator =
|
|
120
|
+
export const PreferredOptionApiFp = function(configuration?: Configuration) {
|
|
121
|
+
const localVarAxiosParamCreator = PreferredOptionApiAxiosParamCreator(configuration)
|
|
122
122
|
return {
|
|
123
123
|
/**
|
|
124
124
|
* Get the preferred option for an investment.
|
|
@@ -127,34 +127,34 @@ export const FavoredOptionApiFp = function(configuration?: Configuration) {
|
|
|
127
127
|
* @param {*} [options] Override http request option.
|
|
128
128
|
* @throws {RequiredError}
|
|
129
129
|
*/
|
|
130
|
-
async
|
|
131
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
130
|
+
async getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>> {
|
|
131
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPreferredOption(investmentId, options);
|
|
132
132
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
133
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
133
|
+
const localVarOperationServerBasePath = operationServerMap['PreferredOptionApi.getPreferredOption']?.[localVarOperationServerIndex]?.url;
|
|
134
134
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
135
135
|
},
|
|
136
136
|
/**
|
|
137
137
|
* Set the preferred option for an investment.
|
|
138
138
|
* @summary Set the preferred option for an investment
|
|
139
139
|
* @param {string} investmentId UUID of the investment
|
|
140
|
-
* @param {
|
|
140
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
141
141
|
* @param {*} [options] Override http request option.
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
*/
|
|
144
|
-
async
|
|
145
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
144
|
+
async setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>> {
|
|
145
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setPreferredOption(investmentId, preferredOptionRequest, options);
|
|
146
146
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
147
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
147
|
+
const localVarOperationServerBasePath = operationServerMap['PreferredOptionApi.setPreferredOption']?.[localVarOperationServerIndex]?.url;
|
|
148
148
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
149
149
|
},
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
154
|
+
* PreferredOptionApi - factory interface
|
|
155
155
|
*/
|
|
156
|
-
export const
|
|
157
|
-
const localVarFp =
|
|
156
|
+
export const PreferredOptionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
157
|
+
const localVarFp = PreferredOptionApiFp(configuration)
|
|
158
158
|
return {
|
|
159
159
|
/**
|
|
160
160
|
* Get the preferred option for an investment.
|
|
@@ -163,27 +163,27 @@ export const FavoredOptionApiFactory = function (configuration?: Configuration,
|
|
|
163
163
|
* @param {*} [options] Override http request option.
|
|
164
164
|
* @throws {RequiredError}
|
|
165
165
|
*/
|
|
166
|
-
|
|
167
|
-
return localVarFp.
|
|
166
|
+
getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse> {
|
|
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 {
|
|
173
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
174
174
|
* @param {*} [options] Override http request option.
|
|
175
175
|
* @throws {RequiredError}
|
|
176
176
|
*/
|
|
177
|
-
|
|
178
|
-
return localVarFp.
|
|
177
|
+
setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse> {
|
|
178
|
+
return localVarFp.setPreferredOption(investmentId, preferredOptionRequest, options).then((request) => request(axios, basePath));
|
|
179
179
|
},
|
|
180
180
|
};
|
|
181
181
|
};
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
|
-
*
|
|
184
|
+
* PreferredOptionApi - object-oriented interface
|
|
185
185
|
*/
|
|
186
|
-
export class
|
|
186
|
+
export class PreferredOptionApi extends BaseAPI {
|
|
187
187
|
/**
|
|
188
188
|
* Get the preferred option for an investment.
|
|
189
189
|
* @summary Get the preferred option for an investment
|
|
@@ -191,20 +191,20 @@ export class FavoredOptionApi extends BaseAPI {
|
|
|
191
191
|
* @param {*} [options] Override http request option.
|
|
192
192
|
* @throws {RequiredError}
|
|
193
193
|
*/
|
|
194
|
-
public
|
|
195
|
-
return
|
|
194
|
+
public getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig) {
|
|
195
|
+
return PreferredOptionApiFp(this.configuration).getPreferredOption(investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
199
|
* Set the preferred option for an investment.
|
|
200
200
|
* @summary Set the preferred option for an investment
|
|
201
201
|
* @param {string} investmentId UUID of the investment
|
|
202
|
-
* @param {
|
|
202
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
203
203
|
* @param {*} [options] Override http request option.
|
|
204
204
|
* @throws {RequiredError}
|
|
205
205
|
*/
|
|
206
|
-
public
|
|
207
|
-
return
|
|
206
|
+
public setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig) {
|
|
207
|
+
return PreferredOptionApiFp(this.configuration).setPreferredOption(investmentId, preferredOptionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
|
|
@@ -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-
|
|
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).
|
|
@@ -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-
|
|
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).
|
|
@@ -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-
|
|
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).
|
package/api.ts
CHANGED
|
@@ -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-
|
|
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).
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
export * from './api/default-api';
|
|
18
|
-
export * from './api/favored-option-api';
|
|
19
18
|
export * from './api/impact-api';
|
|
20
19
|
export * from './api/investment-api';
|
|
21
20
|
export * from './api/metric-api';
|
|
@@ -25,6 +24,7 @@ export * from './api/objective-api';
|
|
|
25
24
|
export * from './api/objective-weight-api';
|
|
26
25
|
export * from './api/objective-weights-api';
|
|
27
26
|
export * from './api/option-api';
|
|
27
|
+
export * from './api/preferred-option-api';
|
|
28
28
|
export * from './api/value-framework-api';
|
|
29
29
|
export * from './api/value-framework-costs-api';
|
|
30
30
|
export * from './api/value-framework-weights-api';
|
package/base.ts
CHANGED
|
@@ -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-
|
|
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).
|
package/common.ts
CHANGED
|
@@ -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-
|
|
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).
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Asset Investment Planning
|
|
4
4
|
* API for Asset Investment Planning
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
6
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* 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-
|
|
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/api/default-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-
|
|
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/impact-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-
|
|
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/api/impact-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-
|
|
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-
|
|
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 {
|
|
194
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
195
195
|
* @param {*} [options] Override http request option.
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
*/
|
|
198
|
-
|
|
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 {
|
|
367
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
368
368
|
* @param {*} [options] Override http request option.
|
|
369
369
|
* @throws {RequiredError}
|
|
370
370
|
*/
|
|
371
|
-
|
|
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 {
|
|
540
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
541
541
|
* @param {*} [options] Override http request option.
|
|
542
542
|
* @throws {RequiredError}
|
|
543
543
|
*/
|
|
544
|
-
|
|
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 {
|
|
713
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
714
714
|
* @param {*} [options] Override http request option.
|
|
715
715
|
* @throws {RequiredError}
|
|
716
716
|
*/
|
|
717
|
-
|
|
717
|
+
setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferredOptionResponse, any, {}>>;
|
|
718
718
|
}
|