@cosmotech/aip-client 0.3.0-dev2 → 0.4.0-dev1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -41
- package/api/budget-api.ts +7 -7
- package/api/default-api.ts +1 -1
- package/api/impact-api.ts +90 -1
- package/api/investment-api.ts +55 -1254
- package/api/metric-api.ts +1 -1
- package/api/metric-costs-api.ts +1 -1
- package/api/metric-costs-per-year-api.ts +1 -1
- package/api/objective-api.ts +1 -509
- package/api/objective-weight-api.ts +1 -1
- package/api/objective-weights-api.ts +1 -1
- package/api/option-api.ts +28 -481
- package/api/portfolio-api.ts +601 -0
- package/api/portfolio-investment-api.ts +545 -0
- package/api/portfolio-kpiapi.ts +772 -0
- package/api/preferred-option-api.ts +1 -1
- package/api/value-framework-api.ts +61 -1189
- package/api/value-framework-costs-api.ts +1 -1
- package/api/value-framework-weights-api.ts +1 -1
- package/api.ts +4 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/budget-api.d.ts +5 -5
- package/dist/api/budget-api.js +7 -7
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/impact-api.d.ts +42 -1
- package/dist/api/impact-api.js +85 -1
- package/dist/api/investment-api.d.ts +1 -551
- package/dist/api/investment-api.js +57 -1189
- package/dist/api/metric-api.d.ts +1 -1
- package/dist/api/metric-api.js +1 -1
- package/dist/api/metric-costs-api.d.ts +1 -1
- package/dist/api/metric-costs-api.js +1 -1
- package/dist/api/metric-costs-per-year-api.d.ts +1 -1
- package/dist/api/metric-costs-per-year-api.js +1 -1
- package/dist/api/objective-api.d.ts +1 -233
- package/dist/api/objective-api.js +1 -479
- package/dist/api/objective-weight-api.d.ts +1 -1
- package/dist/api/objective-weight-api.js +1 -1
- package/dist/api/objective-weights-api.d.ts +1 -1
- package/dist/api/objective-weights-api.js +1 -1
- package/dist/api/option-api.d.ts +13 -224
- package/dist/api/option-api.js +28 -458
- package/dist/api/portfolio-api.d.ts +279 -0
- package/dist/api/portfolio-api.js +575 -0
- package/dist/api/portfolio-investment-api.d.ts +258 -0
- package/dist/api/portfolio-investment-api.js +526 -0
- package/dist/api/portfolio-kpiapi.d.ts +361 -0
- package/dist/api/portfolio-kpiapi.js +740 -0
- package/dist/api/preferred-option-api.d.ts +1 -1
- package/dist/api/preferred-option-api.js +1 -1
- package/dist/api/value-framework-api.d.ts +1 -519
- package/dist/api/value-framework-api.js +61 -1128
- package/dist/api/value-framework-costs-api.d.ts +1 -1
- package/dist/api/value-framework-costs-api.js +1 -1
- package/dist/api/value-framework-weights-api.d.ts +1 -1
- package/dist/api/value-framework-weights-api.js +1 -1
- package/dist/api.d.ts +4 -1
- package/dist/api.js +4 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api/budget-api.d.ts +5 -5
- package/dist/esm/api/budget-api.js +7 -7
- package/dist/esm/api/default-api.d.ts +1 -1
- package/dist/esm/api/default-api.js +1 -1
- package/dist/esm/api/impact-api.d.ts +42 -1
- package/dist/esm/api/impact-api.js +85 -1
- package/dist/esm/api/investment-api.d.ts +1 -551
- package/dist/esm/api/investment-api.js +56 -1188
- package/dist/esm/api/metric-api.d.ts +1 -1
- package/dist/esm/api/metric-api.js +1 -1
- package/dist/esm/api/metric-costs-api.d.ts +1 -1
- package/dist/esm/api/metric-costs-api.js +1 -1
- package/dist/esm/api/metric-costs-per-year-api.d.ts +1 -1
- package/dist/esm/api/metric-costs-per-year-api.js +1 -1
- package/dist/esm/api/objective-api.d.ts +1 -233
- package/dist/esm/api/objective-api.js +1 -479
- package/dist/esm/api/objective-weight-api.d.ts +1 -1
- package/dist/esm/api/objective-weight-api.js +1 -1
- package/dist/esm/api/objective-weights-api.d.ts +1 -1
- package/dist/esm/api/objective-weights-api.js +1 -1
- package/dist/esm/api/option-api.d.ts +13 -224
- package/dist/esm/api/option-api.js +28 -458
- package/dist/esm/api/portfolio-api.d.ts +279 -0
- package/dist/esm/api/portfolio-api.js +568 -0
- package/dist/esm/api/portfolio-investment-api.d.ts +258 -0
- package/dist/esm/api/portfolio-investment-api.js +519 -0
- package/dist/esm/api/portfolio-kpiapi.d.ts +361 -0
- package/dist/esm/api/portfolio-kpiapi.js +733 -0
- package/dist/esm/api/preferred-option-api.d.ts +1 -1
- package/dist/esm/api/preferred-option-api.js +1 -1
- package/dist/esm/api/value-framework-api.d.ts +1 -519
- package/dist/esm/api/value-framework-api.js +61 -1128
- package/dist/esm/api/value-framework-costs-api.d.ts +1 -1
- package/dist/esm/api/value-framework-costs-api.js +1 -1
- package/dist/esm/api/value-framework-weights-api.d.ts +1 -1
- package/dist/esm/api/value-framework-weights-api.js +1 -1
- package/dist/esm/api.d.ts +4 -1
- package/dist/esm/api.js +4 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/budget-bulk-delete-request.d.ts +3 -3
- package/dist/esm/models/budget-bulk-delete-request.js +1 -1
- package/dist/esm/models/budget-create.d.ts +1 -1
- package/dist/esm/models/budget-create.js +1 -1
- package/dist/esm/models/budget-investment-response.d.ts +1 -1
- package/dist/esm/models/budget-investment-response.js +1 -1
- package/dist/esm/models/budget-link-options-request.d.ts +1 -1
- package/dist/esm/models/budget-link-options-request.js +1 -1
- package/dist/esm/models/budget-option-response.d.ts +1 -1
- package/dist/esm/models/budget-option-response.js +1 -1
- package/dist/esm/models/budget-overview-response.d.ts +1 -1
- package/dist/esm/models/budget-overview-response.js +1 -1
- package/dist/esm/models/budget-response.d.ts +1 -1
- package/dist/esm/models/budget-response.js +1 -1
- package/dist/esm/models/budget-update.d.ts +1 -1
- package/dist/esm/models/budget-update.js +1 -1
- package/dist/esm/models/bulk-delete-request.d.ts +1 -1
- package/dist/esm/models/bulk-delete-request.js +1 -1
- package/dist/esm/models/evolution-type.d.ts +1 -1
- package/dist/esm/models/evolution-type.js +1 -1
- package/dist/esm/models/httpvalidation-error.d.ts +1 -1
- package/dist/esm/models/httpvalidation-error.js +1 -1
- package/dist/esm/models/impact-apiresponse.d.ts +1 -2
- package/dist/esm/models/impact-apiresponse.js +1 -1
- package/dist/esm/models/impact-bulk-item.d.ts +33 -0
- package/dist/esm/models/impact-bulk-item.js +14 -0
- package/dist/esm/models/impact-create.d.ts +1 -5
- package/dist/esm/models/impact-create.js +1 -1
- package/dist/esm/models/impact-update.d.ts +1 -2
- package/dist/esm/models/impact-update.js +1 -1
- package/dist/esm/models/index.d.ts +23 -0
- package/dist/esm/models/index.js +23 -0
- package/dist/esm/models/investment-create.d.ts +1 -1
- package/dist/esm/models/investment-create.js +1 -1
- package/dist/esm/models/investment-overview-response.d.ts +1 -1
- package/dist/esm/models/investment-overview-response.js +1 -1
- package/dist/esm/models/investment-response.d.ts +1 -1
- package/dist/esm/models/investment-response.js +1 -1
- package/dist/esm/models/investment-update.d.ts +1 -1
- package/dist/esm/models/investment-update.js +1 -1
- package/dist/esm/models/location-inner.d.ts +1 -1
- package/dist/esm/models/location-inner.js +1 -1
- package/dist/esm/models/measurement-type.d.ts +1 -1
- package/dist/esm/models/measurement-type.js +1 -1
- package/dist/esm/models/metric-costs-per-year-create.d.ts +1 -1
- package/dist/esm/models/metric-costs-per-year-create.js +1 -1
- package/dist/esm/models/metric-costs-per-year-response.d.ts +1 -1
- package/dist/esm/models/metric-costs-per-year-response.js +1 -1
- package/dist/esm/models/metric-costs-per-year-update.d.ts +1 -1
- package/dist/esm/models/metric-costs-per-year-update.js +1 -1
- package/dist/esm/models/metric-create.d.ts +1 -1
- package/dist/esm/models/metric-create.js +1 -1
- package/dist/esm/models/metric-performance-response.d.ts +21 -0
- package/dist/esm/models/metric-performance-response.js +14 -0
- package/dist/esm/models/metric-performance-year.d.ts +18 -0
- package/dist/esm/models/metric-performance-year.js +14 -0
- package/dist/esm/models/metric-response.d.ts +1 -1
- package/dist/esm/models/metric-response.js +1 -1
- package/dist/esm/models/metric-type.d.ts +1 -1
- package/dist/esm/models/metric-type.js +1 -1
- package/dist/esm/models/metric-update.d.ts +1 -1
- package/dist/esm/models/metric-update.js +1 -1
- package/dist/esm/models/monetized-impact-response.d.ts +18 -0
- package/dist/esm/models/monetized-impact-response.js +14 -0
- package/dist/esm/models/monetized-impact-year.d.ts +19 -0
- package/dist/esm/models/monetized-impact-year.js +14 -0
- package/dist/esm/models/objective-create.d.ts +1 -1
- package/dist/esm/models/objective-create.js +1 -1
- package/dist/esm/models/objective-response.d.ts +1 -1
- package/dist/esm/models/objective-response.js +1 -1
- package/dist/esm/models/objective-update.d.ts +1 -1
- package/dist/esm/models/objective-update.js +1 -1
- package/dist/esm/models/objective-weight-create.d.ts +1 -1
- package/dist/esm/models/objective-weight-create.js +1 -1
- package/dist/esm/models/objective-weight-response.d.ts +1 -1
- package/dist/esm/models/objective-weight-response.js +1 -1
- package/dist/esm/models/objective-weight-update.d.ts +1 -1
- package/dist/esm/models/objective-weight-update.js +1 -1
- package/dist/esm/models/option-chart-kpi.d.ts +1 -1
- package/dist/esm/models/option-chart-kpi.js +1 -1
- package/dist/esm/models/option-chart-kpis-yearly.d.ts +1 -1
- package/dist/esm/models/option-chart-kpis-yearly.js +1 -1
- package/dist/esm/models/option-create.d.ts +1 -1
- package/dist/esm/models/option-create.js +1 -1
- package/dist/esm/models/option-overview-response.d.ts +1 -1
- package/dist/esm/models/option-overview-response.js +1 -1
- package/dist/esm/models/option-response.d.ts +1 -1
- package/dist/esm/models/option-response.js +1 -1
- package/dist/esm/models/option-update.d.ts +1 -1
- package/dist/esm/models/option-update.js +1 -1
- package/dist/esm/models/portfolio-budget-expenditure-response.d.ts +21 -0
- package/dist/esm/models/portfolio-budget-expenditure-response.js +14 -0
- package/dist/esm/models/portfolio-budget-expenditure-year.d.ts +18 -0
- package/dist/esm/models/portfolio-budget-expenditure-year.js +14 -0
- package/dist/esm/models/portfolio-budget-usage-item.d.ts +28 -0
- package/dist/esm/models/portfolio-budget-usage-item.js +14 -0
- package/dist/esm/models/portfolio-bulk-delete-request.d.ts +20 -0
- package/dist/esm/models/portfolio-bulk-delete-request.js +14 -0
- package/dist/esm/models/portfolio-create.d.ts +21 -0
- package/dist/esm/models/portfolio-create.js +14 -0
- package/dist/esm/models/portfolio-investment-bulk-add-request.d.ts +20 -0
- package/dist/esm/models/portfolio-investment-bulk-add-request.js +14 -0
- package/dist/esm/models/portfolio-investment-bulk-add-response.d.ts +24 -0
- package/dist/esm/models/portfolio-investment-bulk-add-response.js +14 -0
- package/dist/esm/models/portfolio-investment-bulk-delete-request.d.ts +20 -0
- package/dist/esm/models/portfolio-investment-bulk-delete-request.js +14 -0
- package/dist/esm/models/portfolio-investment-response.d.ts +25 -0
- package/dist/esm/models/portfolio-investment-response.js +14 -0
- package/dist/esm/models/portfolio-kpidistribution-budget-item.d.ts +19 -0
- package/dist/esm/models/portfolio-kpidistribution-budget-item.js +14 -0
- package/dist/esm/models/portfolio-kpidistribution-response.d.ts +20 -0
- package/dist/esm/models/portfolio-kpidistribution-response.js +14 -0
- package/dist/esm/models/portfolio-kpidistribution-year-overrun.d.ts +19 -0
- package/dist/esm/models/portfolio-kpidistribution-year-overrun.js +14 -0
- package/dist/esm/models/portfolio-kpidistribution-year-value.d.ts +18 -0
- package/dist/esm/models/portfolio-kpidistribution-year-value.js +14 -0
- package/dist/esm/models/portfolio-kpioverrun-distribution-response.d.ts +19 -0
- package/dist/esm/models/portfolio-kpioverrun-distribution-response.js +14 -0
- package/dist/esm/models/portfolio-kpiresponse.d.ts +31 -0
- package/dist/esm/models/portfolio-kpiresponse.js +14 -0
- package/dist/esm/models/portfolio-overview-item-response.d.ts +40 -0
- package/dist/esm/models/portfolio-overview-item-response.js +14 -0
- package/dist/esm/models/portfolio-response.d.ts +25 -0
- package/dist/esm/models/portfolio-response.js +14 -0
- package/dist/esm/models/portfolio-update.d.ts +18 -0
- package/dist/esm/models/portfolio-update.js +14 -0
- package/dist/esm/models/preferred-option-request.d.ts +1 -1
- package/dist/esm/models/preferred-option-request.js +1 -1
- package/dist/esm/models/preferred-option-response.d.ts +1 -1
- package/dist/esm/models/preferred-option-response.js +1 -1
- package/dist/esm/models/validation-error.d.ts +1 -1
- package/dist/esm/models/validation-error.js +1 -1
- package/dist/esm/models/value-framework-create.d.ts +1 -1
- package/dist/esm/models/value-framework-create.js +1 -1
- package/dist/esm/models/value-framework-response.d.ts +1 -1
- package/dist/esm/models/value-framework-response.js +1 -1
- package/dist/esm/models/value-framework-update.d.ts +1 -1
- package/dist/esm/models/value-framework-update.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/budget-bulk-delete-request.d.ts +3 -3
- package/dist/models/budget-bulk-delete-request.js +1 -1
- package/dist/models/budget-create.d.ts +1 -1
- package/dist/models/budget-create.js +1 -1
- package/dist/models/budget-investment-response.d.ts +1 -1
- package/dist/models/budget-investment-response.js +1 -1
- package/dist/models/budget-link-options-request.d.ts +1 -1
- package/dist/models/budget-link-options-request.js +1 -1
- package/dist/models/budget-option-response.d.ts +1 -1
- package/dist/models/budget-option-response.js +1 -1
- package/dist/models/budget-overview-response.d.ts +1 -1
- package/dist/models/budget-overview-response.js +1 -1
- package/dist/models/budget-response.d.ts +1 -1
- package/dist/models/budget-response.js +1 -1
- package/dist/models/budget-update.d.ts +1 -1
- package/dist/models/budget-update.js +1 -1
- package/dist/models/bulk-delete-request.d.ts +1 -1
- package/dist/models/bulk-delete-request.js +1 -1
- package/dist/models/evolution-type.d.ts +1 -1
- package/dist/models/evolution-type.js +1 -1
- package/dist/models/httpvalidation-error.d.ts +1 -1
- package/dist/models/httpvalidation-error.js +1 -1
- package/dist/models/impact-apiresponse.d.ts +1 -2
- package/dist/models/impact-apiresponse.js +1 -1
- package/dist/models/impact-bulk-item.d.ts +33 -0
- package/dist/models/impact-bulk-item.js +15 -0
- package/dist/models/impact-create.d.ts +1 -5
- package/dist/models/impact-create.js +1 -1
- package/dist/models/impact-update.d.ts +1 -2
- package/dist/models/impact-update.js +1 -1
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +23 -0
- package/dist/models/investment-create.d.ts +1 -1
- package/dist/models/investment-create.js +1 -1
- package/dist/models/investment-overview-response.d.ts +1 -1
- package/dist/models/investment-overview-response.js +1 -1
- package/dist/models/investment-response.d.ts +1 -1
- package/dist/models/investment-response.js +1 -1
- package/dist/models/investment-update.d.ts +1 -1
- package/dist/models/investment-update.js +1 -1
- package/dist/models/location-inner.d.ts +1 -1
- package/dist/models/location-inner.js +1 -1
- package/dist/models/measurement-type.d.ts +1 -1
- package/dist/models/measurement-type.js +1 -1
- package/dist/models/metric-costs-per-year-create.d.ts +1 -1
- package/dist/models/metric-costs-per-year-create.js +1 -1
- package/dist/models/metric-costs-per-year-response.d.ts +1 -1
- package/dist/models/metric-costs-per-year-response.js +1 -1
- package/dist/models/metric-costs-per-year-update.d.ts +1 -1
- package/dist/models/metric-costs-per-year-update.js +1 -1
- package/dist/models/metric-create.d.ts +1 -1
- package/dist/models/metric-create.js +1 -1
- package/dist/models/metric-performance-response.d.ts +21 -0
- package/dist/models/metric-performance-response.js +15 -0
- package/dist/models/metric-performance-year.d.ts +18 -0
- package/dist/models/metric-performance-year.js +15 -0
- package/dist/models/metric-response.d.ts +1 -1
- package/dist/models/metric-response.js +1 -1
- package/dist/models/metric-type.d.ts +1 -1
- package/dist/models/metric-type.js +1 -1
- package/dist/models/metric-update.d.ts +1 -1
- package/dist/models/metric-update.js +1 -1
- package/dist/models/monetized-impact-response.d.ts +18 -0
- package/dist/models/monetized-impact-response.js +15 -0
- package/dist/models/monetized-impact-year.d.ts +19 -0
- package/dist/models/monetized-impact-year.js +15 -0
- package/dist/models/objective-create.d.ts +1 -1
- package/dist/models/objective-create.js +1 -1
- package/dist/models/objective-response.d.ts +1 -1
- package/dist/models/objective-response.js +1 -1
- package/dist/models/objective-update.d.ts +1 -1
- package/dist/models/objective-update.js +1 -1
- package/dist/models/objective-weight-create.d.ts +1 -1
- package/dist/models/objective-weight-create.js +1 -1
- package/dist/models/objective-weight-response.d.ts +1 -1
- package/dist/models/objective-weight-response.js +1 -1
- package/dist/models/objective-weight-update.d.ts +1 -1
- package/dist/models/objective-weight-update.js +1 -1
- package/dist/models/option-chart-kpi.d.ts +1 -1
- package/dist/models/option-chart-kpi.js +1 -1
- package/dist/models/option-chart-kpis-yearly.d.ts +1 -1
- package/dist/models/option-chart-kpis-yearly.js +1 -1
- package/dist/models/option-create.d.ts +1 -1
- package/dist/models/option-create.js +1 -1
- package/dist/models/option-overview-response.d.ts +1 -1
- package/dist/models/option-overview-response.js +1 -1
- package/dist/models/option-response.d.ts +1 -1
- package/dist/models/option-response.js +1 -1
- package/dist/models/option-update.d.ts +1 -1
- package/dist/models/option-update.js +1 -1
- package/dist/models/portfolio-budget-expenditure-response.d.ts +21 -0
- package/dist/models/portfolio-budget-expenditure-response.js +15 -0
- package/dist/models/portfolio-budget-expenditure-year.d.ts +18 -0
- package/dist/models/portfolio-budget-expenditure-year.js +15 -0
- package/dist/models/portfolio-budget-usage-item.d.ts +28 -0
- package/dist/models/portfolio-budget-usage-item.js +15 -0
- package/dist/models/portfolio-bulk-delete-request.d.ts +20 -0
- package/dist/models/portfolio-bulk-delete-request.js +15 -0
- package/dist/models/portfolio-create.d.ts +21 -0
- package/dist/models/portfolio-create.js +15 -0
- package/dist/models/portfolio-investment-bulk-add-request.d.ts +20 -0
- package/dist/models/portfolio-investment-bulk-add-request.js +15 -0
- package/dist/models/portfolio-investment-bulk-add-response.d.ts +24 -0
- package/dist/models/portfolio-investment-bulk-add-response.js +15 -0
- package/dist/models/portfolio-investment-bulk-delete-request.d.ts +20 -0
- package/dist/models/portfolio-investment-bulk-delete-request.js +15 -0
- package/dist/models/portfolio-investment-response.d.ts +25 -0
- package/dist/models/portfolio-investment-response.js +15 -0
- package/dist/models/portfolio-kpidistribution-budget-item.d.ts +19 -0
- package/dist/models/portfolio-kpidistribution-budget-item.js +15 -0
- package/dist/models/portfolio-kpidistribution-response.d.ts +20 -0
- package/dist/models/portfolio-kpidistribution-response.js +15 -0
- package/dist/models/portfolio-kpidistribution-year-overrun.d.ts +19 -0
- package/dist/models/portfolio-kpidistribution-year-overrun.js +15 -0
- package/dist/models/portfolio-kpidistribution-year-value.d.ts +18 -0
- package/dist/models/portfolio-kpidistribution-year-value.js +15 -0
- package/dist/models/portfolio-kpioverrun-distribution-response.d.ts +19 -0
- package/dist/models/portfolio-kpioverrun-distribution-response.js +15 -0
- package/dist/models/portfolio-kpiresponse.d.ts +31 -0
- package/dist/models/portfolio-kpiresponse.js +15 -0
- package/dist/models/portfolio-overview-item-response.d.ts +40 -0
- package/dist/models/portfolio-overview-item-response.js +15 -0
- package/dist/models/portfolio-response.d.ts +25 -0
- package/dist/models/portfolio-response.js +15 -0
- package/dist/models/portfolio-update.d.ts +18 -0
- package/dist/models/portfolio-update.js +15 -0
- package/dist/models/preferred-option-request.d.ts +1 -1
- package/dist/models/preferred-option-request.js +1 -1
- package/dist/models/preferred-option-response.d.ts +1 -1
- package/dist/models/preferred-option-response.js +1 -1
- package/dist/models/validation-error.d.ts +1 -1
- package/dist/models/validation-error.js +1 -1
- package/dist/models/value-framework-create.d.ts +1 -1
- package/dist/models/value-framework-create.js +1 -1
- package/dist/models/value-framework-response.d.ts +1 -1
- package/dist/models/value-framework-response.js +1 -1
- package/dist/models/value-framework-update.d.ts +1 -1
- package/dist/models/value-framework-update.js +1 -1
- package/docs/BudgetApi.md +4 -4
- package/docs/BudgetBulkDeleteRequest.md +2 -2
- package/docs/ImpactAPIResponse.md +0 -2
- package/docs/ImpactApi.md +60 -0
- package/docs/ImpactBulkItem.md +27 -0
- package/docs/ImpactCreate.md +0 -2
- package/docs/ImpactUpdate.md +0 -2
- package/docs/InvestmentApi.md +29 -851
- package/docs/MetricPerformanceResponse.md +27 -0
- package/docs/MetricPerformanceYear.md +23 -0
- package/docs/MonetizedImpactResponse.md +21 -0
- package/docs/MonetizedImpactYear.md +25 -0
- package/docs/ObjectiveApi.md +0 -351
- package/docs/OptionApi.md +7 -312
- package/docs/PortfolioApi.md +395 -0
- package/docs/PortfolioBudgetExpenditureResponse.md +27 -0
- package/docs/PortfolioBudgetExpenditureYear.md +23 -0
- package/docs/PortfolioBudgetUsageItem.md +31 -0
- package/docs/PortfolioBulkDeleteRequest.md +21 -0
- package/docs/PortfolioCreate.md +23 -0
- package/docs/PortfolioInvestmentApi.md +350 -0
- package/docs/PortfolioInvestmentBulkAddRequest.md +21 -0
- package/docs/PortfolioInvestmentBulkAddResponse.md +23 -0
- package/docs/PortfolioInvestmentBulkDeleteRequest.md +21 -0
- package/docs/PortfolioInvestmentResponse.md +25 -0
- package/docs/PortfolioKPIApi.md +508 -0
- package/docs/PortfolioKPIDistributionBudgetItem.md +25 -0
- package/docs/PortfolioKPIDistributionResponse.md +25 -0
- package/docs/PortfolioKPIDistributionYearOverrun.md +23 -0
- package/docs/PortfolioKPIDistributionYearValue.md +23 -0
- package/docs/PortfolioKPIOverrunDistributionResponse.md +23 -0
- package/docs/PortfolioKPIResponse.md +31 -0
- package/docs/PortfolioOverviewItemResponse.md +43 -0
- package/docs/PortfolioResponse.md +31 -0
- package/docs/PortfolioUpdate.md +23 -0
- package/docs/ValueFrameworkApi.md +7 -778
- package/index.ts +1 -1
- package/models/budget-bulk-delete-request.ts +3 -3
- package/models/budget-create.ts +1 -1
- package/models/budget-investment-response.ts +1 -1
- package/models/budget-link-options-request.ts +1 -1
- package/models/budget-option-response.ts +1 -1
- package/models/budget-overview-response.ts +1 -1
- package/models/budget-response.ts +1 -1
- package/models/budget-update.ts +1 -1
- package/models/bulk-delete-request.ts +1 -1
- package/models/evolution-type.ts +1 -1
- package/models/httpvalidation-error.ts +1 -1
- package/models/impact-apiresponse.ts +1 -2
- package/models/impact-bulk-item.ts +43 -0
- package/models/impact-create.ts +1 -5
- package/models/impact-update.ts +1 -2
- package/models/index.ts +23 -0
- package/models/investment-create.ts +1 -1
- package/models/investment-overview-response.ts +1 -1
- package/models/investment-response.ts +1 -1
- package/models/investment-update.ts +1 -1
- package/models/location-inner.ts +1 -1
- package/models/measurement-type.ts +1 -1
- package/models/metric-costs-per-year-create.ts +1 -1
- package/models/metric-costs-per-year-response.ts +1 -1
- package/models/metric-costs-per-year-update.ts +1 -1
- package/models/metric-create.ts +1 -1
- package/models/metric-performance-response.ts +29 -0
- package/models/metric-performance-year.ts +24 -0
- package/models/metric-response.ts +1 -1
- package/models/metric-type.ts +1 -1
- package/models/metric-update.ts +1 -1
- package/models/monetized-impact-response.ts +26 -0
- package/models/monetized-impact-year.ts +25 -0
- package/models/objective-create.ts +1 -1
- package/models/objective-response.ts +1 -1
- package/models/objective-update.ts +1 -1
- package/models/objective-weight-create.ts +1 -1
- package/models/objective-weight-response.ts +1 -1
- package/models/objective-weight-update.ts +1 -1
- package/models/option-chart-kpi.ts +1 -1
- package/models/option-chart-kpis-yearly.ts +1 -1
- package/models/option-create.ts +1 -1
- package/models/option-overview-response.ts +1 -1
- package/models/option-response.ts +1 -1
- package/models/option-update.ts +1 -1
- package/models/portfolio-budget-expenditure-response.ts +29 -0
- package/models/portfolio-budget-expenditure-year.ts +24 -0
- package/models/portfolio-budget-usage-item.ts +34 -0
- package/models/portfolio-bulk-delete-request.ts +26 -0
- package/models/portfolio-create.ts +27 -0
- package/models/portfolio-investment-bulk-add-request.ts +26 -0
- package/models/portfolio-investment-bulk-add-response.ts +30 -0
- package/models/portfolio-investment-bulk-delete-request.ts +26 -0
- package/models/portfolio-investment-response.ts +31 -0
- package/models/portfolio-kpidistribution-budget-item.ts +25 -0
- package/models/portfolio-kpidistribution-response.ts +28 -0
- package/models/portfolio-kpidistribution-year-overrun.ts +27 -0
- package/models/portfolio-kpidistribution-year-value.ts +24 -0
- package/models/portfolio-kpioverrun-distribution-response.ts +27 -0
- package/models/portfolio-kpiresponse.ts +37 -0
- package/models/portfolio-overview-item-response.ts +46 -0
- package/models/portfolio-response.ts +31 -0
- package/models/portfolio-update.ts +24 -0
- package/models/preferred-option-request.ts +1 -1
- package/models/preferred-option-response.ts +1 -1
- package/models/validation-error.ts +1 -1
- package/models/value-framework-create.ts +1 -1
- package/models/value-framework-response.ts +1 -1
- package/models/value-framework-update.ts +1 -1
- package/package.json +1 -1
|
@@ -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).
|
|
@@ -31,48 +31,6 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
31
31
|
*/
|
|
32
32
|
export const OptionApiAxiosParamCreator = function (configuration) {
|
|
33
33
|
return {
|
|
34
|
-
/**
|
|
35
|
-
* Create a new impact under this option.
|
|
36
|
-
* @summary Create an impact for this option
|
|
37
|
-
* @param {string} optionId UUID of the option
|
|
38
|
-
* @param {string} investmentId UUID of the investment
|
|
39
|
-
* @param {ImpactCreate} impactCreate
|
|
40
|
-
* @param {*} [options] Override http request option.
|
|
41
|
-
* @throws {RequiredError}
|
|
42
|
-
*/
|
|
43
|
-
createImpactForOption: (optionId_1, investmentId_1, impactCreate_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, impactCreate_1, ...args_1], void 0, function* (optionId, investmentId, impactCreate, options = {}) {
|
|
44
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
45
|
-
assertParamExists('createImpactForOption', 'optionId', optionId);
|
|
46
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
47
|
-
assertParamExists('createImpactForOption', 'investmentId', investmentId);
|
|
48
|
-
// verify required parameter 'impactCreate' is not null or undefined
|
|
49
|
-
assertParamExists('createImpactForOption', 'impactCreate', impactCreate);
|
|
50
|
-
const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
|
|
51
|
-
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
52
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
53
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55
|
-
let baseOptions;
|
|
56
|
-
if (configuration) {
|
|
57
|
-
baseOptions = configuration.baseOptions;
|
|
58
|
-
}
|
|
59
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
60
|
-
const localVarHeaderParameter = {};
|
|
61
|
-
const localVarQueryParameter = {};
|
|
62
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
63
|
-
// oauth required
|
|
64
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
65
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
66
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
67
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70
|
-
localVarRequestOptions.data = serializeDataIfNeeded(impactCreate, localVarRequestOptions, configuration);
|
|
71
|
-
return {
|
|
72
|
-
url: toPathString(localVarUrlObj),
|
|
73
|
-
options: localVarRequestOptions,
|
|
74
|
-
};
|
|
75
|
-
}),
|
|
76
34
|
/**
|
|
77
35
|
* Create a new option under this investment.
|
|
78
36
|
* @summary Create an option for this investment
|
|
@@ -111,62 +69,22 @@ export const OptionApiAxiosParamCreator = function (configuration) {
|
|
|
111
69
|
options: localVarRequestOptions,
|
|
112
70
|
};
|
|
113
71
|
}),
|
|
114
|
-
/**
|
|
115
|
-
* Delete an existing impact by its ID.
|
|
116
|
-
* @summary Delete an impact for this option
|
|
117
|
-
* @param {string} impactId UUID of the impact
|
|
118
|
-
* @param {string} optionId UUID of the option
|
|
119
|
-
* @param {string} investmentId UUID of the investment
|
|
120
|
-
* @param {*} [options] Override http request option.
|
|
121
|
-
* @throws {RequiredError}
|
|
122
|
-
*/
|
|
123
|
-
deleteImpactForOption: (impactId_1, optionId_1, investmentId_1, ...args_1) => __awaiter(this, [impactId_1, optionId_1, investmentId_1, ...args_1], void 0, function* (impactId, optionId, investmentId, options = {}) {
|
|
124
|
-
// verify required parameter 'impactId' is not null or undefined
|
|
125
|
-
assertParamExists('deleteImpactForOption', 'impactId', impactId);
|
|
126
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
127
|
-
assertParamExists('deleteImpactForOption', 'optionId', optionId);
|
|
128
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
129
|
-
assertParamExists('deleteImpactForOption', 'investmentId', investmentId);
|
|
130
|
-
const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
|
|
131
|
-
.replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
|
|
132
|
-
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
133
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
134
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
135
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
136
|
-
let baseOptions;
|
|
137
|
-
if (configuration) {
|
|
138
|
-
baseOptions = configuration.baseOptions;
|
|
139
|
-
}
|
|
140
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
141
|
-
const localVarHeaderParameter = {};
|
|
142
|
-
const localVarQueryParameter = {};
|
|
143
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
144
|
-
// oauth required
|
|
145
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
146
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
148
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
149
|
-
return {
|
|
150
|
-
url: toPathString(localVarUrlObj),
|
|
151
|
-
options: localVarRequestOptions,
|
|
152
|
-
};
|
|
153
|
-
}),
|
|
154
72
|
/**
|
|
155
73
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
156
74
|
* @summary Delete an option for this investment
|
|
157
|
-
* @param {string} optionId UUID of the option
|
|
158
75
|
* @param {string} investmentId UUID of the investment
|
|
76
|
+
* @param {string} optionId UUID of the option
|
|
159
77
|
* @param {*} [options] Override http request option.
|
|
160
78
|
* @throws {RequiredError}
|
|
161
79
|
*/
|
|
162
|
-
deleteOptionForInvestment: (
|
|
163
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
164
|
-
assertParamExists('deleteOptionForInvestment', 'optionId', optionId);
|
|
80
|
+
deleteOptionForInvestment: (investmentId_1, optionId_1, ...args_1) => __awaiter(this, [investmentId_1, optionId_1, ...args_1], void 0, function* (investmentId, optionId, options = {}) {
|
|
165
81
|
// verify required parameter 'investmentId' is not null or undefined
|
|
166
82
|
assertParamExists('deleteOptionForInvestment', 'investmentId', investmentId);
|
|
83
|
+
// verify required parameter 'optionId' is not null or undefined
|
|
84
|
+
assertParamExists('deleteOptionForInvestment', 'optionId', optionId);
|
|
167
85
|
const localVarPath = `/investment/{investment_id}/option/{option_id}`
|
|
168
|
-
.replace(`{${"
|
|
169
|
-
.replace(`{${"
|
|
86
|
+
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
|
|
87
|
+
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)));
|
|
170
88
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
171
89
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
172
90
|
let baseOptions;
|
|
@@ -187,92 +105,6 @@ export const OptionApiAxiosParamCreator = function (configuration) {
|
|
|
187
105
|
options: localVarRequestOptions,
|
|
188
106
|
};
|
|
189
107
|
}),
|
|
190
|
-
/**
|
|
191
|
-
* Retrieve a specific impact for the option.
|
|
192
|
-
* @summary Get an impact for this option
|
|
193
|
-
* @param {string} impactId UUID of the impact
|
|
194
|
-
* @param {string} optionId UUID of the option
|
|
195
|
-
* @param {string} investmentId UUID of the investment
|
|
196
|
-
* @param {*} [options] Override http request option.
|
|
197
|
-
* @throws {RequiredError}
|
|
198
|
-
*/
|
|
199
|
-
getImpactForOption: (impactId_1, optionId_1, investmentId_1, ...args_1) => __awaiter(this, [impactId_1, optionId_1, investmentId_1, ...args_1], void 0, function* (impactId, optionId, investmentId, options = {}) {
|
|
200
|
-
// verify required parameter 'impactId' is not null or undefined
|
|
201
|
-
assertParamExists('getImpactForOption', 'impactId', impactId);
|
|
202
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
203
|
-
assertParamExists('getImpactForOption', 'optionId', optionId);
|
|
204
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
205
|
-
assertParamExists('getImpactForOption', 'investmentId', investmentId);
|
|
206
|
-
const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
|
|
207
|
-
.replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
|
|
208
|
-
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
209
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
210
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
211
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
212
|
-
let baseOptions;
|
|
213
|
-
if (configuration) {
|
|
214
|
-
baseOptions = configuration.baseOptions;
|
|
215
|
-
}
|
|
216
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
217
|
-
const localVarHeaderParameter = {};
|
|
218
|
-
const localVarQueryParameter = {};
|
|
219
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
220
|
-
// oauth required
|
|
221
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
222
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
223
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
224
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
225
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
226
|
-
return {
|
|
227
|
-
url: toPathString(localVarUrlObj),
|
|
228
|
-
options: localVarRequestOptions,
|
|
229
|
-
};
|
|
230
|
-
}),
|
|
231
|
-
/**
|
|
232
|
-
* Retrieve a paginated list of all impacts for a specific option.
|
|
233
|
-
* @summary List impacts for this option
|
|
234
|
-
* @param {string} optionId UUID of the option
|
|
235
|
-
* @param {string} investmentId UUID of the investment
|
|
236
|
-
* @param {number} [offset] Number of records to skip
|
|
237
|
-
* @param {number} [limit] Max number of records to return
|
|
238
|
-
* @param {*} [options] Override http request option.
|
|
239
|
-
* @throws {RequiredError}
|
|
240
|
-
*/
|
|
241
|
-
getImpactsForOption: (optionId_1, investmentId_1, offset_1, limit_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, offset_1, limit_1, ...args_1], void 0, function* (optionId, investmentId, offset, limit, options = {}) {
|
|
242
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
243
|
-
assertParamExists('getImpactsForOption', 'optionId', optionId);
|
|
244
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
245
|
-
assertParamExists('getImpactsForOption', 'investmentId', investmentId);
|
|
246
|
-
const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
|
|
247
|
-
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
248
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
249
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
250
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
251
|
-
let baseOptions;
|
|
252
|
-
if (configuration) {
|
|
253
|
-
baseOptions = configuration.baseOptions;
|
|
254
|
-
}
|
|
255
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
256
|
-
const localVarHeaderParameter = {};
|
|
257
|
-
const localVarQueryParameter = {};
|
|
258
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
259
|
-
// oauth required
|
|
260
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
261
|
-
if (offset !== undefined) {
|
|
262
|
-
localVarQueryParameter['offset'] = offset;
|
|
263
|
-
}
|
|
264
|
-
if (limit !== undefined) {
|
|
265
|
-
localVarQueryParameter['limit'] = limit;
|
|
266
|
-
}
|
|
267
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
268
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
269
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
270
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
271
|
-
return {
|
|
272
|
-
url: toPathString(localVarUrlObj),
|
|
273
|
-
options: localVarRequestOptions,
|
|
274
|
-
};
|
|
275
|
-
}),
|
|
276
108
|
/**
|
|
277
109
|
* Retrieve a specific option for the investment.
|
|
278
110
|
* @summary Get an option for this investment
|
|
@@ -313,22 +145,22 @@ export const OptionApiAxiosParamCreator = function (configuration) {
|
|
|
313
145
|
/**
|
|
314
146
|
* 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.
|
|
315
147
|
* @summary Get the kpis for a given option inside a value framework
|
|
316
|
-
* @param {string} investmentId UUID of the investment
|
|
317
148
|
* @param {string} optionId UUID of the option
|
|
149
|
+
* @param {string} investmentId UUID of the investment
|
|
318
150
|
* @param {string} valueFrameworkId UUID of the value framework
|
|
319
151
|
* @param {*} [options] Override http request option.
|
|
320
152
|
* @throws {RequiredError}
|
|
321
153
|
*/
|
|
322
|
-
getOptionKpis: (
|
|
323
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
324
|
-
assertParamExists('getOptionKpis', 'investmentId', investmentId);
|
|
154
|
+
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 = {}) {
|
|
325
155
|
// verify required parameter 'optionId' is not null or undefined
|
|
326
156
|
assertParamExists('getOptionKpis', 'optionId', optionId);
|
|
157
|
+
// verify required parameter 'investmentId' is not null or undefined
|
|
158
|
+
assertParamExists('getOptionKpis', 'investmentId', investmentId);
|
|
327
159
|
// verify required parameter 'valueFrameworkId' is not null or undefined
|
|
328
160
|
assertParamExists('getOptionKpis', 'valueFrameworkId', valueFrameworkId);
|
|
329
161
|
const localVarPath = `/investment/{investment_id}/option/{option_id}/kpis/{value_framework_id}`
|
|
330
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
|
|
331
162
|
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
163
|
+
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)))
|
|
332
164
|
.replace(`{${"value_framework_id"}}`, encodeURIComponent(String(valueFrameworkId)));
|
|
333
165
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
334
166
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -431,52 +263,6 @@ export const OptionApiAxiosParamCreator = function (configuration) {
|
|
|
431
263
|
options: localVarRequestOptions,
|
|
432
264
|
};
|
|
433
265
|
}),
|
|
434
|
-
/**
|
|
435
|
-
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
436
|
-
* @summary Partially update an impact for this option
|
|
437
|
-
* @param {string} impactId UUID of the impact
|
|
438
|
-
* @param {string} optionId UUID of the option
|
|
439
|
-
* @param {string} investmentId UUID of the investment
|
|
440
|
-
* @param {ImpactUpdate} impactUpdate
|
|
441
|
-
* @param {*} [options] Override http request option.
|
|
442
|
-
* @throws {RequiredError}
|
|
443
|
-
*/
|
|
444
|
-
patchImpactForOption: (impactId_1, optionId_1, investmentId_1, impactUpdate_1, ...args_1) => __awaiter(this, [impactId_1, optionId_1, investmentId_1, impactUpdate_1, ...args_1], void 0, function* (impactId, optionId, investmentId, impactUpdate, options = {}) {
|
|
445
|
-
// verify required parameter 'impactId' is not null or undefined
|
|
446
|
-
assertParamExists('patchImpactForOption', 'impactId', impactId);
|
|
447
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
448
|
-
assertParamExists('patchImpactForOption', 'optionId', optionId);
|
|
449
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
450
|
-
assertParamExists('patchImpactForOption', 'investmentId', investmentId);
|
|
451
|
-
// verify required parameter 'impactUpdate' is not null or undefined
|
|
452
|
-
assertParamExists('patchImpactForOption', 'impactUpdate', impactUpdate);
|
|
453
|
-
const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
|
|
454
|
-
.replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
|
|
455
|
-
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
456
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
457
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
458
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
459
|
-
let baseOptions;
|
|
460
|
-
if (configuration) {
|
|
461
|
-
baseOptions = configuration.baseOptions;
|
|
462
|
-
}
|
|
463
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
464
|
-
const localVarHeaderParameter = {};
|
|
465
|
-
const localVarQueryParameter = {};
|
|
466
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
467
|
-
// oauth required
|
|
468
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
469
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
470
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
471
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
472
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
473
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
474
|
-
localVarRequestOptions.data = serializeDataIfNeeded(impactUpdate, localVarRequestOptions, configuration);
|
|
475
|
-
return {
|
|
476
|
-
url: toPathString(localVarUrlObj),
|
|
477
|
-
options: localVarRequestOptions,
|
|
478
|
-
};
|
|
479
|
-
}),
|
|
480
266
|
/**
|
|
481
267
|
* Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
482
268
|
* @summary Partially update an option for this investment
|
|
@@ -527,24 +313,6 @@ export const OptionApiAxiosParamCreator = function (configuration) {
|
|
|
527
313
|
export const OptionApiFp = function (configuration) {
|
|
528
314
|
const localVarAxiosParamCreator = OptionApiAxiosParamCreator(configuration);
|
|
529
315
|
return {
|
|
530
|
-
/**
|
|
531
|
-
* Create a new impact under this option.
|
|
532
|
-
* @summary Create an impact for this option
|
|
533
|
-
* @param {string} optionId UUID of the option
|
|
534
|
-
* @param {string} investmentId UUID of the investment
|
|
535
|
-
* @param {ImpactCreate} impactCreate
|
|
536
|
-
* @param {*} [options] Override http request option.
|
|
537
|
-
* @throws {RequiredError}
|
|
538
|
-
*/
|
|
539
|
-
createImpactForOption(optionId, investmentId, impactCreate, options) {
|
|
540
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
541
|
-
var _a, _b, _c;
|
|
542
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createImpactForOption(optionId, investmentId, impactCreate, options);
|
|
543
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
544
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.createImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
545
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
546
|
-
});
|
|
547
|
-
},
|
|
548
316
|
/**
|
|
549
317
|
* Create a new option under this investment.
|
|
550
318
|
* @summary Create an option for this investment
|
|
@@ -562,75 +330,20 @@ export const OptionApiFp = function (configuration) {
|
|
|
562
330
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
563
331
|
});
|
|
564
332
|
},
|
|
565
|
-
/**
|
|
566
|
-
* Delete an existing impact by its ID.
|
|
567
|
-
* @summary Delete an impact for this option
|
|
568
|
-
* @param {string} impactId UUID of the impact
|
|
569
|
-
* @param {string} optionId UUID of the option
|
|
570
|
-
* @param {string} investmentId UUID of the investment
|
|
571
|
-
* @param {*} [options] Override http request option.
|
|
572
|
-
* @throws {RequiredError}
|
|
573
|
-
*/
|
|
574
|
-
deleteImpactForOption(impactId, optionId, investmentId, options) {
|
|
575
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
576
|
-
var _a, _b, _c;
|
|
577
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteImpactForOption(impactId, optionId, investmentId, options);
|
|
578
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
579
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.deleteImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
580
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
581
|
-
});
|
|
582
|
-
},
|
|
583
333
|
/**
|
|
584
334
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
585
335
|
* @summary Delete an option for this investment
|
|
586
|
-
* @param {string} optionId UUID of the option
|
|
587
|
-
* @param {string} investmentId UUID of the investment
|
|
588
|
-
* @param {*} [options] Override http request option.
|
|
589
|
-
* @throws {RequiredError}
|
|
590
|
-
*/
|
|
591
|
-
deleteOptionForInvestment(optionId, investmentId, options) {
|
|
592
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
593
|
-
var _a, _b, _c;
|
|
594
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOptionForInvestment(optionId, investmentId, options);
|
|
595
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
596
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.deleteOptionForInvestment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
597
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
598
|
-
});
|
|
599
|
-
},
|
|
600
|
-
/**
|
|
601
|
-
* Retrieve a specific impact for the option.
|
|
602
|
-
* @summary Get an impact for this option
|
|
603
|
-
* @param {string} impactId UUID of the impact
|
|
604
|
-
* @param {string} optionId UUID of the option
|
|
605
336
|
* @param {string} investmentId UUID of the investment
|
|
606
|
-
* @param {*} [options] Override http request option.
|
|
607
|
-
* @throws {RequiredError}
|
|
608
|
-
*/
|
|
609
|
-
getImpactForOption(impactId, optionId, investmentId, options) {
|
|
610
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
611
|
-
var _a, _b, _c;
|
|
612
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getImpactForOption(impactId, optionId, investmentId, options);
|
|
613
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
614
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.getImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
615
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
616
|
-
});
|
|
617
|
-
},
|
|
618
|
-
/**
|
|
619
|
-
* Retrieve a paginated list of all impacts for a specific option.
|
|
620
|
-
* @summary List impacts for this option
|
|
621
337
|
* @param {string} optionId UUID of the option
|
|
622
|
-
* @param {string} investmentId UUID of the investment
|
|
623
|
-
* @param {number} [offset] Number of records to skip
|
|
624
|
-
* @param {number} [limit] Max number of records to return
|
|
625
338
|
* @param {*} [options] Override http request option.
|
|
626
339
|
* @throws {RequiredError}
|
|
627
340
|
*/
|
|
628
|
-
|
|
341
|
+
deleteOptionForInvestment(investmentId, optionId, options) {
|
|
629
342
|
return __awaiter(this, void 0, void 0, function* () {
|
|
630
343
|
var _a, _b, _c;
|
|
631
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
344
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOptionForInvestment(investmentId, optionId, options);
|
|
632
345
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
633
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.
|
|
346
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.deleteOptionForInvestment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
634
347
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
635
348
|
});
|
|
636
349
|
},
|
|
@@ -654,16 +367,16 @@ export const OptionApiFp = function (configuration) {
|
|
|
654
367
|
/**
|
|
655
368
|
* 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.
|
|
656
369
|
* @summary Get the kpis for a given option inside a value framework
|
|
657
|
-
* @param {string} investmentId UUID of the investment
|
|
658
370
|
* @param {string} optionId UUID of the option
|
|
371
|
+
* @param {string} investmentId UUID of the investment
|
|
659
372
|
* @param {string} valueFrameworkId UUID of the value framework
|
|
660
373
|
* @param {*} [options] Override http request option.
|
|
661
374
|
* @throws {RequiredError}
|
|
662
375
|
*/
|
|
663
|
-
getOptionKpis(
|
|
376
|
+
getOptionKpis(optionId, investmentId, valueFrameworkId, options) {
|
|
664
377
|
return __awaiter(this, void 0, void 0, function* () {
|
|
665
378
|
var _a, _b, _c;
|
|
666
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptionKpis(
|
|
379
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptionKpis(optionId, investmentId, valueFrameworkId, options);
|
|
667
380
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
668
381
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.getOptionKpis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
669
382
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -704,25 +417,6 @@ export const OptionApiFp = function (configuration) {
|
|
|
704
417
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
705
418
|
});
|
|
706
419
|
},
|
|
707
|
-
/**
|
|
708
|
-
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
709
|
-
* @summary Partially update an impact for this option
|
|
710
|
-
* @param {string} impactId UUID of the impact
|
|
711
|
-
* @param {string} optionId UUID of the option
|
|
712
|
-
* @param {string} investmentId UUID of the investment
|
|
713
|
-
* @param {ImpactUpdate} impactUpdate
|
|
714
|
-
* @param {*} [options] Override http request option.
|
|
715
|
-
* @throws {RequiredError}
|
|
716
|
-
*/
|
|
717
|
-
patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options) {
|
|
718
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
719
|
-
var _a, _b, _c;
|
|
720
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options);
|
|
721
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
722
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.patchImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
723
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
724
|
-
});
|
|
725
|
-
},
|
|
726
420
|
/**
|
|
727
421
|
* Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
728
422
|
* @summary Partially update an option for this investment
|
|
@@ -749,18 +443,6 @@ export const OptionApiFp = function (configuration) {
|
|
|
749
443
|
export const OptionApiFactory = function (configuration, basePath, axios) {
|
|
750
444
|
const localVarFp = OptionApiFp(configuration);
|
|
751
445
|
return {
|
|
752
|
-
/**
|
|
753
|
-
* Create a new impact under this option.
|
|
754
|
-
* @summary Create an impact for this option
|
|
755
|
-
* @param {string} optionId UUID of the option
|
|
756
|
-
* @param {string} investmentId UUID of the investment
|
|
757
|
-
* @param {ImpactCreate} impactCreate
|
|
758
|
-
* @param {*} [options] Override http request option.
|
|
759
|
-
* @throws {RequiredError}
|
|
760
|
-
*/
|
|
761
|
-
createImpactForOption(optionId, investmentId, impactCreate, options) {
|
|
762
|
-
return localVarFp.createImpactForOption(optionId, investmentId, impactCreate, options).then((request) => request(axios, basePath));
|
|
763
|
-
},
|
|
764
446
|
/**
|
|
765
447
|
* Create a new option under this investment.
|
|
766
448
|
* @summary Create an option for this investment
|
|
@@ -772,53 +454,16 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
|
|
|
772
454
|
createOptionForInvestment(investmentId, optionCreate, options) {
|
|
773
455
|
return localVarFp.createOptionForInvestment(investmentId, optionCreate, options).then((request) => request(axios, basePath));
|
|
774
456
|
},
|
|
775
|
-
/**
|
|
776
|
-
* Delete an existing impact by its ID.
|
|
777
|
-
* @summary Delete an impact for this option
|
|
778
|
-
* @param {string} impactId UUID of the impact
|
|
779
|
-
* @param {string} optionId UUID of the option
|
|
780
|
-
* @param {string} investmentId UUID of the investment
|
|
781
|
-
* @param {*} [options] Override http request option.
|
|
782
|
-
* @throws {RequiredError}
|
|
783
|
-
*/
|
|
784
|
-
deleteImpactForOption(impactId, optionId, investmentId, options) {
|
|
785
|
-
return localVarFp.deleteImpactForOption(impactId, optionId, investmentId, options).then((request) => request(axios, basePath));
|
|
786
|
-
},
|
|
787
457
|
/**
|
|
788
458
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
789
459
|
* @summary Delete an option for this investment
|
|
790
|
-
* @param {string} optionId UUID of the option
|
|
791
460
|
* @param {string} investmentId UUID of the investment
|
|
792
|
-
* @param {*} [options] Override http request option.
|
|
793
|
-
* @throws {RequiredError}
|
|
794
|
-
*/
|
|
795
|
-
deleteOptionForInvestment(optionId, investmentId, options) {
|
|
796
|
-
return localVarFp.deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(axios, basePath));
|
|
797
|
-
},
|
|
798
|
-
/**
|
|
799
|
-
* Retrieve a specific impact for the option.
|
|
800
|
-
* @summary Get an impact for this option
|
|
801
|
-
* @param {string} impactId UUID of the impact
|
|
802
|
-
* @param {string} optionId UUID of the option
|
|
803
|
-
* @param {string} investmentId UUID of the investment
|
|
804
|
-
* @param {*} [options] Override http request option.
|
|
805
|
-
* @throws {RequiredError}
|
|
806
|
-
*/
|
|
807
|
-
getImpactForOption(impactId, optionId, investmentId, options) {
|
|
808
|
-
return localVarFp.getImpactForOption(impactId, optionId, investmentId, options).then((request) => request(axios, basePath));
|
|
809
|
-
},
|
|
810
|
-
/**
|
|
811
|
-
* Retrieve a paginated list of all impacts for a specific option.
|
|
812
|
-
* @summary List impacts for this option
|
|
813
461
|
* @param {string} optionId UUID of the option
|
|
814
|
-
* @param {string} investmentId UUID of the investment
|
|
815
|
-
* @param {number} [offset] Number of records to skip
|
|
816
|
-
* @param {number} [limit] Max number of records to return
|
|
817
462
|
* @param {*} [options] Override http request option.
|
|
818
463
|
* @throws {RequiredError}
|
|
819
464
|
*/
|
|
820
|
-
|
|
821
|
-
return localVarFp.
|
|
465
|
+
deleteOptionForInvestment(investmentId, optionId, options) {
|
|
466
|
+
return localVarFp.deleteOptionForInvestment(investmentId, optionId, options).then((request) => request(axios, basePath));
|
|
822
467
|
},
|
|
823
468
|
/**
|
|
824
469
|
* Retrieve a specific option for the investment.
|
|
@@ -834,14 +479,14 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
|
|
|
834
479
|
/**
|
|
835
480
|
* 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.
|
|
836
481
|
* @summary Get the kpis for a given option inside a value framework
|
|
837
|
-
* @param {string} investmentId UUID of the investment
|
|
838
482
|
* @param {string} optionId UUID of the option
|
|
483
|
+
* @param {string} investmentId UUID of the investment
|
|
839
484
|
* @param {string} valueFrameworkId UUID of the value framework
|
|
840
485
|
* @param {*} [options] Override http request option.
|
|
841
486
|
* @throws {RequiredError}
|
|
842
487
|
*/
|
|
843
|
-
getOptionKpis(
|
|
844
|
-
return localVarFp.getOptionKpis(
|
|
488
|
+
getOptionKpis(optionId, investmentId, valueFrameworkId, options) {
|
|
489
|
+
return localVarFp.getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
845
490
|
},
|
|
846
491
|
/**
|
|
847
492
|
* Retrieve a paginated list of all options for a specific investment.
|
|
@@ -866,19 +511,6 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
|
|
|
866
511
|
getOptionsOverview(investmentId, valueFrameworkId, options) {
|
|
867
512
|
return localVarFp.getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
868
513
|
},
|
|
869
|
-
/**
|
|
870
|
-
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
871
|
-
* @summary Partially update an impact for this option
|
|
872
|
-
* @param {string} impactId UUID of the impact
|
|
873
|
-
* @param {string} optionId UUID of the option
|
|
874
|
-
* @param {string} investmentId UUID of the investment
|
|
875
|
-
* @param {ImpactUpdate} impactUpdate
|
|
876
|
-
* @param {*} [options] Override http request option.
|
|
877
|
-
* @throws {RequiredError}
|
|
878
|
-
*/
|
|
879
|
-
patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options) {
|
|
880
|
-
return localVarFp.patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options).then((request) => request(axios, basePath));
|
|
881
|
-
},
|
|
882
514
|
/**
|
|
883
515
|
* Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
884
516
|
* @summary Partially update an option for this investment
|
|
@@ -897,18 +529,6 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
|
|
|
897
529
|
* OptionApi - object-oriented interface
|
|
898
530
|
*/
|
|
899
531
|
export class OptionApi extends BaseAPI {
|
|
900
|
-
/**
|
|
901
|
-
* Create a new impact under this option.
|
|
902
|
-
* @summary Create an impact for this option
|
|
903
|
-
* @param {string} optionId UUID of the option
|
|
904
|
-
* @param {string} investmentId UUID of the investment
|
|
905
|
-
* @param {ImpactCreate} impactCreate
|
|
906
|
-
* @param {*} [options] Override http request option.
|
|
907
|
-
* @throws {RequiredError}
|
|
908
|
-
*/
|
|
909
|
-
createImpactForOption(optionId, investmentId, impactCreate, options) {
|
|
910
|
-
return OptionApiFp(this.configuration).createImpactForOption(optionId, investmentId, impactCreate, options).then((request) => request(this.axios, this.basePath));
|
|
911
|
-
}
|
|
912
532
|
/**
|
|
913
533
|
* Create a new option under this investment.
|
|
914
534
|
* @summary Create an option for this investment
|
|
@@ -920,53 +540,16 @@ export class OptionApi extends BaseAPI {
|
|
|
920
540
|
createOptionForInvestment(investmentId, optionCreate, options) {
|
|
921
541
|
return OptionApiFp(this.configuration).createOptionForInvestment(investmentId, optionCreate, options).then((request) => request(this.axios, this.basePath));
|
|
922
542
|
}
|
|
923
|
-
/**
|
|
924
|
-
* Delete an existing impact by its ID.
|
|
925
|
-
* @summary Delete an impact for this option
|
|
926
|
-
* @param {string} impactId UUID of the impact
|
|
927
|
-
* @param {string} optionId UUID of the option
|
|
928
|
-
* @param {string} investmentId UUID of the investment
|
|
929
|
-
* @param {*} [options] Override http request option.
|
|
930
|
-
* @throws {RequiredError}
|
|
931
|
-
*/
|
|
932
|
-
deleteImpactForOption(impactId, optionId, investmentId, options) {
|
|
933
|
-
return OptionApiFp(this.configuration).deleteImpactForOption(impactId, optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
934
|
-
}
|
|
935
543
|
/**
|
|
936
544
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
937
545
|
* @summary Delete an option for this investment
|
|
938
|
-
* @param {string} optionId UUID of the option
|
|
939
|
-
* @param {string} investmentId UUID of the investment
|
|
940
|
-
* @param {*} [options] Override http request option.
|
|
941
|
-
* @throws {RequiredError}
|
|
942
|
-
*/
|
|
943
|
-
deleteOptionForInvestment(optionId, investmentId, options) {
|
|
944
|
-
return OptionApiFp(this.configuration).deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
945
|
-
}
|
|
946
|
-
/**
|
|
947
|
-
* Retrieve a specific impact for the option.
|
|
948
|
-
* @summary Get an impact for this option
|
|
949
|
-
* @param {string} impactId UUID of the impact
|
|
950
|
-
* @param {string} optionId UUID of the option
|
|
951
546
|
* @param {string} investmentId UUID of the investment
|
|
952
|
-
* @param {*} [options] Override http request option.
|
|
953
|
-
* @throws {RequiredError}
|
|
954
|
-
*/
|
|
955
|
-
getImpactForOption(impactId, optionId, investmentId, options) {
|
|
956
|
-
return OptionApiFp(this.configuration).getImpactForOption(impactId, optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
957
|
-
}
|
|
958
|
-
/**
|
|
959
|
-
* Retrieve a paginated list of all impacts for a specific option.
|
|
960
|
-
* @summary List impacts for this option
|
|
961
547
|
* @param {string} optionId UUID of the option
|
|
962
|
-
* @param {string} investmentId UUID of the investment
|
|
963
|
-
* @param {number} [offset] Number of records to skip
|
|
964
|
-
* @param {number} [limit] Max number of records to return
|
|
965
548
|
* @param {*} [options] Override http request option.
|
|
966
549
|
* @throws {RequiredError}
|
|
967
550
|
*/
|
|
968
|
-
|
|
969
|
-
return OptionApiFp(this.configuration).
|
|
551
|
+
deleteOptionForInvestment(investmentId, optionId, options) {
|
|
552
|
+
return OptionApiFp(this.configuration).deleteOptionForInvestment(investmentId, optionId, options).then((request) => request(this.axios, this.basePath));
|
|
970
553
|
}
|
|
971
554
|
/**
|
|
972
555
|
* Retrieve a specific option for the investment.
|
|
@@ -982,14 +565,14 @@ export class OptionApi extends BaseAPI {
|
|
|
982
565
|
/**
|
|
983
566
|
* 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.
|
|
984
567
|
* @summary Get the kpis for a given option inside a value framework
|
|
985
|
-
* @param {string} investmentId UUID of the investment
|
|
986
568
|
* @param {string} optionId UUID of the option
|
|
569
|
+
* @param {string} investmentId UUID of the investment
|
|
987
570
|
* @param {string} valueFrameworkId UUID of the value framework
|
|
988
571
|
* @param {*} [options] Override http request option.
|
|
989
572
|
* @throws {RequiredError}
|
|
990
573
|
*/
|
|
991
|
-
getOptionKpis(
|
|
992
|
-
return OptionApiFp(this.configuration).getOptionKpis(
|
|
574
|
+
getOptionKpis(optionId, investmentId, valueFrameworkId, options) {
|
|
575
|
+
return OptionApiFp(this.configuration).getOptionKpis(optionId, investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
993
576
|
}
|
|
994
577
|
/**
|
|
995
578
|
* Retrieve a paginated list of all options for a specific investment.
|
|
@@ -1014,19 +597,6 @@ export class OptionApi extends BaseAPI {
|
|
|
1014
597
|
getOptionsOverview(investmentId, valueFrameworkId, options) {
|
|
1015
598
|
return OptionApiFp(this.configuration).getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
1016
599
|
}
|
|
1017
|
-
/**
|
|
1018
|
-
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
1019
|
-
* @summary Partially update an impact for this option
|
|
1020
|
-
* @param {string} impactId UUID of the impact
|
|
1021
|
-
* @param {string} optionId UUID of the option
|
|
1022
|
-
* @param {string} investmentId UUID of the investment
|
|
1023
|
-
* @param {ImpactUpdate} impactUpdate
|
|
1024
|
-
* @param {*} [options] Override http request option.
|
|
1025
|
-
* @throws {RequiredError}
|
|
1026
|
-
*/
|
|
1027
|
-
patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options) {
|
|
1028
|
-
return OptionApiFp(this.configuration).patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1029
|
-
}
|
|
1030
600
|
/**
|
|
1031
601
|
* Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
1032
602
|
* @summary Partially update an option for this investment
|