@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
package/api/metric-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/metric-costs-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/objective-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-dev1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,108 +22,16 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
-
import type { MetricCreate } from '../models';
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
import type { MetricResponse } from '../models';
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
import type { MetricUpdate } from '../models';
|
|
30
|
-
// @ts-ignore
|
|
31
25
|
import type { ObjectiveCreate } from '../models';
|
|
32
26
|
// @ts-ignore
|
|
33
27
|
import type { ObjectiveResponse } from '../models';
|
|
34
28
|
// @ts-ignore
|
|
35
29
|
import type { ObjectiveUpdate } from '../models';
|
|
36
|
-
// @ts-ignore
|
|
37
|
-
import type { ObjectiveWeightResponse } from '../models';
|
|
38
30
|
/**
|
|
39
31
|
* ObjectiveApi - axios parameter creator
|
|
40
32
|
*/
|
|
41
33
|
export const ObjectiveApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42
34
|
return {
|
|
43
|
-
/**
|
|
44
|
-
* Create a new metric under this objective.
|
|
45
|
-
* @summary Create a metric for this objective
|
|
46
|
-
* @param {string} objectiveId UUID of the objective
|
|
47
|
-
* @param {MetricCreate} metricCreate
|
|
48
|
-
* @param {*} [options] Override http request option.
|
|
49
|
-
* @throws {RequiredError}
|
|
50
|
-
*/
|
|
51
|
-
createMetricForObjective: async (objectiveId: string, metricCreate: MetricCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
52
|
-
// verify required parameter 'objectiveId' is not null or undefined
|
|
53
|
-
assertParamExists('createMetricForObjective', 'objectiveId', objectiveId)
|
|
54
|
-
// verify required parameter 'metricCreate' is not null or undefined
|
|
55
|
-
assertParamExists('createMetricForObjective', 'metricCreate', metricCreate)
|
|
56
|
-
const localVarPath = `/objective/{objective_id}/metric/`
|
|
57
|
-
.replace(`{${"objective_id"}}`, encodeURIComponent(String(objectiveId)));
|
|
58
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60
|
-
let baseOptions;
|
|
61
|
-
if (configuration) {
|
|
62
|
-
baseOptions = configuration.baseOptions;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
66
|
-
const localVarHeaderParameter = {} as any;
|
|
67
|
-
const localVarQueryParameter = {} as any;
|
|
68
|
-
|
|
69
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
70
|
-
// oauth required
|
|
71
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
72
|
-
|
|
73
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
74
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
75
|
-
|
|
76
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
77
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
79
|
-
localVarRequestOptions.data = serializeDataIfNeeded(metricCreate, localVarRequestOptions, configuration)
|
|
80
|
-
|
|
81
|
-
return {
|
|
82
|
-
url: toPathString(localVarUrlObj),
|
|
83
|
-
options: localVarRequestOptions,
|
|
84
|
-
};
|
|
85
|
-
},
|
|
86
|
-
/**
|
|
87
|
-
* Delete an existing metric by its ID. Associated metric costs per year are also deleted via cascade.
|
|
88
|
-
* @summary Delete a metric for this objective
|
|
89
|
-
* @param {string} metricId UUID of the metric
|
|
90
|
-
* @param {string} objectiveId UUID of the objective
|
|
91
|
-
* @param {*} [options] Override http request option.
|
|
92
|
-
* @throws {RequiredError}
|
|
93
|
-
*/
|
|
94
|
-
deleteMetricForObjective: async (metricId: string, objectiveId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
95
|
-
// verify required parameter 'metricId' is not null or undefined
|
|
96
|
-
assertParamExists('deleteMetricForObjective', 'metricId', metricId)
|
|
97
|
-
// verify required parameter 'objectiveId' is not null or undefined
|
|
98
|
-
assertParamExists('deleteMetricForObjective', 'objectiveId', objectiveId)
|
|
99
|
-
const localVarPath = `/objective/{objective_id}/metric/{metric_id}`
|
|
100
|
-
.replace(`{${"metric_id"}}`, encodeURIComponent(String(metricId)))
|
|
101
|
-
.replace(`{${"objective_id"}}`, encodeURIComponent(String(objectiveId)));
|
|
102
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104
|
-
let baseOptions;
|
|
105
|
-
if (configuration) {
|
|
106
|
-
baseOptions = configuration.baseOptions;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
110
|
-
const localVarHeaderParameter = {} as any;
|
|
111
|
-
const localVarQueryParameter = {} as any;
|
|
112
|
-
|
|
113
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
114
|
-
// oauth required
|
|
115
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
119
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
120
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
121
|
-
|
|
122
|
-
return {
|
|
123
|
-
url: toPathString(localVarUrlObj),
|
|
124
|
-
options: localVarRequestOptions,
|
|
125
|
-
};
|
|
126
|
-
},
|
|
127
35
|
/**
|
|
128
36
|
* Delete an existing objective by its ID. Associated metrics and objective weights are also deleted via cascade.
|
|
129
37
|
* @summary Delete an objective
|
|
@@ -152,96 +60,6 @@ export const ObjectiveApiAxiosParamCreator = function (configuration?: Configura
|
|
|
152
60
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
153
61
|
|
|
154
62
|
|
|
155
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
156
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
157
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
158
|
-
|
|
159
|
-
return {
|
|
160
|
-
url: toPathString(localVarUrlObj),
|
|
161
|
-
options: localVarRequestOptions,
|
|
162
|
-
};
|
|
163
|
-
},
|
|
164
|
-
/**
|
|
165
|
-
* Retrieve a specific metric for the objective.
|
|
166
|
-
* @summary Get a metric for this objective
|
|
167
|
-
* @param {string} metricId UUID of the metric
|
|
168
|
-
* @param {string} objectiveId UUID of the objective
|
|
169
|
-
* @param {*} [options] Override http request option.
|
|
170
|
-
* @throws {RequiredError}
|
|
171
|
-
*/
|
|
172
|
-
getMetricForObjective: async (metricId: string, objectiveId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
173
|
-
// verify required parameter 'metricId' is not null or undefined
|
|
174
|
-
assertParamExists('getMetricForObjective', 'metricId', metricId)
|
|
175
|
-
// verify required parameter 'objectiveId' is not null or undefined
|
|
176
|
-
assertParamExists('getMetricForObjective', 'objectiveId', objectiveId)
|
|
177
|
-
const localVarPath = `/objective/{objective_id}/metric/{metric_id}`
|
|
178
|
-
.replace(`{${"metric_id"}}`, encodeURIComponent(String(metricId)))
|
|
179
|
-
.replace(`{${"objective_id"}}`, encodeURIComponent(String(objectiveId)));
|
|
180
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
181
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
182
|
-
let baseOptions;
|
|
183
|
-
if (configuration) {
|
|
184
|
-
baseOptions = configuration.baseOptions;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
188
|
-
const localVarHeaderParameter = {} as any;
|
|
189
|
-
const localVarQueryParameter = {} as any;
|
|
190
|
-
|
|
191
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
192
|
-
// oauth required
|
|
193
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
194
|
-
|
|
195
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
196
|
-
|
|
197
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
198
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
199
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
200
|
-
|
|
201
|
-
return {
|
|
202
|
-
url: toPathString(localVarUrlObj),
|
|
203
|
-
options: localVarRequestOptions,
|
|
204
|
-
};
|
|
205
|
-
},
|
|
206
|
-
/**
|
|
207
|
-
* Retrieve a paginated list of all metrics for a specific objective.
|
|
208
|
-
* @summary List metrics for this objective
|
|
209
|
-
* @param {string} objectiveId UUID of the objective
|
|
210
|
-
* @param {number} [offset] Number of records to skip
|
|
211
|
-
* @param {number} [limit] Max number of records to return
|
|
212
|
-
* @param {*} [options] Override http request option.
|
|
213
|
-
* @throws {RequiredError}
|
|
214
|
-
*/
|
|
215
|
-
getMetricsForObjective: async (objectiveId: string, offset?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
216
|
-
// verify required parameter 'objectiveId' is not null or undefined
|
|
217
|
-
assertParamExists('getMetricsForObjective', 'objectiveId', objectiveId)
|
|
218
|
-
const localVarPath = `/objective/{objective_id}/metric/`
|
|
219
|
-
.replace(`{${"objective_id"}}`, encodeURIComponent(String(objectiveId)));
|
|
220
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
221
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
222
|
-
let baseOptions;
|
|
223
|
-
if (configuration) {
|
|
224
|
-
baseOptions = configuration.baseOptions;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
228
|
-
const localVarHeaderParameter = {} as any;
|
|
229
|
-
const localVarQueryParameter = {} as any;
|
|
230
|
-
|
|
231
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
232
|
-
// oauth required
|
|
233
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
234
|
-
|
|
235
|
-
if (offset !== undefined) {
|
|
236
|
-
localVarQueryParameter['offset'] = offset;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
if (limit !== undefined) {
|
|
240
|
-
localVarQueryParameter['limit'] = limit;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
244
|
-
|
|
245
63
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
246
64
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
247
65
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -333,101 +151,6 @@ export const ObjectiveApiAxiosParamCreator = function (configuration?: Configura
|
|
|
333
151
|
options: localVarRequestOptions,
|
|
334
152
|
};
|
|
335
153
|
},
|
|
336
|
-
/**
|
|
337
|
-
* Retrieve a paginated list of all objective weights for a specific objective.
|
|
338
|
-
* @summary List all objective weights for an objective
|
|
339
|
-
* @param {string} objectiveId UUID of the objective
|
|
340
|
-
* @param {number} [offset] Number of records to skip
|
|
341
|
-
* @param {number} [limit] Max number of records to return
|
|
342
|
-
* @param {*} [options] Override http request option.
|
|
343
|
-
* @throws {RequiredError}
|
|
344
|
-
*/
|
|
345
|
-
getWeightsForObjective: async (objectiveId: string, offset?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
346
|
-
// verify required parameter 'objectiveId' is not null or undefined
|
|
347
|
-
assertParamExists('getWeightsForObjective', 'objectiveId', objectiveId)
|
|
348
|
-
const localVarPath = `/objective/{objective_id}/weights/`
|
|
349
|
-
.replace(`{${"objective_id"}}`, encodeURIComponent(String(objectiveId)));
|
|
350
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
351
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
352
|
-
let baseOptions;
|
|
353
|
-
if (configuration) {
|
|
354
|
-
baseOptions = configuration.baseOptions;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
358
|
-
const localVarHeaderParameter = {} as any;
|
|
359
|
-
const localVarQueryParameter = {} as any;
|
|
360
|
-
|
|
361
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
362
|
-
// oauth required
|
|
363
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
364
|
-
|
|
365
|
-
if (offset !== undefined) {
|
|
366
|
-
localVarQueryParameter['offset'] = offset;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
if (limit !== undefined) {
|
|
370
|
-
localVarQueryParameter['limit'] = limit;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
374
|
-
|
|
375
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
376
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
377
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
378
|
-
|
|
379
|
-
return {
|
|
380
|
-
url: toPathString(localVarUrlObj),
|
|
381
|
-
options: localVarRequestOptions,
|
|
382
|
-
};
|
|
383
|
-
},
|
|
384
|
-
/**
|
|
385
|
-
* Update one or more fields of an existing metric. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
386
|
-
* @summary Partially update a metric for this objective
|
|
387
|
-
* @param {string} metricId UUID of the metric
|
|
388
|
-
* @param {string} objectiveId UUID of the objective
|
|
389
|
-
* @param {MetricUpdate} metricUpdate
|
|
390
|
-
* @param {*} [options] Override http request option.
|
|
391
|
-
* @throws {RequiredError}
|
|
392
|
-
*/
|
|
393
|
-
patchMetricForObjective: async (metricId: string, objectiveId: string, metricUpdate: MetricUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
394
|
-
// verify required parameter 'metricId' is not null or undefined
|
|
395
|
-
assertParamExists('patchMetricForObjective', 'metricId', metricId)
|
|
396
|
-
// verify required parameter 'objectiveId' is not null or undefined
|
|
397
|
-
assertParamExists('patchMetricForObjective', 'objectiveId', objectiveId)
|
|
398
|
-
// verify required parameter 'metricUpdate' is not null or undefined
|
|
399
|
-
assertParamExists('patchMetricForObjective', 'metricUpdate', metricUpdate)
|
|
400
|
-
const localVarPath = `/objective/{objective_id}/metric/{metric_id}`
|
|
401
|
-
.replace(`{${"metric_id"}}`, encodeURIComponent(String(metricId)))
|
|
402
|
-
.replace(`{${"objective_id"}}`, encodeURIComponent(String(objectiveId)));
|
|
403
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
404
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
405
|
-
let baseOptions;
|
|
406
|
-
if (configuration) {
|
|
407
|
-
baseOptions = configuration.baseOptions;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
411
|
-
const localVarHeaderParameter = {} as any;
|
|
412
|
-
const localVarQueryParameter = {} as any;
|
|
413
|
-
|
|
414
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
415
|
-
// oauth required
|
|
416
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
417
|
-
|
|
418
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
419
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
420
|
-
|
|
421
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
422
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
423
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
424
|
-
localVarRequestOptions.data = serializeDataIfNeeded(metricUpdate, localVarRequestOptions, configuration)
|
|
425
|
-
|
|
426
|
-
return {
|
|
427
|
-
url: toPathString(localVarUrlObj),
|
|
428
|
-
options: localVarRequestOptions,
|
|
429
|
-
};
|
|
430
|
-
},
|
|
431
154
|
/**
|
|
432
155
|
* Update one or more fields of an existing objective. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
433
156
|
* @summary Partially update an objective
|
|
@@ -519,34 +242,6 @@ export const ObjectiveApiAxiosParamCreator = function (configuration?: Configura
|
|
|
519
242
|
export const ObjectiveApiFp = function(configuration?: Configuration) {
|
|
520
243
|
const localVarAxiosParamCreator = ObjectiveApiAxiosParamCreator(configuration)
|
|
521
244
|
return {
|
|
522
|
-
/**
|
|
523
|
-
* Create a new metric under this objective.
|
|
524
|
-
* @summary Create a metric for this objective
|
|
525
|
-
* @param {string} objectiveId UUID of the objective
|
|
526
|
-
* @param {MetricCreate} metricCreate
|
|
527
|
-
* @param {*} [options] Override http request option.
|
|
528
|
-
* @throws {RequiredError}
|
|
529
|
-
*/
|
|
530
|
-
async createMetricForObjective(objectiveId: string, metricCreate: MetricCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricResponse>> {
|
|
531
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createMetricForObjective(objectiveId, metricCreate, options);
|
|
532
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
533
|
-
const localVarOperationServerBasePath = operationServerMap['ObjectiveApi.createMetricForObjective']?.[localVarOperationServerIndex]?.url;
|
|
534
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
535
|
-
},
|
|
536
|
-
/**
|
|
537
|
-
* Delete an existing metric by its ID. Associated metric costs per year are also deleted via cascade.
|
|
538
|
-
* @summary Delete a metric for this objective
|
|
539
|
-
* @param {string} metricId UUID of the metric
|
|
540
|
-
* @param {string} objectiveId UUID of the objective
|
|
541
|
-
* @param {*} [options] Override http request option.
|
|
542
|
-
* @throws {RequiredError}
|
|
543
|
-
*/
|
|
544
|
-
async deleteMetricForObjective(metricId: string, objectiveId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
545
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMetricForObjective(metricId, objectiveId, options);
|
|
546
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
547
|
-
const localVarOperationServerBasePath = operationServerMap['ObjectiveApi.deleteMetricForObjective']?.[localVarOperationServerIndex]?.url;
|
|
548
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
549
|
-
},
|
|
550
245
|
/**
|
|
551
246
|
* Delete an existing objective by its ID. Associated metrics and objective weights are also deleted via cascade.
|
|
552
247
|
* @summary Delete an objective
|
|
@@ -560,35 +255,6 @@ export const ObjectiveApiFp = function(configuration?: Configuration) {
|
|
|
560
255
|
const localVarOperationServerBasePath = operationServerMap['ObjectiveApi.deleteObjective']?.[localVarOperationServerIndex]?.url;
|
|
561
256
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
562
257
|
},
|
|
563
|
-
/**
|
|
564
|
-
* Retrieve a specific metric for the objective.
|
|
565
|
-
* @summary Get a metric for this objective
|
|
566
|
-
* @param {string} metricId UUID of the metric
|
|
567
|
-
* @param {string} objectiveId UUID of the objective
|
|
568
|
-
* @param {*} [options] Override http request option.
|
|
569
|
-
* @throws {RequiredError}
|
|
570
|
-
*/
|
|
571
|
-
async getMetricForObjective(metricId: string, objectiveId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricResponse>> {
|
|
572
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMetricForObjective(metricId, objectiveId, options);
|
|
573
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
574
|
-
const localVarOperationServerBasePath = operationServerMap['ObjectiveApi.getMetricForObjective']?.[localVarOperationServerIndex]?.url;
|
|
575
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
576
|
-
},
|
|
577
|
-
/**
|
|
578
|
-
* Retrieve a paginated list of all metrics for a specific objective.
|
|
579
|
-
* @summary List metrics for this objective
|
|
580
|
-
* @param {string} objectiveId UUID of the objective
|
|
581
|
-
* @param {number} [offset] Number of records to skip
|
|
582
|
-
* @param {number} [limit] Max number of records to return
|
|
583
|
-
* @param {*} [options] Override http request option.
|
|
584
|
-
* @throws {RequiredError}
|
|
585
|
-
*/
|
|
586
|
-
async getMetricsForObjective(objectiveId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MetricResponse>>> {
|
|
587
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMetricsForObjective(objectiveId, offset, limit, options);
|
|
588
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
589
|
-
const localVarOperationServerBasePath = operationServerMap['ObjectiveApi.getMetricsForObjective']?.[localVarOperationServerIndex]?.url;
|
|
590
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
591
|
-
},
|
|
592
258
|
/**
|
|
593
259
|
* Retrieve a single objective by its ID.
|
|
594
260
|
* @summary Get an objective by ID
|
|
@@ -616,36 +282,6 @@ export const ObjectiveApiFp = function(configuration?: Configuration) {
|
|
|
616
282
|
const localVarOperationServerBasePath = operationServerMap['ObjectiveApi.getObjectives']?.[localVarOperationServerIndex]?.url;
|
|
617
283
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
618
284
|
},
|
|
619
|
-
/**
|
|
620
|
-
* Retrieve a paginated list of all objective weights for a specific objective.
|
|
621
|
-
* @summary List all objective weights for an objective
|
|
622
|
-
* @param {string} objectiveId UUID of the objective
|
|
623
|
-
* @param {number} [offset] Number of records to skip
|
|
624
|
-
* @param {number} [limit] Max number of records to return
|
|
625
|
-
* @param {*} [options] Override http request option.
|
|
626
|
-
* @throws {RequiredError}
|
|
627
|
-
*/
|
|
628
|
-
async getWeightsForObjective(objectiveId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ObjectiveWeightResponse>>> {
|
|
629
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getWeightsForObjective(objectiveId, offset, limit, options);
|
|
630
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
631
|
-
const localVarOperationServerBasePath = operationServerMap['ObjectiveApi.getWeightsForObjective']?.[localVarOperationServerIndex]?.url;
|
|
632
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
633
|
-
},
|
|
634
|
-
/**
|
|
635
|
-
* Update one or more fields of an existing metric. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
636
|
-
* @summary Partially update a metric for this objective
|
|
637
|
-
* @param {string} metricId UUID of the metric
|
|
638
|
-
* @param {string} objectiveId UUID of the objective
|
|
639
|
-
* @param {MetricUpdate} metricUpdate
|
|
640
|
-
* @param {*} [options] Override http request option.
|
|
641
|
-
* @throws {RequiredError}
|
|
642
|
-
*/
|
|
643
|
-
async patchMetricForObjective(metricId: string, objectiveId: string, metricUpdate: MetricUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricResponse>> {
|
|
644
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchMetricForObjective(metricId, objectiveId, metricUpdate, options);
|
|
645
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
646
|
-
const localVarOperationServerBasePath = operationServerMap['ObjectiveApi.patchMetricForObjective']?.[localVarOperationServerIndex]?.url;
|
|
647
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
648
|
-
},
|
|
649
285
|
/**
|
|
650
286
|
* Update one or more fields of an existing objective. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
651
287
|
* @summary Partially update an objective
|
|
@@ -682,28 +318,6 @@ export const ObjectiveApiFp = function(configuration?: Configuration) {
|
|
|
682
318
|
export const ObjectiveApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
683
319
|
const localVarFp = ObjectiveApiFp(configuration)
|
|
684
320
|
return {
|
|
685
|
-
/**
|
|
686
|
-
* Create a new metric under this objective.
|
|
687
|
-
* @summary Create a metric for this objective
|
|
688
|
-
* @param {string} objectiveId UUID of the objective
|
|
689
|
-
* @param {MetricCreate} metricCreate
|
|
690
|
-
* @param {*} [options] Override http request option.
|
|
691
|
-
* @throws {RequiredError}
|
|
692
|
-
*/
|
|
693
|
-
createMetricForObjective(objectiveId: string, metricCreate: MetricCreate, options?: RawAxiosRequestConfig): AxiosPromise<MetricResponse> {
|
|
694
|
-
return localVarFp.createMetricForObjective(objectiveId, metricCreate, options).then((request) => request(axios, basePath));
|
|
695
|
-
},
|
|
696
|
-
/**
|
|
697
|
-
* Delete an existing metric by its ID. Associated metric costs per year are also deleted via cascade.
|
|
698
|
-
* @summary Delete a metric for this objective
|
|
699
|
-
* @param {string} metricId UUID of the metric
|
|
700
|
-
* @param {string} objectiveId UUID of the objective
|
|
701
|
-
* @param {*} [options] Override http request option.
|
|
702
|
-
* @throws {RequiredError}
|
|
703
|
-
*/
|
|
704
|
-
deleteMetricForObjective(metricId: string, objectiveId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
705
|
-
return localVarFp.deleteMetricForObjective(metricId, objectiveId, options).then((request) => request(axios, basePath));
|
|
706
|
-
},
|
|
707
321
|
/**
|
|
708
322
|
* Delete an existing objective by its ID. Associated metrics and objective weights are also deleted via cascade.
|
|
709
323
|
* @summary Delete an objective
|
|
@@ -714,29 +328,6 @@ export const ObjectiveApiFactory = function (configuration?: Configuration, base
|
|
|
714
328
|
deleteObjective(objectiveId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
715
329
|
return localVarFp.deleteObjective(objectiveId, options).then((request) => request(axios, basePath));
|
|
716
330
|
},
|
|
717
|
-
/**
|
|
718
|
-
* Retrieve a specific metric for the objective.
|
|
719
|
-
* @summary Get a metric for this objective
|
|
720
|
-
* @param {string} metricId UUID of the metric
|
|
721
|
-
* @param {string} objectiveId UUID of the objective
|
|
722
|
-
* @param {*} [options] Override http request option.
|
|
723
|
-
* @throws {RequiredError}
|
|
724
|
-
*/
|
|
725
|
-
getMetricForObjective(metricId: string, objectiveId: string, options?: RawAxiosRequestConfig): AxiosPromise<MetricResponse> {
|
|
726
|
-
return localVarFp.getMetricForObjective(metricId, objectiveId, options).then((request) => request(axios, basePath));
|
|
727
|
-
},
|
|
728
|
-
/**
|
|
729
|
-
* Retrieve a paginated list of all metrics for a specific objective.
|
|
730
|
-
* @summary List metrics for this objective
|
|
731
|
-
* @param {string} objectiveId UUID of the objective
|
|
732
|
-
* @param {number} [offset] Number of records to skip
|
|
733
|
-
* @param {number} [limit] Max number of records to return
|
|
734
|
-
* @param {*} [options] Override http request option.
|
|
735
|
-
* @throws {RequiredError}
|
|
736
|
-
*/
|
|
737
|
-
getMetricsForObjective(objectiveId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<MetricResponse>> {
|
|
738
|
-
return localVarFp.getMetricsForObjective(objectiveId, offset, limit, options).then((request) => request(axios, basePath));
|
|
739
|
-
},
|
|
740
331
|
/**
|
|
741
332
|
* Retrieve a single objective by its ID.
|
|
742
333
|
* @summary Get an objective by ID
|
|
@@ -758,30 +349,6 @@ export const ObjectiveApiFactory = function (configuration?: Configuration, base
|
|
|
758
349
|
getObjectives(offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectiveResponse>> {
|
|
759
350
|
return localVarFp.getObjectives(offset, limit, options).then((request) => request(axios, basePath));
|
|
760
351
|
},
|
|
761
|
-
/**
|
|
762
|
-
* Retrieve a paginated list of all objective weights for a specific objective.
|
|
763
|
-
* @summary List all objective weights for an objective
|
|
764
|
-
* @param {string} objectiveId UUID of the objective
|
|
765
|
-
* @param {number} [offset] Number of records to skip
|
|
766
|
-
* @param {number} [limit] Max number of records to return
|
|
767
|
-
* @param {*} [options] Override http request option.
|
|
768
|
-
* @throws {RequiredError}
|
|
769
|
-
*/
|
|
770
|
-
getWeightsForObjective(objectiveId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectiveWeightResponse>> {
|
|
771
|
-
return localVarFp.getWeightsForObjective(objectiveId, offset, limit, options).then((request) => request(axios, basePath));
|
|
772
|
-
},
|
|
773
|
-
/**
|
|
774
|
-
* Update one or more fields of an existing metric. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
775
|
-
* @summary Partially update a metric for this objective
|
|
776
|
-
* @param {string} metricId UUID of the metric
|
|
777
|
-
* @param {string} objectiveId UUID of the objective
|
|
778
|
-
* @param {MetricUpdate} metricUpdate
|
|
779
|
-
* @param {*} [options] Override http request option.
|
|
780
|
-
* @throws {RequiredError}
|
|
781
|
-
*/
|
|
782
|
-
patchMetricForObjective(metricId: string, objectiveId: string, metricUpdate: MetricUpdate, options?: RawAxiosRequestConfig): AxiosPromise<MetricResponse> {
|
|
783
|
-
return localVarFp.patchMetricForObjective(metricId, objectiveId, metricUpdate, options).then((request) => request(axios, basePath));
|
|
784
|
-
},
|
|
785
352
|
/**
|
|
786
353
|
* Update one or more fields of an existing objective. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
787
354
|
* @summary Partially update an objective
|
|
@@ -810,30 +377,6 @@ export const ObjectiveApiFactory = function (configuration?: Configuration, base
|
|
|
810
377
|
* ObjectiveApi - object-oriented interface
|
|
811
378
|
*/
|
|
812
379
|
export class ObjectiveApi extends BaseAPI {
|
|
813
|
-
/**
|
|
814
|
-
* Create a new metric under this objective.
|
|
815
|
-
* @summary Create a metric for this objective
|
|
816
|
-
* @param {string} objectiveId UUID of the objective
|
|
817
|
-
* @param {MetricCreate} metricCreate
|
|
818
|
-
* @param {*} [options] Override http request option.
|
|
819
|
-
* @throws {RequiredError}
|
|
820
|
-
*/
|
|
821
|
-
public createMetricForObjective(objectiveId: string, metricCreate: MetricCreate, options?: RawAxiosRequestConfig) {
|
|
822
|
-
return ObjectiveApiFp(this.configuration).createMetricForObjective(objectiveId, metricCreate, options).then((request) => request(this.axios, this.basePath));
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
/**
|
|
826
|
-
* Delete an existing metric by its ID. Associated metric costs per year are also deleted via cascade.
|
|
827
|
-
* @summary Delete a metric for this objective
|
|
828
|
-
* @param {string} metricId UUID of the metric
|
|
829
|
-
* @param {string} objectiveId UUID of the objective
|
|
830
|
-
* @param {*} [options] Override http request option.
|
|
831
|
-
* @throws {RequiredError}
|
|
832
|
-
*/
|
|
833
|
-
public deleteMetricForObjective(metricId: string, objectiveId: string, options?: RawAxiosRequestConfig) {
|
|
834
|
-
return ObjectiveApiFp(this.configuration).deleteMetricForObjective(metricId, objectiveId, options).then((request) => request(this.axios, this.basePath));
|
|
835
|
-
}
|
|
836
|
-
|
|
837
380
|
/**
|
|
838
381
|
* Delete an existing objective by its ID. Associated metrics and objective weights are also deleted via cascade.
|
|
839
382
|
* @summary Delete an objective
|
|
@@ -845,31 +388,6 @@ export class ObjectiveApi extends BaseAPI {
|
|
|
845
388
|
return ObjectiveApiFp(this.configuration).deleteObjective(objectiveId, options).then((request) => request(this.axios, this.basePath));
|
|
846
389
|
}
|
|
847
390
|
|
|
848
|
-
/**
|
|
849
|
-
* Retrieve a specific metric for the objective.
|
|
850
|
-
* @summary Get a metric for this objective
|
|
851
|
-
* @param {string} metricId UUID of the metric
|
|
852
|
-
* @param {string} objectiveId UUID of the objective
|
|
853
|
-
* @param {*} [options] Override http request option.
|
|
854
|
-
* @throws {RequiredError}
|
|
855
|
-
*/
|
|
856
|
-
public getMetricForObjective(metricId: string, objectiveId: string, options?: RawAxiosRequestConfig) {
|
|
857
|
-
return ObjectiveApiFp(this.configuration).getMetricForObjective(metricId, objectiveId, options).then((request) => request(this.axios, this.basePath));
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
/**
|
|
861
|
-
* Retrieve a paginated list of all metrics for a specific objective.
|
|
862
|
-
* @summary List metrics for this objective
|
|
863
|
-
* @param {string} objectiveId UUID of the objective
|
|
864
|
-
* @param {number} [offset] Number of records to skip
|
|
865
|
-
* @param {number} [limit] Max number of records to return
|
|
866
|
-
* @param {*} [options] Override http request option.
|
|
867
|
-
* @throws {RequiredError}
|
|
868
|
-
*/
|
|
869
|
-
public getMetricsForObjective(objectiveId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) {
|
|
870
|
-
return ObjectiveApiFp(this.configuration).getMetricsForObjective(objectiveId, offset, limit, options).then((request) => request(this.axios, this.basePath));
|
|
871
|
-
}
|
|
872
|
-
|
|
873
391
|
/**
|
|
874
392
|
* Retrieve a single objective by its ID.
|
|
875
393
|
* @summary Get an objective by ID
|
|
@@ -893,32 +411,6 @@ export class ObjectiveApi extends BaseAPI {
|
|
|
893
411
|
return ObjectiveApiFp(this.configuration).getObjectives(offset, limit, options).then((request) => request(this.axios, this.basePath));
|
|
894
412
|
}
|
|
895
413
|
|
|
896
|
-
/**
|
|
897
|
-
* Retrieve a paginated list of all objective weights for a specific objective.
|
|
898
|
-
* @summary List all objective weights for an objective
|
|
899
|
-
* @param {string} objectiveId UUID of the objective
|
|
900
|
-
* @param {number} [offset] Number of records to skip
|
|
901
|
-
* @param {number} [limit] Max number of records to return
|
|
902
|
-
* @param {*} [options] Override http request option.
|
|
903
|
-
* @throws {RequiredError}
|
|
904
|
-
*/
|
|
905
|
-
public getWeightsForObjective(objectiveId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) {
|
|
906
|
-
return ObjectiveApiFp(this.configuration).getWeightsForObjective(objectiveId, offset, limit, options).then((request) => request(this.axios, this.basePath));
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
/**
|
|
910
|
-
* Update one or more fields of an existing metric. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
911
|
-
* @summary Partially update a metric for this objective
|
|
912
|
-
* @param {string} metricId UUID of the metric
|
|
913
|
-
* @param {string} objectiveId UUID of the objective
|
|
914
|
-
* @param {MetricUpdate} metricUpdate
|
|
915
|
-
* @param {*} [options] Override http request option.
|
|
916
|
-
* @throws {RequiredError}
|
|
917
|
-
*/
|
|
918
|
-
public patchMetricForObjective(metricId: string, objectiveId: string, metricUpdate: MetricUpdate, options?: RawAxiosRequestConfig) {
|
|
919
|
-
return ObjectiveApiFp(this.configuration).patchMetricForObjective(metricId, objectiveId, metricUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
920
|
-
}
|
|
921
|
-
|
|
922
414
|
/**
|
|
923
415
|
* Update one or more fields of an existing objective. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
924
416
|
* @summary Partially update an objective
|
|
@@ -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).
|