@cosmotech/aip-client 0.3.0-dev3 → 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 +47 -3
- package/api/budget-api.ts +7 -7
- 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 +30 -30
- 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 +1 -1
- 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 +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 +17 -17
- package/dist/api/option-api.js +30 -30
- 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 -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 +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 +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 +17 -17
- package/dist/esm/api/option-api.js +30 -30
- 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 -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 +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 +1 -5
- package/dist/esm/models/impact-bulk-item.js +1 -1
- 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 +22 -0
- package/dist/esm/models/index.js +22 -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 +1 -5
- package/dist/models/impact-bulk-item.js +1 -1
- 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 +22 -0
- package/dist/models/index.js +22 -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/ImpactBulkItem.md +0 -2
- package/docs/ImpactCreate.md +0 -2
- package/docs/ImpactUpdate.md +0 -2
- 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/OptionApi.md +7 -7
- 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/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 +1 -5
- package/models/impact-create.ts +1 -5
- package/models/impact-update.ts +1 -2
- package/models/index.ts +22 -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
package/dist/api/option-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -75,19 +75,19 @@ const OptionApiAxiosParamCreator = function (configuration) {
|
|
|
75
75
|
/**
|
|
76
76
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
77
77
|
* @summary Delete an option for this investment
|
|
78
|
-
* @param {string} optionId UUID of the option
|
|
79
78
|
* @param {string} investmentId UUID of the investment
|
|
79
|
+
* @param {string} optionId UUID of the option
|
|
80
80
|
* @param {*} [options] Override http request option.
|
|
81
81
|
* @throws {RequiredError}
|
|
82
82
|
*/
|
|
83
|
-
deleteOptionForInvestment: (
|
|
84
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
85
|
-
(0, common_1.assertParamExists)('deleteOptionForInvestment', 'optionId', optionId);
|
|
83
|
+
deleteOptionForInvestment: (investmentId_1, optionId_1, ...args_1) => __awaiter(this, [investmentId_1, optionId_1, ...args_1], void 0, function* (investmentId, optionId, options = {}) {
|
|
86
84
|
// verify required parameter 'investmentId' is not null or undefined
|
|
87
85
|
(0, common_1.assertParamExists)('deleteOptionForInvestment', 'investmentId', investmentId);
|
|
86
|
+
// verify required parameter 'optionId' is not null or undefined
|
|
87
|
+
(0, common_1.assertParamExists)('deleteOptionForInvestment', 'optionId', optionId);
|
|
88
88
|
const localVarPath = `/investment/{investment_id}/option/{option_id}`
|
|
89
|
-
.replace(`{${"
|
|
90
|
-
.replace(`{${"
|
|
89
|
+
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
|
|
90
|
+
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)));
|
|
91
91
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
92
92
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
93
93
|
let baseOptions;
|
|
@@ -148,22 +148,22 @@ const OptionApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
/**
|
|
149
149
|
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
|
|
150
150
|
* @summary Get the kpis for a given option inside a value framework
|
|
151
|
-
* @param {string} investmentId UUID of the investment
|
|
152
151
|
* @param {string} optionId UUID of the option
|
|
152
|
+
* @param {string} investmentId UUID of the investment
|
|
153
153
|
* @param {string} valueFrameworkId UUID of the value framework
|
|
154
154
|
* @param {*} [options] Override http request option.
|
|
155
155
|
* @throws {RequiredError}
|
|
156
156
|
*/
|
|
157
|
-
getOptionKpis: (
|
|
158
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
159
|
-
(0, common_1.assertParamExists)('getOptionKpis', 'investmentId', investmentId);
|
|
157
|
+
getOptionKpis: (optionId_1, investmentId_1, valueFrameworkId_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, valueFrameworkId_1, ...args_1], void 0, function* (optionId, investmentId, valueFrameworkId, options = {}) {
|
|
160
158
|
// verify required parameter 'optionId' is not null or undefined
|
|
161
159
|
(0, common_1.assertParamExists)('getOptionKpis', 'optionId', optionId);
|
|
160
|
+
// verify required parameter 'investmentId' is not null or undefined
|
|
161
|
+
(0, common_1.assertParamExists)('getOptionKpis', 'investmentId', investmentId);
|
|
162
162
|
// verify required parameter 'valueFrameworkId' is not null or undefined
|
|
163
163
|
(0, common_1.assertParamExists)('getOptionKpis', 'valueFrameworkId', valueFrameworkId);
|
|
164
164
|
const localVarPath = `/investment/{investment_id}/option/{option_id}/kpis/{value_framework_id}`
|
|
165
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
|
|
166
165
|
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
166
|
+
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
|
|
167
167
|
.replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
|
|
168
168
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
169
169
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -337,15 +337,15 @@ const OptionApiFp = function (configuration) {
|
|
|
337
337
|
/**
|
|
338
338
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
339
339
|
* @summary Delete an option for this investment
|
|
340
|
-
* @param {string} optionId UUID of the option
|
|
341
340
|
* @param {string} investmentId UUID of the investment
|
|
341
|
+
* @param {string} optionId UUID of the option
|
|
342
342
|
* @param {*} [options] Override http request option.
|
|
343
343
|
* @throws {RequiredError}
|
|
344
344
|
*/
|
|
345
|
-
deleteOptionForInvestment(
|
|
345
|
+
deleteOptionForInvestment(investmentId, optionId, options) {
|
|
346
346
|
return __awaiter(this, void 0, void 0, function* () {
|
|
347
347
|
var _a, _b, _c;
|
|
348
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOptionForInvestment(
|
|
348
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOptionForInvestment(investmentId, optionId, options);
|
|
349
349
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
350
350
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OptionApi.deleteOptionForInvestment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
351
351
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -371,16 +371,16 @@ const OptionApiFp = function (configuration) {
|
|
|
371
371
|
/**
|
|
372
372
|
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
|
|
373
373
|
* @summary Get the kpis for a given option inside a value framework
|
|
374
|
-
* @param {string} investmentId UUID of the investment
|
|
375
374
|
* @param {string} optionId UUID of the option
|
|
375
|
+
* @param {string} investmentId UUID of the investment
|
|
376
376
|
* @param {string} valueFrameworkId UUID of the value framework
|
|
377
377
|
* @param {*} [options] Override http request option.
|
|
378
378
|
* @throws {RequiredError}
|
|
379
379
|
*/
|
|
380
|
-
getOptionKpis(
|
|
380
|
+
getOptionKpis(optionId, investmentId, valueFrameworkId, options) {
|
|
381
381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
382
382
|
var _a, _b, _c;
|
|
383
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptionKpis(
|
|
383
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptionKpis(optionId, investmentId, valueFrameworkId, options);
|
|
384
384
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
385
385
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OptionApi.getOptionKpis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
386
386
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -462,13 +462,13 @@ const OptionApiFactory = function (configuration, basePath, axios) {
|
|
|
462
462
|
/**
|
|
463
463
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
464
464
|
* @summary Delete an option for this investment
|
|
465
|
-
* @param {string} optionId UUID of the option
|
|
466
465
|
* @param {string} investmentId UUID of the investment
|
|
466
|
+
* @param {string} optionId UUID of the option
|
|
467
467
|
* @param {*} [options] Override http request option.
|
|
468
468
|
* @throws {RequiredError}
|
|
469
469
|
*/
|
|
470
|
-
deleteOptionForInvestment(
|
|
471
|
-
return localVarFp.deleteOptionForInvestment(
|
|
470
|
+
deleteOptionForInvestment(investmentId, optionId, options) {
|
|
471
|
+
return localVarFp.deleteOptionForInvestment(investmentId, optionId, options).then((request) => request(axios, basePath));
|
|
472
472
|
},
|
|
473
473
|
/**
|
|
474
474
|
* Retrieve a specific option for the investment.
|
|
@@ -484,14 +484,14 @@ const OptionApiFactory = function (configuration, basePath, axios) {
|
|
|
484
484
|
/**
|
|
485
485
|
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
|
|
486
486
|
* @summary Get the kpis for a given option inside a value framework
|
|
487
|
-
* @param {string} investmentId UUID of the investment
|
|
488
487
|
* @param {string} optionId UUID of the option
|
|
488
|
+
* @param {string} investmentId UUID of the investment
|
|
489
489
|
* @param {string} valueFrameworkId UUID of the value framework
|
|
490
490
|
* @param {*} [options] Override http request option.
|
|
491
491
|
* @throws {RequiredError}
|
|
492
492
|
*/
|
|
493
|
-
getOptionKpis(
|
|
494
|
-
return localVarFp.getOptionKpis(
|
|
493
|
+
getOptionKpis(optionId, investmentId, valueFrameworkId, options) {
|
|
494
|
+
return localVarFp.getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
495
495
|
},
|
|
496
496
|
/**
|
|
497
497
|
* Retrieve a paginated list of all options for a specific investment.
|
|
@@ -549,13 +549,13 @@ class OptionApi extends base_1.BaseAPI {
|
|
|
549
549
|
/**
|
|
550
550
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
551
551
|
* @summary Delete an option for this investment
|
|
552
|
-
* @param {string} optionId UUID of the option
|
|
553
552
|
* @param {string} investmentId UUID of the investment
|
|
553
|
+
* @param {string} optionId UUID of the option
|
|
554
554
|
* @param {*} [options] Override http request option.
|
|
555
555
|
* @throws {RequiredError}
|
|
556
556
|
*/
|
|
557
|
-
deleteOptionForInvestment(
|
|
558
|
-
return (0, exports.OptionApiFp)(this.configuration).deleteOptionForInvestment(
|
|
557
|
+
deleteOptionForInvestment(investmentId, optionId, options) {
|
|
558
|
+
return (0, exports.OptionApiFp)(this.configuration).deleteOptionForInvestment(investmentId, optionId, options).then((request) => request(this.axios, this.basePath));
|
|
559
559
|
}
|
|
560
560
|
/**
|
|
561
561
|
* Retrieve a specific option for the investment.
|
|
@@ -571,14 +571,14 @@ class OptionApi extends base_1.BaseAPI {
|
|
|
571
571
|
/**
|
|
572
572
|
* Return a KPI object containing all the data necessary to display graphs about the option inside a value framework. Data is sourced from the v_option_yearly_kpis database view.
|
|
573
573
|
* @summary Get the kpis for a given option inside a value framework
|
|
574
|
-
* @param {string} investmentId UUID of the investment
|
|
575
574
|
* @param {string} optionId UUID of the option
|
|
575
|
+
* @param {string} investmentId UUID of the investment
|
|
576
576
|
* @param {string} valueFrameworkId UUID of the value framework
|
|
577
577
|
* @param {*} [options] Override http request option.
|
|
578
578
|
* @throws {RequiredError}
|
|
579
579
|
*/
|
|
580
|
-
getOptionKpis(
|
|
581
|
-
return (0, exports.OptionApiFp)(this.configuration).getOptionKpis(
|
|
580
|
+
getOptionKpis(optionId, investmentId, valueFrameworkId, options) {
|
|
581
|
+
return (0, exports.OptionApiFp)(this.configuration).getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
582
582
|
}
|
|
583
583
|
/**
|
|
584
584
|
* Retrieve a paginated list of all options for a specific investment.
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Asset Investment Planning
|
|
3
|
+
* API for Asset Investment Planning
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { PortfolioBulkDeleteRequest } from '../models';
|
|
16
|
+
import type { PortfolioCreate } from '../models';
|
|
17
|
+
import type { PortfolioOverviewItemResponse } from '../models';
|
|
18
|
+
import type { PortfolioResponse } from '../models';
|
|
19
|
+
import type { PortfolioUpdate } from '../models';
|
|
20
|
+
/**
|
|
21
|
+
* PortfolioApi - axios parameter creator
|
|
22
|
+
*/
|
|
23
|
+
export declare const PortfolioApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
* Delete multiple portfolios by their IDs in a single request. All provided IDs must exist — if any ID is not found, the request fails with 404 and no portfolios are deleted. Associated portfolio-investment links are also deleted via cascade.
|
|
26
|
+
* @summary Bulk delete portfolios
|
|
27
|
+
* @param {PortfolioBulkDeleteRequest} portfolioBulkDeleteRequest
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
bulkDeletePortfolios: (portfolioBulkDeleteRequest: PortfolioBulkDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
* Delete an existing portfolio by its ID. Associated portfolio-investment links are also deleted via cascade.
|
|
34
|
+
* @summary Delete a portfolio
|
|
35
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
deletePortfolio: (portfolioId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
|
+
/**
|
|
41
|
+
* Retrieve a single portfolio by its ID.
|
|
42
|
+
* @summary Get a portfolio by ID
|
|
43
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
getPortfolioById: (portfolioId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
|
+
/**
|
|
49
|
+
* Return the full list of portfolios enriched with their KPIs (nb_investments, total_cost, date range, budget_overrun, NPV). The value framework is used to compute NPV.
|
|
50
|
+
* @summary Portfolio overview with KPIs
|
|
51
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
52
|
+
* @param {number} [offset] Number of records to skip
|
|
53
|
+
* @param {number} [limit] Max number of records to return
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
getPortfolioOverview: (valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
/**
|
|
59
|
+
* Retrieve a paginated list of all portfolios.
|
|
60
|
+
* @summary List portfolios
|
|
61
|
+
* @param {number} [offset] Number of records to skip
|
|
62
|
+
* @param {number} [limit] Max number of records to return
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
getPortfolios: (offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
|
+
/**
|
|
68
|
+
* Update one or more fields of an existing portfolio. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
69
|
+
* @summary Partially update a portfolio
|
|
70
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
71
|
+
* @param {PortfolioUpdate} portfolioUpdate
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
patchPortfolio: (portfolioId: string, portfolioUpdate: PortfolioUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
+
/**
|
|
77
|
+
* Create a new portfolio.
|
|
78
|
+
* @summary Create a portfolio
|
|
79
|
+
* @param {PortfolioCreate} portfolioCreate
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
postPortfolio: (portfolioCreate: PortfolioCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* PortfolioApi - functional programming interface
|
|
87
|
+
*/
|
|
88
|
+
export declare const PortfolioApiFp: (configuration?: Configuration) => {
|
|
89
|
+
/**
|
|
90
|
+
* Delete multiple portfolios by their IDs in a single request. All provided IDs must exist — if any ID is not found, the request fails with 404 and no portfolios are deleted. Associated portfolio-investment links are also deleted via cascade.
|
|
91
|
+
* @summary Bulk delete portfolios
|
|
92
|
+
* @param {PortfolioBulkDeleteRequest} portfolioBulkDeleteRequest
|
|
93
|
+
* @param {*} [options] Override http request option.
|
|
94
|
+
* @throws {RequiredError}
|
|
95
|
+
*/
|
|
96
|
+
bulkDeletePortfolios(portfolioBulkDeleteRequest: PortfolioBulkDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
97
|
+
/**
|
|
98
|
+
* Delete an existing portfolio by its ID. Associated portfolio-investment links are also deleted via cascade.
|
|
99
|
+
* @summary Delete a portfolio
|
|
100
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
deletePortfolio(portfolioId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
105
|
+
/**
|
|
106
|
+
* Retrieve a single portfolio by its ID.
|
|
107
|
+
* @summary Get a portfolio by ID
|
|
108
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
getPortfolioById(portfolioId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioResponse>>;
|
|
113
|
+
/**
|
|
114
|
+
* Return the full list of portfolios enriched with their KPIs (nb_investments, total_cost, date range, budget_overrun, NPV). The value framework is used to compute NPV.
|
|
115
|
+
* @summary Portfolio overview with KPIs
|
|
116
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
117
|
+
* @param {number} [offset] Number of records to skip
|
|
118
|
+
* @param {number} [limit] Max number of records to return
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
getPortfolioOverview(valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PortfolioOverviewItemResponse>>>;
|
|
123
|
+
/**
|
|
124
|
+
* Retrieve a paginated list of all portfolios.
|
|
125
|
+
* @summary List portfolios
|
|
126
|
+
* @param {number} [offset] Number of records to skip
|
|
127
|
+
* @param {number} [limit] Max number of records to return
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
getPortfolios(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PortfolioResponse>>>;
|
|
132
|
+
/**
|
|
133
|
+
* Update one or more fields of an existing portfolio. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
134
|
+
* @summary Partially update a portfolio
|
|
135
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
136
|
+
* @param {PortfolioUpdate} portfolioUpdate
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
patchPortfolio(portfolioId: string, portfolioUpdate: PortfolioUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioResponse>>;
|
|
141
|
+
/**
|
|
142
|
+
* Create a new portfolio.
|
|
143
|
+
* @summary Create a portfolio
|
|
144
|
+
* @param {PortfolioCreate} portfolioCreate
|
|
145
|
+
* @param {*} [options] Override http request option.
|
|
146
|
+
* @throws {RequiredError}
|
|
147
|
+
*/
|
|
148
|
+
postPortfolio(portfolioCreate: PortfolioCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioResponse>>;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* PortfolioApi - factory interface
|
|
152
|
+
*/
|
|
153
|
+
export declare const PortfolioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
154
|
+
/**
|
|
155
|
+
* Delete multiple portfolios by their IDs in a single request. All provided IDs must exist — if any ID is not found, the request fails with 404 and no portfolios are deleted. Associated portfolio-investment links are also deleted via cascade.
|
|
156
|
+
* @summary Bulk delete portfolios
|
|
157
|
+
* @param {PortfolioBulkDeleteRequest} portfolioBulkDeleteRequest
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
*/
|
|
161
|
+
bulkDeletePortfolios(portfolioBulkDeleteRequest: PortfolioBulkDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
162
|
+
/**
|
|
163
|
+
* Delete an existing portfolio by its ID. Associated portfolio-investment links are also deleted via cascade.
|
|
164
|
+
* @summary Delete a portfolio
|
|
165
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
*/
|
|
169
|
+
deletePortfolio(portfolioId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
170
|
+
/**
|
|
171
|
+
* Retrieve a single portfolio by its ID.
|
|
172
|
+
* @summary Get a portfolio by ID
|
|
173
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
getPortfolioById(portfolioId: string, options?: RawAxiosRequestConfig): AxiosPromise<PortfolioResponse>;
|
|
178
|
+
/**
|
|
179
|
+
* Return the full list of portfolios enriched with their KPIs (nb_investments, total_cost, date range, budget_overrun, NPV). The value framework is used to compute NPV.
|
|
180
|
+
* @summary Portfolio overview with KPIs
|
|
181
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
182
|
+
* @param {number} [offset] Number of records to skip
|
|
183
|
+
* @param {number} [limit] Max number of records to return
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
getPortfolioOverview(valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<PortfolioOverviewItemResponse>>;
|
|
188
|
+
/**
|
|
189
|
+
* Retrieve a paginated list of all portfolios.
|
|
190
|
+
* @summary List portfolios
|
|
191
|
+
* @param {number} [offset] Number of records to skip
|
|
192
|
+
* @param {number} [limit] Max number of records to return
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
getPortfolios(offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<PortfolioResponse>>;
|
|
197
|
+
/**
|
|
198
|
+
* Update one or more fields of an existing portfolio. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
199
|
+
* @summary Partially update a portfolio
|
|
200
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
201
|
+
* @param {PortfolioUpdate} portfolioUpdate
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
patchPortfolio(portfolioId: string, portfolioUpdate: PortfolioUpdate, options?: RawAxiosRequestConfig): AxiosPromise<PortfolioResponse>;
|
|
206
|
+
/**
|
|
207
|
+
* Create a new portfolio.
|
|
208
|
+
* @summary Create a portfolio
|
|
209
|
+
* @param {PortfolioCreate} portfolioCreate
|
|
210
|
+
* @param {*} [options] Override http request option.
|
|
211
|
+
* @throws {RequiredError}
|
|
212
|
+
*/
|
|
213
|
+
postPortfolio(portfolioCreate: PortfolioCreate, options?: RawAxiosRequestConfig): AxiosPromise<PortfolioResponse>;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* PortfolioApi - object-oriented interface
|
|
217
|
+
*/
|
|
218
|
+
export declare class PortfolioApi extends BaseAPI {
|
|
219
|
+
/**
|
|
220
|
+
* Delete multiple portfolios by their IDs in a single request. All provided IDs must exist — if any ID is not found, the request fails with 404 and no portfolios are deleted. Associated portfolio-investment links are also deleted via cascade.
|
|
221
|
+
* @summary Bulk delete portfolios
|
|
222
|
+
* @param {PortfolioBulkDeleteRequest} portfolioBulkDeleteRequest
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
bulkDeletePortfolios(portfolioBulkDeleteRequest: PortfolioBulkDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
227
|
+
/**
|
|
228
|
+
* Delete an existing portfolio by its ID. Associated portfolio-investment links are also deleted via cascade.
|
|
229
|
+
* @summary Delete a portfolio
|
|
230
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
deletePortfolio(portfolioId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
235
|
+
/**
|
|
236
|
+
* Retrieve a single portfolio by its ID.
|
|
237
|
+
* @summary Get a portfolio by ID
|
|
238
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
getPortfolioById(portfolioId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortfolioResponse, any, {}>>;
|
|
243
|
+
/**
|
|
244
|
+
* Return the full list of portfolios enriched with their KPIs (nb_investments, total_cost, date range, budget_overrun, NPV). The value framework is used to compute NPV.
|
|
245
|
+
* @summary Portfolio overview with KPIs
|
|
246
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
247
|
+
* @param {number} [offset] Number of records to skip
|
|
248
|
+
* @param {number} [limit] Max number of records to return
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
getPortfolioOverview(valueFrameworkId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortfolioOverviewItemResponse[], any, {}>>;
|
|
253
|
+
/**
|
|
254
|
+
* Retrieve a paginated list of all portfolios.
|
|
255
|
+
* @summary List portfolios
|
|
256
|
+
* @param {number} [offset] Number of records to skip
|
|
257
|
+
* @param {number} [limit] Max number of records to return
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
*/
|
|
261
|
+
getPortfolios(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortfolioResponse[], any, {}>>;
|
|
262
|
+
/**
|
|
263
|
+
* Update one or more fields of an existing portfolio. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
264
|
+
* @summary Partially update a portfolio
|
|
265
|
+
* @param {string} portfolioId UUID of the portfolio
|
|
266
|
+
* @param {PortfolioUpdate} portfolioUpdate
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
*/
|
|
270
|
+
patchPortfolio(portfolioId: string, portfolioUpdate: PortfolioUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortfolioResponse, any, {}>>;
|
|
271
|
+
/**
|
|
272
|
+
* Create a new portfolio.
|
|
273
|
+
* @summary Create a portfolio
|
|
274
|
+
* @param {PortfolioCreate} portfolioCreate
|
|
275
|
+
* @param {*} [options] Override http request option.
|
|
276
|
+
* @throws {RequiredError}
|
|
277
|
+
*/
|
|
278
|
+
postPortfolio(portfolioCreate: PortfolioCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortfolioResponse, any, {}>>;
|
|
279
|
+
}
|