@cosmotech/aip-client 0.3.0-dev2 → 0.4.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 +49 -41
- package/api/budget-api.ts +7 -7
- package/api/default-api.ts +1 -1
- package/api/impact-api.ts +90 -1
- package/api/investment-api.ts +55 -1254
- 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 -509
- package/api/objective-weight-api.ts +1 -1
- package/api/objective-weights-api.ts +1 -1
- package/api/option-api.ts +28 -481
- package/api/portfolio-api.ts +601 -0
- package/api/portfolio-investment-api.ts +545 -0
- package/api/portfolio-kpiapi.ts +772 -0
- package/api/preferred-option-api.ts +1 -1
- package/api/value-framework-api.ts +61 -1189
- package/api/value-framework-costs-api.ts +1 -1
- package/api/value-framework-weights-api.ts +1 -1
- package/api.ts +4 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/budget-api.d.ts +5 -5
- package/dist/api/budget-api.js +7 -7
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/impact-api.d.ts +42 -1
- package/dist/api/impact-api.js +85 -1
- package/dist/api/investment-api.d.ts +1 -551
- package/dist/api/investment-api.js +57 -1189
- 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 -233
- package/dist/api/objective-api.js +1 -479
- 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 +13 -224
- package/dist/api/option-api.js +28 -458
- package/dist/api/portfolio-api.d.ts +279 -0
- package/dist/api/portfolio-api.js +575 -0
- package/dist/api/portfolio-investment-api.d.ts +258 -0
- package/dist/api/portfolio-investment-api.js +526 -0
- package/dist/api/portfolio-kpiapi.d.ts +361 -0
- package/dist/api/portfolio-kpiapi.js +740 -0
- 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 -519
- package/dist/api/value-framework-api.js +61 -1128
- 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 +4 -1
- package/dist/api.js +4 -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 +5 -5
- package/dist/esm/api/budget-api.js +7 -7
- 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 +42 -1
- package/dist/esm/api/impact-api.js +85 -1
- package/dist/esm/api/investment-api.d.ts +1 -551
- package/dist/esm/api/investment-api.js +56 -1188
- 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 -233
- package/dist/esm/api/objective-api.js +1 -479
- 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 +13 -224
- package/dist/esm/api/option-api.js +28 -458
- package/dist/esm/api/portfolio-api.d.ts +279 -0
- package/dist/esm/api/portfolio-api.js +568 -0
- package/dist/esm/api/portfolio-investment-api.d.ts +258 -0
- package/dist/esm/api/portfolio-investment-api.js +519 -0
- package/dist/esm/api/portfolio-kpiapi.d.ts +361 -0
- package/dist/esm/api/portfolio-kpiapi.js +733 -0
- 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 -519
- package/dist/esm/api/value-framework-api.js +61 -1128
- 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 +4 -1
- package/dist/esm/api.js +4 -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 +3 -3
- package/dist/esm/models/budget-bulk-delete-request.js +1 -1
- package/dist/esm/models/budget-create.d.ts +1 -1
- package/dist/esm/models/budget-create.js +1 -1
- package/dist/esm/models/budget-investment-response.d.ts +1 -1
- package/dist/esm/models/budget-investment-response.js +1 -1
- package/dist/esm/models/budget-link-options-request.d.ts +1 -1
- package/dist/esm/models/budget-link-options-request.js +1 -1
- package/dist/esm/models/budget-option-response.d.ts +1 -1
- package/dist/esm/models/budget-option-response.js +1 -1
- package/dist/esm/models/budget-overview-response.d.ts +1 -1
- package/dist/esm/models/budget-overview-response.js +1 -1
- package/dist/esm/models/budget-response.d.ts +1 -1
- package/dist/esm/models/budget-response.js +1 -1
- package/dist/esm/models/budget-update.d.ts +1 -1
- package/dist/esm/models/budget-update.js +1 -1
- package/dist/esm/models/bulk-delete-request.d.ts +1 -1
- package/dist/esm/models/bulk-delete-request.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 -2
- package/dist/esm/models/impact-apiresponse.js +1 -1
- package/dist/esm/models/impact-bulk-item.d.ts +33 -0
- package/dist/esm/models/impact-bulk-item.js +14 -0
- package/dist/esm/models/impact-create.d.ts +1 -5
- package/dist/esm/models/impact-create.js +1 -1
- package/dist/esm/models/impact-update.d.ts +1 -2
- package/dist/esm/models/impact-update.js +1 -1
- package/dist/esm/models/index.d.ts +23 -0
- package/dist/esm/models/index.js +23 -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 +1 -1
- package/dist/esm/models/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-performance-response.d.ts +21 -0
- package/dist/esm/models/metric-performance-response.js +14 -0
- package/dist/esm/models/metric-performance-year.d.ts +18 -0
- package/dist/esm/models/metric-performance-year.js +14 -0
- 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/monetized-impact-response.d.ts +18 -0
- package/dist/esm/models/monetized-impact-response.js +14 -0
- package/dist/esm/models/monetized-impact-year.d.ts +19 -0
- package/dist/esm/models/monetized-impact-year.js +14 -0
- 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 +1 -1
- package/dist/esm/models/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/portfolio-budget-expenditure-response.d.ts +21 -0
- package/dist/esm/models/portfolio-budget-expenditure-response.js +14 -0
- package/dist/esm/models/portfolio-budget-expenditure-year.d.ts +18 -0
- package/dist/esm/models/portfolio-budget-expenditure-year.js +14 -0
- package/dist/esm/models/portfolio-budget-usage-item.d.ts +28 -0
- package/dist/esm/models/portfolio-budget-usage-item.js +14 -0
- package/dist/esm/models/portfolio-bulk-delete-request.d.ts +20 -0
- package/dist/esm/models/portfolio-bulk-delete-request.js +14 -0
- package/dist/esm/models/portfolio-create.d.ts +21 -0
- package/dist/esm/models/portfolio-create.js +14 -0
- package/dist/esm/models/portfolio-investment-bulk-add-request.d.ts +20 -0
- package/dist/esm/models/portfolio-investment-bulk-add-request.js +14 -0
- package/dist/esm/models/portfolio-investment-bulk-add-response.d.ts +24 -0
- package/dist/esm/models/portfolio-investment-bulk-add-response.js +14 -0
- package/dist/esm/models/portfolio-investment-bulk-delete-request.d.ts +20 -0
- package/dist/esm/models/portfolio-investment-bulk-delete-request.js +14 -0
- package/dist/esm/models/portfolio-investment-response.d.ts +25 -0
- package/dist/esm/models/portfolio-investment-response.js +14 -0
- package/dist/esm/models/portfolio-kpidistribution-budget-item.d.ts +19 -0
- package/dist/esm/models/portfolio-kpidistribution-budget-item.js +14 -0
- package/dist/esm/models/portfolio-kpidistribution-response.d.ts +20 -0
- package/dist/esm/models/portfolio-kpidistribution-response.js +14 -0
- package/dist/esm/models/portfolio-kpidistribution-year-overrun.d.ts +19 -0
- package/dist/esm/models/portfolio-kpidistribution-year-overrun.js +14 -0
- package/dist/esm/models/portfolio-kpidistribution-year-value.d.ts +18 -0
- package/dist/esm/models/portfolio-kpidistribution-year-value.js +14 -0
- package/dist/esm/models/portfolio-kpioverrun-distribution-response.d.ts +19 -0
- package/dist/esm/models/portfolio-kpioverrun-distribution-response.js +14 -0
- package/dist/esm/models/portfolio-kpiresponse.d.ts +31 -0
- package/dist/esm/models/portfolio-kpiresponse.js +14 -0
- package/dist/esm/models/portfolio-overview-item-response.d.ts +40 -0
- package/dist/esm/models/portfolio-overview-item-response.js +14 -0
- package/dist/esm/models/portfolio-response.d.ts +25 -0
- package/dist/esm/models/portfolio-response.js +14 -0
- package/dist/esm/models/portfolio-update.d.ts +18 -0
- package/dist/esm/models/portfolio-update.js +14 -0
- 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 +3 -3
- package/dist/models/budget-bulk-delete-request.js +1 -1
- package/dist/models/budget-create.d.ts +1 -1
- package/dist/models/budget-create.js +1 -1
- package/dist/models/budget-investment-response.d.ts +1 -1
- package/dist/models/budget-investment-response.js +1 -1
- package/dist/models/budget-link-options-request.d.ts +1 -1
- package/dist/models/budget-link-options-request.js +1 -1
- package/dist/models/budget-option-response.d.ts +1 -1
- package/dist/models/budget-option-response.js +1 -1
- package/dist/models/budget-overview-response.d.ts +1 -1
- package/dist/models/budget-overview-response.js +1 -1
- package/dist/models/budget-response.d.ts +1 -1
- package/dist/models/budget-response.js +1 -1
- package/dist/models/budget-update.d.ts +1 -1
- package/dist/models/budget-update.js +1 -1
- package/dist/models/bulk-delete-request.d.ts +1 -1
- package/dist/models/bulk-delete-request.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 -2
- package/dist/models/impact-apiresponse.js +1 -1
- package/dist/models/impact-bulk-item.d.ts +33 -0
- package/dist/models/impact-bulk-item.js +15 -0
- package/dist/models/impact-create.d.ts +1 -5
- package/dist/models/impact-create.js +1 -1
- package/dist/models/impact-update.d.ts +1 -2
- package/dist/models/impact-update.js +1 -1
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +23 -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 +1 -1
- package/dist/models/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-performance-response.d.ts +21 -0
- package/dist/models/metric-performance-response.js +15 -0
- package/dist/models/metric-performance-year.d.ts +18 -0
- package/dist/models/metric-performance-year.js +15 -0
- 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/monetized-impact-response.d.ts +18 -0
- package/dist/models/monetized-impact-response.js +15 -0
- package/dist/models/monetized-impact-year.d.ts +19 -0
- package/dist/models/monetized-impact-year.js +15 -0
- 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 +1 -1
- package/dist/models/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/portfolio-budget-expenditure-response.d.ts +21 -0
- package/dist/models/portfolio-budget-expenditure-response.js +15 -0
- package/dist/models/portfolio-budget-expenditure-year.d.ts +18 -0
- package/dist/models/portfolio-budget-expenditure-year.js +15 -0
- package/dist/models/portfolio-budget-usage-item.d.ts +28 -0
- package/dist/models/portfolio-budget-usage-item.js +15 -0
- package/dist/models/portfolio-bulk-delete-request.d.ts +20 -0
- package/dist/models/portfolio-bulk-delete-request.js +15 -0
- package/dist/models/portfolio-create.d.ts +21 -0
- package/dist/models/portfolio-create.js +15 -0
- package/dist/models/portfolio-investment-bulk-add-request.d.ts +20 -0
- package/dist/models/portfolio-investment-bulk-add-request.js +15 -0
- package/dist/models/portfolio-investment-bulk-add-response.d.ts +24 -0
- package/dist/models/portfolio-investment-bulk-add-response.js +15 -0
- package/dist/models/portfolio-investment-bulk-delete-request.d.ts +20 -0
- package/dist/models/portfolio-investment-bulk-delete-request.js +15 -0
- package/dist/models/portfolio-investment-response.d.ts +25 -0
- package/dist/models/portfolio-investment-response.js +15 -0
- package/dist/models/portfolio-kpidistribution-budget-item.d.ts +19 -0
- package/dist/models/portfolio-kpidistribution-budget-item.js +15 -0
- package/dist/models/portfolio-kpidistribution-response.d.ts +20 -0
- package/dist/models/portfolio-kpidistribution-response.js +15 -0
- package/dist/models/portfolio-kpidistribution-year-overrun.d.ts +19 -0
- package/dist/models/portfolio-kpidistribution-year-overrun.js +15 -0
- package/dist/models/portfolio-kpidistribution-year-value.d.ts +18 -0
- package/dist/models/portfolio-kpidistribution-year-value.js +15 -0
- package/dist/models/portfolio-kpioverrun-distribution-response.d.ts +19 -0
- package/dist/models/portfolio-kpioverrun-distribution-response.js +15 -0
- package/dist/models/portfolio-kpiresponse.d.ts +31 -0
- package/dist/models/portfolio-kpiresponse.js +15 -0
- package/dist/models/portfolio-overview-item-response.d.ts +40 -0
- package/dist/models/portfolio-overview-item-response.js +15 -0
- package/dist/models/portfolio-response.d.ts +25 -0
- package/dist/models/portfolio-response.js +15 -0
- package/dist/models/portfolio-update.d.ts +18 -0
- package/dist/models/portfolio-update.js +15 -0
- 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 +4 -4
- package/docs/BudgetBulkDeleteRequest.md +2 -2
- package/docs/ImpactAPIResponse.md +0 -2
- package/docs/ImpactApi.md +60 -0
- package/docs/ImpactBulkItem.md +27 -0
- package/docs/ImpactCreate.md +0 -2
- package/docs/ImpactUpdate.md +0 -2
- package/docs/InvestmentApi.md +29 -851
- package/docs/MetricPerformanceResponse.md +27 -0
- package/docs/MetricPerformanceYear.md +23 -0
- package/docs/MonetizedImpactResponse.md +21 -0
- package/docs/MonetizedImpactYear.md +25 -0
- package/docs/ObjectiveApi.md +0 -351
- package/docs/OptionApi.md +7 -312
- package/docs/PortfolioApi.md +395 -0
- package/docs/PortfolioBudgetExpenditureResponse.md +27 -0
- package/docs/PortfolioBudgetExpenditureYear.md +23 -0
- package/docs/PortfolioBudgetUsageItem.md +31 -0
- package/docs/PortfolioBulkDeleteRequest.md +21 -0
- package/docs/PortfolioCreate.md +23 -0
- package/docs/PortfolioInvestmentApi.md +350 -0
- package/docs/PortfolioInvestmentBulkAddRequest.md +21 -0
- package/docs/PortfolioInvestmentBulkAddResponse.md +23 -0
- package/docs/PortfolioInvestmentBulkDeleteRequest.md +21 -0
- package/docs/PortfolioInvestmentResponse.md +25 -0
- package/docs/PortfolioKPIApi.md +508 -0
- package/docs/PortfolioKPIDistributionBudgetItem.md +25 -0
- package/docs/PortfolioKPIDistributionResponse.md +25 -0
- package/docs/PortfolioKPIDistributionYearOverrun.md +23 -0
- package/docs/PortfolioKPIDistributionYearValue.md +23 -0
- package/docs/PortfolioKPIOverrunDistributionResponse.md +23 -0
- package/docs/PortfolioKPIResponse.md +31 -0
- package/docs/PortfolioOverviewItemResponse.md +43 -0
- package/docs/PortfolioResponse.md +31 -0
- package/docs/PortfolioUpdate.md +23 -0
- package/docs/ValueFrameworkApi.md +7 -778
- package/index.ts +1 -1
- package/models/budget-bulk-delete-request.ts +3 -3
- package/models/budget-create.ts +1 -1
- package/models/budget-investment-response.ts +1 -1
- package/models/budget-link-options-request.ts +1 -1
- package/models/budget-option-response.ts +1 -1
- package/models/budget-overview-response.ts +1 -1
- package/models/budget-response.ts +1 -1
- package/models/budget-update.ts +1 -1
- package/models/bulk-delete-request.ts +1 -1
- package/models/evolution-type.ts +1 -1
- package/models/httpvalidation-error.ts +1 -1
- package/models/impact-apiresponse.ts +1 -2
- package/models/impact-bulk-item.ts +43 -0
- package/models/impact-create.ts +1 -5
- package/models/impact-update.ts +1 -2
- package/models/index.ts +23 -0
- package/models/investment-create.ts +1 -1
- package/models/investment-overview-response.ts +1 -1
- package/models/investment-response.ts +1 -1
- package/models/investment-update.ts +1 -1
- package/models/location-inner.ts +1 -1
- package/models/measurement-type.ts +1 -1
- package/models/metric-costs-per-year-create.ts +1 -1
- package/models/metric-costs-per-year-response.ts +1 -1
- package/models/metric-costs-per-year-update.ts +1 -1
- package/models/metric-create.ts +1 -1
- package/models/metric-performance-response.ts +29 -0
- package/models/metric-performance-year.ts +24 -0
- package/models/metric-response.ts +1 -1
- package/models/metric-type.ts +1 -1
- package/models/metric-update.ts +1 -1
- package/models/monetized-impact-response.ts +26 -0
- package/models/monetized-impact-year.ts +25 -0
- 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 +1 -1
- package/models/option-response.ts +1 -1
- package/models/option-update.ts +1 -1
- package/models/portfolio-budget-expenditure-response.ts +29 -0
- package/models/portfolio-budget-expenditure-year.ts +24 -0
- package/models/portfolio-budget-usage-item.ts +34 -0
- package/models/portfolio-bulk-delete-request.ts +26 -0
- package/models/portfolio-create.ts +27 -0
- package/models/portfolio-investment-bulk-add-request.ts +26 -0
- package/models/portfolio-investment-bulk-add-response.ts +30 -0
- package/models/portfolio-investment-bulk-delete-request.ts +26 -0
- package/models/portfolio-investment-response.ts +31 -0
- package/models/portfolio-kpidistribution-budget-item.ts +25 -0
- package/models/portfolio-kpidistribution-response.ts +28 -0
- package/models/portfolio-kpidistribution-year-overrun.ts +27 -0
- package/models/portfolio-kpidistribution-year-value.ts +24 -0
- package/models/portfolio-kpioverrun-distribution-response.ts +27 -0
- package/models/portfolio-kpiresponse.ts +37 -0
- package/models/portfolio-overview-item-response.ts +46 -0
- package/models/portfolio-response.ts +31 -0
- package/models/portfolio-update.ts +24 -0
- 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
|
@@ -0,0 +1,772 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Asset Investment Planning
|
|
5
|
+
* API for Asset Investment Planning
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { MetricPerformanceResponse } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { MonetizedImpactResponse } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { PortfolioBudgetExpenditureResponse } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { PortfolioBudgetUsageItem } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { PortfolioKPIDistributionResponse } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
import type { PortfolioKPIOverrunDistributionResponse } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import type { PortfolioKPIResponse } from '../models';
|
|
38
|
+
/**
|
|
39
|
+
* PortfolioKPIApi - axios parameter creator
|
|
40
|
+
*/
|
|
41
|
+
export const PortfolioKPIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42
|
+
return {
|
|
43
|
+
/**
|
|
44
|
+
* Total cost of preferred options starting each year.
|
|
45
|
+
* @summary CAPEX year-by-year distribution
|
|
46
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
47
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
getCapexDistribution: async (portfolioId: string, valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
52
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
53
|
+
assertParamExists('getCapexDistribution', 'portfolioId', portfolioId)
|
|
54
|
+
// verify required parameter 'valueFrameworkId' is not null or undefined
|
|
55
|
+
assertParamExists('getCapexDistribution', 'valueFrameworkId', valueFrameworkId)
|
|
56
|
+
const localVarPath = `/portfolio/{portfolio_id}/kpis/{value_framework_id}/capex-distribution`
|
|
57
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)))
|
|
58
|
+
.replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
|
|
59
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61
|
+
let baseOptions;
|
|
62
|
+
if (configuration) {
|
|
63
|
+
baseOptions = configuration.baseOptions;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
67
|
+
const localVarHeaderParameter = {} as any;
|
|
68
|
+
const localVarQueryParameter = {} as any;
|
|
69
|
+
|
|
70
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
71
|
+
// oauth required
|
|
72
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
73
|
+
|
|
74
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
75
|
+
|
|
76
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
77
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
79
|
+
|
|
80
|
+
return {
|
|
81
|
+
url: toPathString(localVarUrlObj),
|
|
82
|
+
options: localVarRequestOptions,
|
|
83
|
+
};
|
|
84
|
+
},
|
|
85
|
+
/**
|
|
86
|
+
* Count of investments with a preferred option starting each year.
|
|
87
|
+
* @summary Investment count year-by-year distribution
|
|
88
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
89
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
getInvestmentsDistribution: async (portfolioId: string, valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
94
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
95
|
+
assertParamExists('getInvestmentsDistribution', 'portfolioId', portfolioId)
|
|
96
|
+
// verify required parameter 'valueFrameworkId' is not null or undefined
|
|
97
|
+
assertParamExists('getInvestmentsDistribution', 'valueFrameworkId', valueFrameworkId)
|
|
98
|
+
const localVarPath = `/portfolio/{portfolio_id}/kpis/{value_framework_id}/investments-distribution`
|
|
99
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)))
|
|
100
|
+
.replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
|
|
101
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103
|
+
let baseOptions;
|
|
104
|
+
if (configuration) {
|
|
105
|
+
baseOptions = configuration.baseOptions;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
109
|
+
const localVarHeaderParameter = {} as any;
|
|
110
|
+
const localVarQueryParameter = {} as any;
|
|
111
|
+
|
|
112
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
113
|
+
// oauth required
|
|
114
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
115
|
+
|
|
116
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
117
|
+
|
|
118
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
119
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
120
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
121
|
+
|
|
122
|
+
return {
|
|
123
|
+
url: toPathString(localVarUrlObj),
|
|
124
|
+
options: localVarRequestOptions,
|
|
125
|
+
};
|
|
126
|
+
},
|
|
127
|
+
/**
|
|
128
|
+
* Break down budget overruns by year across all preferred options in the portfolio. For each year, shows per-budget whether the annual expenditure exceeds the budget capacity.
|
|
129
|
+
* @summary Budget overrun year-by-year distribution
|
|
130
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
131
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
getKpiOverrunDistribution: async (portfolioId: string, valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
136
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
137
|
+
assertParamExists('getKpiOverrunDistribution', 'portfolioId', portfolioId)
|
|
138
|
+
// verify required parameter 'valueFrameworkId' is not null or undefined
|
|
139
|
+
assertParamExists('getKpiOverrunDistribution', 'valueFrameworkId', valueFrameworkId)
|
|
140
|
+
const localVarPath = `/portfolio/{portfolio_id}/kpis/{value_framework_id}/overrun-distribution`
|
|
141
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)))
|
|
142
|
+
.replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
|
|
143
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
144
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
145
|
+
let baseOptions;
|
|
146
|
+
if (configuration) {
|
|
147
|
+
baseOptions = configuration.baseOptions;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
151
|
+
const localVarHeaderParameter = {} as any;
|
|
152
|
+
const localVarQueryParameter = {} as any;
|
|
153
|
+
|
|
154
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
155
|
+
// oauth required
|
|
156
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
157
|
+
|
|
158
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
159
|
+
|
|
160
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
161
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
162
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
163
|
+
|
|
164
|
+
return {
|
|
165
|
+
url: toPathString(localVarUrlObj),
|
|
166
|
+
options: localVarRequestOptions,
|
|
167
|
+
};
|
|
168
|
+
},
|
|
169
|
+
/**
|
|
170
|
+
* Sum of final NPV of preferred options starting each year.
|
|
171
|
+
* @summary NPV year-by-year distribution
|
|
172
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
173
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
getNpvDistribution: async (portfolioId: string, valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
178
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
179
|
+
assertParamExists('getNpvDistribution', 'portfolioId', portfolioId)
|
|
180
|
+
// verify required parameter 'valueFrameworkId' is not null or undefined
|
|
181
|
+
assertParamExists('getNpvDistribution', 'valueFrameworkId', valueFrameworkId)
|
|
182
|
+
const localVarPath = `/portfolio/{portfolio_id}/kpis/{value_framework_id}/npv-distribution`
|
|
183
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)))
|
|
184
|
+
.replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
|
|
185
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
186
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
187
|
+
let baseOptions;
|
|
188
|
+
if (configuration) {
|
|
189
|
+
baseOptions = configuration.baseOptions;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
193
|
+
const localVarHeaderParameter = {} as any;
|
|
194
|
+
const localVarQueryParameter = {} as any;
|
|
195
|
+
|
|
196
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
197
|
+
// oauth required
|
|
198
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
199
|
+
|
|
200
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
201
|
+
|
|
202
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
203
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
204
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
205
|
+
|
|
206
|
+
return {
|
|
207
|
+
url: toPathString(localVarUrlObj),
|
|
208
|
+
options: localVarRequestOptions,
|
|
209
|
+
};
|
|
210
|
+
},
|
|
211
|
+
/**
|
|
212
|
+
* Return year-by-year expenditure of preferred options linked to a specific budget within this portfolio.
|
|
213
|
+
* @summary Budget year-by-year expenditure
|
|
214
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
215
|
+
* @param {string} budgetId UUID of the budget
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
*/
|
|
219
|
+
getPortfolioBudgetExpenditure: async (portfolioId: string, budgetId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
220
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
221
|
+
assertParamExists('getPortfolioBudgetExpenditure', 'portfolioId', portfolioId)
|
|
222
|
+
// verify required parameter 'budgetId' is not null or undefined
|
|
223
|
+
assertParamExists('getPortfolioBudgetExpenditure', 'budgetId', budgetId)
|
|
224
|
+
const localVarPath = `/portfolio/{portfolio_id}/budget-expenditure/{budget_id}`
|
|
225
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)))
|
|
226
|
+
.replace(`{${"budget_id"}}`, encodeURIComponent(String(budgetId)));
|
|
227
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
228
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
229
|
+
let baseOptions;
|
|
230
|
+
if (configuration) {
|
|
231
|
+
baseOptions = configuration.baseOptions;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
235
|
+
const localVarHeaderParameter = {} as any;
|
|
236
|
+
const localVarQueryParameter = {} as any;
|
|
237
|
+
|
|
238
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
239
|
+
// oauth required
|
|
240
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
241
|
+
|
|
242
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
243
|
+
|
|
244
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
246
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
247
|
+
|
|
248
|
+
return {
|
|
249
|
+
url: toPathString(localVarUrlObj),
|
|
250
|
+
options: localVarRequestOptions,
|
|
251
|
+
};
|
|
252
|
+
},
|
|
253
|
+
/**
|
|
254
|
+
* For each budget referenced by preferred options in this portfolio, return usage and overrun statistics.
|
|
255
|
+
* @summary Budget usage summary
|
|
256
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
*/
|
|
260
|
+
getPortfolioBudgetUsage: async (portfolioId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
261
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
262
|
+
assertParamExists('getPortfolioBudgetUsage', 'portfolioId', portfolioId)
|
|
263
|
+
const localVarPath = `/portfolio/{portfolio_id}/budget-usage`
|
|
264
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
265
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
266
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
267
|
+
let baseOptions;
|
|
268
|
+
if (configuration) {
|
|
269
|
+
baseOptions = configuration.baseOptions;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
273
|
+
const localVarHeaderParameter = {} as any;
|
|
274
|
+
const localVarQueryParameter = {} as any;
|
|
275
|
+
|
|
276
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
277
|
+
// oauth required
|
|
278
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
279
|
+
|
|
280
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
281
|
+
|
|
282
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
283
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
284
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
285
|
+
|
|
286
|
+
return {
|
|
287
|
+
url: toPathString(localVarUrlObj),
|
|
288
|
+
options: localVarRequestOptions,
|
|
289
|
+
};
|
|
290
|
+
},
|
|
291
|
+
/**
|
|
292
|
+
* Return KPIs (nb_investments, total_cost, date range, budget_overrun, NPV) for the specified portfolio and value framework.
|
|
293
|
+
* @summary Get portfolio KPIs
|
|
294
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
295
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
296
|
+
* @param {*} [options] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
*/
|
|
299
|
+
getPortfolioKpis: async (portfolioId: string, valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
300
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
301
|
+
assertParamExists('getPortfolioKpis', 'portfolioId', portfolioId)
|
|
302
|
+
// verify required parameter 'valueFrameworkId' is not null or undefined
|
|
303
|
+
assertParamExists('getPortfolioKpis', 'valueFrameworkId', valueFrameworkId)
|
|
304
|
+
const localVarPath = `/portfolio/{portfolio_id}/kpis/{value_framework_id}`
|
|
305
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)))
|
|
306
|
+
.replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
|
|
307
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
308
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
309
|
+
let baseOptions;
|
|
310
|
+
if (configuration) {
|
|
311
|
+
baseOptions = configuration.baseOptions;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
315
|
+
const localVarHeaderParameter = {} as any;
|
|
316
|
+
const localVarQueryParameter = {} as any;
|
|
317
|
+
|
|
318
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
319
|
+
// oauth required
|
|
320
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
321
|
+
|
|
322
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
323
|
+
|
|
324
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
325
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
326
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
327
|
+
|
|
328
|
+
return {
|
|
329
|
+
url: toPathString(localVarUrlObj),
|
|
330
|
+
options: localVarRequestOptions,
|
|
331
|
+
};
|
|
332
|
+
},
|
|
333
|
+
/**
|
|
334
|
+
* Return the year-by-year summed raw metric value across all preferred options in the portfolio for a given metric. The metric_value is framework-independent.
|
|
335
|
+
* @summary Metric performance over time
|
|
336
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
337
|
+
* @param {string} metricId UUID of the metric
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
getPortfolioMetricPerformance: async (portfolioId: string, metricId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
342
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
343
|
+
assertParamExists('getPortfolioMetricPerformance', 'portfolioId', portfolioId)
|
|
344
|
+
// verify required parameter 'metricId' is not null or undefined
|
|
345
|
+
assertParamExists('getPortfolioMetricPerformance', 'metricId', metricId)
|
|
346
|
+
const localVarPath = `/portfolio/{portfolio_id}/metric-performance/{metric_id}`
|
|
347
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)))
|
|
348
|
+
.replace(`{${"metric_id"}}`, encodeURIComponent(String(metricId)));
|
|
349
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
350
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
351
|
+
let baseOptions;
|
|
352
|
+
if (configuration) {
|
|
353
|
+
baseOptions = configuration.baseOptions;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
357
|
+
const localVarHeaderParameter = {} as any;
|
|
358
|
+
const localVarQueryParameter = {} as any;
|
|
359
|
+
|
|
360
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
361
|
+
// oauth required
|
|
362
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
363
|
+
|
|
364
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
365
|
+
|
|
366
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
367
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
368
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
369
|
+
|
|
370
|
+
return {
|
|
371
|
+
url: toPathString(localVarUrlObj),
|
|
372
|
+
options: localVarRequestOptions,
|
|
373
|
+
};
|
|
374
|
+
},
|
|
375
|
+
/**
|
|
376
|
+
* Return year-by-year monetized impact (sum of all metric monetary values) and investment cost (preferred option CAPEX by start year) across the portfolio.
|
|
377
|
+
* @summary Portfolio monetized impact over time
|
|
378
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
379
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
*/
|
|
383
|
+
getPortfolioMonetizedImpact: async (portfolioId: string, valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
384
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
385
|
+
assertParamExists('getPortfolioMonetizedImpact', 'portfolioId', portfolioId)
|
|
386
|
+
// verify required parameter 'valueFrameworkId' is not null or undefined
|
|
387
|
+
assertParamExists('getPortfolioMonetizedImpact', 'valueFrameworkId', valueFrameworkId)
|
|
388
|
+
const localVarPath = `/portfolio/{portfolio_id}/monetized-impact/{value_framework_id}`
|
|
389
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)))
|
|
390
|
+
.replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
|
|
391
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
392
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
393
|
+
let baseOptions;
|
|
394
|
+
if (configuration) {
|
|
395
|
+
baseOptions = configuration.baseOptions;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
399
|
+
const localVarHeaderParameter = {} as any;
|
|
400
|
+
const localVarQueryParameter = {} as any;
|
|
401
|
+
|
|
402
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
403
|
+
// oauth required
|
|
404
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
405
|
+
|
|
406
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
407
|
+
|
|
408
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
409
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
410
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
411
|
+
|
|
412
|
+
return {
|
|
413
|
+
url: toPathString(localVarUrlObj),
|
|
414
|
+
options: localVarRequestOptions,
|
|
415
|
+
};
|
|
416
|
+
},
|
|
417
|
+
}
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* PortfolioKPIApi - functional programming interface
|
|
422
|
+
*/
|
|
423
|
+
export const PortfolioKPIApiFp = function(configuration?: Configuration) {
|
|
424
|
+
const localVarAxiosParamCreator = PortfolioKPIApiAxiosParamCreator(configuration)
|
|
425
|
+
return {
|
|
426
|
+
/**
|
|
427
|
+
* Total cost of preferred options starting each year.
|
|
428
|
+
* @summary CAPEX year-by-year distribution
|
|
429
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
430
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
431
|
+
* @param {*} [options] Override http request option.
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
*/
|
|
434
|
+
async getCapexDistribution(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioKPIDistributionResponse>> {
|
|
435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCapexDistribution(portfolioId, valueFrameworkId, options);
|
|
436
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
437
|
+
const localVarOperationServerBasePath = operationServerMap['PortfolioKPIApi.getCapexDistribution']?.[localVarOperationServerIndex]?.url;
|
|
438
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
439
|
+
},
|
|
440
|
+
/**
|
|
441
|
+
* Count of investments with a preferred option starting each year.
|
|
442
|
+
* @summary Investment count year-by-year distribution
|
|
443
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
444
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
445
|
+
* @param {*} [options] Override http request option.
|
|
446
|
+
* @throws {RequiredError}
|
|
447
|
+
*/
|
|
448
|
+
async getInvestmentsDistribution(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioKPIDistributionResponse>> {
|
|
449
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInvestmentsDistribution(portfolioId, valueFrameworkId, options);
|
|
450
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
451
|
+
const localVarOperationServerBasePath = operationServerMap['PortfolioKPIApi.getInvestmentsDistribution']?.[localVarOperationServerIndex]?.url;
|
|
452
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
453
|
+
},
|
|
454
|
+
/**
|
|
455
|
+
* Break down budget overruns by year across all preferred options in the portfolio. For each year, shows per-budget whether the annual expenditure exceeds the budget capacity.
|
|
456
|
+
* @summary Budget overrun year-by-year distribution
|
|
457
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
458
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
459
|
+
* @param {*} [options] Override http request option.
|
|
460
|
+
* @throws {RequiredError}
|
|
461
|
+
*/
|
|
462
|
+
async getKpiOverrunDistribution(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioKPIOverrunDistributionResponse>> {
|
|
463
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getKpiOverrunDistribution(portfolioId, valueFrameworkId, options);
|
|
464
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
465
|
+
const localVarOperationServerBasePath = operationServerMap['PortfolioKPIApi.getKpiOverrunDistribution']?.[localVarOperationServerIndex]?.url;
|
|
466
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
467
|
+
},
|
|
468
|
+
/**
|
|
469
|
+
* Sum of final NPV of preferred options starting each year.
|
|
470
|
+
* @summary NPV year-by-year distribution
|
|
471
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
472
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
473
|
+
* @param {*} [options] Override http request option.
|
|
474
|
+
* @throws {RequiredError}
|
|
475
|
+
*/
|
|
476
|
+
async getNpvDistribution(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioKPIDistributionResponse>> {
|
|
477
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNpvDistribution(portfolioId, valueFrameworkId, options);
|
|
478
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
479
|
+
const localVarOperationServerBasePath = operationServerMap['PortfolioKPIApi.getNpvDistribution']?.[localVarOperationServerIndex]?.url;
|
|
480
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
481
|
+
},
|
|
482
|
+
/**
|
|
483
|
+
* Return year-by-year expenditure of preferred options linked to a specific budget within this portfolio.
|
|
484
|
+
* @summary Budget year-by-year expenditure
|
|
485
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
486
|
+
* @param {string} budgetId UUID of the budget
|
|
487
|
+
* @param {*} [options] Override http request option.
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
*/
|
|
490
|
+
async getPortfolioBudgetExpenditure(portfolioId: string, budgetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioBudgetExpenditureResponse>> {
|
|
491
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPortfolioBudgetExpenditure(portfolioId, budgetId, options);
|
|
492
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
493
|
+
const localVarOperationServerBasePath = operationServerMap['PortfolioKPIApi.getPortfolioBudgetExpenditure']?.[localVarOperationServerIndex]?.url;
|
|
494
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
495
|
+
},
|
|
496
|
+
/**
|
|
497
|
+
* For each budget referenced by preferred options in this portfolio, return usage and overrun statistics.
|
|
498
|
+
* @summary Budget usage summary
|
|
499
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
500
|
+
* @param {*} [options] Override http request option.
|
|
501
|
+
* @throws {RequiredError}
|
|
502
|
+
*/
|
|
503
|
+
async getPortfolioBudgetUsage(portfolioId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PortfolioBudgetUsageItem>>> {
|
|
504
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPortfolioBudgetUsage(portfolioId, options);
|
|
505
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
506
|
+
const localVarOperationServerBasePath = operationServerMap['PortfolioKPIApi.getPortfolioBudgetUsage']?.[localVarOperationServerIndex]?.url;
|
|
507
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
508
|
+
},
|
|
509
|
+
/**
|
|
510
|
+
* Return KPIs (nb_investments, total_cost, date range, budget_overrun, NPV) for the specified portfolio and value framework.
|
|
511
|
+
* @summary Get portfolio KPIs
|
|
512
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
513
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
514
|
+
* @param {*} [options] Override http request option.
|
|
515
|
+
* @throws {RequiredError}
|
|
516
|
+
*/
|
|
517
|
+
async getPortfolioKpis(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioKPIResponse>> {
|
|
518
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPortfolioKpis(portfolioId, valueFrameworkId, options);
|
|
519
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
520
|
+
const localVarOperationServerBasePath = operationServerMap['PortfolioKPIApi.getPortfolioKpis']?.[localVarOperationServerIndex]?.url;
|
|
521
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
522
|
+
},
|
|
523
|
+
/**
|
|
524
|
+
* Return the year-by-year summed raw metric value across all preferred options in the portfolio for a given metric. The metric_value is framework-independent.
|
|
525
|
+
* @summary Metric performance over time
|
|
526
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
527
|
+
* @param {string} metricId UUID of the metric
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
*/
|
|
531
|
+
async getPortfolioMetricPerformance(portfolioId: string, metricId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricPerformanceResponse>> {
|
|
532
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPortfolioMetricPerformance(portfolioId, metricId, options);
|
|
533
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
534
|
+
const localVarOperationServerBasePath = operationServerMap['PortfolioKPIApi.getPortfolioMetricPerformance']?.[localVarOperationServerIndex]?.url;
|
|
535
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
536
|
+
},
|
|
537
|
+
/**
|
|
538
|
+
* Return year-by-year monetized impact (sum of all metric monetary values) and investment cost (preferred option CAPEX by start year) across the portfolio.
|
|
539
|
+
* @summary Portfolio monetized impact over time
|
|
540
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
541
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
542
|
+
* @param {*} [options] Override http request option.
|
|
543
|
+
* @throws {RequiredError}
|
|
544
|
+
*/
|
|
545
|
+
async getPortfolioMonetizedImpact(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MonetizedImpactResponse>> {
|
|
546
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPortfolioMonetizedImpact(portfolioId, valueFrameworkId, options);
|
|
547
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
548
|
+
const localVarOperationServerBasePath = operationServerMap['PortfolioKPIApi.getPortfolioMonetizedImpact']?.[localVarOperationServerIndex]?.url;
|
|
549
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
550
|
+
},
|
|
551
|
+
}
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* PortfolioKPIApi - factory interface
|
|
556
|
+
*/
|
|
557
|
+
export const PortfolioKPIApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
558
|
+
const localVarFp = PortfolioKPIApiFp(configuration)
|
|
559
|
+
return {
|
|
560
|
+
/**
|
|
561
|
+
* Total cost of preferred options starting each year.
|
|
562
|
+
* @summary CAPEX year-by-year distribution
|
|
563
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
564
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
565
|
+
* @param {*} [options] Override http request option.
|
|
566
|
+
* @throws {RequiredError}
|
|
567
|
+
*/
|
|
568
|
+
getCapexDistribution(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<PortfolioKPIDistributionResponse> {
|
|
569
|
+
return localVarFp.getCapexDistribution(portfolioId, valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
570
|
+
},
|
|
571
|
+
/**
|
|
572
|
+
* Count of investments with a preferred option starting each year.
|
|
573
|
+
* @summary Investment count year-by-year distribution
|
|
574
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
575
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
576
|
+
* @param {*} [options] Override http request option.
|
|
577
|
+
* @throws {RequiredError}
|
|
578
|
+
*/
|
|
579
|
+
getInvestmentsDistribution(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<PortfolioKPIDistributionResponse> {
|
|
580
|
+
return localVarFp.getInvestmentsDistribution(portfolioId, valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
581
|
+
},
|
|
582
|
+
/**
|
|
583
|
+
* Break down budget overruns by year across all preferred options in the portfolio. For each year, shows per-budget whether the annual expenditure exceeds the budget capacity.
|
|
584
|
+
* @summary Budget overrun year-by-year distribution
|
|
585
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
586
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
587
|
+
* @param {*} [options] Override http request option.
|
|
588
|
+
* @throws {RequiredError}
|
|
589
|
+
*/
|
|
590
|
+
getKpiOverrunDistribution(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<PortfolioKPIOverrunDistributionResponse> {
|
|
591
|
+
return localVarFp.getKpiOverrunDistribution(portfolioId, valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
592
|
+
},
|
|
593
|
+
/**
|
|
594
|
+
* Sum of final NPV of preferred options starting each year.
|
|
595
|
+
* @summary NPV year-by-year distribution
|
|
596
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
597
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
598
|
+
* @param {*} [options] Override http request option.
|
|
599
|
+
* @throws {RequiredError}
|
|
600
|
+
*/
|
|
601
|
+
getNpvDistribution(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<PortfolioKPIDistributionResponse> {
|
|
602
|
+
return localVarFp.getNpvDistribution(portfolioId, valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
603
|
+
},
|
|
604
|
+
/**
|
|
605
|
+
* Return year-by-year expenditure of preferred options linked to a specific budget within this portfolio.
|
|
606
|
+
* @summary Budget year-by-year expenditure
|
|
607
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
608
|
+
* @param {string} budgetId UUID of the budget
|
|
609
|
+
* @param {*} [options] Override http request option.
|
|
610
|
+
* @throws {RequiredError}
|
|
611
|
+
*/
|
|
612
|
+
getPortfolioBudgetExpenditure(portfolioId: string, budgetId: string, options?: RawAxiosRequestConfig): AxiosPromise<PortfolioBudgetExpenditureResponse> {
|
|
613
|
+
return localVarFp.getPortfolioBudgetExpenditure(portfolioId, budgetId, options).then((request) => request(axios, basePath));
|
|
614
|
+
},
|
|
615
|
+
/**
|
|
616
|
+
* For each budget referenced by preferred options in this portfolio, return usage and overrun statistics.
|
|
617
|
+
* @summary Budget usage summary
|
|
618
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
*/
|
|
622
|
+
getPortfolioBudgetUsage(portfolioId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PortfolioBudgetUsageItem>> {
|
|
623
|
+
return localVarFp.getPortfolioBudgetUsage(portfolioId, options).then((request) => request(axios, basePath));
|
|
624
|
+
},
|
|
625
|
+
/**
|
|
626
|
+
* Return KPIs (nb_investments, total_cost, date range, budget_overrun, NPV) for the specified portfolio and value framework.
|
|
627
|
+
* @summary Get portfolio KPIs
|
|
628
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
629
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
630
|
+
* @param {*} [options] Override http request option.
|
|
631
|
+
* @throws {RequiredError}
|
|
632
|
+
*/
|
|
633
|
+
getPortfolioKpis(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<PortfolioKPIResponse> {
|
|
634
|
+
return localVarFp.getPortfolioKpis(portfolioId, valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
635
|
+
},
|
|
636
|
+
/**
|
|
637
|
+
* Return the year-by-year summed raw metric value across all preferred options in the portfolio for a given metric. The metric_value is framework-independent.
|
|
638
|
+
* @summary Metric performance over time
|
|
639
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
640
|
+
* @param {string} metricId UUID of the metric
|
|
641
|
+
* @param {*} [options] Override http request option.
|
|
642
|
+
* @throws {RequiredError}
|
|
643
|
+
*/
|
|
644
|
+
getPortfolioMetricPerformance(portfolioId: string, metricId: string, options?: RawAxiosRequestConfig): AxiosPromise<MetricPerformanceResponse> {
|
|
645
|
+
return localVarFp.getPortfolioMetricPerformance(portfolioId, metricId, options).then((request) => request(axios, basePath));
|
|
646
|
+
},
|
|
647
|
+
/**
|
|
648
|
+
* Return year-by-year monetized impact (sum of all metric monetary values) and investment cost (preferred option CAPEX by start year) across the portfolio.
|
|
649
|
+
* @summary Portfolio monetized impact over time
|
|
650
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
651
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
652
|
+
* @param {*} [options] Override http request option.
|
|
653
|
+
* @throws {RequiredError}
|
|
654
|
+
*/
|
|
655
|
+
getPortfolioMonetizedImpact(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<MonetizedImpactResponse> {
|
|
656
|
+
return localVarFp.getPortfolioMonetizedImpact(portfolioId, valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
657
|
+
},
|
|
658
|
+
};
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* PortfolioKPIApi - object-oriented interface
|
|
663
|
+
*/
|
|
664
|
+
export class PortfolioKPIApi extends BaseAPI {
|
|
665
|
+
/**
|
|
666
|
+
* Total cost of preferred options starting each year.
|
|
667
|
+
* @summary CAPEX year-by-year distribution
|
|
668
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
669
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
670
|
+
* @param {*} [options] Override http request option.
|
|
671
|
+
* @throws {RequiredError}
|
|
672
|
+
*/
|
|
673
|
+
public getCapexDistribution(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) {
|
|
674
|
+
return PortfolioKPIApiFp(this.configuration).getCapexDistribution(portfolioId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Count of investments with a preferred option starting each year.
|
|
679
|
+
* @summary Investment count year-by-year distribution
|
|
680
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
681
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
682
|
+
* @param {*} [options] Override http request option.
|
|
683
|
+
* @throws {RequiredError}
|
|
684
|
+
*/
|
|
685
|
+
public getInvestmentsDistribution(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) {
|
|
686
|
+
return PortfolioKPIApiFp(this.configuration).getInvestmentsDistribution(portfolioId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Break down budget overruns by year across all preferred options in the portfolio. For each year, shows per-budget whether the annual expenditure exceeds the budget capacity.
|
|
691
|
+
* @summary Budget overrun year-by-year distribution
|
|
692
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
693
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
694
|
+
* @param {*} [options] Override http request option.
|
|
695
|
+
* @throws {RequiredError}
|
|
696
|
+
*/
|
|
697
|
+
public getKpiOverrunDistribution(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) {
|
|
698
|
+
return PortfolioKPIApiFp(this.configuration).getKpiOverrunDistribution(portfolioId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Sum of final NPV of preferred options starting each year.
|
|
703
|
+
* @summary NPV year-by-year distribution
|
|
704
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
705
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
706
|
+
* @param {*} [options] Override http request option.
|
|
707
|
+
* @throws {RequiredError}
|
|
708
|
+
*/
|
|
709
|
+
public getNpvDistribution(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) {
|
|
710
|
+
return PortfolioKPIApiFp(this.configuration).getNpvDistribution(portfolioId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* Return year-by-year expenditure of preferred options linked to a specific budget within this portfolio.
|
|
715
|
+
* @summary Budget year-by-year expenditure
|
|
716
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
717
|
+
* @param {string} budgetId UUID of the budget
|
|
718
|
+
* @param {*} [options] Override http request option.
|
|
719
|
+
* @throws {RequiredError}
|
|
720
|
+
*/
|
|
721
|
+
public getPortfolioBudgetExpenditure(portfolioId: string, budgetId: string, options?: RawAxiosRequestConfig) {
|
|
722
|
+
return PortfolioKPIApiFp(this.configuration).getPortfolioBudgetExpenditure(portfolioId, budgetId, options).then((request) => request(this.axios, this.basePath));
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* For each budget referenced by preferred options in this portfolio, return usage and overrun statistics.
|
|
727
|
+
* @summary Budget usage summary
|
|
728
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
public getPortfolioBudgetUsage(portfolioId: string, options?: RawAxiosRequestConfig) {
|
|
733
|
+
return PortfolioKPIApiFp(this.configuration).getPortfolioBudgetUsage(portfolioId, options).then((request) => request(this.axios, this.basePath));
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Return KPIs (nb_investments, total_cost, date range, budget_overrun, NPV) for the specified portfolio and value framework.
|
|
738
|
+
* @summary Get portfolio KPIs
|
|
739
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
740
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
741
|
+
* @param {*} [options] Override http request option.
|
|
742
|
+
* @throws {RequiredError}
|
|
743
|
+
*/
|
|
744
|
+
public getPortfolioKpis(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) {
|
|
745
|
+
return PortfolioKPIApiFp(this.configuration).getPortfolioKpis(portfolioId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* Return the year-by-year summed raw metric value across all preferred options in the portfolio for a given metric. The metric_value is framework-independent.
|
|
750
|
+
* @summary Metric performance over time
|
|
751
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
752
|
+
* @param {string} metricId UUID of the metric
|
|
753
|
+
* @param {*} [options] Override http request option.
|
|
754
|
+
* @throws {RequiredError}
|
|
755
|
+
*/
|
|
756
|
+
public getPortfolioMetricPerformance(portfolioId: string, metricId: string, options?: RawAxiosRequestConfig) {
|
|
757
|
+
return PortfolioKPIApiFp(this.configuration).getPortfolioMetricPerformance(portfolioId, metricId, options).then((request) => request(this.axios, this.basePath));
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* Return year-by-year monetized impact (sum of all metric monetary values) and investment cost (preferred option CAPEX by start year) across the portfolio.
|
|
762
|
+
* @summary Portfolio monetized impact over time
|
|
763
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
764
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
765
|
+
* @param {*} [options] Override http request option.
|
|
766
|
+
* @throws {RequiredError}
|
|
767
|
+
*/
|
|
768
|
+
public getPortfolioMonetizedImpact(portfolioId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) {
|
|
769
|
+
return PortfolioKPIApiFp(this.configuration).getPortfolioMonetizedImpact(portfolioId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
|