@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
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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,17 +12,18 @@
|
|
|
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';
|
|
20
18
|
import type { InvestmentCreate } from '../models';
|
|
21
19
|
import type { InvestmentResponse } from '../models';
|
|
22
20
|
import type { InvestmentUpdate } from '../models';
|
|
21
|
+
import type { OptionChartKPIsYearly } from '../models';
|
|
23
22
|
import type { OptionCreate } from '../models';
|
|
24
23
|
import type { OptionResponse } from '../models';
|
|
25
24
|
import type { OptionUpdate } from '../models';
|
|
25
|
+
import type { PreferredOptionRequest } from '../models';
|
|
26
|
+
import type { PreferredOptionResponse } from '../models';
|
|
26
27
|
/**
|
|
27
28
|
* InvestmentApi - axios parameter creator
|
|
28
29
|
*/
|
|
@@ -73,14 +74,6 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
73
74
|
* @throws {RequiredError}
|
|
74
75
|
*/
|
|
75
76
|
deleteOptionForInvestment: (optionId: string, investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
-
/**
|
|
77
|
-
* Get the preferred option for an investment.
|
|
78
|
-
* @summary Get the preferred option for an investment
|
|
79
|
-
* @param {string} investmentId UUID of the investment
|
|
80
|
-
* @param {*} [options] Override http request option.
|
|
81
|
-
* @throws {RequiredError}
|
|
82
|
-
*/
|
|
83
|
-
getFavoredOption: (investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
77
|
/**
|
|
85
78
|
* Retrieve a specific impact for the option.
|
|
86
79
|
* @summary Get an impact for this option
|
|
@@ -128,6 +121,16 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
128
121
|
* @throws {RequiredError}
|
|
129
122
|
*/
|
|
130
123
|
getOptionForInvestment: (optionId: string, investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
124
|
+
/**
|
|
125
|
+
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
126
|
+
* @summary Get the kpis for a given option inside a value framework
|
|
127
|
+
* @param {string} investmentId UUID of the investment
|
|
128
|
+
* @param {string} optionId UUID of the option
|
|
129
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
*/
|
|
133
|
+
getOptionKpis: (investmentId: string, optionId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
131
134
|
/**
|
|
132
135
|
* Retrieve a paginated list of all options for a specific investment.
|
|
133
136
|
* @summary List options for this investment
|
|
@@ -138,6 +141,14 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
138
141
|
* @throws {RequiredError}
|
|
139
142
|
*/
|
|
140
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>;
|
|
141
152
|
/**
|
|
142
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.
|
|
143
154
|
* @summary Partially update an impact for this option
|
|
@@ -180,11 +191,11 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
180
191
|
* Set the preferred option for an investment.
|
|
181
192
|
* @summary Set the preferred option for an investment
|
|
182
193
|
* @param {string} investmentId UUID of the investment
|
|
183
|
-
* @param {
|
|
194
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
184
195
|
* @param {*} [options] Override http request option.
|
|
185
196
|
* @throws {RequiredError}
|
|
186
197
|
*/
|
|
187
|
-
|
|
198
|
+
setPreferredOption: (investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
188
199
|
};
|
|
189
200
|
/**
|
|
190
201
|
* InvestmentApi - functional programming interface
|
|
@@ -236,14 +247,6 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
|
|
|
236
247
|
* @throws {RequiredError}
|
|
237
248
|
*/
|
|
238
249
|
deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
239
|
-
/**
|
|
240
|
-
* Get the preferred option for an investment.
|
|
241
|
-
* @summary Get the preferred option for an investment
|
|
242
|
-
* @param {string} investmentId UUID of the investment
|
|
243
|
-
* @param {*} [options] Override http request option.
|
|
244
|
-
* @throws {RequiredError}
|
|
245
|
-
*/
|
|
246
|
-
getFavoredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoredOptionResponse>>;
|
|
247
250
|
/**
|
|
248
251
|
* Retrieve a specific impact for the option.
|
|
249
252
|
* @summary Get an impact for this option
|
|
@@ -291,6 +294,16 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
|
|
|
291
294
|
* @throws {RequiredError}
|
|
292
295
|
*/
|
|
293
296
|
getOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OptionResponse>>;
|
|
297
|
+
/**
|
|
298
|
+
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
299
|
+
* @summary Get the kpis for a given option inside a value framework
|
|
300
|
+
* @param {string} investmentId UUID of the investment
|
|
301
|
+
* @param {string} optionId UUID of the option
|
|
302
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
*/
|
|
306
|
+
getOptionKpis(investmentId: string, optionId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionChartKPIsYearly>>>;
|
|
294
307
|
/**
|
|
295
308
|
* Retrieve a paginated list of all options for a specific investment.
|
|
296
309
|
* @summary List options for this investment
|
|
@@ -301,6 +314,14 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
|
|
|
301
314
|
* @throws {RequiredError}
|
|
302
315
|
*/
|
|
303
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>>;
|
|
304
325
|
/**
|
|
305
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.
|
|
306
327
|
* @summary Partially update an impact for this option
|
|
@@ -343,11 +364,11 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
|
|
|
343
364
|
* Set the preferred option for an investment.
|
|
344
365
|
* @summary Set the preferred option for an investment
|
|
345
366
|
* @param {string} investmentId UUID of the investment
|
|
346
|
-
* @param {
|
|
367
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
347
368
|
* @param {*} [options] Override http request option.
|
|
348
369
|
* @throws {RequiredError}
|
|
349
370
|
*/
|
|
350
|
-
|
|
371
|
+
setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>>;
|
|
351
372
|
};
|
|
352
373
|
/**
|
|
353
374
|
* InvestmentApi - factory interface
|
|
@@ -399,14 +420,6 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
|
|
|
399
420
|
* @throws {RequiredError}
|
|
400
421
|
*/
|
|
401
422
|
deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
402
|
-
/**
|
|
403
|
-
* Get the preferred option for an investment.
|
|
404
|
-
* @summary Get the preferred option for an investment
|
|
405
|
-
* @param {string} investmentId UUID of the investment
|
|
406
|
-
* @param {*} [options] Override http request option.
|
|
407
|
-
* @throws {RequiredError}
|
|
408
|
-
*/
|
|
409
|
-
getFavoredOption(investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<FavoredOptionResponse>;
|
|
410
423
|
/**
|
|
411
424
|
* Retrieve a specific impact for the option.
|
|
412
425
|
* @summary Get an impact for this option
|
|
@@ -454,6 +467,16 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
|
|
|
454
467
|
* @throws {RequiredError}
|
|
455
468
|
*/
|
|
456
469
|
getOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<OptionResponse>;
|
|
470
|
+
/**
|
|
471
|
+
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
472
|
+
* @summary Get the kpis for a given option inside a value framework
|
|
473
|
+
* @param {string} investmentId UUID of the investment
|
|
474
|
+
* @param {string} optionId UUID of the option
|
|
475
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
476
|
+
* @param {*} [options] Override http request option.
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
getOptionKpis(investmentId: string, optionId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionChartKPIsYearly>>;
|
|
457
480
|
/**
|
|
458
481
|
* Retrieve a paginated list of all options for a specific investment.
|
|
459
482
|
* @summary List options for this investment
|
|
@@ -464,6 +487,14 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
|
|
|
464
487
|
* @throws {RequiredError}
|
|
465
488
|
*/
|
|
466
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>;
|
|
467
498
|
/**
|
|
468
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.
|
|
469
500
|
* @summary Partially update an impact for this option
|
|
@@ -506,11 +537,11 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
|
|
|
506
537
|
* Set the preferred option for an investment.
|
|
507
538
|
* @summary Set the preferred option for an investment
|
|
508
539
|
* @param {string} investmentId UUID of the investment
|
|
509
|
-
* @param {
|
|
540
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
510
541
|
* @param {*} [options] Override http request option.
|
|
511
542
|
* @throws {RequiredError}
|
|
512
543
|
*/
|
|
513
|
-
|
|
544
|
+
setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse>;
|
|
514
545
|
};
|
|
515
546
|
/**
|
|
516
547
|
* InvestmentApi - object-oriented interface
|
|
@@ -562,14 +593,6 @@ export declare class InvestmentApi extends BaseAPI {
|
|
|
562
593
|
* @throws {RequiredError}
|
|
563
594
|
*/
|
|
564
595
|
deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
565
|
-
/**
|
|
566
|
-
* Get the preferred option for an investment.
|
|
567
|
-
* @summary Get the preferred option for an investment
|
|
568
|
-
* @param {string} investmentId UUID of the investment
|
|
569
|
-
* @param {*} [options] Override http request option.
|
|
570
|
-
* @throws {RequiredError}
|
|
571
|
-
*/
|
|
572
|
-
getFavoredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoredOptionResponse, any, {}>>;
|
|
573
596
|
/**
|
|
574
597
|
* Retrieve a specific impact for the option.
|
|
575
598
|
* @summary Get an impact for this option
|
|
@@ -617,6 +640,16 @@ export declare class InvestmentApi extends BaseAPI {
|
|
|
617
640
|
* @throws {RequiredError}
|
|
618
641
|
*/
|
|
619
642
|
getOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OptionResponse, any, {}>>;
|
|
643
|
+
/**
|
|
644
|
+
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
645
|
+
* @summary Get the kpis for a given option inside a value framework
|
|
646
|
+
* @param {string} investmentId UUID of the investment
|
|
647
|
+
* @param {string} optionId UUID of the option
|
|
648
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
649
|
+
* @param {*} [options] Override http request option.
|
|
650
|
+
* @throws {RequiredError}
|
|
651
|
+
*/
|
|
652
|
+
getOptionKpis(investmentId: string, optionId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OptionChartKPIsYearly[], any, {}>>;
|
|
620
653
|
/**
|
|
621
654
|
* Retrieve a paginated list of all options for a specific investment.
|
|
622
655
|
* @summary List options for this investment
|
|
@@ -627,6 +660,14 @@ export declare class InvestmentApi extends BaseAPI {
|
|
|
627
660
|
* @throws {RequiredError}
|
|
628
661
|
*/
|
|
629
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, {}>>;
|
|
630
671
|
/**
|
|
631
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.
|
|
632
673
|
* @summary Partially update an impact for this option
|
|
@@ -669,9 +710,9 @@ export declare class InvestmentApi extends BaseAPI {
|
|
|
669
710
|
* Set the preferred option for an investment.
|
|
670
711
|
* @summary Set the preferred option for an investment
|
|
671
712
|
* @param {string} investmentId UUID of the investment
|
|
672
|
-
* @param {
|
|
713
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
673
714
|
* @param {*} [options] Override http request option.
|
|
674
715
|
* @throws {RequiredError}
|
|
675
716
|
*/
|
|
676
|
-
|
|
717
|
+
setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferredOptionResponse, any, {}>>;
|
|
677
718
|
}
|