@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).
|
|
@@ -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.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).
|
|
@@ -25,6 +25,9 @@ export * from './api/objective-api';
|
|
|
25
25
|
export * from './api/objective-weight-api';
|
|
26
26
|
export * from './api/objective-weights-api';
|
|
27
27
|
export * from './api/option-api';
|
|
28
|
+
export * from './api/portfolio-api';
|
|
29
|
+
export * from './api/portfolio-investment-api';
|
|
30
|
+
export * from './api/portfolio-kpiapi';
|
|
28
31
|
export * from './api/preferred-option-api';
|
|
29
32
|
export * from './api/value-framework-api';
|
|
30
33
|
export * from './api/value-framework-costs-api';
|
package/base.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/common.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/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Asset Investment Planning
|
|
4
4
|
* API for Asset Investment Planning
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.
|
|
6
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/budget-api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Asset Investment Planning
|
|
3
3
|
* API for Asset Investment Planning
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,7 +25,7 @@ import type { BudgetUpdate } from '../models';
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const BudgetApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
27
|
/**
|
|
28
|
-
* Delete multiple budgets
|
|
28
|
+
* 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).
|
|
29
29
|
* @summary Bulk delete budgets
|
|
30
30
|
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
@@ -115,7 +115,7 @@ export declare const BudgetApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
115
115
|
*/
|
|
116
116
|
export declare const BudgetApiFp: (configuration?: Configuration) => {
|
|
117
117
|
/**
|
|
118
|
-
* Delete multiple budgets
|
|
118
|
+
* 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).
|
|
119
119
|
* @summary Bulk delete budgets
|
|
120
120
|
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
@@ -205,7 +205,7 @@ export declare const BudgetApiFp: (configuration?: Configuration) => {
|
|
|
205
205
|
*/
|
|
206
206
|
export declare const BudgetApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
207
207
|
/**
|
|
208
|
-
* Delete multiple budgets
|
|
208
|
+
* 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).
|
|
209
209
|
* @summary Bulk delete budgets
|
|
210
210
|
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
211
211
|
* @param {*} [options] Override http request option.
|
|
@@ -295,7 +295,7 @@ export declare const BudgetApiFactory: (configuration?: Configuration, basePath?
|
|
|
295
295
|
*/
|
|
296
296
|
export declare class BudgetApi extends BaseAPI {
|
|
297
297
|
/**
|
|
298
|
-
* Delete multiple budgets
|
|
298
|
+
* 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).
|
|
299
299
|
* @summary Bulk delete budgets
|
|
300
300
|
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
301
301
|
* @param {*} [options] Override http request option.
|
package/dist/api/budget-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -35,7 +35,7 @@ const base_1 = require("../base");
|
|
|
35
35
|
const BudgetApiAxiosParamCreator = function (configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
* Delete multiple budgets
|
|
38
|
+
* 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).
|
|
39
39
|
* @summary Bulk delete budgets
|
|
40
40
|
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
@@ -44,14 +44,14 @@ const BudgetApiAxiosParamCreator = function (configuration) {
|
|
|
44
44
|
bulkDeleteBudgets: (budgetBulkDeleteRequest_1, ...args_1) => __awaiter(this, [budgetBulkDeleteRequest_1, ...args_1], void 0, function* (budgetBulkDeleteRequest, options = {}) {
|
|
45
45
|
// verify required parameter 'budgetBulkDeleteRequest' is not null or undefined
|
|
46
46
|
(0, common_1.assertParamExists)('bulkDeleteBudgets', 'budgetBulkDeleteRequest', budgetBulkDeleteRequest);
|
|
47
|
-
const localVarPath = `/budget/bulk`;
|
|
47
|
+
const localVarPath = `/budget/bulk-delete`;
|
|
48
48
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49
49
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
50
50
|
let baseOptions;
|
|
51
51
|
if (configuration) {
|
|
52
52
|
baseOptions = configuration.baseOptions;
|
|
53
53
|
}
|
|
54
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
54
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
55
55
|
const localVarHeaderParameter = {};
|
|
56
56
|
const localVarQueryParameter = {};
|
|
57
57
|
// authentication OAuth2AuthorizationCodeBearer required
|
|
@@ -400,7 +400,7 @@ const BudgetApiFp = function (configuration) {
|
|
|
400
400
|
const localVarAxiosParamCreator = (0, exports.BudgetApiAxiosParamCreator)(configuration);
|
|
401
401
|
return {
|
|
402
402
|
/**
|
|
403
|
-
* Delete multiple budgets
|
|
403
|
+
* 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).
|
|
404
404
|
* @summary Bulk delete budgets
|
|
405
405
|
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
406
406
|
* @param {*} [options] Override http request option.
|
|
@@ -574,7 +574,7 @@ const BudgetApiFactory = function (configuration, basePath, axios) {
|
|
|
574
574
|
const localVarFp = (0, exports.BudgetApiFp)(configuration);
|
|
575
575
|
return {
|
|
576
576
|
/**
|
|
577
|
-
* Delete multiple budgets
|
|
577
|
+
* 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).
|
|
578
578
|
* @summary Bulk delete budgets
|
|
579
579
|
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
580
580
|
* @param {*} [options] Override http request option.
|
|
@@ -686,7 +686,7 @@ exports.BudgetApiFactory = BudgetApiFactory;
|
|
|
686
686
|
*/
|
|
687
687
|
class BudgetApi extends base_1.BaseAPI {
|
|
688
688
|
/**
|
|
689
|
-
* Delete multiple budgets
|
|
689
|
+
* 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).
|
|
690
690
|
* @summary Bulk delete budgets
|
|
691
691
|
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
692
692
|
* @param {*} [options] Override http request option.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Asset Investment Planning
|
|
3
3
|
* API for Asset Investment Planning
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/default-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/impact-api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Asset Investment Planning
|
|
3
3
|
* API for Asset Investment Planning
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,12 +13,23 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { ImpactAPIResponse } from '../models';
|
|
16
|
+
import type { ImpactBulkItem } from '../models';
|
|
16
17
|
import type { ImpactCreate } from '../models';
|
|
17
18
|
import type { ImpactUpdate } from '../models';
|
|
18
19
|
/**
|
|
19
20
|
* ImpactApi - axios parameter creator
|
|
20
21
|
*/
|
|
21
22
|
export declare const ImpactApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
* Replace the full set of impacts for an option in a single call. Existing impacts matching a `metric_id` in the payload are updated; new `metric_id`s are created; impacts whose `metric_id` is absent from the payload are deleted. Duplicate `metric_id` values within the request are rejected with 422.
|
|
25
|
+
* @summary Bulk upsert impacts for this option
|
|
26
|
+
* @param {string} optionId UUID of the option
|
|
27
|
+
* @param {string} investmentId UUID of the investment
|
|
28
|
+
* @param {Array<ImpactBulkItem>} impactBulkItem
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
bulkUpsertImpactsForOption: (optionId: string, investmentId: string, impactBulkItem: Array<ImpactBulkItem>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22
33
|
/**
|
|
23
34
|
* Create a new impact under this option.
|
|
24
35
|
* @summary Create an impact for this option
|
|
@@ -76,6 +87,16 @@ export declare const ImpactApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
76
87
|
* ImpactApi - functional programming interface
|
|
77
88
|
*/
|
|
78
89
|
export declare const ImpactApiFp: (configuration?: Configuration) => {
|
|
90
|
+
/**
|
|
91
|
+
* Replace the full set of impacts for an option in a single call. Existing impacts matching a `metric_id` in the payload are updated; new `metric_id`s are created; impacts whose `metric_id` is absent from the payload are deleted. Duplicate `metric_id` values within the request are rejected with 422.
|
|
92
|
+
* @summary Bulk upsert impacts for this option
|
|
93
|
+
* @param {string} optionId UUID of the option
|
|
94
|
+
* @param {string} investmentId UUID of the investment
|
|
95
|
+
* @param {Array<ImpactBulkItem>} impactBulkItem
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
bulkUpsertImpactsForOption(optionId: string, investmentId: string, impactBulkItem: Array<ImpactBulkItem>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ImpactAPIResponse>>>;
|
|
79
100
|
/**
|
|
80
101
|
* Create a new impact under this option.
|
|
81
102
|
* @summary Create an impact for this option
|
|
@@ -133,6 +154,16 @@ export declare const ImpactApiFp: (configuration?: Configuration) => {
|
|
|
133
154
|
* ImpactApi - factory interface
|
|
134
155
|
*/
|
|
135
156
|
export declare const ImpactApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
157
|
+
/**
|
|
158
|
+
* Replace the full set of impacts for an option in a single call. Existing impacts matching a `metric_id` in the payload are updated; new `metric_id`s are created; impacts whose `metric_id` is absent from the payload are deleted. Duplicate `metric_id` values within the request are rejected with 422.
|
|
159
|
+
* @summary Bulk upsert impacts for this option
|
|
160
|
+
* @param {string} optionId UUID of the option
|
|
161
|
+
* @param {string} investmentId UUID of the investment
|
|
162
|
+
* @param {Array<ImpactBulkItem>} impactBulkItem
|
|
163
|
+
* @param {*} [options] Override http request option.
|
|
164
|
+
* @throws {RequiredError}
|
|
165
|
+
*/
|
|
166
|
+
bulkUpsertImpactsForOption(optionId: string, investmentId: string, impactBulkItem: Array<ImpactBulkItem>, options?: RawAxiosRequestConfig): AxiosPromise<Array<ImpactAPIResponse>>;
|
|
136
167
|
/**
|
|
137
168
|
* Create a new impact under this option.
|
|
138
169
|
* @summary Create an impact for this option
|
|
@@ -190,6 +221,16 @@ export declare const ImpactApiFactory: (configuration?: Configuration, basePath?
|
|
|
190
221
|
* ImpactApi - object-oriented interface
|
|
191
222
|
*/
|
|
192
223
|
export declare class ImpactApi extends BaseAPI {
|
|
224
|
+
/**
|
|
225
|
+
* Replace the full set of impacts for an option in a single call. Existing impacts matching a `metric_id` in the payload are updated; new `metric_id`s are created; impacts whose `metric_id` is absent from the payload are deleted. Duplicate `metric_id` values within the request are rejected with 422.
|
|
226
|
+
* @summary Bulk upsert impacts for this option
|
|
227
|
+
* @param {string} optionId UUID of the option
|
|
228
|
+
* @param {string} investmentId UUID of the investment
|
|
229
|
+
* @param {Array<ImpactBulkItem>} impactBulkItem
|
|
230
|
+
* @param {*} [options] Override http request option.
|
|
231
|
+
* @throws {RequiredError}
|
|
232
|
+
*/
|
|
233
|
+
bulkUpsertImpactsForOption(optionId: string, investmentId: string, impactBulkItem: Array<ImpactBulkItem>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImpactAPIResponse[], any, {}>>;
|
|
193
234
|
/**
|
|
194
235
|
* Create a new impact under this option.
|
|
195
236
|
* @summary Create an impact for this option
|
package/dist/api/impact-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,6 +34,48 @@ const base_1 = require("../base");
|
|
|
34
34
|
*/
|
|
35
35
|
const ImpactApiAxiosParamCreator = function (configuration) {
|
|
36
36
|
return {
|
|
37
|
+
/**
|
|
38
|
+
* Replace the full set of impacts for an option in a single call. Existing impacts matching a `metric_id` in the payload are updated; new `metric_id`s are created; impacts whose `metric_id` is absent from the payload are deleted. Duplicate `metric_id` values within the request are rejected with 422.
|
|
39
|
+
* @summary Bulk upsert impacts for this option
|
|
40
|
+
* @param {string} optionId UUID of the option
|
|
41
|
+
* @param {string} investmentId UUID of the investment
|
|
42
|
+
* @param {Array<ImpactBulkItem>} impactBulkItem
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
bulkUpsertImpactsForOption: (optionId_1, investmentId_1, impactBulkItem_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, impactBulkItem_1, ...args_1], void 0, function* (optionId, investmentId, impactBulkItem, options = {}) {
|
|
47
|
+
// verify required parameter 'optionId' is not null or undefined
|
|
48
|
+
(0, common_1.assertParamExists)('bulkUpsertImpactsForOption', 'optionId', optionId);
|
|
49
|
+
// verify required parameter 'investmentId' is not null or undefined
|
|
50
|
+
(0, common_1.assertParamExists)('bulkUpsertImpactsForOption', 'investmentId', investmentId);
|
|
51
|
+
// verify required parameter 'impactBulkItem' is not null or undefined
|
|
52
|
+
(0, common_1.assertParamExists)('bulkUpsertImpactsForOption', 'impactBulkItem', impactBulkItem);
|
|
53
|
+
const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
|
|
54
|
+
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
55
|
+
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
56
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
58
|
+
let baseOptions;
|
|
59
|
+
if (configuration) {
|
|
60
|
+
baseOptions = configuration.baseOptions;
|
|
61
|
+
}
|
|
62
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
63
|
+
const localVarHeaderParameter = {};
|
|
64
|
+
const localVarQueryParameter = {};
|
|
65
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
66
|
+
// oauth required
|
|
67
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
68
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
69
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
71
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
73
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(impactBulkItem, localVarRequestOptions, configuration);
|
|
74
|
+
return {
|
|
75
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
76
|
+
options: localVarRequestOptions,
|
|
77
|
+
};
|
|
78
|
+
}),
|
|
37
79
|
/**
|
|
38
80
|
* Create a new impact under this option.
|
|
39
81
|
* @summary Create an impact for this option
|
|
@@ -257,6 +299,24 @@ exports.ImpactApiAxiosParamCreator = ImpactApiAxiosParamCreator;
|
|
|
257
299
|
const ImpactApiFp = function (configuration) {
|
|
258
300
|
const localVarAxiosParamCreator = (0, exports.ImpactApiAxiosParamCreator)(configuration);
|
|
259
301
|
return {
|
|
302
|
+
/**
|
|
303
|
+
* Replace the full set of impacts for an option in a single call. Existing impacts matching a `metric_id` in the payload are updated; new `metric_id`s are created; impacts whose `metric_id` is absent from the payload are deleted. Duplicate `metric_id` values within the request are rejected with 422.
|
|
304
|
+
* @summary Bulk upsert impacts for this option
|
|
305
|
+
* @param {string} optionId UUID of the option
|
|
306
|
+
* @param {string} investmentId UUID of the investment
|
|
307
|
+
* @param {Array<ImpactBulkItem>} impactBulkItem
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
*/
|
|
311
|
+
bulkUpsertImpactsForOption(optionId, investmentId, impactBulkItem, options) {
|
|
312
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
313
|
+
var _a, _b, _c;
|
|
314
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkUpsertImpactsForOption(optionId, investmentId, impactBulkItem, options);
|
|
315
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
316
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ImpactApi.bulkUpsertImpactsForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
317
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
318
|
+
});
|
|
319
|
+
},
|
|
260
320
|
/**
|
|
261
321
|
* Create a new impact under this option.
|
|
262
322
|
* @summary Create an impact for this option
|
|
@@ -358,6 +418,18 @@ exports.ImpactApiFp = ImpactApiFp;
|
|
|
358
418
|
const ImpactApiFactory = function (configuration, basePath, axios) {
|
|
359
419
|
const localVarFp = (0, exports.ImpactApiFp)(configuration);
|
|
360
420
|
return {
|
|
421
|
+
/**
|
|
422
|
+
* Replace the full set of impacts for an option in a single call. Existing impacts matching a `metric_id` in the payload are updated; new `metric_id`s are created; impacts whose `metric_id` is absent from the payload are deleted. Duplicate `metric_id` values within the request are rejected with 422.
|
|
423
|
+
* @summary Bulk upsert impacts for this option
|
|
424
|
+
* @param {string} optionId UUID of the option
|
|
425
|
+
* @param {string} investmentId UUID of the investment
|
|
426
|
+
* @param {Array<ImpactBulkItem>} impactBulkItem
|
|
427
|
+
* @param {*} [options] Override http request option.
|
|
428
|
+
* @throws {RequiredError}
|
|
429
|
+
*/
|
|
430
|
+
bulkUpsertImpactsForOption(optionId, investmentId, impactBulkItem, options) {
|
|
431
|
+
return localVarFp.bulkUpsertImpactsForOption(optionId, investmentId, impactBulkItem, options).then((request) => request(axios, basePath));
|
|
432
|
+
},
|
|
361
433
|
/**
|
|
362
434
|
* Create a new impact under this option.
|
|
363
435
|
* @summary Create an impact for this option
|
|
@@ -427,6 +499,18 @@ exports.ImpactApiFactory = ImpactApiFactory;
|
|
|
427
499
|
* ImpactApi - object-oriented interface
|
|
428
500
|
*/
|
|
429
501
|
class ImpactApi extends base_1.BaseAPI {
|
|
502
|
+
/**
|
|
503
|
+
* Replace the full set of impacts for an option in a single call. Existing impacts matching a `metric_id` in the payload are updated; new `metric_id`s are created; impacts whose `metric_id` is absent from the payload are deleted. Duplicate `metric_id` values within the request are rejected with 422.
|
|
504
|
+
* @summary Bulk upsert impacts for this option
|
|
505
|
+
* @param {string} optionId UUID of the option
|
|
506
|
+
* @param {string} investmentId UUID of the investment
|
|
507
|
+
* @param {Array<ImpactBulkItem>} impactBulkItem
|
|
508
|
+
* @param {*} [options] Override http request option.
|
|
509
|
+
* @throws {RequiredError}
|
|
510
|
+
*/
|
|
511
|
+
bulkUpsertImpactsForOption(optionId, investmentId, impactBulkItem, options) {
|
|
512
|
+
return (0, exports.ImpactApiFp)(this.configuration).bulkUpsertImpactsForOption(optionId, investmentId, impactBulkItem, options).then((request) => request(this.axios, this.basePath));
|
|
513
|
+
}
|
|
430
514
|
/**
|
|
431
515
|
* Create a new impact under this option.
|
|
432
516
|
* @summary Create an impact for this option
|