@cosmotech/aip-client 0.4.0-dev5 → 1.0.0-dev2
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 +22 -2
- package/api/budget-api.ts +1 -1
- package/api/default-api.ts +1 -1
- package/api/impact-api.ts +1 -1
- package/api/investment-api.ts +1 -1
- 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 +9 -11
- package/api/portfolio-api.ts +1 -1
- package/api/portfolio-investment-api.ts +1 -1
- package/api/portfolio-kpiapi.ts +1 -1
- package/api/preferred-option-api.ts +1 -1
- package/api/prioritization-api.ts +1022 -0
- 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 +1 -1
- package/dist/api/budget-api.js +1 -1
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/impact-api.d.ts +1 -1
- package/dist/api/impact-api.js +1 -1
- package/dist/api/investment-api.d.ts +1 -1
- package/dist/api/investment-api.js +1 -1
- 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 +9 -9
- package/dist/api/option-api.js +5 -7
- package/dist/api/portfolio-api.d.ts +1 -1
- package/dist/api/portfolio-api.js +1 -1
- package/dist/api/portfolio-investment-api.d.ts +1 -1
- package/dist/api/portfolio-investment-api.js +1 -1
- package/dist/api/portfolio-kpiapi.d.ts +1 -1
- package/dist/api/portfolio-kpiapi.js +1 -1
- package/dist/api/preferred-option-api.d.ts +1 -1
- package/dist/api/preferred-option-api.js +1 -1
- package/dist/api/prioritization-api.d.ts +467 -0
- package/dist/api/prioritization-api.js +974 -0
- 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 +1 -1
- package/dist/esm/api/budget-api.js +1 -1
- package/dist/esm/api/default-api.d.ts +1 -1
- package/dist/esm/api/default-api.js +1 -1
- package/dist/esm/api/impact-api.d.ts +1 -1
- package/dist/esm/api/impact-api.js +1 -1
- package/dist/esm/api/investment-api.d.ts +1 -1
- package/dist/esm/api/investment-api.js +1 -1
- 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 +9 -9
- package/dist/esm/api/option-api.js +5 -7
- package/dist/esm/api/portfolio-api.d.ts +1 -1
- package/dist/esm/api/portfolio-api.js +1 -1
- package/dist/esm/api/portfolio-investment-api.d.ts +1 -1
- package/dist/esm/api/portfolio-investment-api.js +1 -1
- package/dist/esm/api/portfolio-kpiapi.d.ts +1 -1
- package/dist/esm/api/portfolio-kpiapi.js +1 -1
- 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/prioritization-api.d.ts +467 -0
- package/dist/esm/api/prioritization-api.js +967 -0
- 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 +1 -1
- 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 -1
- package/dist/esm/models/impact-apiresponse.js +1 -1
- package/dist/esm/models/impact-bulk-item.d.ts +1 -1
- package/dist/esm/models/impact-bulk-item.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 +7 -0
- package/dist/esm/models/index.js +7 -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 +1 -1
- package/dist/esm/models/metric-performance-response.js +1 -1
- package/dist/esm/models/metric-performance-year.d.ts +1 -1
- package/dist/esm/models/metric-performance-year.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/monetized-impact-detailed-response.d.ts +1 -1
- package/dist/esm/models/monetized-impact-detailed-response.js +1 -1
- package/dist/esm/models/monetized-impact-detailed-year.d.ts +1 -1
- package/dist/esm/models/monetized-impact-detailed-year.js +1 -1
- package/dist/esm/models/monetized-impact-metric-value.d.ts +2 -1
- package/dist/esm/models/monetized-impact-metric-value.js +1 -1
- package/dist/esm/models/monetized-impact-response.d.ts +1 -1
- package/dist/esm/models/monetized-impact-response.js +1 -1
- package/dist/esm/models/monetized-impact-year.d.ts +1 -1
- package/dist/esm/models/monetized-impact-year.js +1 -1
- package/dist/esm/models/objective-create.d.ts +1 -1
- package/dist/esm/models/objective-create.js +1 -1
- package/dist/esm/models/objective-response.d.ts +1 -1
- package/dist/esm/models/objective-response.js +1 -1
- package/dist/esm/models/objective-update.d.ts +1 -1
- package/dist/esm/models/objective-update.js +1 -1
- package/dist/esm/models/objective-weight-create.d.ts +1 -1
- package/dist/esm/models/objective-weight-create.js +1 -1
- package/dist/esm/models/objective-weight-response.d.ts +1 -1
- package/dist/esm/models/objective-weight-response.js +1 -1
- package/dist/esm/models/objective-weight-update.d.ts +1 -1
- package/dist/esm/models/objective-weight-update.js +1 -1
- package/dist/esm/models/option-chart-kpi.d.ts +1 -1
- package/dist/esm/models/option-chart-kpi.js +1 -1
- package/dist/esm/models/option-chart-kpis-yearly.d.ts +1 -1
- package/dist/esm/models/option-chart-kpis-yearly.js +1 -1
- package/dist/esm/models/option-create.d.ts +1 -1
- package/dist/esm/models/option-create.js +1 -1
- package/dist/esm/models/option-overview-response.d.ts +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 +1 -1
- package/dist/esm/models/portfolio-budget-expenditure-response.js +1 -1
- package/dist/esm/models/portfolio-budget-expenditure-year.d.ts +1 -1
- package/dist/esm/models/portfolio-budget-expenditure-year.js +1 -1
- package/dist/esm/models/portfolio-budget-usage-item.d.ts +2 -1
- package/dist/esm/models/portfolio-budget-usage-item.js +1 -1
- package/dist/esm/models/portfolio-bulk-delete-request.d.ts +1 -1
- package/dist/esm/models/portfolio-bulk-delete-request.js +1 -1
- package/dist/esm/models/portfolio-create.d.ts +1 -1
- package/dist/esm/models/portfolio-create.js +1 -1
- package/dist/esm/models/portfolio-investment-bulk-add-request.d.ts +1 -1
- package/dist/esm/models/portfolio-investment-bulk-add-request.js +1 -1
- package/dist/esm/models/portfolio-investment-bulk-add-response.d.ts +1 -1
- package/dist/esm/models/portfolio-investment-bulk-add-response.js +1 -1
- package/dist/esm/models/portfolio-investment-bulk-delete-request.d.ts +1 -1
- package/dist/esm/models/portfolio-investment-bulk-delete-request.js +1 -1
- package/dist/esm/models/portfolio-investment-overview-response.d.ts +1 -1
- package/dist/esm/models/portfolio-investment-overview-response.js +1 -1
- package/dist/esm/models/portfolio-investment-response.d.ts +1 -1
- package/dist/esm/models/portfolio-investment-response.js +1 -1
- package/dist/esm/models/portfolio-kpidistribution-budget-item.d.ts +1 -1
- package/dist/esm/models/portfolio-kpidistribution-budget-item.js +1 -1
- package/dist/esm/models/portfolio-kpidistribution-response.d.ts +1 -1
- package/dist/esm/models/portfolio-kpidistribution-response.js +1 -1
- package/dist/esm/models/portfolio-kpidistribution-year-overrun.d.ts +1 -1
- package/dist/esm/models/portfolio-kpidistribution-year-overrun.js +1 -1
- package/dist/esm/models/portfolio-kpidistribution-year-value.d.ts +1 -1
- package/dist/esm/models/portfolio-kpidistribution-year-value.js +1 -1
- package/dist/esm/models/portfolio-kpioverrun-distribution-response.d.ts +1 -1
- package/dist/esm/models/portfolio-kpioverrun-distribution-response.js +1 -1
- package/dist/esm/models/portfolio-kpiresponse.d.ts +1 -1
- package/dist/esm/models/portfolio-kpiresponse.js +1 -1
- package/dist/esm/models/portfolio-overview-item-response.d.ts +1 -1
- package/dist/esm/models/portfolio-overview-item-response.js +1 -1
- package/dist/esm/models/portfolio-response.d.ts +1 -1
- package/dist/esm/models/portfolio-response.js +1 -1
- package/dist/esm/models/portfolio-update.d.ts +1 -1
- package/dist/esm/models/portfolio-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/prioritization-overview-response.d.ts +71 -0
- package/dist/esm/models/prioritization-overview-response.js +14 -0
- package/dist/esm/models/prioritization-result-response.d.ts +47 -0
- package/dist/esm/models/prioritization-result-response.js +14 -0
- package/dist/esm/models/prioritization-results-response.d.ts +19 -0
- package/dist/esm/models/prioritization-results-response.js +14 -0
- package/dist/esm/models/prioritization-scenario-response.d.ts +38 -0
- package/dist/esm/models/prioritization-scenario-response.js +14 -0
- package/dist/esm/models/prioritization-scenario-run-request.d.ts +24 -0
- package/dist/esm/models/prioritization-scenario-run-request.js +14 -0
- package/dist/esm/models/prioritization-scenario-status-response.d.ts +20 -0
- package/dist/esm/models/prioritization-scenario-status-response.js +14 -0
- package/dist/esm/models/scenario-status.d.ts +19 -0
- package/dist/esm/models/scenario-status.js +20 -0
- package/dist/esm/models/validation-error.d.ts +1 -1
- package/dist/esm/models/validation-error.js +1 -1
- package/dist/esm/models/value-framework-create.d.ts +1 -1
- package/dist/esm/models/value-framework-create.js +1 -1
- package/dist/esm/models/value-framework-response.d.ts +1 -1
- package/dist/esm/models/value-framework-response.js +1 -1
- package/dist/esm/models/value-framework-update.d.ts +1 -1
- package/dist/esm/models/value-framework-update.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/budget-bulk-delete-request.d.ts +1 -1
- 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 -1
- package/dist/models/impact-apiresponse.js +1 -1
- package/dist/models/impact-bulk-item.d.ts +1 -1
- package/dist/models/impact-bulk-item.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 +7 -0
- package/dist/models/index.js +7 -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 +1 -1
- package/dist/models/metric-performance-response.js +1 -1
- package/dist/models/metric-performance-year.d.ts +1 -1
- package/dist/models/metric-performance-year.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/monetized-impact-detailed-response.d.ts +1 -1
- package/dist/models/monetized-impact-detailed-response.js +1 -1
- package/dist/models/monetized-impact-detailed-year.d.ts +1 -1
- package/dist/models/monetized-impact-detailed-year.js +1 -1
- package/dist/models/monetized-impact-metric-value.d.ts +2 -1
- package/dist/models/monetized-impact-metric-value.js +1 -1
- package/dist/models/monetized-impact-response.d.ts +1 -1
- package/dist/models/monetized-impact-response.js +1 -1
- package/dist/models/monetized-impact-year.d.ts +1 -1
- package/dist/models/monetized-impact-year.js +1 -1
- package/dist/models/objective-create.d.ts +1 -1
- package/dist/models/objective-create.js +1 -1
- package/dist/models/objective-response.d.ts +1 -1
- package/dist/models/objective-response.js +1 -1
- package/dist/models/objective-update.d.ts +1 -1
- package/dist/models/objective-update.js +1 -1
- package/dist/models/objective-weight-create.d.ts +1 -1
- package/dist/models/objective-weight-create.js +1 -1
- package/dist/models/objective-weight-response.d.ts +1 -1
- package/dist/models/objective-weight-response.js +1 -1
- package/dist/models/objective-weight-update.d.ts +1 -1
- package/dist/models/objective-weight-update.js +1 -1
- package/dist/models/option-chart-kpi.d.ts +1 -1
- package/dist/models/option-chart-kpi.js +1 -1
- package/dist/models/option-chart-kpis-yearly.d.ts +1 -1
- package/dist/models/option-chart-kpis-yearly.js +1 -1
- package/dist/models/option-create.d.ts +1 -1
- package/dist/models/option-create.js +1 -1
- package/dist/models/option-overview-response.d.ts +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 +1 -1
- package/dist/models/portfolio-budget-expenditure-response.js +1 -1
- package/dist/models/portfolio-budget-expenditure-year.d.ts +1 -1
- package/dist/models/portfolio-budget-expenditure-year.js +1 -1
- package/dist/models/portfolio-budget-usage-item.d.ts +2 -1
- package/dist/models/portfolio-budget-usage-item.js +1 -1
- package/dist/models/portfolio-bulk-delete-request.d.ts +1 -1
- package/dist/models/portfolio-bulk-delete-request.js +1 -1
- package/dist/models/portfolio-create.d.ts +1 -1
- package/dist/models/portfolio-create.js +1 -1
- package/dist/models/portfolio-investment-bulk-add-request.d.ts +1 -1
- package/dist/models/portfolio-investment-bulk-add-request.js +1 -1
- package/dist/models/portfolio-investment-bulk-add-response.d.ts +1 -1
- package/dist/models/portfolio-investment-bulk-add-response.js +1 -1
- package/dist/models/portfolio-investment-bulk-delete-request.d.ts +1 -1
- package/dist/models/portfolio-investment-bulk-delete-request.js +1 -1
- package/dist/models/portfolio-investment-overview-response.d.ts +1 -1
- package/dist/models/portfolio-investment-overview-response.js +1 -1
- package/dist/models/portfolio-investment-response.d.ts +1 -1
- package/dist/models/portfolio-investment-response.js +1 -1
- package/dist/models/portfolio-kpidistribution-budget-item.d.ts +1 -1
- package/dist/models/portfolio-kpidistribution-budget-item.js +1 -1
- package/dist/models/portfolio-kpidistribution-response.d.ts +1 -1
- package/dist/models/portfolio-kpidistribution-response.js +1 -1
- package/dist/models/portfolio-kpidistribution-year-overrun.d.ts +1 -1
- package/dist/models/portfolio-kpidistribution-year-overrun.js +1 -1
- package/dist/models/portfolio-kpidistribution-year-value.d.ts +1 -1
- package/dist/models/portfolio-kpidistribution-year-value.js +1 -1
- package/dist/models/portfolio-kpioverrun-distribution-response.d.ts +1 -1
- package/dist/models/portfolio-kpioverrun-distribution-response.js +1 -1
- package/dist/models/portfolio-kpiresponse.d.ts +1 -1
- package/dist/models/portfolio-kpiresponse.js +1 -1
- package/dist/models/portfolio-overview-item-response.d.ts +1 -1
- package/dist/models/portfolio-overview-item-response.js +1 -1
- package/dist/models/portfolio-response.d.ts +1 -1
- package/dist/models/portfolio-response.js +1 -1
- package/dist/models/portfolio-update.d.ts +1 -1
- package/dist/models/portfolio-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/prioritization-overview-response.d.ts +71 -0
- package/dist/models/prioritization-overview-response.js +15 -0
- package/dist/models/prioritization-result-response.d.ts +47 -0
- package/dist/models/prioritization-result-response.js +15 -0
- package/dist/models/prioritization-results-response.d.ts +19 -0
- package/dist/models/prioritization-results-response.js +15 -0
- package/dist/models/prioritization-scenario-response.d.ts +38 -0
- package/dist/models/prioritization-scenario-response.js +15 -0
- package/dist/models/prioritization-scenario-run-request.d.ts +24 -0
- package/dist/models/prioritization-scenario-run-request.js +15 -0
- package/dist/models/prioritization-scenario-status-response.d.ts +20 -0
- package/dist/models/prioritization-scenario-status-response.js +15 -0
- package/dist/models/scenario-status.d.ts +19 -0
- package/dist/models/scenario-status.js +23 -0
- package/dist/models/validation-error.d.ts +1 -1
- package/dist/models/validation-error.js +1 -1
- package/dist/models/value-framework-create.d.ts +1 -1
- package/dist/models/value-framework-create.js +1 -1
- package/dist/models/value-framework-response.d.ts +1 -1
- package/dist/models/value-framework-response.js +1 -1
- package/dist/models/value-framework-update.d.ts +1 -1
- package/dist/models/value-framework-update.js +1 -1
- package/docs/MonetizedImpactMetricValue.md +2 -0
- package/docs/OptionApi.md +2 -2
- package/docs/PortfolioBudgetUsageItem.md +2 -0
- package/docs/PrioritizationApi.md +705 -0
- package/docs/PrioritizationOverviewResponse.md +57 -0
- package/docs/PrioritizationResultResponse.md +39 -0
- package/docs/PrioritizationResultsResponse.md +23 -0
- package/docs/PrioritizationScenarioResponse.md +43 -0
- package/docs/PrioritizationScenarioRunRequest.md +23 -0
- package/docs/PrioritizationScenarioStatusResponse.md +25 -0
- package/docs/ScenarioStatus.md +16 -0
- package/index.ts +1 -1
- package/models/budget-bulk-delete-request.ts +1 -1
- 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 -1
- package/models/impact-bulk-item.ts +1 -1
- package/models/impact-create.ts +1 -1
- package/models/impact-update.ts +1 -1
- package/models/index.ts +7 -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 +1 -1
- package/models/metric-performance-year.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/monetized-impact-detailed-response.ts +1 -1
- package/models/monetized-impact-detailed-year.ts +1 -1
- package/models/monetized-impact-metric-value.ts +2 -1
- package/models/monetized-impact-response.ts +1 -1
- package/models/monetized-impact-year.ts +1 -1
- package/models/objective-create.ts +1 -1
- package/models/objective-response.ts +1 -1
- package/models/objective-update.ts +1 -1
- package/models/objective-weight-create.ts +1 -1
- package/models/objective-weight-response.ts +1 -1
- package/models/objective-weight-update.ts +1 -1
- package/models/option-chart-kpi.ts +1 -1
- package/models/option-chart-kpis-yearly.ts +1 -1
- package/models/option-create.ts +1 -1
- package/models/option-overview-response.ts +1 -1
- package/models/option-response.ts +1 -1
- package/models/option-update.ts +1 -1
- package/models/portfolio-budget-expenditure-response.ts +1 -1
- package/models/portfolio-budget-expenditure-year.ts +1 -1
- package/models/portfolio-budget-usage-item.ts +2 -1
- package/models/portfolio-bulk-delete-request.ts +1 -1
- package/models/portfolio-create.ts +1 -1
- package/models/portfolio-investment-bulk-add-request.ts +1 -1
- package/models/portfolio-investment-bulk-add-response.ts +1 -1
- package/models/portfolio-investment-bulk-delete-request.ts +1 -1
- package/models/portfolio-investment-overview-response.ts +1 -1
- package/models/portfolio-investment-response.ts +1 -1
- package/models/portfolio-kpidistribution-budget-item.ts +1 -1
- package/models/portfolio-kpidistribution-response.ts +1 -1
- package/models/portfolio-kpidistribution-year-overrun.ts +1 -1
- package/models/portfolio-kpidistribution-year-value.ts +1 -1
- package/models/portfolio-kpioverrun-distribution-response.ts +1 -1
- package/models/portfolio-kpiresponse.ts +1 -1
- package/models/portfolio-overview-item-response.ts +1 -1
- package/models/portfolio-response.ts +1 -1
- package/models/portfolio-update.ts +1 -1
- package/models/preferred-option-request.ts +1 -1
- package/models/preferred-option-response.ts +1 -1
- package/models/prioritization-overview-response.ts +77 -0
- package/models/prioritization-result-response.ts +53 -0
- package/models/prioritization-results-response.ts +27 -0
- package/models/prioritization-scenario-response.ts +48 -0
- package/models/prioritization-scenario-run-request.ts +30 -0
- package/models/prioritization-scenario-status-response.ts +30 -0
- package/models/scenario-status.ts +29 -0
- 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,974 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Asset Investment Planning
|
|
6
|
+
* API for Asset Investment Planning
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0-dev2
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.PrioritizationApi = exports.PrioritizationApiFactory = exports.PrioritizationApiFp = exports.PrioritizationApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* PrioritizationApi - axios parameter creator
|
|
34
|
+
*/
|
|
35
|
+
const PrioritizationApiAxiosParamCreator = function (configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* Abort the currently running prioritization for this portfolio.
|
|
39
|
+
* @summary Abort a running prioritization
|
|
40
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
abortScenario: (portfolioId_1, ...args_1) => __awaiter(this, [portfolioId_1, ...args_1], void 0, function* (portfolioId, options = {}) {
|
|
45
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
46
|
+
(0, common_1.assertParamExists)('abortScenario', 'portfolioId', portfolioId);
|
|
47
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/abort`
|
|
48
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
59
|
+
// oauth required
|
|
60
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
61
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
return {
|
|
66
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
67
|
+
options: localVarRequestOptions,
|
|
68
|
+
};
|
|
69
|
+
}),
|
|
70
|
+
/**
|
|
71
|
+
* Delete the scenario and all its results for this portfolio.
|
|
72
|
+
* @summary Delete the prioritization scenario
|
|
73
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
deleteScenario: (portfolioId_1, ...args_1) => __awaiter(this, [portfolioId_1, ...args_1], void 0, function* (portfolioId, options = {}) {
|
|
78
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
79
|
+
(0, common_1.assertParamExists)('deleteScenario', 'portfolioId', portfolioId);
|
|
80
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/`
|
|
81
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
82
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
84
|
+
let baseOptions;
|
|
85
|
+
if (configuration) {
|
|
86
|
+
baseOptions = configuration.baseOptions;
|
|
87
|
+
}
|
|
88
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
89
|
+
const localVarHeaderParameter = {};
|
|
90
|
+
const localVarQueryParameter = {};
|
|
91
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
92
|
+
// oauth required
|
|
93
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
94
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
95
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
96
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
97
|
+
return {
|
|
98
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
99
|
+
options: localVarRequestOptions,
|
|
100
|
+
};
|
|
101
|
+
}),
|
|
102
|
+
/**
|
|
103
|
+
* Get the current prioritization scenario for this portfolio, including config and status.
|
|
104
|
+
* @summary Get the prioritization scenario
|
|
105
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
getScenario: (portfolioId_1, ...args_1) => __awaiter(this, [portfolioId_1, ...args_1], void 0, function* (portfolioId, options = {}) {
|
|
110
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('getScenario', 'portfolioId', portfolioId);
|
|
112
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/`
|
|
113
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
114
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
115
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
116
|
+
let baseOptions;
|
|
117
|
+
if (configuration) {
|
|
118
|
+
baseOptions = configuration.baseOptions;
|
|
119
|
+
}
|
|
120
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
121
|
+
const localVarHeaderParameter = {};
|
|
122
|
+
const localVarQueryParameter = {};
|
|
123
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
124
|
+
// oauth required
|
|
125
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
126
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
127
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
128
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
129
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
130
|
+
return {
|
|
131
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
132
|
+
options: localVarRequestOptions,
|
|
133
|
+
};
|
|
134
|
+
}),
|
|
135
|
+
/**
|
|
136
|
+
* Year-by-year expenditure of performed investments linked to a specific budget within this scenario.
|
|
137
|
+
* @summary Per-year expenditure for one budget (performed investments)
|
|
138
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
139
|
+
* @param {string} budgetId UUID of the budget
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
getScenarioBudgetExpenditure: (portfolioId_1, budgetId_1, ...args_1) => __awaiter(this, [portfolioId_1, budgetId_1, ...args_1], void 0, function* (portfolioId, budgetId, options = {}) {
|
|
144
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
145
|
+
(0, common_1.assertParamExists)('getScenarioBudgetExpenditure', 'portfolioId', portfolioId);
|
|
146
|
+
// verify required parameter 'budgetId' is not null or undefined
|
|
147
|
+
(0, common_1.assertParamExists)('getScenarioBudgetExpenditure', 'budgetId', budgetId);
|
|
148
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/budget-expenditure/{budget_id}`
|
|
149
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)))
|
|
150
|
+
.replace(`{${"budget_id"}}`, encodeURIComponent(String(budgetId)));
|
|
151
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
152
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
153
|
+
let baseOptions;
|
|
154
|
+
if (configuration) {
|
|
155
|
+
baseOptions = configuration.baseOptions;
|
|
156
|
+
}
|
|
157
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
158
|
+
const localVarHeaderParameter = {};
|
|
159
|
+
const localVarQueryParameter = {};
|
|
160
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
161
|
+
// oauth required
|
|
162
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
163
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
164
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
165
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
166
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
167
|
+
return {
|
|
168
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
169
|
+
options: localVarRequestOptions,
|
|
170
|
+
};
|
|
171
|
+
}),
|
|
172
|
+
/**
|
|
173
|
+
* Year-by-year expenditure for every budget referenced by a performed investment in the run.
|
|
174
|
+
* @summary Per-budget expenditure for performed investments
|
|
175
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
getScenarioBudgetExpenditureAll: (portfolioId_1, ...args_1) => __awaiter(this, [portfolioId_1, ...args_1], void 0, function* (portfolioId, options = {}) {
|
|
180
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
181
|
+
(0, common_1.assertParamExists)('getScenarioBudgetExpenditureAll', 'portfolioId', portfolioId);
|
|
182
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/budget-expenditure-all`
|
|
183
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
184
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
185
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
186
|
+
let baseOptions;
|
|
187
|
+
if (configuration) {
|
|
188
|
+
baseOptions = configuration.baseOptions;
|
|
189
|
+
}
|
|
190
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
191
|
+
const localVarHeaderParameter = {};
|
|
192
|
+
const localVarQueryParameter = {};
|
|
193
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
194
|
+
// oauth required
|
|
195
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
196
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
197
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
198
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
199
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
200
|
+
return {
|
|
201
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
202
|
+
options: localVarRequestOptions,
|
|
203
|
+
};
|
|
204
|
+
}),
|
|
205
|
+
/**
|
|
206
|
+
* Year-by-year expenditure of performed investments that have no budget assigned within this scenario.
|
|
207
|
+
* @summary Per-year expenditure for performed investments with no budget
|
|
208
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
getScenarioBudgetExpenditureNoBudget: (portfolioId_1, ...args_1) => __awaiter(this, [portfolioId_1, ...args_1], void 0, function* (portfolioId, options = {}) {
|
|
213
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
214
|
+
(0, common_1.assertParamExists)('getScenarioBudgetExpenditureNoBudget', 'portfolioId', portfolioId);
|
|
215
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/budget-expenditure-no-budget`
|
|
216
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
217
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
218
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
219
|
+
let baseOptions;
|
|
220
|
+
if (configuration) {
|
|
221
|
+
baseOptions = configuration.baseOptions;
|
|
222
|
+
}
|
|
223
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
224
|
+
const localVarHeaderParameter = {};
|
|
225
|
+
const localVarQueryParameter = {};
|
|
226
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
227
|
+
// oauth required
|
|
228
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
229
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
230
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
231
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
232
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
233
|
+
return {
|
|
234
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
235
|
+
options: localVarRequestOptions,
|
|
236
|
+
};
|
|
237
|
+
}),
|
|
238
|
+
/**
|
|
239
|
+
* Budget usage statistics restricted to the investments performed in the scenario run. For each budget referenced by a performed investment, returns usage and overrun statistics.
|
|
240
|
+
* @summary Budget usage for performed investments
|
|
241
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
242
|
+
* @param {*} [options] Override http request option.
|
|
243
|
+
* @throws {RequiredError}
|
|
244
|
+
*/
|
|
245
|
+
getScenarioBudgetUsage: (portfolioId_1, ...args_1) => __awaiter(this, [portfolioId_1, ...args_1], void 0, function* (portfolioId, options = {}) {
|
|
246
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
247
|
+
(0, common_1.assertParamExists)('getScenarioBudgetUsage', 'portfolioId', portfolioId);
|
|
248
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/budget-usage`
|
|
249
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
250
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
251
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
252
|
+
let baseOptions;
|
|
253
|
+
if (configuration) {
|
|
254
|
+
baseOptions = configuration.baseOptions;
|
|
255
|
+
}
|
|
256
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
257
|
+
const localVarHeaderParameter = {};
|
|
258
|
+
const localVarQueryParameter = {};
|
|
259
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
260
|
+
// oauth required
|
|
261
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
262
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
263
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
264
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
265
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
266
|
+
return {
|
|
267
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
268
|
+
options: localVarRequestOptions,
|
|
269
|
+
};
|
|
270
|
+
}),
|
|
271
|
+
/**
|
|
272
|
+
* Aggregate KPIs comparing the prioritization run against the full portfolio (Overview tab of the scenario results).
|
|
273
|
+
* @summary Run vs portfolio comparison KPIs
|
|
274
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
275
|
+
* @param {*} [options] Override http request option.
|
|
276
|
+
* @throws {RequiredError}
|
|
277
|
+
*/
|
|
278
|
+
getScenarioOverview: (portfolioId_1, ...args_1) => __awaiter(this, [portfolioId_1, ...args_1], void 0, function* (portfolioId, options = {}) {
|
|
279
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
280
|
+
(0, common_1.assertParamExists)('getScenarioOverview', 'portfolioId', portfolioId);
|
|
281
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/overview`
|
|
282
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
283
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
284
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
285
|
+
let baseOptions;
|
|
286
|
+
if (configuration) {
|
|
287
|
+
baseOptions = configuration.baseOptions;
|
|
288
|
+
}
|
|
289
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
290
|
+
const localVarHeaderParameter = {};
|
|
291
|
+
const localVarQueryParameter = {};
|
|
292
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
293
|
+
// oauth required
|
|
294
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
295
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
296
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
297
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
298
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
299
|
+
return {
|
|
300
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
301
|
+
options: localVarRequestOptions,
|
|
302
|
+
};
|
|
303
|
+
}),
|
|
304
|
+
/**
|
|
305
|
+
* Get the results of the last successful prioritization run. Returns the list of investments with their rank and performed/unperformed status.
|
|
306
|
+
* @summary Get prioritization results
|
|
307
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
*/
|
|
311
|
+
getScenarioResults: (portfolioId_1, ...args_1) => __awaiter(this, [portfolioId_1, ...args_1], void 0, function* (portfolioId, options = {}) {
|
|
312
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
313
|
+
(0, common_1.assertParamExists)('getScenarioResults', 'portfolioId', portfolioId);
|
|
314
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/results`
|
|
315
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
316
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
317
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
318
|
+
let baseOptions;
|
|
319
|
+
if (configuration) {
|
|
320
|
+
baseOptions = configuration.baseOptions;
|
|
321
|
+
}
|
|
322
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
323
|
+
const localVarHeaderParameter = {};
|
|
324
|
+
const localVarQueryParameter = {};
|
|
325
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
326
|
+
// oauth required
|
|
327
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
328
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
329
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
330
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
331
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
332
|
+
return {
|
|
333
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
334
|
+
options: localVarRequestOptions,
|
|
335
|
+
};
|
|
336
|
+
}),
|
|
337
|
+
/**
|
|
338
|
+
* Lightweight polling endpoint to check the status of a prioritization run.
|
|
339
|
+
* @summary Get prioritization run status
|
|
340
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
341
|
+
* @param {*} [options] Override http request option.
|
|
342
|
+
* @throws {RequiredError}
|
|
343
|
+
*/
|
|
344
|
+
getScenarioStatus: (portfolioId_1, ...args_1) => __awaiter(this, [portfolioId_1, ...args_1], void 0, function* (portfolioId, options = {}) {
|
|
345
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
346
|
+
(0, common_1.assertParamExists)('getScenarioStatus', 'portfolioId', portfolioId);
|
|
347
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/status`
|
|
348
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
349
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
350
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
351
|
+
let baseOptions;
|
|
352
|
+
if (configuration) {
|
|
353
|
+
baseOptions = configuration.baseOptions;
|
|
354
|
+
}
|
|
355
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
356
|
+
const localVarHeaderParameter = {};
|
|
357
|
+
const localVarQueryParameter = {};
|
|
358
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
359
|
+
// oauth required
|
|
360
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
361
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
362
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
363
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
364
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
365
|
+
return {
|
|
366
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
367
|
+
options: localVarRequestOptions,
|
|
368
|
+
};
|
|
369
|
+
}),
|
|
370
|
+
/**
|
|
371
|
+
* Year-by-year monetized impact (sum of all metric monetary values) and CAPEX, restricted to the investments performed in the scenario run. Uses the scenario\'s value framework.
|
|
372
|
+
* @summary Monetized impact filtered to performed investments
|
|
373
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
374
|
+
* @param {*} [options] Override http request option.
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
*/
|
|
377
|
+
getScenarioValueFrameworkImpact: (portfolioId_1, ...args_1) => __awaiter(this, [portfolioId_1, ...args_1], void 0, function* (portfolioId, options = {}) {
|
|
378
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
379
|
+
(0, common_1.assertParamExists)('getScenarioValueFrameworkImpact', 'portfolioId', portfolioId);
|
|
380
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/value-framework-impact`
|
|
381
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
382
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
383
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
384
|
+
let baseOptions;
|
|
385
|
+
if (configuration) {
|
|
386
|
+
baseOptions = configuration.baseOptions;
|
|
387
|
+
}
|
|
388
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
389
|
+
const localVarHeaderParameter = {};
|
|
390
|
+
const localVarQueryParameter = {};
|
|
391
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
392
|
+
// oauth required
|
|
393
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
394
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
395
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
396
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
397
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
398
|
+
return {
|
|
399
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
400
|
+
options: localVarRequestOptions,
|
|
401
|
+
};
|
|
402
|
+
}),
|
|
403
|
+
/**
|
|
404
|
+
* Year-by-year monetized impact split by individual metric and CAPEX, restricted to the investments performed in the scenario run. Uses the scenario\'s value framework.
|
|
405
|
+
* @summary Monetized impact (split by metric) filtered to performed investments
|
|
406
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
407
|
+
* @param {*} [options] Override http request option.
|
|
408
|
+
* @throws {RequiredError}
|
|
409
|
+
*/
|
|
410
|
+
getScenarioValueFrameworkImpactDetailed: (portfolioId_1, ...args_1) => __awaiter(this, [portfolioId_1, ...args_1], void 0, function* (portfolioId, options = {}) {
|
|
411
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
412
|
+
(0, common_1.assertParamExists)('getScenarioValueFrameworkImpactDetailed', 'portfolioId', portfolioId);
|
|
413
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/value-framework-impact/detailed`
|
|
414
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
415
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
416
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
417
|
+
let baseOptions;
|
|
418
|
+
if (configuration) {
|
|
419
|
+
baseOptions = configuration.baseOptions;
|
|
420
|
+
}
|
|
421
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
422
|
+
const localVarHeaderParameter = {};
|
|
423
|
+
const localVarQueryParameter = {};
|
|
424
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
425
|
+
// oauth required
|
|
426
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
427
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
428
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
429
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
430
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
431
|
+
return {
|
|
432
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
433
|
+
options: localVarRequestOptions,
|
|
434
|
+
};
|
|
435
|
+
}),
|
|
436
|
+
/**
|
|
437
|
+
* Create a new prioritization scenario for this portfolio (or update the existing one) with the given value framework and metric, then immediately trigger the prioritization algorithm. Returns 202 Accepted — poll GET /status for progress.
|
|
438
|
+
* @summary Create/update and run a prioritization scenario
|
|
439
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
440
|
+
* @param {PrioritizationScenarioRunRequest} prioritizationScenarioRunRequest
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
runScenario: (portfolioId_1, prioritizationScenarioRunRequest_1, ...args_1) => __awaiter(this, [portfolioId_1, prioritizationScenarioRunRequest_1, ...args_1], void 0, function* (portfolioId, prioritizationScenarioRunRequest, options = {}) {
|
|
445
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
446
|
+
(0, common_1.assertParamExists)('runScenario', 'portfolioId', portfolioId);
|
|
447
|
+
// verify required parameter 'prioritizationScenarioRunRequest' is not null or undefined
|
|
448
|
+
(0, common_1.assertParamExists)('runScenario', 'prioritizationScenarioRunRequest', prioritizationScenarioRunRequest);
|
|
449
|
+
const localVarPath = `/portfolio/{portfolio_id}/scenario/run`
|
|
450
|
+
.replace(`{${"portfolio_id"}}`, encodeURIComponent(String(portfolioId)));
|
|
451
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
452
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
453
|
+
let baseOptions;
|
|
454
|
+
if (configuration) {
|
|
455
|
+
baseOptions = configuration.baseOptions;
|
|
456
|
+
}
|
|
457
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
458
|
+
const localVarHeaderParameter = {};
|
|
459
|
+
const localVarQueryParameter = {};
|
|
460
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
461
|
+
// oauth required
|
|
462
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
463
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
464
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
465
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
466
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
467
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
468
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(prioritizationScenarioRunRequest, localVarRequestOptions, configuration);
|
|
469
|
+
return {
|
|
470
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
471
|
+
options: localVarRequestOptions,
|
|
472
|
+
};
|
|
473
|
+
}),
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
exports.PrioritizationApiAxiosParamCreator = PrioritizationApiAxiosParamCreator;
|
|
477
|
+
/**
|
|
478
|
+
* PrioritizationApi - functional programming interface
|
|
479
|
+
*/
|
|
480
|
+
const PrioritizationApiFp = function (configuration) {
|
|
481
|
+
const localVarAxiosParamCreator = (0, exports.PrioritizationApiAxiosParamCreator)(configuration);
|
|
482
|
+
return {
|
|
483
|
+
/**
|
|
484
|
+
* Abort the currently running prioritization for this portfolio.
|
|
485
|
+
* @summary Abort a running prioritization
|
|
486
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
487
|
+
* @param {*} [options] Override http request option.
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
*/
|
|
490
|
+
abortScenario(portfolioId, options) {
|
|
491
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
492
|
+
var _a, _b, _c;
|
|
493
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.abortScenario(portfolioId, options);
|
|
494
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
495
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.abortScenario']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
496
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
497
|
+
});
|
|
498
|
+
},
|
|
499
|
+
/**
|
|
500
|
+
* Delete the scenario and all its results for this portfolio.
|
|
501
|
+
* @summary Delete the prioritization scenario
|
|
502
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
503
|
+
* @param {*} [options] Override http request option.
|
|
504
|
+
* @throws {RequiredError}
|
|
505
|
+
*/
|
|
506
|
+
deleteScenario(portfolioId, options) {
|
|
507
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
508
|
+
var _a, _b, _c;
|
|
509
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteScenario(portfolioId, options);
|
|
510
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
511
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.deleteScenario']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
512
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
513
|
+
});
|
|
514
|
+
},
|
|
515
|
+
/**
|
|
516
|
+
* Get the current prioritization scenario for this portfolio, including config and status.
|
|
517
|
+
* @summary Get the prioritization scenario
|
|
518
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
519
|
+
* @param {*} [options] Override http request option.
|
|
520
|
+
* @throws {RequiredError}
|
|
521
|
+
*/
|
|
522
|
+
getScenario(portfolioId, options) {
|
|
523
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
524
|
+
var _a, _b, _c;
|
|
525
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenario(portfolioId, options);
|
|
526
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
527
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.getScenario']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
528
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
529
|
+
});
|
|
530
|
+
},
|
|
531
|
+
/**
|
|
532
|
+
* Year-by-year expenditure of performed investments linked to a specific budget within this scenario.
|
|
533
|
+
* @summary Per-year expenditure for one budget (performed investments)
|
|
534
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
535
|
+
* @param {string} budgetId UUID of the budget
|
|
536
|
+
* @param {*} [options] Override http request option.
|
|
537
|
+
* @throws {RequiredError}
|
|
538
|
+
*/
|
|
539
|
+
getScenarioBudgetExpenditure(portfolioId, budgetId, options) {
|
|
540
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
541
|
+
var _a, _b, _c;
|
|
542
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenarioBudgetExpenditure(portfolioId, budgetId, options);
|
|
543
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
544
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.getScenarioBudgetExpenditure']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
545
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
546
|
+
});
|
|
547
|
+
},
|
|
548
|
+
/**
|
|
549
|
+
* Year-by-year expenditure for every budget referenced by a performed investment in the run.
|
|
550
|
+
* @summary Per-budget expenditure for performed investments
|
|
551
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
552
|
+
* @param {*} [options] Override http request option.
|
|
553
|
+
* @throws {RequiredError}
|
|
554
|
+
*/
|
|
555
|
+
getScenarioBudgetExpenditureAll(portfolioId, options) {
|
|
556
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
557
|
+
var _a, _b, _c;
|
|
558
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenarioBudgetExpenditureAll(portfolioId, options);
|
|
559
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
560
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.getScenarioBudgetExpenditureAll']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
561
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
562
|
+
});
|
|
563
|
+
},
|
|
564
|
+
/**
|
|
565
|
+
* Year-by-year expenditure of performed investments that have no budget assigned within this scenario.
|
|
566
|
+
* @summary Per-year expenditure for performed investments with no budget
|
|
567
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
568
|
+
* @param {*} [options] Override http request option.
|
|
569
|
+
* @throws {RequiredError}
|
|
570
|
+
*/
|
|
571
|
+
getScenarioBudgetExpenditureNoBudget(portfolioId, options) {
|
|
572
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
573
|
+
var _a, _b, _c;
|
|
574
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenarioBudgetExpenditureNoBudget(portfolioId, options);
|
|
575
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
576
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.getScenarioBudgetExpenditureNoBudget']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
577
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
578
|
+
});
|
|
579
|
+
},
|
|
580
|
+
/**
|
|
581
|
+
* Budget usage statistics restricted to the investments performed in the scenario run. For each budget referenced by a performed investment, returns usage and overrun statistics.
|
|
582
|
+
* @summary Budget usage for performed investments
|
|
583
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
584
|
+
* @param {*} [options] Override http request option.
|
|
585
|
+
* @throws {RequiredError}
|
|
586
|
+
*/
|
|
587
|
+
getScenarioBudgetUsage(portfolioId, options) {
|
|
588
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
589
|
+
var _a, _b, _c;
|
|
590
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenarioBudgetUsage(portfolioId, options);
|
|
591
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
592
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.getScenarioBudgetUsage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
593
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
594
|
+
});
|
|
595
|
+
},
|
|
596
|
+
/**
|
|
597
|
+
* Aggregate KPIs comparing the prioritization run against the full portfolio (Overview tab of the scenario results).
|
|
598
|
+
* @summary Run vs portfolio comparison KPIs
|
|
599
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
600
|
+
* @param {*} [options] Override http request option.
|
|
601
|
+
* @throws {RequiredError}
|
|
602
|
+
*/
|
|
603
|
+
getScenarioOverview(portfolioId, options) {
|
|
604
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
605
|
+
var _a, _b, _c;
|
|
606
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenarioOverview(portfolioId, options);
|
|
607
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
608
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.getScenarioOverview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
609
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
610
|
+
});
|
|
611
|
+
},
|
|
612
|
+
/**
|
|
613
|
+
* Get the results of the last successful prioritization run. Returns the list of investments with their rank and performed/unperformed status.
|
|
614
|
+
* @summary Get prioritization results
|
|
615
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
616
|
+
* @param {*} [options] Override http request option.
|
|
617
|
+
* @throws {RequiredError}
|
|
618
|
+
*/
|
|
619
|
+
getScenarioResults(portfolioId, options) {
|
|
620
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
621
|
+
var _a, _b, _c;
|
|
622
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenarioResults(portfolioId, options);
|
|
623
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
624
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.getScenarioResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
625
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
626
|
+
});
|
|
627
|
+
},
|
|
628
|
+
/**
|
|
629
|
+
* Lightweight polling endpoint to check the status of a prioritization run.
|
|
630
|
+
* @summary Get prioritization run status
|
|
631
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
632
|
+
* @param {*} [options] Override http request option.
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
*/
|
|
635
|
+
getScenarioStatus(portfolioId, options) {
|
|
636
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
637
|
+
var _a, _b, _c;
|
|
638
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenarioStatus(portfolioId, options);
|
|
639
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
640
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.getScenarioStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
641
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
642
|
+
});
|
|
643
|
+
},
|
|
644
|
+
/**
|
|
645
|
+
* Year-by-year monetized impact (sum of all metric monetary values) and CAPEX, restricted to the investments performed in the scenario run. Uses the scenario\'s value framework.
|
|
646
|
+
* @summary Monetized impact filtered to performed investments
|
|
647
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
648
|
+
* @param {*} [options] Override http request option.
|
|
649
|
+
* @throws {RequiredError}
|
|
650
|
+
*/
|
|
651
|
+
getScenarioValueFrameworkImpact(portfolioId, options) {
|
|
652
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
653
|
+
var _a, _b, _c;
|
|
654
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenarioValueFrameworkImpact(portfolioId, options);
|
|
655
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
656
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.getScenarioValueFrameworkImpact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
657
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
658
|
+
});
|
|
659
|
+
},
|
|
660
|
+
/**
|
|
661
|
+
* Year-by-year monetized impact split by individual metric and CAPEX, restricted to the investments performed in the scenario run. Uses the scenario\'s value framework.
|
|
662
|
+
* @summary Monetized impact (split by metric) filtered to performed investments
|
|
663
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
664
|
+
* @param {*} [options] Override http request option.
|
|
665
|
+
* @throws {RequiredError}
|
|
666
|
+
*/
|
|
667
|
+
getScenarioValueFrameworkImpactDetailed(portfolioId, options) {
|
|
668
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
669
|
+
var _a, _b, _c;
|
|
670
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenarioValueFrameworkImpactDetailed(portfolioId, options);
|
|
671
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
672
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.getScenarioValueFrameworkImpactDetailed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
673
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
674
|
+
});
|
|
675
|
+
},
|
|
676
|
+
/**
|
|
677
|
+
* Create a new prioritization scenario for this portfolio (or update the existing one) with the given value framework and metric, then immediately trigger the prioritization algorithm. Returns 202 Accepted — poll GET /status for progress.
|
|
678
|
+
* @summary Create/update and run a prioritization scenario
|
|
679
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
680
|
+
* @param {PrioritizationScenarioRunRequest} prioritizationScenarioRunRequest
|
|
681
|
+
* @param {*} [options] Override http request option.
|
|
682
|
+
* @throws {RequiredError}
|
|
683
|
+
*/
|
|
684
|
+
runScenario(portfolioId, prioritizationScenarioRunRequest, options) {
|
|
685
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
686
|
+
var _a, _b, _c;
|
|
687
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.runScenario(portfolioId, prioritizationScenarioRunRequest, options);
|
|
688
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
689
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PrioritizationApi.runScenario']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
690
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
691
|
+
});
|
|
692
|
+
},
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
exports.PrioritizationApiFp = PrioritizationApiFp;
|
|
696
|
+
/**
|
|
697
|
+
* PrioritizationApi - factory interface
|
|
698
|
+
*/
|
|
699
|
+
const PrioritizationApiFactory = function (configuration, basePath, axios) {
|
|
700
|
+
const localVarFp = (0, exports.PrioritizationApiFp)(configuration);
|
|
701
|
+
return {
|
|
702
|
+
/**
|
|
703
|
+
* Abort the currently running prioritization for this portfolio.
|
|
704
|
+
* @summary Abort a running prioritization
|
|
705
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
706
|
+
* @param {*} [options] Override http request option.
|
|
707
|
+
* @throws {RequiredError}
|
|
708
|
+
*/
|
|
709
|
+
abortScenario(portfolioId, options) {
|
|
710
|
+
return localVarFp.abortScenario(portfolioId, options).then((request) => request(axios, basePath));
|
|
711
|
+
},
|
|
712
|
+
/**
|
|
713
|
+
* Delete the scenario and all its results for this portfolio.
|
|
714
|
+
* @summary Delete the prioritization scenario
|
|
715
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
716
|
+
* @param {*} [options] Override http request option.
|
|
717
|
+
* @throws {RequiredError}
|
|
718
|
+
*/
|
|
719
|
+
deleteScenario(portfolioId, options) {
|
|
720
|
+
return localVarFp.deleteScenario(portfolioId, options).then((request) => request(axios, basePath));
|
|
721
|
+
},
|
|
722
|
+
/**
|
|
723
|
+
* Get the current prioritization scenario for this portfolio, including config and status.
|
|
724
|
+
* @summary Get the prioritization scenario
|
|
725
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
726
|
+
* @param {*} [options] Override http request option.
|
|
727
|
+
* @throws {RequiredError}
|
|
728
|
+
*/
|
|
729
|
+
getScenario(portfolioId, options) {
|
|
730
|
+
return localVarFp.getScenario(portfolioId, options).then((request) => request(axios, basePath));
|
|
731
|
+
},
|
|
732
|
+
/**
|
|
733
|
+
* Year-by-year expenditure of performed investments linked to a specific budget within this scenario.
|
|
734
|
+
* @summary Per-year expenditure for one budget (performed investments)
|
|
735
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
736
|
+
* @param {string} budgetId UUID of the budget
|
|
737
|
+
* @param {*} [options] Override http request option.
|
|
738
|
+
* @throws {RequiredError}
|
|
739
|
+
*/
|
|
740
|
+
getScenarioBudgetExpenditure(portfolioId, budgetId, options) {
|
|
741
|
+
return localVarFp.getScenarioBudgetExpenditure(portfolioId, budgetId, options).then((request) => request(axios, basePath));
|
|
742
|
+
},
|
|
743
|
+
/**
|
|
744
|
+
* Year-by-year expenditure for every budget referenced by a performed investment in the run.
|
|
745
|
+
* @summary Per-budget expenditure for performed investments
|
|
746
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
747
|
+
* @param {*} [options] Override http request option.
|
|
748
|
+
* @throws {RequiredError}
|
|
749
|
+
*/
|
|
750
|
+
getScenarioBudgetExpenditureAll(portfolioId, options) {
|
|
751
|
+
return localVarFp.getScenarioBudgetExpenditureAll(portfolioId, options).then((request) => request(axios, basePath));
|
|
752
|
+
},
|
|
753
|
+
/**
|
|
754
|
+
* Year-by-year expenditure of performed investments that have no budget assigned within this scenario.
|
|
755
|
+
* @summary Per-year expenditure for performed investments with no budget
|
|
756
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
757
|
+
* @param {*} [options] Override http request option.
|
|
758
|
+
* @throws {RequiredError}
|
|
759
|
+
*/
|
|
760
|
+
getScenarioBudgetExpenditureNoBudget(portfolioId, options) {
|
|
761
|
+
return localVarFp.getScenarioBudgetExpenditureNoBudget(portfolioId, options).then((request) => request(axios, basePath));
|
|
762
|
+
},
|
|
763
|
+
/**
|
|
764
|
+
* Budget usage statistics restricted to the investments performed in the scenario run. For each budget referenced by a performed investment, returns usage and overrun statistics.
|
|
765
|
+
* @summary Budget usage for performed investments
|
|
766
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
767
|
+
* @param {*} [options] Override http request option.
|
|
768
|
+
* @throws {RequiredError}
|
|
769
|
+
*/
|
|
770
|
+
getScenarioBudgetUsage(portfolioId, options) {
|
|
771
|
+
return localVarFp.getScenarioBudgetUsage(portfolioId, options).then((request) => request(axios, basePath));
|
|
772
|
+
},
|
|
773
|
+
/**
|
|
774
|
+
* Aggregate KPIs comparing the prioritization run against the full portfolio (Overview tab of the scenario results).
|
|
775
|
+
* @summary Run vs portfolio comparison KPIs
|
|
776
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
777
|
+
* @param {*} [options] Override http request option.
|
|
778
|
+
* @throws {RequiredError}
|
|
779
|
+
*/
|
|
780
|
+
getScenarioOverview(portfolioId, options) {
|
|
781
|
+
return localVarFp.getScenarioOverview(portfolioId, options).then((request) => request(axios, basePath));
|
|
782
|
+
},
|
|
783
|
+
/**
|
|
784
|
+
* Get the results of the last successful prioritization run. Returns the list of investments with their rank and performed/unperformed status.
|
|
785
|
+
* @summary Get prioritization results
|
|
786
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
787
|
+
* @param {*} [options] Override http request option.
|
|
788
|
+
* @throws {RequiredError}
|
|
789
|
+
*/
|
|
790
|
+
getScenarioResults(portfolioId, options) {
|
|
791
|
+
return localVarFp.getScenarioResults(portfolioId, options).then((request) => request(axios, basePath));
|
|
792
|
+
},
|
|
793
|
+
/**
|
|
794
|
+
* Lightweight polling endpoint to check the status of a prioritization run.
|
|
795
|
+
* @summary Get prioritization run status
|
|
796
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
797
|
+
* @param {*} [options] Override http request option.
|
|
798
|
+
* @throws {RequiredError}
|
|
799
|
+
*/
|
|
800
|
+
getScenarioStatus(portfolioId, options) {
|
|
801
|
+
return localVarFp.getScenarioStatus(portfolioId, options).then((request) => request(axios, basePath));
|
|
802
|
+
},
|
|
803
|
+
/**
|
|
804
|
+
* Year-by-year monetized impact (sum of all metric monetary values) and CAPEX, restricted to the investments performed in the scenario run. Uses the scenario\'s value framework.
|
|
805
|
+
* @summary Monetized impact filtered to performed investments
|
|
806
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
807
|
+
* @param {*} [options] Override http request option.
|
|
808
|
+
* @throws {RequiredError}
|
|
809
|
+
*/
|
|
810
|
+
getScenarioValueFrameworkImpact(portfolioId, options) {
|
|
811
|
+
return localVarFp.getScenarioValueFrameworkImpact(portfolioId, options).then((request) => request(axios, basePath));
|
|
812
|
+
},
|
|
813
|
+
/**
|
|
814
|
+
* Year-by-year monetized impact split by individual metric and CAPEX, restricted to the investments performed in the scenario run. Uses the scenario\'s value framework.
|
|
815
|
+
* @summary Monetized impact (split by metric) filtered to performed investments
|
|
816
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
817
|
+
* @param {*} [options] Override http request option.
|
|
818
|
+
* @throws {RequiredError}
|
|
819
|
+
*/
|
|
820
|
+
getScenarioValueFrameworkImpactDetailed(portfolioId, options) {
|
|
821
|
+
return localVarFp.getScenarioValueFrameworkImpactDetailed(portfolioId, options).then((request) => request(axios, basePath));
|
|
822
|
+
},
|
|
823
|
+
/**
|
|
824
|
+
* Create a new prioritization scenario for this portfolio (or update the existing one) with the given value framework and metric, then immediately trigger the prioritization algorithm. Returns 202 Accepted — poll GET /status for progress.
|
|
825
|
+
* @summary Create/update and run a prioritization scenario
|
|
826
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
827
|
+
* @param {PrioritizationScenarioRunRequest} prioritizationScenarioRunRequest
|
|
828
|
+
* @param {*} [options] Override http request option.
|
|
829
|
+
* @throws {RequiredError}
|
|
830
|
+
*/
|
|
831
|
+
runScenario(portfolioId, prioritizationScenarioRunRequest, options) {
|
|
832
|
+
return localVarFp.runScenario(portfolioId, prioritizationScenarioRunRequest, options).then((request) => request(axios, basePath));
|
|
833
|
+
},
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
exports.PrioritizationApiFactory = PrioritizationApiFactory;
|
|
837
|
+
/**
|
|
838
|
+
* PrioritizationApi - object-oriented interface
|
|
839
|
+
*/
|
|
840
|
+
class PrioritizationApi extends base_1.BaseAPI {
|
|
841
|
+
/**
|
|
842
|
+
* Abort the currently running prioritization for this portfolio.
|
|
843
|
+
* @summary Abort a running prioritization
|
|
844
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
845
|
+
* @param {*} [options] Override http request option.
|
|
846
|
+
* @throws {RequiredError}
|
|
847
|
+
*/
|
|
848
|
+
abortScenario(portfolioId, options) {
|
|
849
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).abortScenario(portfolioId, options).then((request) => request(this.axios, this.basePath));
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* Delete the scenario and all its results for this portfolio.
|
|
853
|
+
* @summary Delete the prioritization scenario
|
|
854
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
855
|
+
* @param {*} [options] Override http request option.
|
|
856
|
+
* @throws {RequiredError}
|
|
857
|
+
*/
|
|
858
|
+
deleteScenario(portfolioId, options) {
|
|
859
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).deleteScenario(portfolioId, options).then((request) => request(this.axios, this.basePath));
|
|
860
|
+
}
|
|
861
|
+
/**
|
|
862
|
+
* Get the current prioritization scenario for this portfolio, including config and status.
|
|
863
|
+
* @summary Get the prioritization scenario
|
|
864
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
865
|
+
* @param {*} [options] Override http request option.
|
|
866
|
+
* @throws {RequiredError}
|
|
867
|
+
*/
|
|
868
|
+
getScenario(portfolioId, options) {
|
|
869
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).getScenario(portfolioId, options).then((request) => request(this.axios, this.basePath));
|
|
870
|
+
}
|
|
871
|
+
/**
|
|
872
|
+
* Year-by-year expenditure of performed investments linked to a specific budget within this scenario.
|
|
873
|
+
* @summary Per-year expenditure for one budget (performed investments)
|
|
874
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
875
|
+
* @param {string} budgetId UUID of the budget
|
|
876
|
+
* @param {*} [options] Override http request option.
|
|
877
|
+
* @throws {RequiredError}
|
|
878
|
+
*/
|
|
879
|
+
getScenarioBudgetExpenditure(portfolioId, budgetId, options) {
|
|
880
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).getScenarioBudgetExpenditure(portfolioId, budgetId, options).then((request) => request(this.axios, this.basePath));
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* Year-by-year expenditure for every budget referenced by a performed investment in the run.
|
|
884
|
+
* @summary Per-budget expenditure for performed investments
|
|
885
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
886
|
+
* @param {*} [options] Override http request option.
|
|
887
|
+
* @throws {RequiredError}
|
|
888
|
+
*/
|
|
889
|
+
getScenarioBudgetExpenditureAll(portfolioId, options) {
|
|
890
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).getScenarioBudgetExpenditureAll(portfolioId, options).then((request) => request(this.axios, this.basePath));
|
|
891
|
+
}
|
|
892
|
+
/**
|
|
893
|
+
* Year-by-year expenditure of performed investments that have no budget assigned within this scenario.
|
|
894
|
+
* @summary Per-year expenditure for performed investments with no budget
|
|
895
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
896
|
+
* @param {*} [options] Override http request option.
|
|
897
|
+
* @throws {RequiredError}
|
|
898
|
+
*/
|
|
899
|
+
getScenarioBudgetExpenditureNoBudget(portfolioId, options) {
|
|
900
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).getScenarioBudgetExpenditureNoBudget(portfolioId, options).then((request) => request(this.axios, this.basePath));
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* Budget usage statistics restricted to the investments performed in the scenario run. For each budget referenced by a performed investment, returns usage and overrun statistics.
|
|
904
|
+
* @summary Budget usage for performed investments
|
|
905
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
906
|
+
* @param {*} [options] Override http request option.
|
|
907
|
+
* @throws {RequiredError}
|
|
908
|
+
*/
|
|
909
|
+
getScenarioBudgetUsage(portfolioId, options) {
|
|
910
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).getScenarioBudgetUsage(portfolioId, options).then((request) => request(this.axios, this.basePath));
|
|
911
|
+
}
|
|
912
|
+
/**
|
|
913
|
+
* Aggregate KPIs comparing the prioritization run against the full portfolio (Overview tab of the scenario results).
|
|
914
|
+
* @summary Run vs portfolio comparison KPIs
|
|
915
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
916
|
+
* @param {*} [options] Override http request option.
|
|
917
|
+
* @throws {RequiredError}
|
|
918
|
+
*/
|
|
919
|
+
getScenarioOverview(portfolioId, options) {
|
|
920
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).getScenarioOverview(portfolioId, options).then((request) => request(this.axios, this.basePath));
|
|
921
|
+
}
|
|
922
|
+
/**
|
|
923
|
+
* Get the results of the last successful prioritization run. Returns the list of investments with their rank and performed/unperformed status.
|
|
924
|
+
* @summary Get prioritization results
|
|
925
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
926
|
+
* @param {*} [options] Override http request option.
|
|
927
|
+
* @throws {RequiredError}
|
|
928
|
+
*/
|
|
929
|
+
getScenarioResults(portfolioId, options) {
|
|
930
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).getScenarioResults(portfolioId, options).then((request) => request(this.axios, this.basePath));
|
|
931
|
+
}
|
|
932
|
+
/**
|
|
933
|
+
* Lightweight polling endpoint to check the status of a prioritization run.
|
|
934
|
+
* @summary Get prioritization run status
|
|
935
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
936
|
+
* @param {*} [options] Override http request option.
|
|
937
|
+
* @throws {RequiredError}
|
|
938
|
+
*/
|
|
939
|
+
getScenarioStatus(portfolioId, options) {
|
|
940
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).getScenarioStatus(portfolioId, options).then((request) => request(this.axios, this.basePath));
|
|
941
|
+
}
|
|
942
|
+
/**
|
|
943
|
+
* Year-by-year monetized impact (sum of all metric monetary values) and CAPEX, restricted to the investments performed in the scenario run. Uses the scenario\'s value framework.
|
|
944
|
+
* @summary Monetized impact filtered to performed investments
|
|
945
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
946
|
+
* @param {*} [options] Override http request option.
|
|
947
|
+
* @throws {RequiredError}
|
|
948
|
+
*/
|
|
949
|
+
getScenarioValueFrameworkImpact(portfolioId, options) {
|
|
950
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).getScenarioValueFrameworkImpact(portfolioId, options).then((request) => request(this.axios, this.basePath));
|
|
951
|
+
}
|
|
952
|
+
/**
|
|
953
|
+
* Year-by-year monetized impact split by individual metric and CAPEX, restricted to the investments performed in the scenario run. Uses the scenario\'s value framework.
|
|
954
|
+
* @summary Monetized impact (split by metric) filtered to performed investments
|
|
955
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
956
|
+
* @param {*} [options] Override http request option.
|
|
957
|
+
* @throws {RequiredError}
|
|
958
|
+
*/
|
|
959
|
+
getScenarioValueFrameworkImpactDetailed(portfolioId, options) {
|
|
960
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).getScenarioValueFrameworkImpactDetailed(portfolioId, options).then((request) => request(this.axios, this.basePath));
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* Create a new prioritization scenario for this portfolio (or update the existing one) with the given value framework and metric, then immediately trigger the prioritization algorithm. Returns 202 Accepted — poll GET /status for progress.
|
|
964
|
+
* @summary Create/update and run a prioritization scenario
|
|
965
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
966
|
+
* @param {PrioritizationScenarioRunRequest} prioritizationScenarioRunRequest
|
|
967
|
+
* @param {*} [options] Override http request option.
|
|
968
|
+
* @throws {RequiredError}
|
|
969
|
+
*/
|
|
970
|
+
runScenario(portfolioId, prioritizationScenarioRunRequest, options) {
|
|
971
|
+
return (0, exports.PrioritizationApiFp)(this.configuration).runScenario(portfolioId, prioritizationScenarioRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
exports.PrioritizationApi = PrioritizationApi;
|