@cosmotech/aip-client 0.2.0-dev6 → 0.3.0-dev1
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 +25 -2
- package/api/budget-api.ts +835 -0
- package/api/default-api.ts +1 -1
- package/api/impact-api.ts +1 -1
- package/api/investment-api.ts +166 -5
- 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/preferred-option-api.ts +1 -1
- 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 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/budget-api.d.ts +382 -0
- package/dist/api/budget-api.js +794 -0
- 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 +75 -5
- package/dist/api/investment-api.js +154 -5
- 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/preferred-option-api.d.ts +1 -1
- package/dist/api/preferred-option-api.js +1 -1
- 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 -1
- package/dist/api.js +2 -1
- 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/budget-api.d.ts +382 -0
- package/dist/esm/api/budget-api.js +787 -0
- 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 +75 -5
- package/dist/esm/api/investment-api.js +154 -5
- 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/preferred-option-api.d.ts +1 -1
- package/dist/esm/api/preferred-option-api.js +1 -1
- 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 -1
- package/dist/esm/api.js +2 -1
- 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/budget-bulk-delete-request.d.ts +20 -0
- package/dist/esm/models/budget-bulk-delete-request.js +14 -0
- package/dist/esm/models/budget-create.d.ts +22 -0
- package/dist/esm/models/budget-create.js +14 -0
- package/dist/esm/models/budget-investment-response.d.ts +34 -0
- package/dist/esm/models/budget-investment-response.js +14 -0
- package/dist/esm/models/budget-link-options-request.d.ts +20 -0
- package/dist/esm/models/budget-link-options-request.js +14 -0
- package/dist/esm/models/budget-option-response.d.ts +50 -0
- package/dist/esm/models/budget-option-response.js +14 -0
- package/dist/esm/models/budget-overview-response.d.ts +25 -0
- package/dist/esm/models/budget-overview-response.js +14 -0
- package/dist/esm/models/budget-response.d.ts +26 -0
- package/dist/esm/models/budget-response.js +14 -0
- package/dist/esm/models/budget-update.d.ts +19 -0
- package/dist/esm/models/budget-update.js +14 -0
- 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 +10 -0
- package/dist/esm/models/index.js +10 -0
- 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/investment-overview-response.js +14 -0
- 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 +2 -1
- package/dist/esm/models/option-create.js +1 -1
- package/dist/esm/models/option-overview-response.d.ts +38 -0
- package/dist/esm/models/option-overview-response.js +14 -0
- package/dist/esm/models/option-response.d.ts +2 -1
- package/dist/esm/models/option-response.js +1 -1
- package/dist/esm/models/option-update.d.ts +2 -1
- package/dist/esm/models/option-update.js +1 -1
- package/dist/esm/models/preferred-option-request.d.ts +1 -1
- package/dist/esm/models/preferred-option-request.js +1 -1
- package/dist/esm/models/preferred-option-response.d.ts +1 -1
- package/dist/esm/models/preferred-option-response.js +1 -1
- package/dist/esm/models/validation-error.d.ts +1 -1
- package/dist/esm/models/validation-error.js +1 -1
- package/dist/esm/models/value-framework-create.d.ts +1 -1
- package/dist/esm/models/value-framework-create.js +1 -1
- package/dist/esm/models/value-framework-response.d.ts +1 -1
- package/dist/esm/models/value-framework-response.js +1 -1
- package/dist/esm/models/value-framework-update.d.ts +1 -1
- package/dist/esm/models/value-framework-update.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/budget-bulk-delete-request.d.ts +20 -0
- package/dist/models/budget-bulk-delete-request.js +15 -0
- package/dist/models/budget-create.d.ts +22 -0
- package/dist/models/budget-create.js +15 -0
- package/dist/models/budget-investment-response.d.ts +34 -0
- package/dist/models/budget-investment-response.js +15 -0
- package/dist/models/budget-link-options-request.d.ts +20 -0
- package/dist/models/budget-link-options-request.js +15 -0
- package/dist/models/budget-option-response.d.ts +50 -0
- package/dist/models/budget-option-response.js +15 -0
- package/dist/models/budget-overview-response.d.ts +25 -0
- package/dist/models/budget-overview-response.js +15 -0
- package/dist/models/budget-response.d.ts +26 -0
- package/dist/models/budget-response.js +15 -0
- package/dist/models/budget-update.d.ts +19 -0
- package/dist/models/budget-update.js +15 -0
- 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 +10 -0
- package/dist/models/index.js +10 -0
- 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/investment-overview-response.js +15 -0
- 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 +2 -1
- package/dist/models/option-create.js +1 -1
- package/dist/models/option-overview-response.d.ts +38 -0
- package/dist/models/option-overview-response.js +15 -0
- package/dist/models/option-response.d.ts +2 -1
- package/dist/models/option-response.js +1 -1
- package/dist/models/option-update.d.ts +2 -1
- package/dist/models/option-update.js +1 -1
- package/dist/models/preferred-option-request.d.ts +1 -1
- package/dist/models/preferred-option-request.js +1 -1
- package/dist/models/preferred-option-response.d.ts +1 -1
- package/dist/models/preferred-option-response.js +1 -1
- package/dist/models/validation-error.d.ts +1 -1
- package/dist/models/validation-error.js +1 -1
- package/dist/models/value-framework-create.d.ts +1 -1
- package/dist/models/value-framework-create.js +1 -1
- package/dist/models/value-framework-response.d.ts +1 -1
- package/dist/models/value-framework-response.js +1 -1
- package/dist/models/value-framework-update.d.ts +1 -1
- package/dist/models/value-framework-update.js +1 -1
- package/docs/BudgetApi.md +559 -0
- package/docs/BudgetBulkDeleteRequest.md +21 -0
- package/docs/BudgetCreate.md +25 -0
- package/docs/BudgetInvestmentResponse.md +37 -0
- package/docs/BudgetLinkOptionsRequest.md +21 -0
- package/docs/BudgetOptionResponse.md +39 -0
- package/docs/BudgetOverviewResponse.md +25 -0
- package/docs/BudgetResponse.md +33 -0
- package/docs/BudgetUpdate.md +25 -0
- package/docs/InvestmentApi.md +111 -2
- package/docs/InvestmentOverviewResponse.md +33 -0
- package/docs/OptionApi.md +58 -2
- package/docs/OptionCreate.md +2 -0
- package/docs/OptionOverviewResponse.md +33 -0
- package/docs/OptionResponse.md +2 -0
- package/docs/OptionUpdate.md +2 -0
- package/index.ts +1 -1
- package/models/budget-bulk-delete-request.ts +26 -0
- package/models/budget-create.ts +28 -0
- package/models/budget-investment-response.ts +40 -0
- package/models/budget-link-options-request.ts +26 -0
- package/models/budget-option-response.ts +56 -0
- package/models/budget-overview-response.ts +31 -0
- package/models/budget-response.ts +32 -0
- package/models/budget-update.ts +25 -0
- 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 +10 -0
- 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 +2 -1
- package/models/option-overview-response.ts +44 -0
- package/models/option-response.ts +2 -1
- package/models/option-update.ts +2 -1
- package/models/preferred-option-request.ts +1 -1
- package/models/preferred-option-response.ts +1 -1
- 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.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/default-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/impact-api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Asset Investment Planning
|
|
3
3
|
* API for Asset Investment Planning
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/impact-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,10 +16,12 @@ import type { ImpactAPIResponse } from '../models';
|
|
|
16
16
|
import type { ImpactCreate } from '../models';
|
|
17
17
|
import type { ImpactUpdate } from '../models';
|
|
18
18
|
import type { InvestmentCreate } from '../models';
|
|
19
|
+
import type { InvestmentOverviewResponse } from '../models';
|
|
19
20
|
import type { InvestmentResponse } from '../models';
|
|
20
21
|
import type { InvestmentUpdate } from '../models';
|
|
21
22
|
import type { OptionChartKPIsYearly } from '../models';
|
|
22
23
|
import type { OptionCreate } from '../models';
|
|
24
|
+
import type { OptionOverviewResponse } from '../models';
|
|
23
25
|
import type { OptionResponse } from '../models';
|
|
24
26
|
import type { OptionUpdate } from '../models';
|
|
25
27
|
import type { PreferredOptionRequest } from '../models';
|
|
@@ -112,6 +114,14 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
112
114
|
* @throws {RequiredError}
|
|
113
115
|
*/
|
|
114
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>;
|
|
115
125
|
/**
|
|
116
126
|
* Retrieve a specific option for the investment.
|
|
117
127
|
* @summary Get an option for this investment
|
|
@@ -122,7 +132,7 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
122
132
|
*/
|
|
123
133
|
getOptionForInvestment: (optionId: string, investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
124
134
|
/**
|
|
125
|
-
* 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.
|
|
126
136
|
* @summary Get the kpis for a given option inside a value framework
|
|
127
137
|
* @param {string} investmentId UUID of the investment
|
|
128
138
|
* @param {string} optionId UUID of the option
|
|
@@ -141,6 +151,15 @@ export declare const InvestmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
141
151
|
* @throws {RequiredError}
|
|
142
152
|
*/
|
|
143
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>;
|
|
144
163
|
/**
|
|
145
164
|
* Get the preferred option for an investment.
|
|
146
165
|
* @summary Get the preferred option for an investment
|
|
@@ -285,6 +304,14 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
|
|
|
285
304
|
* @throws {RequiredError}
|
|
286
305
|
*/
|
|
287
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>>>;
|
|
288
315
|
/**
|
|
289
316
|
* Retrieve a specific option for the investment.
|
|
290
317
|
* @summary Get an option for this investment
|
|
@@ -295,7 +322,7 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
|
|
|
295
322
|
*/
|
|
296
323
|
getOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OptionResponse>>;
|
|
297
324
|
/**
|
|
298
|
-
* 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.
|
|
299
326
|
* @summary Get the kpis for a given option inside a value framework
|
|
300
327
|
* @param {string} investmentId UUID of the investment
|
|
301
328
|
* @param {string} optionId UUID of the option
|
|
@@ -314,6 +341,15 @@ export declare const InvestmentApiFp: (configuration?: Configuration) => {
|
|
|
314
341
|
* @throws {RequiredError}
|
|
315
342
|
*/
|
|
316
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>>>;
|
|
317
353
|
/**
|
|
318
354
|
* Get the preferred option for an investment.
|
|
319
355
|
* @summary Get the preferred option for an investment
|
|
@@ -458,6 +494,14 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
|
|
|
458
494
|
* @throws {RequiredError}
|
|
459
495
|
*/
|
|
460
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>>;
|
|
461
505
|
/**
|
|
462
506
|
* Retrieve a specific option for the investment.
|
|
463
507
|
* @summary Get an option for this investment
|
|
@@ -468,7 +512,7 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
|
|
|
468
512
|
*/
|
|
469
513
|
getOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<OptionResponse>;
|
|
470
514
|
/**
|
|
471
|
-
* 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.
|
|
472
516
|
* @summary Get the kpis for a given option inside a value framework
|
|
473
517
|
* @param {string} investmentId UUID of the investment
|
|
474
518
|
* @param {string} optionId UUID of the option
|
|
@@ -487,6 +531,15 @@ export declare const InvestmentApiFactory: (configuration?: Configuration, baseP
|
|
|
487
531
|
* @throws {RequiredError}
|
|
488
532
|
*/
|
|
489
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>>;
|
|
490
543
|
/**
|
|
491
544
|
* Get the preferred option for an investment.
|
|
492
545
|
* @summary Get the preferred option for an investment
|
|
@@ -631,6 +684,14 @@ export declare class InvestmentApi extends BaseAPI {
|
|
|
631
684
|
* @throws {RequiredError}
|
|
632
685
|
*/
|
|
633
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, {}>>;
|
|
634
695
|
/**
|
|
635
696
|
* Retrieve a specific option for the investment.
|
|
636
697
|
* @summary Get an option for this investment
|
|
@@ -641,7 +702,7 @@ export declare class InvestmentApi extends BaseAPI {
|
|
|
641
702
|
*/
|
|
642
703
|
getOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OptionResponse, any, {}>>;
|
|
643
704
|
/**
|
|
644
|
-
* 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.
|
|
645
706
|
* @summary Get the kpis for a given option inside a value framework
|
|
646
707
|
* @param {string} investmentId UUID of the investment
|
|
647
708
|
* @param {string} optionId UUID of the option
|
|
@@ -660,6 +721,15 @@ export declare class InvestmentApi extends BaseAPI {
|
|
|
660
721
|
* @throws {RequiredError}
|
|
661
722
|
*/
|
|
662
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, {}>>;
|
|
663
733
|
/**
|
|
664
734
|
* Get the preferred option for an investment.
|
|
665
735
|
* @summary Get the preferred option for an investment
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -378,6 +378,41 @@ const InvestmentApiAxiosParamCreator = function (configuration) {
|
|
|
378
378
|
options: localVarRequestOptions,
|
|
379
379
|
};
|
|
380
380
|
}),
|
|
381
|
+
/**
|
|
382
|
+
* 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.
|
|
383
|
+
* @summary Investment overview table
|
|
384
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
*/
|
|
388
|
+
getInvestmentsOverview: (valueFrameworkId_1, ...args_1) => __awaiter(this, [valueFrameworkId_1, ...args_1], void 0, function* (valueFrameworkId, options = {}) {
|
|
389
|
+
// verify required parameter 'valueFrameworkId' is not null or undefined
|
|
390
|
+
(0, common_1.assertParamExists)('getInvestmentsOverview', 'valueFrameworkId', valueFrameworkId);
|
|
391
|
+
const localVarPath = `/investment/overview`;
|
|
392
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
393
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
394
|
+
let baseOptions;
|
|
395
|
+
if (configuration) {
|
|
396
|
+
baseOptions = configuration.baseOptions;
|
|
397
|
+
}
|
|
398
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
399
|
+
const localVarHeaderParameter = {};
|
|
400
|
+
const localVarQueryParameter = {};
|
|
401
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
402
|
+
// oauth required
|
|
403
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
404
|
+
if (valueFrameworkId !== undefined) {
|
|
405
|
+
localVarQueryParameter['value_framework_id'] = valueFrameworkId;
|
|
406
|
+
}
|
|
407
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
408
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
409
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
410
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
411
|
+
return {
|
|
412
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
413
|
+
options: localVarRequestOptions,
|
|
414
|
+
};
|
|
415
|
+
}),
|
|
381
416
|
/**
|
|
382
417
|
* Retrieve a specific option for the investment.
|
|
383
418
|
* @summary Get an option for this investment
|
|
@@ -416,7 +451,7 @@ const InvestmentApiAxiosParamCreator = function (configuration) {
|
|
|
416
451
|
};
|
|
417
452
|
}),
|
|
418
453
|
/**
|
|
419
|
-
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
454
|
+
* 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.
|
|
420
455
|
* @summary Get the kpis for a given option inside a value framework
|
|
421
456
|
* @param {string} investmentId UUID of the investment
|
|
422
457
|
* @param {string} optionId UUID of the option
|
|
@@ -497,6 +532,45 @@ const InvestmentApiAxiosParamCreator = function (configuration) {
|
|
|
497
532
|
options: localVarRequestOptions,
|
|
498
533
|
};
|
|
499
534
|
}),
|
|
535
|
+
/**
|
|
536
|
+
* 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.
|
|
537
|
+
* @summary Option overview table for this investment
|
|
538
|
+
* @param {string} investmentId UUID of the investment
|
|
539
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
540
|
+
* @param {*} [options] Override http request option.
|
|
541
|
+
* @throws {RequiredError}
|
|
542
|
+
*/
|
|
543
|
+
getOptionsOverview: (investmentId_1, valueFrameworkId_1, ...args_1) => __awaiter(this, [investmentId_1, valueFrameworkId_1, ...args_1], void 0, function* (investmentId, valueFrameworkId, options = {}) {
|
|
544
|
+
// verify required parameter 'investmentId' is not null or undefined
|
|
545
|
+
(0, common_1.assertParamExists)('getOptionsOverview', 'investmentId', investmentId);
|
|
546
|
+
// verify required parameter 'valueFrameworkId' is not null or undefined
|
|
547
|
+
(0, common_1.assertParamExists)('getOptionsOverview', 'valueFrameworkId', valueFrameworkId);
|
|
548
|
+
const localVarPath = `/investment/{investment_id}/option/overview`
|
|
549
|
+
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
550
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
551
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
552
|
+
let baseOptions;
|
|
553
|
+
if (configuration) {
|
|
554
|
+
baseOptions = configuration.baseOptions;
|
|
555
|
+
}
|
|
556
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
557
|
+
const localVarHeaderParameter = {};
|
|
558
|
+
const localVarQueryParameter = {};
|
|
559
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
560
|
+
// oauth required
|
|
561
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
562
|
+
if (valueFrameworkId !== undefined) {
|
|
563
|
+
localVarQueryParameter['value_framework_id'] = valueFrameworkId;
|
|
564
|
+
}
|
|
565
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
566
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
567
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
568
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
569
|
+
return {
|
|
570
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
571
|
+
options: localVarRequestOptions,
|
|
572
|
+
};
|
|
573
|
+
}),
|
|
500
574
|
/**
|
|
501
575
|
* Get the preferred option for an investment.
|
|
502
576
|
* @summary Get the preferred option for an investment
|
|
@@ -893,6 +967,22 @@ const InvestmentApiFp = function (configuration) {
|
|
|
893
967
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
894
968
|
});
|
|
895
969
|
},
|
|
970
|
+
/**
|
|
971
|
+
* 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.
|
|
972
|
+
* @summary Investment overview table
|
|
973
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
974
|
+
* @param {*} [options] Override http request option.
|
|
975
|
+
* @throws {RequiredError}
|
|
976
|
+
*/
|
|
977
|
+
getInvestmentsOverview(valueFrameworkId, options) {
|
|
978
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
979
|
+
var _a, _b, _c;
|
|
980
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInvestmentsOverview(valueFrameworkId, options);
|
|
981
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
982
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InvestmentApi.getInvestmentsOverview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
983
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
984
|
+
});
|
|
985
|
+
},
|
|
896
986
|
/**
|
|
897
987
|
* Retrieve a specific option for the investment.
|
|
898
988
|
* @summary Get an option for this investment
|
|
@@ -911,7 +1001,7 @@ const InvestmentApiFp = function (configuration) {
|
|
|
911
1001
|
});
|
|
912
1002
|
},
|
|
913
1003
|
/**
|
|
914
|
-
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
1004
|
+
* 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.
|
|
915
1005
|
* @summary Get the kpis for a given option inside a value framework
|
|
916
1006
|
* @param {string} investmentId UUID of the investment
|
|
917
1007
|
* @param {string} optionId UUID of the option
|
|
@@ -946,6 +1036,23 @@ const InvestmentApiFp = function (configuration) {
|
|
|
946
1036
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
947
1037
|
});
|
|
948
1038
|
},
|
|
1039
|
+
/**
|
|
1040
|
+
* 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.
|
|
1041
|
+
* @summary Option overview table for this investment
|
|
1042
|
+
* @param {string} investmentId UUID of the investment
|
|
1043
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
1044
|
+
* @param {*} [options] Override http request option.
|
|
1045
|
+
* @throws {RequiredError}
|
|
1046
|
+
*/
|
|
1047
|
+
getOptionsOverview(investmentId, valueFrameworkId, options) {
|
|
1048
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1049
|
+
var _a, _b, _c;
|
|
1050
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptionsOverview(investmentId, valueFrameworkId, options);
|
|
1051
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1052
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InvestmentApi.getOptionsOverview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1053
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1054
|
+
});
|
|
1055
|
+
},
|
|
949
1056
|
/**
|
|
950
1057
|
* Get the preferred option for an investment.
|
|
951
1058
|
* @summary Get the preferred option for an investment
|
|
@@ -1160,6 +1267,16 @@ const InvestmentApiFactory = function (configuration, basePath, axios) {
|
|
|
1160
1267
|
getInvestments(offset, limit, options) {
|
|
1161
1268
|
return localVarFp.getInvestments(offset, limit, options).then((request) => request(axios, basePath));
|
|
1162
1269
|
},
|
|
1270
|
+
/**
|
|
1271
|
+
* 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.
|
|
1272
|
+
* @summary Investment overview table
|
|
1273
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
1274
|
+
* @param {*} [options] Override http request option.
|
|
1275
|
+
* @throws {RequiredError}
|
|
1276
|
+
*/
|
|
1277
|
+
getInvestmentsOverview(valueFrameworkId, options) {
|
|
1278
|
+
return localVarFp.getInvestmentsOverview(valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
1279
|
+
},
|
|
1163
1280
|
/**
|
|
1164
1281
|
* Retrieve a specific option for the investment.
|
|
1165
1282
|
* @summary Get an option for this investment
|
|
@@ -1172,7 +1289,7 @@ const InvestmentApiFactory = function (configuration, basePath, axios) {
|
|
|
1172
1289
|
return localVarFp.getOptionForInvestment(optionId, investmentId, options).then((request) => request(axios, basePath));
|
|
1173
1290
|
},
|
|
1174
1291
|
/**
|
|
1175
|
-
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
1292
|
+
* 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.
|
|
1176
1293
|
* @summary Get the kpis for a given option inside a value framework
|
|
1177
1294
|
* @param {string} investmentId UUID of the investment
|
|
1178
1295
|
* @param {string} optionId UUID of the option
|
|
@@ -1195,6 +1312,17 @@ const InvestmentApiFactory = function (configuration, basePath, axios) {
|
|
|
1195
1312
|
getOptionsForInvestment(investmentId, offset, limit, options) {
|
|
1196
1313
|
return localVarFp.getOptionsForInvestment(investmentId, offset, limit, options).then((request) => request(axios, basePath));
|
|
1197
1314
|
},
|
|
1315
|
+
/**
|
|
1316
|
+
* 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.
|
|
1317
|
+
* @summary Option overview table for this investment
|
|
1318
|
+
* @param {string} investmentId UUID of the investment
|
|
1319
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
1320
|
+
* @param {*} [options] Override http request option.
|
|
1321
|
+
* @throws {RequiredError}
|
|
1322
|
+
*/
|
|
1323
|
+
getOptionsOverview(investmentId, valueFrameworkId, options) {
|
|
1324
|
+
return localVarFp.getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
1325
|
+
},
|
|
1198
1326
|
/**
|
|
1199
1327
|
* Get the preferred option for an investment.
|
|
1200
1328
|
* @summary Get the preferred option for an investment
|
|
@@ -1371,6 +1499,16 @@ class InvestmentApi extends base_1.BaseAPI {
|
|
|
1371
1499
|
getInvestments(offset, limit, options) {
|
|
1372
1500
|
return (0, exports.InvestmentApiFp)(this.configuration).getInvestments(offset, limit, options).then((request) => request(this.axios, this.basePath));
|
|
1373
1501
|
}
|
|
1502
|
+
/**
|
|
1503
|
+
* 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.
|
|
1504
|
+
* @summary Investment overview table
|
|
1505
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
1506
|
+
* @param {*} [options] Override http request option.
|
|
1507
|
+
* @throws {RequiredError}
|
|
1508
|
+
*/
|
|
1509
|
+
getInvestmentsOverview(valueFrameworkId, options) {
|
|
1510
|
+
return (0, exports.InvestmentApiFp)(this.configuration).getInvestmentsOverview(valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
1511
|
+
}
|
|
1374
1512
|
/**
|
|
1375
1513
|
* Retrieve a specific option for the investment.
|
|
1376
1514
|
* @summary Get an option for this investment
|
|
@@ -1383,7 +1521,7 @@ class InvestmentApi extends base_1.BaseAPI {
|
|
|
1383
1521
|
return (0, exports.InvestmentApiFp)(this.configuration).getOptionForInvestment(optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1384
1522
|
}
|
|
1385
1523
|
/**
|
|
1386
|
-
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework
|
|
1524
|
+
* 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.
|
|
1387
1525
|
* @summary Get the kpis for a given option inside a value framework
|
|
1388
1526
|
* @param {string} investmentId UUID of the investment
|
|
1389
1527
|
* @param {string} optionId UUID of the option
|
|
@@ -1406,6 +1544,17 @@ class InvestmentApi extends base_1.BaseAPI {
|
|
|
1406
1544
|
getOptionsForInvestment(investmentId, offset, limit, options) {
|
|
1407
1545
|
return (0, exports.InvestmentApiFp)(this.configuration).getOptionsForInvestment(investmentId, offset, limit, options).then((request) => request(this.axios, this.basePath));
|
|
1408
1546
|
}
|
|
1547
|
+
/**
|
|
1548
|
+
* 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.
|
|
1549
|
+
* @summary Option overview table for this investment
|
|
1550
|
+
* @param {string} investmentId UUID of the investment
|
|
1551
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
1552
|
+
* @param {*} [options] Override http request option.
|
|
1553
|
+
* @throws {RequiredError}
|
|
1554
|
+
*/
|
|
1555
|
+
getOptionsOverview(investmentId, valueFrameworkId, options) {
|
|
1556
|
+
return (0, exports.InvestmentApiFp)(this.configuration).getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
1557
|
+
}
|
|
1409
1558
|
/**
|
|
1410
1559
|
* Get the preferred option for an investment.
|
|
1411
1560
|
* @summary Get the preferred option for an investment
|
package/dist/api/metric-api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Asset Investment Planning
|
|
3
3
|
* API for Asset Investment Planning
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/metric-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|