@cosmotech/aip-client 0.2.0-dev4 → 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 +12 -8
- package/api/default-api.ts +1 -1
- package/api/impact-api.ts +1 -1
- package/api/investment-api.ts +182 -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 +89 -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 +84 -43
- package/dist/api/investment-api.js +170 -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 +42 -1
- package/dist/api/option-api.js +84 -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 +84 -43
- package/dist/esm/api/investment-api.js +170 -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 +42 -1
- package/dist/esm/api/option-api.js +84 -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 +4 -2
- package/dist/esm/models/index.js +4 -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 +29 -0
- package/dist/esm/models/{favored-option-request.js → option-chart-kpi.js} +1 -1
- package/dist/esm/models/option-chart-kpis-yearly.d.ts +29 -0
- package/dist/esm/models/{favored-option-response.js → option-chart-kpis-yearly.js} +1 -1
- package/dist/esm/models/option-create.d.ts +2 -2
- 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/preferred-option-request.js +14 -0
- package/dist/esm/models/{favored-option-response.d.ts → preferred-option-response.d.ts} +3 -3
- package/dist/esm/models/preferred-option-response.js +14 -0
- 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 +4 -2
- package/dist/models/index.js +4 -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 +29 -0
- package/dist/models/{favored-option-request.js → option-chart-kpi.js} +1 -1
- package/dist/models/option-chart-kpis-yearly.d.ts +29 -0
- package/dist/models/{favored-option-response.js → option-chart-kpis-yearly.js} +1 -1
- package/dist/models/option-create.d.ts +2 -2
- 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/preferred-option-request.js +15 -0
- package/dist/models/{favored-option-response.d.ts → preferred-option-response.d.ts} +3 -3
- package/dist/models/preferred-option-response.js +15 -0
- 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 +122 -63
- package/docs/OptionApi.md +59 -0
- package/docs/OptionChartKPI.md +27 -0
- package/docs/OptionChartKPIsYearly.md +25 -0
- package/docs/OptionCreate.md +1 -1
- 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 +4 -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 +35 -0
- package/models/option-chart-kpis-yearly.ts +37 -0
- package/models/option-create.ts +2 -2
- 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
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Asset Investment Planning
|
|
3
|
+
* API for Asset Investment Planning
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Schema of a KPI value for a given time step, contain both the monetary and objective value
|
|
14
|
+
*/
|
|
15
|
+
export interface OptionChartKPI {
|
|
16
|
+
/**
|
|
17
|
+
* Metric value of the KPI
|
|
18
|
+
*/
|
|
19
|
+
'metric_value'?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Monetary value of the KPI
|
|
22
|
+
*/
|
|
23
|
+
'monetary_value'?: number;
|
|
24
|
+
'name'?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* Symbol of the KPI
|
|
27
|
+
*/
|
|
28
|
+
'symbol'?: string;
|
|
29
|
+
}
|
|
@@ -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).
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Asset Investment Planning
|
|
3
|
+
* API for Asset Investment Planning
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OptionChartKPI } from './option-chart-kpi';
|
|
13
|
+
/**
|
|
14
|
+
* Schema of a combined list of KPI values for a given time step, contain both the monetary and objective value
|
|
15
|
+
*/
|
|
16
|
+
export interface OptionChartKPIsYearly {
|
|
17
|
+
/**
|
|
18
|
+
* List of KPI values for this time step
|
|
19
|
+
*/
|
|
20
|
+
'kpis'?: Array<OptionChartKPI>;
|
|
21
|
+
/**
|
|
22
|
+
* Net perceived value for the KPI
|
|
23
|
+
*/
|
|
24
|
+
'net_perceived_value'?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Year used for the KPIs
|
|
27
|
+
*/
|
|
28
|
+
'year'?: number;
|
|
29
|
+
}
|
|
@@ -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).
|
|
@@ -19,7 +19,7 @@ export interface OptionCreate {
|
|
|
19
19
|
'cost'?: number;
|
|
20
20
|
'description'?: string | null;
|
|
21
21
|
/**
|
|
22
|
-
* Duration of the option in
|
|
22
|
+
* Duration of the option in weeks
|
|
23
23
|
*/
|
|
24
24
|
'duration'?: number;
|
|
25
25
|
/**
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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,7 +12,7 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* Request body for setting the preferred option.
|
|
14
14
|
*/
|
|
15
|
-
export interface
|
|
15
|
+
export interface PreferredOptionRequest {
|
|
16
16
|
/**
|
|
17
17
|
* ID of the option to set as preferred
|
|
18
18
|
*/
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Asset Investment Planning
|
|
6
|
+
* API for Asset Investment Planning
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -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).
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* Response for
|
|
13
|
+
* Response for preferred option endpoints.
|
|
14
14
|
*/
|
|
15
|
-
export interface
|
|
15
|
+
export interface PreferredOptionResponse {
|
|
16
16
|
/**
|
|
17
17
|
* ID of the preferred option
|
|
18
18
|
*/
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Asset Investment Planning
|
|
6
|
+
* API for Asset Investment Planning
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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/docs/InvestmentApi.md
CHANGED
|
@@ -9,18 +9,19 @@ All URIs are relative to *http://localhost*
|
|
|
9
9
|
|[**deleteImpactForOption**](#deleteimpactforoption) | **DELETE** /investment/{investment_id}/option/{option_id}/impact/{impact_id} | Delete an impact for this option|
|
|
10
10
|
|[**deleteInvestment**](#deleteinvestment) | **DELETE** /investment/{investment_id} | Delete an investment|
|
|
11
11
|
|[**deleteOptionForInvestment**](#deleteoptionforinvestment) | **DELETE** /investment/{investment_id}/option/{option_id} | Delete an option for this investment|
|
|
12
|
-
|[**getFavoredOption**](#getfavoredoption) | **GET** /investment/{investment_id}/favored_option | Get the preferred option for an investment|
|
|
13
12
|
|[**getImpactForOption**](#getimpactforoption) | **GET** /investment/{investment_id}/option/{option_id}/impact/{impact_id} | Get an impact for this option|
|
|
14
13
|
|[**getImpactsForOption**](#getimpactsforoption) | **GET** /investment/{investment_id}/option/{option_id}/impact/ | List impacts for this option|
|
|
15
14
|
|[**getInvestmentById**](#getinvestmentbyid) | **GET** /investment/{investment_id} | Get an investment by ID|
|
|
16
15
|
|[**getInvestments**](#getinvestments) | **GET** /investment/ | List investments|
|
|
17
16
|
|[**getOptionForInvestment**](#getoptionforinvestment) | **GET** /investment/{investment_id}/option/{option_id} | Get an option for this investment|
|
|
17
|
+
|[**getOptionKpis**](#getoptionkpis) | **GET** /investment/{investment_id}/option/{option_id}/kpis/{value_framework_id} | Get the kpis for a given option inside a value framework|
|
|
18
18
|
|[**getOptionsForInvestment**](#getoptionsforinvestment) | **GET** /investment/{investment_id}/option/ | List options for this investment|
|
|
19
|
+
|[**getPreferredOption**](#getpreferredoption) | **GET** /investment/{investment_id}/preferred_option | Get the preferred option for an investment|
|
|
19
20
|
|[**patchImpactForOption**](#patchimpactforoption) | **PATCH** /investment/{investment_id}/option/{option_id}/impact/{impact_id} | Partially update an impact for this option|
|
|
20
21
|
|[**patchInvestment**](#patchinvestment) | **PATCH** /investment/{investment_id} | Partially update an investment|
|
|
21
22
|
|[**patchOptionForInvestment**](#patchoptionforinvestment) | **PATCH** /investment/{investment_id}/option/{option_id} | Partially update an option for this investment|
|
|
22
23
|
|[**postInvestment**](#postinvestment) | **POST** /investment/ | Create an investment|
|
|
23
|
-
|[**
|
|
24
|
+
|[**setPreferredOption**](#setpreferredoption) | **POST** /investment/{investment_id}/preferred_option | Set the preferred option for an investment|
|
|
24
25
|
|
|
25
26
|
# **createImpactForOption**
|
|
26
27
|
> ImpactAPIResponse createImpactForOption(impactCreate)
|
|
@@ -304,59 +305,6 @@ void (empty response body)
|
|
|
304
305
|
|
|
305
306
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
306
307
|
|
|
307
|
-
# **getFavoredOption**
|
|
308
|
-
> FavoredOptionResponse getFavoredOption()
|
|
309
|
-
|
|
310
|
-
Get the preferred option for an investment.
|
|
311
|
-
|
|
312
|
-
### Example
|
|
313
|
-
|
|
314
|
-
```typescript
|
|
315
|
-
import {
|
|
316
|
-
InvestmentApi,
|
|
317
|
-
Configuration
|
|
318
|
-
} from '@cosmotech/aip-client';
|
|
319
|
-
|
|
320
|
-
const configuration = new Configuration();
|
|
321
|
-
const apiInstance = new InvestmentApi(configuration);
|
|
322
|
-
|
|
323
|
-
let investmentId: string; //UUID of the investment (default to undefined)
|
|
324
|
-
|
|
325
|
-
const { status, data } = await apiInstance.getFavoredOption(
|
|
326
|
-
investmentId
|
|
327
|
-
);
|
|
328
|
-
```
|
|
329
|
-
|
|
330
|
-
### Parameters
|
|
331
|
-
|
|
332
|
-
|Name | Type | Description | Notes|
|
|
333
|
-
|------------- | ------------- | ------------- | -------------|
|
|
334
|
-
| **investmentId** | [**string**] | UUID of the investment | defaults to undefined|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
### Return type
|
|
338
|
-
|
|
339
|
-
**FavoredOptionResponse**
|
|
340
|
-
|
|
341
|
-
### Authorization
|
|
342
|
-
|
|
343
|
-
[OAuth2AuthorizationCodeBearer](../README.md#OAuth2AuthorizationCodeBearer)
|
|
344
|
-
|
|
345
|
-
### HTTP request headers
|
|
346
|
-
|
|
347
|
-
- **Content-Type**: Not defined
|
|
348
|
-
- **Accept**: application/json
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
### HTTP response details
|
|
352
|
-
| Status code | Description | Response headers |
|
|
353
|
-
|-------------|-------------|------------------|
|
|
354
|
-
|**200** | Preferred option exists | - |
|
|
355
|
-
|**204** | Investment exists but no options are associated | - |
|
|
356
|
-
|**404** | Investment not found | - |
|
|
357
|
-
|
|
358
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
359
|
-
|
|
360
308
|
# **getImpactForOption**
|
|
361
309
|
> ImpactAPIResponse getImpactForOption()
|
|
362
310
|
|
|
@@ -637,6 +585,64 @@ const { status, data } = await apiInstance.getOptionForInvestment(
|
|
|
637
585
|
|
|
638
586
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
639
587
|
|
|
588
|
+
# **getOptionKpis**
|
|
589
|
+
> Array<OptionChartKPIsYearly> getOptionKpis()
|
|
590
|
+
|
|
591
|
+
Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
592
|
+
|
|
593
|
+
### Example
|
|
594
|
+
|
|
595
|
+
```typescript
|
|
596
|
+
import {
|
|
597
|
+
InvestmentApi,
|
|
598
|
+
Configuration
|
|
599
|
+
} from '@cosmotech/aip-client';
|
|
600
|
+
|
|
601
|
+
const configuration = new Configuration();
|
|
602
|
+
const apiInstance = new InvestmentApi(configuration);
|
|
603
|
+
|
|
604
|
+
let investmentId: string; //UUID of the investment (default to undefined)
|
|
605
|
+
let optionId: string; //UUID of the option (default to undefined)
|
|
606
|
+
let valueFrameworkId: string; //UUID of the value framework (default to undefined)
|
|
607
|
+
|
|
608
|
+
const { status, data } = await apiInstance.getOptionKpis(
|
|
609
|
+
investmentId,
|
|
610
|
+
optionId,
|
|
611
|
+
valueFrameworkId
|
|
612
|
+
);
|
|
613
|
+
```
|
|
614
|
+
|
|
615
|
+
### Parameters
|
|
616
|
+
|
|
617
|
+
|Name | Type | Description | Notes|
|
|
618
|
+
|------------- | ------------- | ------------- | -------------|
|
|
619
|
+
| **investmentId** | [**string**] | UUID of the investment | defaults to undefined|
|
|
620
|
+
| **optionId** | [**string**] | UUID of the option | defaults to undefined|
|
|
621
|
+
| **valueFrameworkId** | [**string**] | UUID of the value framework | defaults to undefined|
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
### Return type
|
|
625
|
+
|
|
626
|
+
**Array<OptionChartKPIsYearly>**
|
|
627
|
+
|
|
628
|
+
### Authorization
|
|
629
|
+
|
|
630
|
+
[OAuth2AuthorizationCodeBearer](../README.md#OAuth2AuthorizationCodeBearer)
|
|
631
|
+
|
|
632
|
+
### HTTP request headers
|
|
633
|
+
|
|
634
|
+
- **Content-Type**: Not defined
|
|
635
|
+
- **Accept**: application/json
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
### HTTP response details
|
|
639
|
+
| Status code | Description | Response headers |
|
|
640
|
+
|-------------|-------------|------------------|
|
|
641
|
+
|**200** | The requested KPIs | - |
|
|
642
|
+
|**404** | Investment, option or value framework not found | - |
|
|
643
|
+
|
|
644
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
645
|
+
|
|
640
646
|
# **getOptionsForInvestment**
|
|
641
647
|
> Array<OptionResponse> getOptionsForInvestment()
|
|
642
648
|
|
|
@@ -695,6 +701,59 @@ const { status, data } = await apiInstance.getOptionsForInvestment(
|
|
|
695
701
|
|
|
696
702
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
697
703
|
|
|
704
|
+
# **getPreferredOption**
|
|
705
|
+
> PreferredOptionResponse getPreferredOption()
|
|
706
|
+
|
|
707
|
+
Get the preferred option for an investment.
|
|
708
|
+
|
|
709
|
+
### Example
|
|
710
|
+
|
|
711
|
+
```typescript
|
|
712
|
+
import {
|
|
713
|
+
InvestmentApi,
|
|
714
|
+
Configuration
|
|
715
|
+
} from '@cosmotech/aip-client';
|
|
716
|
+
|
|
717
|
+
const configuration = new Configuration();
|
|
718
|
+
const apiInstance = new InvestmentApi(configuration);
|
|
719
|
+
|
|
720
|
+
let investmentId: string; //UUID of the investment (default to undefined)
|
|
721
|
+
|
|
722
|
+
const { status, data } = await apiInstance.getPreferredOption(
|
|
723
|
+
investmentId
|
|
724
|
+
);
|
|
725
|
+
```
|
|
726
|
+
|
|
727
|
+
### Parameters
|
|
728
|
+
|
|
729
|
+
|Name | Type | Description | Notes|
|
|
730
|
+
|------------- | ------------- | ------------- | -------------|
|
|
731
|
+
| **investmentId** | [**string**] | UUID of the investment | defaults to undefined|
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
### Return type
|
|
735
|
+
|
|
736
|
+
**PreferredOptionResponse**
|
|
737
|
+
|
|
738
|
+
### Authorization
|
|
739
|
+
|
|
740
|
+
[OAuth2AuthorizationCodeBearer](../README.md#OAuth2AuthorizationCodeBearer)
|
|
741
|
+
|
|
742
|
+
### HTTP request headers
|
|
743
|
+
|
|
744
|
+
- **Content-Type**: Not defined
|
|
745
|
+
- **Accept**: application/json
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
### HTTP response details
|
|
749
|
+
| Status code | Description | Response headers |
|
|
750
|
+
|-------------|-------------|------------------|
|
|
751
|
+
|**200** | Preferred option exists | - |
|
|
752
|
+
|**204** | Investment exists but no options are associated | - |
|
|
753
|
+
|**404** | Investment not found | - |
|
|
754
|
+
|
|
755
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
756
|
+
|
|
698
757
|
# **patchImpactForOption**
|
|
699
758
|
> ImpactAPIResponse patchImpactForOption(impactUpdate)
|
|
700
759
|
|
|
@@ -928,8 +987,8 @@ const { status, data } = await apiInstance.postInvestment(
|
|
|
928
987
|
|
|
929
988
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
930
989
|
|
|
931
|
-
# **
|
|
932
|
-
>
|
|
990
|
+
# **setPreferredOption**
|
|
991
|
+
> PreferredOptionResponse setPreferredOption(preferredOptionRequest)
|
|
933
992
|
|
|
934
993
|
Set the preferred option for an investment.
|
|
935
994
|
|
|
@@ -939,18 +998,18 @@ Set the preferred option for an investment.
|
|
|
939
998
|
import {
|
|
940
999
|
InvestmentApi,
|
|
941
1000
|
Configuration,
|
|
942
|
-
|
|
1001
|
+
PreferredOptionRequest
|
|
943
1002
|
} from '@cosmotech/aip-client';
|
|
944
1003
|
|
|
945
1004
|
const configuration = new Configuration();
|
|
946
1005
|
const apiInstance = new InvestmentApi(configuration);
|
|
947
1006
|
|
|
948
1007
|
let investmentId: string; //UUID of the investment (default to undefined)
|
|
949
|
-
let
|
|
1008
|
+
let preferredOptionRequest: PreferredOptionRequest; //
|
|
950
1009
|
|
|
951
|
-
const { status, data } = await apiInstance.
|
|
1010
|
+
const { status, data } = await apiInstance.setPreferredOption(
|
|
952
1011
|
investmentId,
|
|
953
|
-
|
|
1012
|
+
preferredOptionRequest
|
|
954
1013
|
);
|
|
955
1014
|
```
|
|
956
1015
|
|
|
@@ -958,13 +1017,13 @@ const { status, data } = await apiInstance.setFavoredOption(
|
|
|
958
1017
|
|
|
959
1018
|
|Name | Type | Description | Notes|
|
|
960
1019
|
|------------- | ------------- | ------------- | -------------|
|
|
961
|
-
| **
|
|
1020
|
+
| **preferredOptionRequest** | **PreferredOptionRequest**| | |
|
|
962
1021
|
| **investmentId** | [**string**] | UUID of the investment | defaults to undefined|
|
|
963
1022
|
|
|
964
1023
|
|
|
965
1024
|
### Return type
|
|
966
1025
|
|
|
967
|
-
**
|
|
1026
|
+
**PreferredOptionResponse**
|
|
968
1027
|
|
|
969
1028
|
### Authorization
|
|
970
1029
|
|