@cosmotech/aip-client 0.2.0-dev5 → 0.2.0-dev7
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 +13 -8
- package/api/default-api.ts +1 -1
- package/api/impact-api.ts +1 -1
- package/api/investment-api.ts +259 -98
- 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 -5
- 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 +117 -47
- package/dist/api/investment-api.js +240 -91
- 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 -5
- package/dist/api/option-api.js +83 -5
- 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 +117 -47
- package/dist/esm/api/investment-api.js +240 -91
- 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 -5
- package/dist/esm/api/option-api.js +83 -5
- 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-overview-response.d.ts +29 -0
- package/dist/esm/models/{favored-option-request.js → investment-overview-response.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-overview-response.d.ts +37 -0
- package/dist/esm/models/{favored-option-response.js → option-overview-response.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-overview-response.d.ts +29 -0
- package/dist/models/{favored-option-request.js → investment-overview-response.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-overview-response.d.ts +37 -0
- package/dist/models/{favored-option-response.js → option-overview-response.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 +174 -65
- package/docs/InvestmentOverviewResponse.md +33 -0
- package/docs/OptionApi.md +58 -2
- package/docs/OptionOverviewResponse.md +31 -0
- 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-overview-response.ts +35 -0
- 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-overview-response.ts +43 -0
- 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).
|
|
@@ -12,18 +12,20 @@
|
|
|
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';
|
|
19
|
+
import type { InvestmentOverviewResponse } from '../models';
|
|
21
20
|
import type { InvestmentResponse } from '../models';
|
|
22
21
|
import type { InvestmentUpdate } from '../models';
|
|
23
22
|
import type { OptionChartKPIsYearly } from '../models';
|
|
24
23
|
import type { OptionCreate } from '../models';
|
|
24
|
+
import type { OptionOverviewResponse } from '../models';
|
|
25
25
|
import type { OptionResponse } from '../models';
|
|
26
26
|
import type { OptionUpdate } from '../models';
|
|
27
|
+
import type { PreferredOptionRequest } from '../models';
|
|
28
|
+
import type { PreferredOptionResponse } from '../models';
|
|
27
29
|
/**
|
|
28
30
|
* InvestmentApi - axios parameter creator
|
|
29
31
|
*/
|
|
@@ -74,14 +76,6 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
74
76
|
* @throws {RequiredError}
|
|
75
77
|
*/
|
|
76
78
|
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
79
|
/**
|
|
86
80
|
* Retrieve a specific impact for the option.
|
|
87
81
|
* @summary Get an impact for this option
|
|
@@ -120,6 +114,14 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
120
114
|
* @throws {RequiredError}
|
|
121
115
|
*/
|
|
122
116
|
getInvestments: (offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
117
|
+
/**
|
|
118
|
+
* Return a flat overview of all investments. For each investment the preferred option\'s name, start date, cost, duration and NPV (computed by the v_option_npv database view for the given value framework) are included. Investments without a preferred option have null values for those fields.
|
|
119
|
+
* @summary Investment overview table
|
|
120
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
getInvestmentsOverview: (valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
123
125
|
/**
|
|
124
126
|
* Retrieve a specific option for the investment.
|
|
125
127
|
* @summary Get an option for this investment
|
|
@@ -130,7 +132,7 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
130
132
|
*/
|
|
131
133
|
getOptionForInvestment: (optionId: string, investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
132
134
|
/**
|
|
133
|
-
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
135
|
+
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
|
|
134
136
|
* @summary Get the kpis for a given option inside a value framework
|
|
135
137
|
* @param {string} investmentId UUID of the investment
|
|
136
138
|
* @param {string} optionId UUID of the option
|
|
@@ -149,6 +151,23 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
149
151
|
* @throws {RequiredError}
|
|
150
152
|
*/
|
|
151
153
|
getOptionsForInvestment: (investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
154
|
+
/**
|
|
155
|
+
* Return a flat overview of all options for a specific investment. Each row includes the option\'s start date, cost, duration and NPV computed by the v_option_npv database view for the given value framework.
|
|
156
|
+
* @summary Option overview table for this investment
|
|
157
|
+
* @param {string} investmentId UUID of the investment
|
|
158
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
159
|
+
* @param {*} [options] Override http request option.
|
|
160
|
+
* @throws {RequiredError}
|
|
161
|
+
*/
|
|
162
|
+
getOptionsOverview: (investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
163
|
+
/**
|
|
164
|
+
* Get the preferred option for an investment.
|
|
165
|
+
* @summary Get the preferred option for an investment
|
|
166
|
+
* @param {string} investmentId UUID of the investment
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
getPreferredOption: (investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
152
171
|
/**
|
|
153
172
|
* 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
173
|
* @summary Partially update an impact for this option
|
|
@@ -191,11 +210,11 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
191
210
|
* Set the preferred option for an investment.
|
|
192
211
|
* @summary Set the preferred option for an investment
|
|
193
212
|
* @param {string} investmentId UUID of the investment
|
|
194
|
-
* @param {
|
|
213
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
195
214
|
* @param {*} [options] Override http request option.
|
|
196
215
|
* @throws {RequiredError}
|
|
197
216
|
*/
|
|
198
|
-
|
|
217
|
+
setPreferredOption: (investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
199
218
|
};
|
|
200
219
|
/**
|
|
201
220
|
* InvestmentApi - functional programming interface
|
|
@@ -247,14 +266,6 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
|
|
|
247
266
|
* @throws {RequiredError}
|
|
248
267
|
*/
|
|
249
268
|
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
269
|
/**
|
|
259
270
|
* Retrieve a specific impact for the option.
|
|
260
271
|
* @summary Get an impact for this option
|
|
@@ -293,6 +304,14 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
|
|
|
293
304
|
* @throws {RequiredError}
|
|
294
305
|
*/
|
|
295
306
|
getInvestments(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InvestmentResponse>>>;
|
|
307
|
+
/**
|
|
308
|
+
* Return a flat overview of all investments. For each investment the preferred option\'s name, start date, cost, duration and NPV (computed by the v_option_npv database view for the given value framework) are included. Investments without a preferred option have null values for those fields.
|
|
309
|
+
* @summary Investment overview table
|
|
310
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
getInvestmentsOverview(valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InvestmentOverviewResponse>>>;
|
|
296
315
|
/**
|
|
297
316
|
* Retrieve a specific option for the investment.
|
|
298
317
|
* @summary Get an option for this investment
|
|
@@ -303,7 +322,7 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
|
|
|
303
322
|
*/
|
|
304
323
|
getOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OptionResponse>>;
|
|
305
324
|
/**
|
|
306
|
-
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
325
|
+
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
|
|
307
326
|
* @summary Get the kpis for a given option inside a value framework
|
|
308
327
|
* @param {string} investmentId UUID of the investment
|
|
309
328
|
* @param {string} optionId UUID of the option
|
|
@@ -322,6 +341,23 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
|
|
|
322
341
|
* @throws {RequiredError}
|
|
323
342
|
*/
|
|
324
343
|
getOptionsForInvestment(investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionResponse>>>;
|
|
344
|
+
/**
|
|
345
|
+
* Return a flat overview of all options for a specific investment. Each row includes the option\'s start date, cost, duration and NPV computed by the v_option_npv database view for the given value framework.
|
|
346
|
+
* @summary Option overview table for this investment
|
|
347
|
+
* @param {string} investmentId UUID of the investment
|
|
348
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
getOptionsOverview(investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionOverviewResponse>>>;
|
|
353
|
+
/**
|
|
354
|
+
* Get the preferred option for an investment.
|
|
355
|
+
* @summary Get the preferred option for an investment
|
|
356
|
+
* @param {string} investmentId UUID of the investment
|
|
357
|
+
* @param {*} [options] Override http request option.
|
|
358
|
+
* @throws {RequiredError}
|
|
359
|
+
*/
|
|
360
|
+
getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>>;
|
|
325
361
|
/**
|
|
326
362
|
* 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
363
|
* @summary Partially update an impact for this option
|
|
@@ -364,11 +400,11 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
|
|
|
364
400
|
* Set the preferred option for an investment.
|
|
365
401
|
* @summary Set the preferred option for an investment
|
|
366
402
|
* @param {string} investmentId UUID of the investment
|
|
367
|
-
* @param {
|
|
403
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
368
404
|
* @param {*} [options] Override http request option.
|
|
369
405
|
* @throws {RequiredError}
|
|
370
406
|
*/
|
|
371
|
-
|
|
407
|
+
setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>>;
|
|
372
408
|
};
|
|
373
409
|
/**
|
|
374
410
|
* InvestmentApi - factory interface
|
|
@@ -420,14 +456,6 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
|
|
|
420
456
|
* @throws {RequiredError}
|
|
421
457
|
*/
|
|
422
458
|
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
459
|
/**
|
|
432
460
|
* Retrieve a specific impact for the option.
|
|
433
461
|
* @summary Get an impact for this option
|
|
@@ -466,6 +494,14 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
|
|
|
466
494
|
* @throws {RequiredError}
|
|
467
495
|
*/
|
|
468
496
|
getInvestments(offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<InvestmentResponse>>;
|
|
497
|
+
/**
|
|
498
|
+
* Return a flat overview of all investments. For each investment the preferred option\'s name, start date, cost, duration and NPV (computed by the v_option_npv database view for the given value framework) are included. Investments without a preferred option have null values for those fields.
|
|
499
|
+
* @summary Investment overview table
|
|
500
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
501
|
+
* @param {*} [options] Override http request option.
|
|
502
|
+
* @throws {RequiredError}
|
|
503
|
+
*/
|
|
504
|
+
getInvestmentsOverview(valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<InvestmentOverviewResponse>>;
|
|
469
505
|
/**
|
|
470
506
|
* Retrieve a specific option for the investment.
|
|
471
507
|
* @summary Get an option for this investment
|
|
@@ -476,7 +512,7 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
|
|
|
476
512
|
*/
|
|
477
513
|
getOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<OptionResponse>;
|
|
478
514
|
/**
|
|
479
|
-
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
515
|
+
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
|
|
480
516
|
* @summary Get the kpis for a given option inside a value framework
|
|
481
517
|
* @param {string} investmentId UUID of the investment
|
|
482
518
|
* @param {string} optionId UUID of the option
|
|
@@ -495,6 +531,23 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
|
|
|
495
531
|
* @throws {RequiredError}
|
|
496
532
|
*/
|
|
497
533
|
getOptionsForInvestment(investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionResponse>>;
|
|
534
|
+
/**
|
|
535
|
+
* Return a flat overview of all options for a specific investment. Each row includes the option\'s start date, cost, duration and NPV computed by the v_option_npv database view for the given value framework.
|
|
536
|
+
* @summary Option overview table for this investment
|
|
537
|
+
* @param {string} investmentId UUID of the investment
|
|
538
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
539
|
+
* @param {*} [options] Override http request option.
|
|
540
|
+
* @throws {RequiredError}
|
|
541
|
+
*/
|
|
542
|
+
getOptionsOverview(investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionOverviewResponse>>;
|
|
543
|
+
/**
|
|
544
|
+
* Get the preferred option for an investment.
|
|
545
|
+
* @summary Get the preferred option for an investment
|
|
546
|
+
* @param {string} investmentId UUID of the investment
|
|
547
|
+
* @param {*} [options] Override http request option.
|
|
548
|
+
* @throws {RequiredError}
|
|
549
|
+
*/
|
|
550
|
+
getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse>;
|
|
498
551
|
/**
|
|
499
552
|
* 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
553
|
* @summary Partially update an impact for this option
|
|
@@ -537,11 +590,11 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
|
|
|
537
590
|
* Set the preferred option for an investment.
|
|
538
591
|
* @summary Set the preferred option for an investment
|
|
539
592
|
* @param {string} investmentId UUID of the investment
|
|
540
|
-
* @param {
|
|
593
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
541
594
|
* @param {*} [options] Override http request option.
|
|
542
595
|
* @throws {RequiredError}
|
|
543
596
|
*/
|
|
544
|
-
|
|
597
|
+
setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse>;
|
|
545
598
|
};
|
|
546
599
|
/**
|
|
547
600
|
* InvestmentApi - object-oriented interface
|
|
@@ -593,14 +646,6 @@ export declare class InvestmentApi extends BaseAPI {
|
|
|
593
646
|
* @throws {RequiredError}
|
|
594
647
|
*/
|
|
595
648
|
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
649
|
/**
|
|
605
650
|
* Retrieve a specific impact for the option.
|
|
606
651
|
* @summary Get an impact for this option
|
|
@@ -639,6 +684,14 @@ export declare class InvestmentApi extends BaseAPI {
|
|
|
639
684
|
* @throws {RequiredError}
|
|
640
685
|
*/
|
|
641
686
|
getInvestments(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InvestmentResponse[], any, {}>>;
|
|
687
|
+
/**
|
|
688
|
+
* Return a flat overview of all investments. For each investment the preferred option\'s name, start date, cost, duration and NPV (computed by the v_option_npv database view for the given value framework) are included. Investments without a preferred option have null values for those fields.
|
|
689
|
+
* @summary Investment overview table
|
|
690
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
691
|
+
* @param {*} [options] Override http request option.
|
|
692
|
+
* @throws {RequiredError}
|
|
693
|
+
*/
|
|
694
|
+
getInvestmentsOverview(valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InvestmentOverviewResponse[], any, {}>>;
|
|
642
695
|
/**
|
|
643
696
|
* Retrieve a specific option for the investment.
|
|
644
697
|
* @summary Get an option for this investment
|
|
@@ -649,7 +702,7 @@ export declare class InvestmentApi extends BaseAPI {
|
|
|
649
702
|
*/
|
|
650
703
|
getOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OptionResponse, any, {}>>;
|
|
651
704
|
/**
|
|
652
|
-
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
705
|
+
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
|
|
653
706
|
* @summary Get the kpis for a given option inside a value framework
|
|
654
707
|
* @param {string} investmentId UUID of the investment
|
|
655
708
|
* @param {string} optionId UUID of the option
|
|
@@ -668,6 +721,23 @@ export declare class InvestmentApi extends BaseAPI {
|
|
|
668
721
|
* @throws {RequiredError}
|
|
669
722
|
*/
|
|
670
723
|
getOptionsForInvestment(investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OptionResponse[], any, {}>>;
|
|
724
|
+
/**
|
|
725
|
+
* Return a flat overview of all options for a specific investment. Each row includes the option\'s start date, cost, duration and NPV computed by the v_option_npv database view for the given value framework.
|
|
726
|
+
* @summary Option overview table for this investment
|
|
727
|
+
* @param {string} investmentId UUID of the investment
|
|
728
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
getOptionsOverview(investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OptionOverviewResponse[], any, {}>>;
|
|
733
|
+
/**
|
|
734
|
+
* Get the preferred option for an investment.
|
|
735
|
+
* @summary Get the preferred option for an investment
|
|
736
|
+
* @param {string} investmentId UUID of the investment
|
|
737
|
+
* @param {*} [options] Override http request option.
|
|
738
|
+
* @throws {RequiredError}
|
|
739
|
+
*/
|
|
740
|
+
getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferredOptionResponse, any, {}>>;
|
|
671
741
|
/**
|
|
672
742
|
* 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
743
|
* @summary Partially update an impact for this option
|
|
@@ -710,9 +780,9 @@ export declare class InvestmentApi extends BaseAPI {
|
|
|
710
780
|
* Set the preferred option for an investment.
|
|
711
781
|
* @summary Set the preferred option for an investment
|
|
712
782
|
* @param {string} investmentId UUID of the investment
|
|
713
|
-
* @param {
|
|
783
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
714
784
|
* @param {*} [options] Override http request option.
|
|
715
785
|
* @throws {RequiredError}
|
|
716
786
|
*/
|
|
717
|
-
|
|
787
|
+
setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferredOptionResponse, any, {}>>;
|
|
718
788
|
}
|