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