@cosmotech/aip-client 0.2.0-dev6 → 0.3.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 +25 -2
- package/api/budget-api.ts +835 -0
- package/api/default-api.ts +1 -1
- package/api/impact-api.ts +1 -1
- package/api/investment-api.ts +166 -5
- package/api/metric-api.ts +1 -1
- package/api/metric-costs-api.ts +1 -1
- package/api/metric-costs-per-year-api.ts +1 -1
- package/api/objective-api.ts +1 -1
- package/api/objective-weight-api.ts +1 -1
- package/api/objective-weights-api.ts +1 -1
- package/api/option-api.ts +89 -5
- package/api/preferred-option-api.ts +1 -1
- package/api/value-framework-api.ts +1 -1
- package/api/value-framework-costs-api.ts +1 -1
- package/api/value-framework-weights-api.ts +1 -1
- package/api.ts +2 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/budget-api.d.ts +382 -0
- package/dist/api/budget-api.js +794 -0
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/impact-api.d.ts +1 -1
- package/dist/api/impact-api.js +1 -1
- package/dist/api/investment-api.d.ts +75 -5
- package/dist/api/investment-api.js +154 -5
- package/dist/api/metric-api.d.ts +1 -1
- package/dist/api/metric-api.js +1 -1
- package/dist/api/metric-costs-api.d.ts +1 -1
- package/dist/api/metric-costs-api.js +1 -1
- package/dist/api/metric-costs-per-year-api.d.ts +1 -1
- package/dist/api/metric-costs-per-year-api.js +1 -1
- package/dist/api/objective-api.d.ts +1 -1
- package/dist/api/objective-api.js +1 -1
- package/dist/api/objective-weight-api.d.ts +1 -1
- package/dist/api/objective-weight-api.js +1 -1
- package/dist/api/objective-weights-api.d.ts +1 -1
- package/dist/api/objective-weights-api.js +1 -1
- package/dist/api/option-api.d.ts +42 -5
- package/dist/api/option-api.js +83 -5
- package/dist/api/preferred-option-api.d.ts +1 -1
- package/dist/api/preferred-option-api.js +1 -1
- package/dist/api/value-framework-api.d.ts +1 -1
- package/dist/api/value-framework-api.js +1 -1
- package/dist/api/value-framework-costs-api.d.ts +1 -1
- package/dist/api/value-framework-costs-api.js +1 -1
- package/dist/api/value-framework-weights-api.d.ts +1 -1
- package/dist/api/value-framework-weights-api.js +1 -1
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -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 +382 -0
- package/dist/esm/api/budget-api.js +787 -0
- package/dist/esm/api/default-api.d.ts +1 -1
- package/dist/esm/api/default-api.js +1 -1
- package/dist/esm/api/impact-api.d.ts +1 -1
- package/dist/esm/api/impact-api.js +1 -1
- package/dist/esm/api/investment-api.d.ts +75 -5
- package/dist/esm/api/investment-api.js +154 -5
- package/dist/esm/api/metric-api.d.ts +1 -1
- package/dist/esm/api/metric-api.js +1 -1
- package/dist/esm/api/metric-costs-api.d.ts +1 -1
- package/dist/esm/api/metric-costs-api.js +1 -1
- package/dist/esm/api/metric-costs-per-year-api.d.ts +1 -1
- package/dist/esm/api/metric-costs-per-year-api.js +1 -1
- package/dist/esm/api/objective-api.d.ts +1 -1
- package/dist/esm/api/objective-api.js +1 -1
- package/dist/esm/api/objective-weight-api.d.ts +1 -1
- package/dist/esm/api/objective-weight-api.js +1 -1
- package/dist/esm/api/objective-weights-api.d.ts +1 -1
- package/dist/esm/api/objective-weights-api.js +1 -1
- package/dist/esm/api/option-api.d.ts +42 -5
- package/dist/esm/api/option-api.js +83 -5
- package/dist/esm/api/preferred-option-api.d.ts +1 -1
- package/dist/esm/api/preferred-option-api.js +1 -1
- package/dist/esm/api/value-framework-api.d.ts +1 -1
- package/dist/esm/api/value-framework-api.js +1 -1
- package/dist/esm/api/value-framework-costs-api.d.ts +1 -1
- package/dist/esm/api/value-framework-costs-api.js +1 -1
- package/dist/esm/api/value-framework-weights-api.d.ts +1 -1
- package/dist/esm/api/value-framework-weights-api.js +1 -1
- package/dist/esm/api.d.ts +2 -1
- package/dist/esm/api.js +2 -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 +20 -0
- package/dist/esm/models/budget-bulk-delete-request.js +14 -0
- package/dist/esm/models/budget-create.d.ts +22 -0
- package/dist/esm/models/budget-create.js +14 -0
- package/dist/esm/models/budget-investment-response.d.ts +34 -0
- package/dist/esm/models/budget-investment-response.js +14 -0
- package/dist/esm/models/budget-link-options-request.d.ts +20 -0
- package/dist/esm/models/budget-link-options-request.js +14 -0
- package/dist/esm/models/budget-option-response.d.ts +50 -0
- package/dist/esm/models/budget-option-response.js +14 -0
- package/dist/esm/models/budget-overview-response.d.ts +25 -0
- package/dist/esm/models/budget-overview-response.js +14 -0
- package/dist/esm/models/budget-response.d.ts +26 -0
- package/dist/esm/models/budget-response.js +14 -0
- package/dist/esm/models/budget-update.d.ts +19 -0
- package/dist/esm/models/budget-update.js +14 -0
- 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 -1
- package/dist/esm/models/impact-apiresponse.js +1 -1
- package/dist/esm/models/impact-create.d.ts +1 -1
- package/dist/esm/models/impact-create.js +1 -1
- package/dist/esm/models/impact-update.d.ts +1 -1
- package/dist/esm/models/impact-update.js +1 -1
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -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 +29 -0
- package/dist/esm/models/investment-overview-response.js +14 -0
- 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-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/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 +2 -1
- package/dist/esm/models/option-create.js +1 -1
- package/dist/esm/models/option-overview-response.d.ts +38 -0
- package/dist/esm/models/option-overview-response.js +14 -0
- package/dist/esm/models/option-response.d.ts +2 -1
- package/dist/esm/models/option-response.js +1 -1
- package/dist/esm/models/option-update.d.ts +2 -1
- package/dist/esm/models/option-update.js +1 -1
- 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 +20 -0
- package/dist/models/budget-bulk-delete-request.js +15 -0
- package/dist/models/budget-create.d.ts +22 -0
- package/dist/models/budget-create.js +15 -0
- package/dist/models/budget-investment-response.d.ts +34 -0
- package/dist/models/budget-investment-response.js +15 -0
- package/dist/models/budget-link-options-request.d.ts +20 -0
- package/dist/models/budget-link-options-request.js +15 -0
- package/dist/models/budget-option-response.d.ts +50 -0
- package/dist/models/budget-option-response.js +15 -0
- package/dist/models/budget-overview-response.d.ts +25 -0
- package/dist/models/budget-overview-response.js +15 -0
- package/dist/models/budget-response.d.ts +26 -0
- package/dist/models/budget-response.js +15 -0
- package/dist/models/budget-update.d.ts +19 -0
- package/dist/models/budget-update.js +15 -0
- 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 -1
- package/dist/models/impact-apiresponse.js +1 -1
- package/dist/models/impact-create.d.ts +1 -1
- package/dist/models/impact-create.js +1 -1
- package/dist/models/impact-update.d.ts +1 -1
- package/dist/models/impact-update.js +1 -1
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -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 +29 -0
- package/dist/models/investment-overview-response.js +15 -0
- 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-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/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 +2 -1
- package/dist/models/option-create.js +1 -1
- package/dist/models/option-overview-response.d.ts +38 -0
- package/dist/models/option-overview-response.js +15 -0
- package/dist/models/option-response.d.ts +2 -1
- package/dist/models/option-response.js +1 -1
- package/dist/models/option-update.d.ts +2 -1
- package/dist/models/option-update.js +1 -1
- 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 +559 -0
- package/docs/BudgetBulkDeleteRequest.md +21 -0
- package/docs/BudgetCreate.md +25 -0
- package/docs/BudgetInvestmentResponse.md +37 -0
- package/docs/BudgetLinkOptionsRequest.md +21 -0
- package/docs/BudgetOptionResponse.md +39 -0
- package/docs/BudgetOverviewResponse.md +25 -0
- package/docs/BudgetResponse.md +33 -0
- package/docs/BudgetUpdate.md +25 -0
- package/docs/InvestmentApi.md +111 -2
- package/docs/InvestmentOverviewResponse.md +33 -0
- package/docs/OptionApi.md +58 -2
- package/docs/OptionCreate.md +2 -0
- package/docs/OptionOverviewResponse.md +33 -0
- package/docs/OptionResponse.md +2 -0
- package/docs/OptionUpdate.md +2 -0
- package/index.ts +1 -1
- package/models/budget-bulk-delete-request.ts +26 -0
- package/models/budget-create.ts +28 -0
- package/models/budget-investment-response.ts +40 -0
- package/models/budget-link-options-request.ts +26 -0
- package/models/budget-option-response.ts +56 -0
- package/models/budget-overview-response.ts +31 -0
- package/models/budget-response.ts +32 -0
- package/models/budget-update.ts +25 -0
- package/models/evolution-type.ts +1 -1
- package/models/httpvalidation-error.ts +1 -1
- package/models/impact-apiresponse.ts +1 -1
- package/models/impact-create.ts +1 -1
- package/models/impact-update.ts +1 -1
- package/models/index.ts +10 -0
- package/models/investment-create.ts +1 -1
- package/models/investment-overview-response.ts +35 -0
- 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-response.ts +1 -1
- package/models/metric-type.ts +1 -1
- package/models/metric-update.ts +1 -1
- 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 +2 -1
- package/models/option-overview-response.ts +44 -0
- package/models/option-response.ts +2 -1
- package/models/option-update.ts +2 -1
- 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
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Asset Investment Planning
|
|
3
|
+
* API for Asset Investment Planning
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0-dev1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { BudgetBulkDeleteRequest } from '../models';
|
|
16
|
+
import type { BudgetCreate } from '../models';
|
|
17
|
+
import type { BudgetInvestmentResponse } from '../models';
|
|
18
|
+
import type { BudgetLinkOptionsRequest } from '../models';
|
|
19
|
+
import type { BudgetOptionResponse } from '../models';
|
|
20
|
+
import type { BudgetOverviewResponse } from '../models';
|
|
21
|
+
import type { BudgetResponse } from '../models';
|
|
22
|
+
import type { BudgetUpdate } from '../models';
|
|
23
|
+
/**
|
|
24
|
+
* BudgetApi - axios parameter creator
|
|
25
|
+
*/
|
|
26
|
+
export declare const BudgetApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
* Delete multiple budgets at once. Options linked to deleted budgets will have their budget link removed (set to null).
|
|
29
|
+
* @summary Bulk delete budgets
|
|
30
|
+
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
bulkDeleteBudgets: (budgetBulkDeleteRequest: BudgetBulkDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
* Delete an existing budget by its ID. Options linked to this budget will have their budget link removed (set to null).
|
|
37
|
+
* @summary Delete a budget
|
|
38
|
+
* @param {string} budgetId UUID of the budget
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
deleteBudget: (budgetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
/**
|
|
44
|
+
* Retrieve a single budget by its ID.
|
|
45
|
+
* @summary Get a budget by ID
|
|
46
|
+
* @param {string} budgetId UUID of the budget
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
getBudgetById: (budgetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
* Return all distinct investments that have at least one option linked to this budget. Each row shows the investment\'s current preferred option data and a flag indicating whether the preferred option is the one linked to the budget. NPV is computed for the preferred option from the v_option_npv view.
|
|
53
|
+
* @summary List investments linked to this budget via options
|
|
54
|
+
* @param {string} budgetId UUID of the budget
|
|
55
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
getBudgetInvestments: (budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
|
+
/**
|
|
61
|
+
* Return all options linked to this budget. Rows are ordered by investment name then option name. NPV is computed from the v_option_npv view for the given value framework.
|
|
62
|
+
* @summary List options linked to this budget
|
|
63
|
+
* @param {string} budgetId UUID of the budget
|
|
64
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
getBudgetOptions: (budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
/**
|
|
70
|
+
* Return aggregated overview data for a budget: annual capacity, number of options linked to it, and number of distinct investments that have at least one option linked to it.
|
|
71
|
+
* @summary Get budget overview
|
|
72
|
+
* @param {string} budgetId UUID of the budget
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
getBudgetOverview: (budgetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
|
+
/**
|
|
78
|
+
* Retrieve a paginated list of all budgets, ordered by name.
|
|
79
|
+
* @summary List all budgets
|
|
80
|
+
* @param {number} [offset] Number of records to skip
|
|
81
|
+
* @param {number} [limit] Max number of records to return
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
getBudgets: (offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
86
|
+
/**
|
|
87
|
+
* Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Returns the list of option IDs that were successfully linked.
|
|
88
|
+
* @summary Bulk-link options to this budget
|
|
89
|
+
* @param {string} budgetId UUID of the budget
|
|
90
|
+
* @param {BudgetLinkOptionsRequest} budgetLinkOptionsRequest
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
linkOptionsToBudget: (budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
95
|
+
/**
|
|
96
|
+
* Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
97
|
+
* @summary Partially update a budget
|
|
98
|
+
* @param {string} budgetId UUID of the budget
|
|
99
|
+
* @param {BudgetUpdate} budgetUpdate
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
patchBudget: (budgetId: string, budgetUpdate: BudgetUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
104
|
+
/**
|
|
105
|
+
* Create a new budget.
|
|
106
|
+
* @summary Create a budget
|
|
107
|
+
* @param {BudgetCreate} budgetCreate
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
postBudget: (budgetCreate: BudgetCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* BudgetApi - functional programming interface
|
|
115
|
+
*/
|
|
116
|
+
export declare const BudgetApiFp: (configuration?: Configuration) => {
|
|
117
|
+
/**
|
|
118
|
+
* Delete multiple budgets at once. Options linked to deleted budgets will have their budget link removed (set to null).
|
|
119
|
+
* @summary Bulk delete budgets
|
|
120
|
+
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
bulkDeleteBudgets(budgetBulkDeleteRequest: BudgetBulkDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
125
|
+
/**
|
|
126
|
+
* Delete an existing budget by its ID. Options linked to this budget will have their budget link removed (set to null).
|
|
127
|
+
* @summary Delete a budget
|
|
128
|
+
* @param {string} budgetId UUID of the budget
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
deleteBudget(budgetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
133
|
+
/**
|
|
134
|
+
* Retrieve a single budget by its ID.
|
|
135
|
+
* @summary Get a budget by ID
|
|
136
|
+
* @param {string} budgetId UUID of the budget
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
getBudgetById(budgetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BudgetResponse>>;
|
|
141
|
+
/**
|
|
142
|
+
* Return all distinct investments that have at least one option linked to this budget. Each row shows the investment\'s current preferred option data and a flag indicating whether the preferred option is the one linked to the budget. NPV is computed for the preferred option from the v_option_npv view.
|
|
143
|
+
* @summary List investments linked to this budget via options
|
|
144
|
+
* @param {string} budgetId UUID of the budget
|
|
145
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
146
|
+
* @param {*} [options] Override http request option.
|
|
147
|
+
* @throws {RequiredError}
|
|
148
|
+
*/
|
|
149
|
+
getBudgetInvestments(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetInvestmentResponse>>>;
|
|
150
|
+
/**
|
|
151
|
+
* Return all options linked to this budget. Rows are ordered by investment name then option name. NPV is computed from the v_option_npv view for the given value framework.
|
|
152
|
+
* @summary List options linked to this budget
|
|
153
|
+
* @param {string} budgetId UUID of the budget
|
|
154
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
getBudgetOptions(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetOptionResponse>>>;
|
|
159
|
+
/**
|
|
160
|
+
* Return aggregated overview data for a budget: annual capacity, number of options linked to it, and number of distinct investments that have at least one option linked to it.
|
|
161
|
+
* @summary Get budget overview
|
|
162
|
+
* @param {string} budgetId UUID of the budget
|
|
163
|
+
* @param {*} [options] Override http request option.
|
|
164
|
+
* @throws {RequiredError}
|
|
165
|
+
*/
|
|
166
|
+
getBudgetOverview(budgetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BudgetOverviewResponse>>;
|
|
167
|
+
/**
|
|
168
|
+
* Retrieve a paginated list of all budgets, ordered by name.
|
|
169
|
+
* @summary List all budgets
|
|
170
|
+
* @param {number} [offset] Number of records to skip
|
|
171
|
+
* @param {number} [limit] Max number of records to return
|
|
172
|
+
* @param {*} [options] Override http request option.
|
|
173
|
+
* @throws {RequiredError}
|
|
174
|
+
*/
|
|
175
|
+
getBudgets(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BudgetResponse>>>;
|
|
176
|
+
/**
|
|
177
|
+
* Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Returns the list of option IDs that were successfully linked.
|
|
178
|
+
* @summary Bulk-link options to this budget
|
|
179
|
+
* @param {string} budgetId UUID of the budget
|
|
180
|
+
* @param {BudgetLinkOptionsRequest} budgetLinkOptionsRequest
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
*/
|
|
184
|
+
linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
185
|
+
/**
|
|
186
|
+
* Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
187
|
+
* @summary Partially update a budget
|
|
188
|
+
* @param {string} budgetId UUID of the budget
|
|
189
|
+
* @param {BudgetUpdate} budgetUpdate
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
*/
|
|
193
|
+
patchBudget(budgetId: string, budgetUpdate: BudgetUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BudgetResponse>>;
|
|
194
|
+
/**
|
|
195
|
+
* Create a new budget.
|
|
196
|
+
* @summary Create a budget
|
|
197
|
+
* @param {BudgetCreate} budgetCreate
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
postBudget(budgetCreate: BudgetCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BudgetResponse>>;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* BudgetApi - factory interface
|
|
205
|
+
*/
|
|
206
|
+
export declare const BudgetApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
207
|
+
/**
|
|
208
|
+
* Delete multiple budgets at once. Options linked to deleted budgets will have their budget link removed (set to null).
|
|
209
|
+
* @summary Bulk delete budgets
|
|
210
|
+
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
211
|
+
* @param {*} [options] Override http request option.
|
|
212
|
+
* @throws {RequiredError}
|
|
213
|
+
*/
|
|
214
|
+
bulkDeleteBudgets(budgetBulkDeleteRequest: BudgetBulkDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
215
|
+
/**
|
|
216
|
+
* Delete an existing budget by its ID. Options linked to this budget will have their budget link removed (set to null).
|
|
217
|
+
* @summary Delete a budget
|
|
218
|
+
* @param {string} budgetId UUID of the budget
|
|
219
|
+
* @param {*} [options] Override http request option.
|
|
220
|
+
* @throws {RequiredError}
|
|
221
|
+
*/
|
|
222
|
+
deleteBudget(budgetId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
223
|
+
/**
|
|
224
|
+
* Retrieve a single budget by its ID.
|
|
225
|
+
* @summary Get a budget by ID
|
|
226
|
+
* @param {string} budgetId UUID of the budget
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
getBudgetById(budgetId: string, options?: RawAxiosRequestConfig): AxiosPromise<BudgetResponse>;
|
|
231
|
+
/**
|
|
232
|
+
* Return all distinct investments that have at least one option linked to this budget. Each row shows the investment\'s current preferred option data and a flag indicating whether the preferred option is the one linked to the budget. NPV is computed for the preferred option from the v_option_npv view.
|
|
233
|
+
* @summary List investments linked to this budget via options
|
|
234
|
+
* @param {string} budgetId UUID of the budget
|
|
235
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
*/
|
|
239
|
+
getBudgetInvestments(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetInvestmentResponse>>;
|
|
240
|
+
/**
|
|
241
|
+
* Return all options linked to this budget. Rows are ordered by investment name then option name. NPV is computed from the v_option_npv view for the given value framework.
|
|
242
|
+
* @summary List options linked to this budget
|
|
243
|
+
* @param {string} budgetId UUID of the budget
|
|
244
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
245
|
+
* @param {*} [options] Override http request option.
|
|
246
|
+
* @throws {RequiredError}
|
|
247
|
+
*/
|
|
248
|
+
getBudgetOptions(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetOptionResponse>>;
|
|
249
|
+
/**
|
|
250
|
+
* Return aggregated overview data for a budget: annual capacity, number of options linked to it, and number of distinct investments that have at least one option linked to it.
|
|
251
|
+
* @summary Get budget overview
|
|
252
|
+
* @param {string} budgetId UUID of the budget
|
|
253
|
+
* @param {*} [options] Override http request option.
|
|
254
|
+
* @throws {RequiredError}
|
|
255
|
+
*/
|
|
256
|
+
getBudgetOverview(budgetId: string, options?: RawAxiosRequestConfig): AxiosPromise<BudgetOverviewResponse>;
|
|
257
|
+
/**
|
|
258
|
+
* Retrieve a paginated list of all budgets, ordered by name.
|
|
259
|
+
* @summary List all budgets
|
|
260
|
+
* @param {number} [offset] Number of records to skip
|
|
261
|
+
* @param {number} [limit] Max number of records to return
|
|
262
|
+
* @param {*} [options] Override http request option.
|
|
263
|
+
* @throws {RequiredError}
|
|
264
|
+
*/
|
|
265
|
+
getBudgets(offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<BudgetResponse>>;
|
|
266
|
+
/**
|
|
267
|
+
* Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Returns the list of option IDs that were successfully linked.
|
|
268
|
+
* @summary Bulk-link options to this budget
|
|
269
|
+
* @param {string} budgetId UUID of the budget
|
|
270
|
+
* @param {BudgetLinkOptionsRequest} budgetLinkOptionsRequest
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @throws {RequiredError}
|
|
273
|
+
*/
|
|
274
|
+
linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
275
|
+
/**
|
|
276
|
+
* Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
277
|
+
* @summary Partially update a budget
|
|
278
|
+
* @param {string} budgetId UUID of the budget
|
|
279
|
+
* @param {BudgetUpdate} budgetUpdate
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
patchBudget(budgetId: string, budgetUpdate: BudgetUpdate, options?: RawAxiosRequestConfig): AxiosPromise<BudgetResponse>;
|
|
284
|
+
/**
|
|
285
|
+
* Create a new budget.
|
|
286
|
+
* @summary Create a budget
|
|
287
|
+
* @param {BudgetCreate} budgetCreate
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
*/
|
|
291
|
+
postBudget(budgetCreate: BudgetCreate, options?: RawAxiosRequestConfig): AxiosPromise<BudgetResponse>;
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* BudgetApi - object-oriented interface
|
|
295
|
+
*/
|
|
296
|
+
export declare class BudgetApi extends BaseAPI {
|
|
297
|
+
/**
|
|
298
|
+
* Delete multiple budgets at once. Options linked to deleted budgets will have their budget link removed (set to null).
|
|
299
|
+
* @summary Bulk delete budgets
|
|
300
|
+
* @param {BudgetBulkDeleteRequest} budgetBulkDeleteRequest
|
|
301
|
+
* @param {*} [options] Override http request option.
|
|
302
|
+
* @throws {RequiredError}
|
|
303
|
+
*/
|
|
304
|
+
bulkDeleteBudgets(budgetBulkDeleteRequest: BudgetBulkDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
305
|
+
/**
|
|
306
|
+
* Delete an existing budget by its ID. Options linked to this budget will have their budget link removed (set to null).
|
|
307
|
+
* @summary Delete a budget
|
|
308
|
+
* @param {string} budgetId UUID of the budget
|
|
309
|
+
* @param {*} [options] Override http request option.
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
*/
|
|
312
|
+
deleteBudget(budgetId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
313
|
+
/**
|
|
314
|
+
* Retrieve a single budget by its ID.
|
|
315
|
+
* @summary Get a budget by ID
|
|
316
|
+
* @param {string} budgetId UUID of the budget
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
*/
|
|
320
|
+
getBudgetById(budgetId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetResponse, any, {}>>;
|
|
321
|
+
/**
|
|
322
|
+
* Return all distinct investments that have at least one option linked to this budget. Each row shows the investment\'s current preferred option data and a flag indicating whether the preferred option is the one linked to the budget. NPV is computed for the preferred option from the v_option_npv view.
|
|
323
|
+
* @summary List investments linked to this budget via options
|
|
324
|
+
* @param {string} budgetId UUID of the budget
|
|
325
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
326
|
+
* @param {*} [options] Override http request option.
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
*/
|
|
329
|
+
getBudgetInvestments(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetInvestmentResponse[], any, {}>>;
|
|
330
|
+
/**
|
|
331
|
+
* Return all options linked to this budget. Rows are ordered by investment name then option name. NPV is computed from the v_option_npv view for the given value framework.
|
|
332
|
+
* @summary List options linked to this budget
|
|
333
|
+
* @param {string} budgetId UUID of the budget
|
|
334
|
+
* @param {string} valueFrameworkId UUID of the value framework
|
|
335
|
+
* @param {*} [options] Override http request option.
|
|
336
|
+
* @throws {RequiredError}
|
|
337
|
+
*/
|
|
338
|
+
getBudgetOptions(budgetId: string, valueFrameworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetOptionResponse[], any, {}>>;
|
|
339
|
+
/**
|
|
340
|
+
* Return aggregated overview data for a budget: annual capacity, number of options linked to it, and number of distinct investments that have at least one option linked to it.
|
|
341
|
+
* @summary Get budget overview
|
|
342
|
+
* @param {string} budgetId UUID of the budget
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
*/
|
|
346
|
+
getBudgetOverview(budgetId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetOverviewResponse, any, {}>>;
|
|
347
|
+
/**
|
|
348
|
+
* Retrieve a paginated list of all budgets, ordered by name.
|
|
349
|
+
* @summary List all budgets
|
|
350
|
+
* @param {number} [offset] Number of records to skip
|
|
351
|
+
* @param {number} [limit] Max number of records to return
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
*/
|
|
355
|
+
getBudgets(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetResponse[], any, {}>>;
|
|
356
|
+
/**
|
|
357
|
+
* Link all specified options to this budget. Any previous budget assignment on these options is overwritten. Returns the list of option IDs that were successfully linked.
|
|
358
|
+
* @summary Bulk-link options to this budget
|
|
359
|
+
* @param {string} budgetId UUID of the budget
|
|
360
|
+
* @param {BudgetLinkOptionsRequest} budgetLinkOptionsRequest
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
linkOptionsToBudget(budgetId: string, budgetLinkOptionsRequest: BudgetLinkOptionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
|
|
365
|
+
/**
|
|
366
|
+
* Update one or more fields of an existing budget. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
367
|
+
* @summary Partially update a budget
|
|
368
|
+
* @param {string} budgetId UUID of the budget
|
|
369
|
+
* @param {BudgetUpdate} budgetUpdate
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
*/
|
|
373
|
+
patchBudget(budgetId: string, budgetUpdate: BudgetUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetResponse, any, {}>>;
|
|
374
|
+
/**
|
|
375
|
+
* Create a new budget.
|
|
376
|
+
* @summary Create a budget
|
|
377
|
+
* @param {BudgetCreate} budgetCreate
|
|
378
|
+
* @param {*} [options] Override http request option.
|
|
379
|
+
* @throws {RequiredError}
|
|
380
|
+
*/
|
|
381
|
+
postBudget(budgetCreate: BudgetCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BudgetResponse, any, {}>>;
|
|
382
|
+
}
|