@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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @cosmotech/aip-client@0.
|
|
1
|
+
## @cosmotech/aip-client@0.4.0-dev1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @cosmotech/aip-client@0.
|
|
39
|
+
npm install @cosmotech/aip-client@0.4.0-dev1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -51,7 +51,7 @@ All URIs are relative to *http://localhost*
|
|
|
51
51
|
|
|
52
52
|
Class | Method | HTTP request | Description
|
|
53
53
|
------------ | ------------- | ------------- | -------------
|
|
54
|
-
*BudgetApi* | [**bulkDeleteBudgets**](docs/BudgetApi.md#bulkdeletebudgets) | **
|
|
54
|
+
*BudgetApi* | [**bulkDeleteBudgets**](docs/BudgetApi.md#bulkdeletebudgets) | **POST** /budget/bulk-delete | Bulk delete budgets
|
|
55
55
|
*BudgetApi* | [**deleteBudget**](docs/BudgetApi.md#deletebudget) | **DELETE** /budget/{budget_id} | Delete a budget
|
|
56
56
|
*BudgetApi* | [**getBudgetById**](docs/BudgetApi.md#getbudgetbyid) | **GET** /budget/{budget_id} | Get a budget by ID
|
|
57
57
|
*BudgetApi* | [**getBudgetInvestments**](docs/BudgetApi.md#getbudgetinvestments) | **GET** /budget/{budget_id}/investments | List investments linked to this budget via options
|
|
@@ -104,6 +104,28 @@ Class | Method | HTTP request | Description
|
|
|
104
104
|
*OptionApi* | [**getOptionsForInvestment**](docs/OptionApi.md#getoptionsforinvestment) | **GET** /investment/{investment_id}/option/ | List options for this investment
|
|
105
105
|
*OptionApi* | [**getOptionsOverview**](docs/OptionApi.md#getoptionsoverview) | **GET** /investment/{investment_id}/option/overview | Option overview table for this investment
|
|
106
106
|
*OptionApi* | [**patchOptionForInvestment**](docs/OptionApi.md#patchoptionforinvestment) | **PATCH** /investment/{investment_id}/option/{option_id} | Partially update an option for this investment
|
|
107
|
+
*PortfolioApi* | [**bulkDeletePortfolios**](docs/PortfolioApi.md#bulkdeleteportfolios) | **POST** /portfolio/bulk-delete | Bulk delete portfolios
|
|
108
|
+
*PortfolioApi* | [**deletePortfolio**](docs/PortfolioApi.md#deleteportfolio) | **DELETE** /portfolio/{portfolio_id} | Delete a portfolio
|
|
109
|
+
*PortfolioApi* | [**getPortfolioById**](docs/PortfolioApi.md#getportfoliobyid) | **GET** /portfolio/{portfolio_id} | Get a portfolio by ID
|
|
110
|
+
*PortfolioApi* | [**getPortfolioOverview**](docs/PortfolioApi.md#getportfoliooverview) | **GET** /portfolio/overview/{value_framework_id} | Portfolio overview with KPIs
|
|
111
|
+
*PortfolioApi* | [**getPortfolios**](docs/PortfolioApi.md#getportfolios) | **GET** /portfolio/ | List portfolios
|
|
112
|
+
*PortfolioApi* | [**patchPortfolio**](docs/PortfolioApi.md#patchportfolio) | **PATCH** /portfolio/{portfolio_id} | Partially update a portfolio
|
|
113
|
+
*PortfolioApi* | [**postPortfolio**](docs/PortfolioApi.md#postportfolio) | **POST** /portfolio/ | Create a portfolio
|
|
114
|
+
*PortfolioInvestmentApi* | [**addInvestmentToPortfolio**](docs/PortfolioInvestmentApi.md#addinvestmenttoportfolio) | **POST** /portfolio/{portfolio_id}/investment/{investment_id} | Add an investment to this portfolio
|
|
115
|
+
*PortfolioInvestmentApi* | [**bulkAddInvestmentsToPortfolio**](docs/PortfolioInvestmentApi.md#bulkaddinvestmentstoportfolio) | **POST** /portfolio/{portfolio_id}/investment/bulk | Bulk add investments to this portfolio
|
|
116
|
+
*PortfolioInvestmentApi* | [**bulkRemoveInvestmentsFromPortfolio**](docs/PortfolioInvestmentApi.md#bulkremoveinvestmentsfromportfolio) | **POST** /portfolio/{portfolio_id}/investment/bulk-delete | Bulk remove investments from this portfolio
|
|
117
|
+
*PortfolioInvestmentApi* | [**getInvestmentForPortfolio**](docs/PortfolioInvestmentApi.md#getinvestmentforportfolio) | **GET** /portfolio/{portfolio_id}/investment/{investment_id} | Get an investment link in this portfolio
|
|
118
|
+
*PortfolioInvestmentApi* | [**getInvestmentsForPortfolio**](docs/PortfolioInvestmentApi.md#getinvestmentsforportfolio) | **GET** /portfolio/{portfolio_id}/investment/ | List investments in this portfolio
|
|
119
|
+
*PortfolioInvestmentApi* | [**removeInvestmentFromPortfolio**](docs/PortfolioInvestmentApi.md#removeinvestmentfromportfolio) | **DELETE** /portfolio/{portfolio_id}/investment/{investment_id} | Remove an investment from this portfolio
|
|
120
|
+
*PortfolioKPIApi* | [**getCapexDistribution**](docs/PortfolioKPIApi.md#getcapexdistribution) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id}/capex-distribution | CAPEX year-by-year distribution
|
|
121
|
+
*PortfolioKPIApi* | [**getInvestmentsDistribution**](docs/PortfolioKPIApi.md#getinvestmentsdistribution) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id}/investments-distribution | Investment count year-by-year distribution
|
|
122
|
+
*PortfolioKPIApi* | [**getKpiOverrunDistribution**](docs/PortfolioKPIApi.md#getkpioverrundistribution) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id}/overrun-distribution | Budget overrun year-by-year distribution
|
|
123
|
+
*PortfolioKPIApi* | [**getNpvDistribution**](docs/PortfolioKPIApi.md#getnpvdistribution) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id}/npv-distribution | NPV year-by-year distribution
|
|
124
|
+
*PortfolioKPIApi* | [**getPortfolioBudgetExpenditure**](docs/PortfolioKPIApi.md#getportfoliobudgetexpenditure) | **GET** /portfolio/{portfolio_id}/budget-expenditure/{budget_id} | Budget year-by-year expenditure
|
|
125
|
+
*PortfolioKPIApi* | [**getPortfolioBudgetUsage**](docs/PortfolioKPIApi.md#getportfoliobudgetusage) | **GET** /portfolio/{portfolio_id}/budget-usage | Budget usage summary
|
|
126
|
+
*PortfolioKPIApi* | [**getPortfolioKpis**](docs/PortfolioKPIApi.md#getportfoliokpis) | **GET** /portfolio/{portfolio_id}/kpis/{value_framework_id} | Get portfolio KPIs
|
|
127
|
+
*PortfolioKPIApi* | [**getPortfolioMetricPerformance**](docs/PortfolioKPIApi.md#getportfoliometricperformance) | **GET** /portfolio/{portfolio_id}/metric-performance/{metric_id} | Metric performance over time
|
|
128
|
+
*PortfolioKPIApi* | [**getPortfolioMonetizedImpact**](docs/PortfolioKPIApi.md#getportfoliomonetizedimpact) | **GET** /portfolio/{portfolio_id}/monetized-impact/{value_framework_id} | Portfolio monetized impact over time
|
|
107
129
|
*PreferredOptionApi* | [**getPreferredOption**](docs/PreferredOptionApi.md#getpreferredoption) | **GET** /investment/{investment_id}/preferred_option | Get the preferred option for an investment
|
|
108
130
|
*PreferredOptionApi* | [**setPreferredOption**](docs/PreferredOptionApi.md#setpreferredoption) | **POST** /investment/{investment_id}/preferred_option | Set the preferred option for an investment
|
|
109
131
|
*ValueFrameworkApi* | [**deleteValueFramework**](docs/ValueFrameworkApi.md#deletevalueframework) | **DELETE** /value_framework/{value_framework_id} | Delete a value framework
|
|
@@ -143,9 +165,13 @@ Class | Method | HTTP request | Description
|
|
|
143
165
|
- [MetricCostsPerYearResponse](docs/MetricCostsPerYearResponse.md)
|
|
144
166
|
- [MetricCostsPerYearUpdate](docs/MetricCostsPerYearUpdate.md)
|
|
145
167
|
- [MetricCreate](docs/MetricCreate.md)
|
|
168
|
+
- [MetricPerformanceResponse](docs/MetricPerformanceResponse.md)
|
|
169
|
+
- [MetricPerformanceYear](docs/MetricPerformanceYear.md)
|
|
146
170
|
- [MetricResponse](docs/MetricResponse.md)
|
|
147
171
|
- [MetricType](docs/MetricType.md)
|
|
148
172
|
- [MetricUpdate](docs/MetricUpdate.md)
|
|
173
|
+
- [MonetizedImpactResponse](docs/MonetizedImpactResponse.md)
|
|
174
|
+
- [MonetizedImpactYear](docs/MonetizedImpactYear.md)
|
|
149
175
|
- [ObjectiveCreate](docs/ObjectiveCreate.md)
|
|
150
176
|
- [ObjectiveResponse](docs/ObjectiveResponse.md)
|
|
151
177
|
- [ObjectiveUpdate](docs/ObjectiveUpdate.md)
|
|
@@ -158,6 +184,24 @@ Class | Method | HTTP request | Description
|
|
|
158
184
|
- [OptionOverviewResponse](docs/OptionOverviewResponse.md)
|
|
159
185
|
- [OptionResponse](docs/OptionResponse.md)
|
|
160
186
|
- [OptionUpdate](docs/OptionUpdate.md)
|
|
187
|
+
- [PortfolioBudgetExpenditureResponse](docs/PortfolioBudgetExpenditureResponse.md)
|
|
188
|
+
- [PortfolioBudgetExpenditureYear](docs/PortfolioBudgetExpenditureYear.md)
|
|
189
|
+
- [PortfolioBudgetUsageItem](docs/PortfolioBudgetUsageItem.md)
|
|
190
|
+
- [PortfolioBulkDeleteRequest](docs/PortfolioBulkDeleteRequest.md)
|
|
191
|
+
- [PortfolioCreate](docs/PortfolioCreate.md)
|
|
192
|
+
- [PortfolioInvestmentBulkAddRequest](docs/PortfolioInvestmentBulkAddRequest.md)
|
|
193
|
+
- [PortfolioInvestmentBulkAddResponse](docs/PortfolioInvestmentBulkAddResponse.md)
|
|
194
|
+
- [PortfolioInvestmentBulkDeleteRequest](docs/PortfolioInvestmentBulkDeleteRequest.md)
|
|
195
|
+
- [PortfolioInvestmentResponse](docs/PortfolioInvestmentResponse.md)
|
|
196
|
+
- [PortfolioKPIDistributionBudgetItem](docs/PortfolioKPIDistributionBudgetItem.md)
|
|
197
|
+
- [PortfolioKPIDistributionResponse](docs/PortfolioKPIDistributionResponse.md)
|
|
198
|
+
- [PortfolioKPIDistributionYearOverrun](docs/PortfolioKPIDistributionYearOverrun.md)
|
|
199
|
+
- [PortfolioKPIDistributionYearValue](docs/PortfolioKPIDistributionYearValue.md)
|
|
200
|
+
- [PortfolioKPIOverrunDistributionResponse](docs/PortfolioKPIOverrunDistributionResponse.md)
|
|
201
|
+
- [PortfolioKPIResponse](docs/PortfolioKPIResponse.md)
|
|
202
|
+
- [PortfolioOverviewItemResponse](docs/PortfolioOverviewItemResponse.md)
|
|
203
|
+
- [PortfolioResponse](docs/PortfolioResponse.md)
|
|
204
|
+
- [PortfolioUpdate](docs/PortfolioUpdate.md)
|
|
161
205
|
- [PreferredOptionRequest](docs/PreferredOptionRequest.md)
|
|
162
206
|
- [PreferredOptionResponse](docs/PreferredOptionResponse.md)
|
|
163
207
|
- [ValidationError](docs/ValidationError.md)
|
package/api/budget-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -43,7 +43,7 @@ import type { BudgetUpdate } from '../models';
|
|
|
43
43
|
export const BudgetApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44
44
|
return {
|
|
45
45
|
/**
|
|
46
|
-
* Delete multiple budgets
|
|
46
|
+
* Delete multiple budgets 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 budgets are deleted. Options linked to deleted budgets will have their budget link removed (set to null).
|
|
47
47
|
* @summary Bulk delete budgets
|
|
48
48
|
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
@@ -52,7 +52,7 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
52
52
|
bulkDeleteBudgets: async (budgetBulkDeleteRequest: BudgetBulkDeleteRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53
53
|
// verify required parameter 'budgetBulkDeleteRequest' is not null or undefined
|
|
54
54
|
assertParamExists('bulkDeleteBudgets', 'budgetBulkDeleteRequest', budgetBulkDeleteRequest)
|
|
55
|
-
const localVarPath = `/budget/bulk`;
|
|
55
|
+
const localVarPath = `/budget/bulk-delete`;
|
|
56
56
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57
57
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
58
58
|
let baseOptions;
|
|
@@ -60,7 +60,7 @@ export const BudgetApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
60
60
|
baseOptions = configuration.baseOptions;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
const localVarRequestOptions = { method: '
|
|
63
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
64
64
|
const localVarHeaderParameter = {} as any;
|
|
65
65
|
const localVarQueryParameter = {} as any;
|
|
66
66
|
|
|
@@ -462,7 +462,7 @@ export const BudgetApiFp = function(configuration?: Configuration) {
|
|
|
462
462
|
const localVarAxiosParamCreator = BudgetApiAxiosParamCreator(configuration)
|
|
463
463
|
return {
|
|
464
464
|
/**
|
|
465
|
-
* Delete multiple budgets
|
|
465
|
+
* Delete multiple budgets 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 budgets are deleted. Options linked to deleted budgets will have their budget link removed (set to null).
|
|
466
466
|
* @summary Bulk delete budgets
|
|
467
467
|
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
468
468
|
* @param {*} [options] Override http request option.
|
|
@@ -606,7 +606,7 @@ export const BudgetApiFactory = function (configuration?: Configuration, basePat
|
|
|
606
606
|
const localVarFp = BudgetApiFp(configuration)
|
|
607
607
|
return {
|
|
608
608
|
/**
|
|
609
|
-
* Delete multiple budgets
|
|
609
|
+
* Delete multiple budgets 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 budgets are deleted. Options linked to deleted budgets will have their budget link removed (set to null).
|
|
610
610
|
* @summary Bulk delete budgets
|
|
611
611
|
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
612
612
|
* @param {*} [options] Override http request option.
|
|
@@ -718,7 +718,7 @@ export const BudgetApiFactory = function (configuration?: Configuration, basePat
|
|
|
718
718
|
*/
|
|
719
719
|
export class BudgetApi extends BaseAPI {
|
|
720
720
|
/**
|
|
721
|
-
* Delete multiple budgets
|
|
721
|
+
* Delete multiple budgets 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 budgets are deleted. Options linked to deleted budgets will have their budget link removed (set to null).
|
|
722
722
|
* @summary Bulk delete budgets
|
|
723
723
|
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
724
724
|
* @param {*} [options] Override http request option.
|
package/api/default-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/impact-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/investment-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/metric-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/metric-costs-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/objective-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/option-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -82,19 +82,19 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
82
82
|
/**
|
|
83
83
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
84
84
|
* @summary Delete an option for this investment
|
|
85
|
-
* @param {string} optionId UUID of the option
|
|
86
85
|
* @param {string} investmentId UUID of the investment
|
|
86
|
+
* @param {string} optionId UUID of the option
|
|
87
87
|
* @param {*} [options] Override http request option.
|
|
88
88
|
* @throws {RequiredError}
|
|
89
89
|
*/
|
|
90
|
-
deleteOptionForInvestment: async (
|
|
91
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
92
|
-
assertParamExists('deleteOptionForInvestment', 'optionId', optionId)
|
|
90
|
+
deleteOptionForInvestment: async (investmentId: string, optionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
93
91
|
// verify required parameter 'investmentId' is not null or undefined
|
|
94
92
|
assertParamExists('deleteOptionForInvestment', 'investmentId', investmentId)
|
|
93
|
+
// verify required parameter 'optionId' is not null or undefined
|
|
94
|
+
assertParamExists('deleteOptionForInvestment', 'optionId', optionId)
|
|
95
95
|
const localVarPath = `/investment/{investment_id}/option/{option_id}`
|
|
96
|
-
.replace(`{${"
|
|
97
|
-
.replace(`{${"
|
|
96
|
+
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
|
|
97
|
+
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)));
|
|
98
98
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
99
99
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
100
100
|
let baseOptions;
|
|
@@ -165,22 +165,22 @@ export const OptionApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
165
165
|
/**
|
|
166
166
|
* 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.
|
|
167
167
|
* @summary Get the kpis for a given option inside a value framework
|
|
168
|
-
* @param {string} investmentId UUID of the investment
|
|
169
168
|
* @param {string} optionId UUID of the option
|
|
169
|
+
* @param {string} investmentId UUID of the investment
|
|
170
170
|
* @param {string} valueFrameworkId UUID of the value framework
|
|
171
171
|
* @param {*} [options] Override http request option.
|
|
172
172
|
* @throws {RequiredError}
|
|
173
173
|
*/
|
|
174
|
-
getOptionKpis: async (
|
|
175
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
176
|
-
assertParamExists('getOptionKpis', 'investmentId', investmentId)
|
|
174
|
+
getOptionKpis: async (optionId: string, investmentId: string, valueFrameworkId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
177
175
|
// verify required parameter 'optionId' is not null or undefined
|
|
178
176
|
assertParamExists('getOptionKpis', 'optionId', optionId)
|
|
177
|
+
// verify required parameter 'investmentId' is not null or undefined
|
|
178
|
+
assertParamExists('getOptionKpis', 'investmentId', investmentId)
|
|
179
179
|
// verify required parameter 'valueFrameworkId' is not null or undefined
|
|
180
180
|
assertParamExists('getOptionKpis', 'valueFrameworkId', valueFrameworkId)
|
|
181
181
|
const localVarPath = `/investment/{investment_id}/option/{option_id}/kpis/{value_framework_id}`
|
|
182
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
|
|
183
182
|
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
183
|
+
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
|
|
184
184
|
.replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
|
|
185
185
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
186
186
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -374,13 +374,13 @@ export const OptionApiFp = function(configuration?: Configuration) {
|
|
|
374
374
|
/**
|
|
375
375
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
376
376
|
* @summary Delete an option for this investment
|
|
377
|
-
* @param {string} optionId UUID of the option
|
|
378
377
|
* @param {string} investmentId UUID of the investment
|
|
378
|
+
* @param {string} optionId UUID of the option
|
|
379
379
|
* @param {*} [options] Override http request option.
|
|
380
380
|
* @throws {RequiredError}
|
|
381
381
|
*/
|
|
382
|
-
async deleteOptionForInvestment(
|
|
383
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOptionForInvestment(
|
|
382
|
+
async deleteOptionForInvestment(investmentId: string, optionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
383
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOptionForInvestment(investmentId, optionId, options);
|
|
384
384
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
385
385
|
const localVarOperationServerBasePath = operationServerMap['OptionApi.deleteOptionForInvestment']?.[localVarOperationServerIndex]?.url;
|
|
386
386
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -402,14 +402,14 @@ export const OptionApiFp = function(configuration?: Configuration) {
|
|
|
402
402
|
/**
|
|
403
403
|
* 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.
|
|
404
404
|
* @summary Get the kpis for a given option inside a value framework
|
|
405
|
-
* @param {string} investmentId UUID of the investment
|
|
406
405
|
* @param {string} optionId UUID of the option
|
|
406
|
+
* @param {string} investmentId UUID of the investment
|
|
407
407
|
* @param {string} valueFrameworkId UUID of the value framework
|
|
408
408
|
* @param {*} [options] Override http request option.
|
|
409
409
|
* @throws {RequiredError}
|
|
410
410
|
*/
|
|
411
|
-
async getOptionKpis(
|
|
412
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOptionKpis(
|
|
411
|
+
async getOptionKpis(optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionChartKPIsYearly>>> {
|
|
412
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOptionKpis(optionId, investmentId, valueFrameworkId, options);
|
|
413
413
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
414
414
|
const localVarOperationServerBasePath = operationServerMap['OptionApi.getOptionKpis']?.[localVarOperationServerIndex]?.url;
|
|
415
415
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -481,13 +481,13 @@ export const OptionApiFactory = function (configuration?: Configuration, basePat
|
|
|
481
481
|
/**
|
|
482
482
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
483
483
|
* @summary Delete an option for this investment
|
|
484
|
-
* @param {string} optionId UUID of the option
|
|
485
484
|
* @param {string} investmentId UUID of the investment
|
|
485
|
+
* @param {string} optionId UUID of the option
|
|
486
486
|
* @param {*} [options] Override http request option.
|
|
487
487
|
* @throws {RequiredError}
|
|
488
488
|
*/
|
|
489
|
-
deleteOptionForInvestment(
|
|
490
|
-
return localVarFp.deleteOptionForInvestment(
|
|
489
|
+
deleteOptionForInvestment(investmentId: string, optionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
490
|
+
return localVarFp.deleteOptionForInvestment(investmentId, optionId, options).then((request) => request(axios, basePath));
|
|
491
491
|
},
|
|
492
492
|
/**
|
|
493
493
|
* Retrieve a specific option for the investment.
|
|
@@ -503,14 +503,14 @@ export const OptionApiFactory = function (configuration?: Configuration, basePat
|
|
|
503
503
|
/**
|
|
504
504
|
* 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.
|
|
505
505
|
* @summary Get the kpis for a given option inside a value framework
|
|
506
|
-
* @param {string} investmentId UUID of the investment
|
|
507
506
|
* @param {string} optionId UUID of the option
|
|
507
|
+
* @param {string} investmentId UUID of the investment
|
|
508
508
|
* @param {string} valueFrameworkId UUID of the value framework
|
|
509
509
|
* @param {*} [options] Override http request option.
|
|
510
510
|
* @throws {RequiredError}
|
|
511
511
|
*/
|
|
512
|
-
getOptionKpis(
|
|
513
|
-
return localVarFp.getOptionKpis(
|
|
512
|
+
getOptionKpis(optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionChartKPIsYearly>> {
|
|
513
|
+
return localVarFp.getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
514
514
|
},
|
|
515
515
|
/**
|
|
516
516
|
* Retrieve a paginated list of all options for a specific investment.
|
|
@@ -569,13 +569,13 @@ export class OptionApi extends BaseAPI {
|
|
|
569
569
|
/**
|
|
570
570
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
571
571
|
* @summary Delete an option for this investment
|
|
572
|
-
* @param {string} optionId UUID of the option
|
|
573
572
|
* @param {string} investmentId UUID of the investment
|
|
573
|
+
* @param {string} optionId UUID of the option
|
|
574
574
|
* @param {*} [options] Override http request option.
|
|
575
575
|
* @throws {RequiredError}
|
|
576
576
|
*/
|
|
577
|
-
public deleteOptionForInvestment(
|
|
578
|
-
return OptionApiFp(this.configuration).deleteOptionForInvestment(
|
|
577
|
+
public deleteOptionForInvestment(investmentId: string, optionId: string, options?: RawAxiosRequestConfig) {
|
|
578
|
+
return OptionApiFp(this.configuration).deleteOptionForInvestment(investmentId, optionId, options).then((request) => request(this.axios, this.basePath));
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
/**
|
|
@@ -593,14 +593,14 @@ export class OptionApi extends BaseAPI {
|
|
|
593
593
|
/**
|
|
594
594
|
* 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.
|
|
595
595
|
* @summary Get the kpis for a given option inside a value framework
|
|
596
|
-
* @param {string} investmentId UUID of the investment
|
|
597
596
|
* @param {string} optionId UUID of the option
|
|
597
|
+
* @param {string} investmentId UUID of the investment
|
|
598
598
|
* @param {string} valueFrameworkId UUID of the value framework
|
|
599
599
|
* @param {*} [options] Override http request option.
|
|
600
600
|
* @throws {RequiredError}
|
|
601
601
|
*/
|
|
602
|
-
public getOptionKpis(
|
|
603
|
-
return OptionApiFp(this.configuration).getOptionKpis(
|
|
602
|
+
public getOptionKpis(optionId: string, investmentId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) {
|
|
603
|
+
return OptionApiFp(this.configuration).getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
604
604
|
}
|
|
605
605
|
|
|
606
606
|
/**
|