@cosmotech/aip-client 0.2.0-dev5 → 0.2.0-dev6
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 +8 -8
- package/api/default-api.ts +1 -1
- package/api/impact-api.ts +1 -1
- package/api/investment-api.ts +94 -94
- 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 +1 -1
- package/api/{favored-option-api.ts → preferred-option-api.ts} +40 -40
- 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 -2
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- 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 +43 -43
- package/dist/api/investment-api.js +87 -87
- 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 +1 -1
- package/dist/api/option-api.js +1 -1
- package/dist/api/{favored-option-api.d.ts → preferred-option-api.d.ts} +23 -23
- package/dist/api/{favored-option-api.js → preferred-option-api.js} +43 -43
- 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 -2
- package/dist/api.js +2 -2
- 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/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 +43 -43
- package/dist/esm/api/investment-api.js +87 -87
- 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 +1 -1
- package/dist/esm/api/option-api.js +1 -1
- package/dist/esm/api/{favored-option-api.d.ts → preferred-option-api.d.ts} +23 -23
- package/dist/esm/api/{favored-option-api.js → preferred-option-api.js} +38 -38
- 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 -2
- package/dist/esm/api.js +2 -2
- 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/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 +2 -2
- package/dist/esm/models/index.js +2 -2
- package/dist/esm/models/investment-create.d.ts +1 -1
- package/dist/esm/models/investment-create.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-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 +1 -1
- package/dist/esm/models/option-create.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/{favored-option-request.d.ts → preferred-option-request.d.ts} +2 -2
- package/dist/esm/models/{favored-option-request.js → preferred-option-request.js} +1 -1
- package/dist/esm/models/{favored-option-response.d.ts → preferred-option-response.d.ts} +3 -3
- package/dist/esm/models/{favored-option-response.js → 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/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 +2 -2
- package/dist/models/index.js +2 -2
- package/dist/models/investment-create.d.ts +1 -1
- package/dist/models/investment-create.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-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 +1 -1
- package/dist/models/option-create.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/{favored-option-request.d.ts → preferred-option-request.d.ts} +2 -2
- package/dist/models/{favored-option-request.js → preferred-option-request.js} +1 -1
- package/dist/models/{favored-option-response.d.ts → preferred-option-response.d.ts} +3 -3
- package/dist/models/{favored-option-response.js → 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/InvestmentApi.md +63 -63
- package/docs/{FavoredOptionApi.md → PreferredOptionApi.md} +19 -19
- package/docs/{FavoredOptionRequest.md → PreferredOptionRequest.md} +3 -3
- package/docs/{FavoredOptionResponse.md → PreferredOptionResponse.md} +4 -4
- package/index.ts +1 -1
- 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 +2 -2
- package/models/investment-create.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-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 +1 -1
- package/models/option-response.ts +1 -1
- package/models/option-update.ts +1 -1
- package/models/{favored-option-request.ts → preferred-option-request.ts} +2 -2
- package/models/{favored-option-response.ts → preferred-option-response.ts} +3 -3
- package/models/validation-error.ts +1 -1
- package/models/value-framework-create.ts +1 -1
- package/models/value-framework-response.ts +1 -1
- package/models/value-framework-update.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @cosmotech/aip-client@
|
|
1
|
+
## @cosmotech/aip-client@0.2.0-dev6
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @cosmotech/aip-client@
|
|
39
|
+
npm install @cosmotech/aip-client@0.2.0-dev6 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -52,8 +52,6 @@ All URIs are relative to *http://localhost*
|
|
|
52
52
|
Class | Method | HTTP request | Description
|
|
53
53
|
------------ | ------------- | ------------- | -------------
|
|
54
54
|
*DefaultApi* | [**root**](docs/DefaultApi.md#root) | **GET** /about | Root
|
|
55
|
-
*FavoredOptionApi* | [**getFavoredOption**](docs/FavoredOptionApi.md#getfavoredoption) | **GET** /investment/{investment_id}/favored_option | Get the preferred option for an investment
|
|
56
|
-
*FavoredOptionApi* | [**setFavoredOption**](docs/FavoredOptionApi.md#setfavoredoption) | **POST** /investment/{investment_id}/favored_option | Set the preferred option for an investment
|
|
57
55
|
*ImpactApi* | [**createImpactForOption**](docs/ImpactApi.md#createimpactforoption) | **POST** /investment/{investment_id}/option/{option_id}/impact/ | Create an impact for this option
|
|
58
56
|
*ImpactApi* | [**deleteImpactForOption**](docs/ImpactApi.md#deleteimpactforoption) | **DELETE** /investment/{investment_id}/option/{option_id}/impact/{impact_id} | Delete an impact for this option
|
|
59
57
|
*ImpactApi* | [**getImpactForOption**](docs/ImpactApi.md#getimpactforoption) | **GET** /investment/{investment_id}/option/{option_id}/impact/{impact_id} | Get an impact for this option
|
|
@@ -64,7 +62,6 @@ Class | Method | HTTP request | Description
|
|
|
64
62
|
*InvestmentApi* | [**deleteImpactForOption**](docs/InvestmentApi.md#deleteimpactforoption) | **DELETE** /investment/{investment_id}/option/{option_id}/impact/{impact_id} | Delete an impact for this option
|
|
65
63
|
*InvestmentApi* | [**deleteInvestment**](docs/InvestmentApi.md#deleteinvestment) | **DELETE** /investment/{investment_id} | Delete an investment
|
|
66
64
|
*InvestmentApi* | [**deleteOptionForInvestment**](docs/InvestmentApi.md#deleteoptionforinvestment) | **DELETE** /investment/{investment_id}/option/{option_id} | Delete an option for this investment
|
|
67
|
-
*InvestmentApi* | [**getFavoredOption**](docs/InvestmentApi.md#getfavoredoption) | **GET** /investment/{investment_id}/favored_option | Get the preferred option for an investment
|
|
68
65
|
*InvestmentApi* | [**getImpactForOption**](docs/InvestmentApi.md#getimpactforoption) | **GET** /investment/{investment_id}/option/{option_id}/impact/{impact_id} | Get an impact for this option
|
|
69
66
|
*InvestmentApi* | [**getImpactsForOption**](docs/InvestmentApi.md#getimpactsforoption) | **GET** /investment/{investment_id}/option/{option_id}/impact/ | List impacts for this option
|
|
70
67
|
*InvestmentApi* | [**getInvestmentById**](docs/InvestmentApi.md#getinvestmentbyid) | **GET** /investment/{investment_id} | Get an investment by ID
|
|
@@ -72,11 +69,12 @@ Class | Method | HTTP request | Description
|
|
|
72
69
|
*InvestmentApi* | [**getOptionForInvestment**](docs/InvestmentApi.md#getoptionforinvestment) | **GET** /investment/{investment_id}/option/{option_id} | Get an option for this investment
|
|
73
70
|
*InvestmentApi* | [**getOptionKpis**](docs/InvestmentApi.md#getoptionkpis) | **GET** /investment/{investment_id}/option/{option_id}/kpis/{value_framework_id} | Get the kpis for a given option inside a value framework
|
|
74
71
|
*InvestmentApi* | [**getOptionsForInvestment**](docs/InvestmentApi.md#getoptionsforinvestment) | **GET** /investment/{investment_id}/option/ | List options for this investment
|
|
72
|
+
*InvestmentApi* | [**getPreferredOption**](docs/InvestmentApi.md#getpreferredoption) | **GET** /investment/{investment_id}/preferred_option | Get the preferred option for an investment
|
|
75
73
|
*InvestmentApi* | [**patchImpactForOption**](docs/InvestmentApi.md#patchimpactforoption) | **PATCH** /investment/{investment_id}/option/{option_id}/impact/{impact_id} | Partially update an impact for this option
|
|
76
74
|
*InvestmentApi* | [**patchInvestment**](docs/InvestmentApi.md#patchinvestment) | **PATCH** /investment/{investment_id} | Partially update an investment
|
|
77
75
|
*InvestmentApi* | [**patchOptionForInvestment**](docs/InvestmentApi.md#patchoptionforinvestment) | **PATCH** /investment/{investment_id}/option/{option_id} | Partially update an option for this investment
|
|
78
76
|
*InvestmentApi* | [**postInvestment**](docs/InvestmentApi.md#postinvestment) | **POST** /investment/ | Create an investment
|
|
79
|
-
*InvestmentApi* | [**
|
|
77
|
+
*InvestmentApi* | [**setPreferredOption**](docs/InvestmentApi.md#setpreferredoption) | **POST** /investment/{investment_id}/preferred_option | Set the preferred option for an investment
|
|
80
78
|
*MetricApi* | [**createMetricForObjective**](docs/MetricApi.md#createmetricforobjective) | **POST** /objective/{objective_id}/metric/ | Create a metric for this objective
|
|
81
79
|
*MetricApi* | [**deleteMetricForObjective**](docs/MetricApi.md#deletemetricforobjective) | **DELETE** /objective/{objective_id}/metric/{metric_id} | Delete a metric for this objective
|
|
82
80
|
*MetricApi* | [**getMetricForObjective**](docs/MetricApi.md#getmetricforobjective) | **GET** /objective/{objective_id}/metric/{metric_id} | Get a metric for this objective
|
|
@@ -116,6 +114,8 @@ Class | Method | HTTP request | Description
|
|
|
116
114
|
*OptionApi* | [**getOptionsForInvestment**](docs/OptionApi.md#getoptionsforinvestment) | **GET** /investment/{investment_id}/option/ | List options for this investment
|
|
117
115
|
*OptionApi* | [**patchImpactForOption**](docs/OptionApi.md#patchimpactforoption) | **PATCH** /investment/{investment_id}/option/{option_id}/impact/{impact_id} | Partially update an impact for this option
|
|
118
116
|
*OptionApi* | [**patchOptionForInvestment**](docs/OptionApi.md#patchoptionforinvestment) | **PATCH** /investment/{investment_id}/option/{option_id} | Partially update an option for this investment
|
|
117
|
+
*PreferredOptionApi* | [**getPreferredOption**](docs/PreferredOptionApi.md#getpreferredoption) | **GET** /investment/{investment_id}/preferred_option | Get the preferred option for an investment
|
|
118
|
+
*PreferredOptionApi* | [**setPreferredOption**](docs/PreferredOptionApi.md#setpreferredoption) | **POST** /investment/{investment_id}/preferred_option | Set the preferred option for an investment
|
|
119
119
|
*ValueFrameworkApi* | [**createMetricCostForFramework**](docs/ValueFrameworkApi.md#createmetriccostforframework) | **POST** /value_framework/{value_framework_id}/metric_costs_per_year/ | Create a yearly metric cost for this framework
|
|
120
120
|
*ValueFrameworkApi* | [**createObjectiveWeightForFramework**](docs/ValueFrameworkApi.md#createobjectiveweightforframework) | **POST** /value_framework/{value_framework_id}/objective_weight/ | Create an objective weight for this framework
|
|
121
121
|
*ValueFrameworkApi* | [**deleteMetricCostForFramework**](docs/ValueFrameworkApi.md#deletemetriccostforframework) | **DELETE** /value_framework/{value_framework_id}/metric_costs_per_year/{metric_id}/{year} | Delete metric costs for this framework
|
|
@@ -142,8 +142,6 @@ Class | Method | HTTP request | Description
|
|
|
142
142
|
### Documentation For Models
|
|
143
143
|
|
|
144
144
|
- [EvolutionType](docs/EvolutionType.md)
|
|
145
|
-
- [FavoredOptionRequest](docs/FavoredOptionRequest.md)
|
|
146
|
-
- [FavoredOptionResponse](docs/FavoredOptionResponse.md)
|
|
147
145
|
- [HTTPValidationError](docs/HTTPValidationError.md)
|
|
148
146
|
- [ImpactAPIResponse](docs/ImpactAPIResponse.md)
|
|
149
147
|
- [ImpactCreate](docs/ImpactCreate.md)
|
|
@@ -171,6 +169,8 @@ Class | Method | HTTP request | Description
|
|
|
171
169
|
- [OptionCreate](docs/OptionCreate.md)
|
|
172
170
|
- [OptionResponse](docs/OptionResponse.md)
|
|
173
171
|
- [OptionUpdate](docs/OptionUpdate.md)
|
|
172
|
+
- [PreferredOptionRequest](docs/PreferredOptionRequest.md)
|
|
173
|
+
- [PreferredOptionResponse](docs/PreferredOptionResponse.md)
|
|
174
174
|
- [ValidationError](docs/ValidationError.md)
|
|
175
175
|
- [ValueFrameworkCreate](docs/ValueFrameworkCreate.md)
|
|
176
176
|
- [ValueFrameworkResponse](docs/ValueFrameworkResponse.md)
|
package/api/default-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/impact-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/investment-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,10 +22,6 @@ 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 { FavoredOptionRequest } from '../models';
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
import type { FavoredOptionResponse } from '../models';
|
|
28
|
-
// @ts-ignore
|
|
29
25
|
import type { ImpactAPIResponse } from '../models';
|
|
30
26
|
// @ts-ignore
|
|
31
27
|
import type { ImpactCreate } from '../models';
|
|
@@ -45,6 +41,10 @@ import type { OptionCreate } from '../models';
|
|
|
45
41
|
import type { OptionResponse } from '../models';
|
|
46
42
|
// @ts-ignore
|
|
47
43
|
import type { OptionUpdate } from '../models';
|
|
44
|
+
// @ts-ignore
|
|
45
|
+
import type { PreferredOptionRequest } from '../models';
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
import type { PreferredOptionResponse } from '../models';
|
|
48
48
|
/**
|
|
49
49
|
* InvestmentApi - axios parameter creator
|
|
50
50
|
*/
|
|
@@ -254,44 +254,6 @@ export const InvestmentApiAxiosParamCreator = function (configuration?: Configur
|
|
|
254
254
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
255
255
|
|
|
256
256
|
|
|
257
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
258
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
259
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
260
|
-
|
|
261
|
-
return {
|
|
262
|
-
url: toPathString(localVarUrlObj),
|
|
263
|
-
options: localVarRequestOptions,
|
|
264
|
-
};
|
|
265
|
-
},
|
|
266
|
-
/**
|
|
267
|
-
* Get the preferred option for an investment.
|
|
268
|
-
* @summary Get the preferred option for an investment
|
|
269
|
-
* @param {string} investmentId UUID of the investment
|
|
270
|
-
* @param {*} [options] Override http request option.
|
|
271
|
-
* @throws {RequiredError}
|
|
272
|
-
*/
|
|
273
|
-
getFavoredOption: async (investmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
274
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
275
|
-
assertParamExists('getFavoredOption', 'investmentId', investmentId)
|
|
276
|
-
const localVarPath = `/investment/{investment_id}/favored_option`
|
|
277
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
278
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
279
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
280
|
-
let baseOptions;
|
|
281
|
-
if (configuration) {
|
|
282
|
-
baseOptions = configuration.baseOptions;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
286
|
-
const localVarHeaderParameter = {} as any;
|
|
287
|
-
const localVarQueryParameter = {} as any;
|
|
288
|
-
|
|
289
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
290
|
-
// oauth required
|
|
291
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
292
|
-
|
|
293
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
294
|
-
|
|
295
257
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
296
258
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
297
259
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -617,6 +579,44 @@ export const InvestmentApiAxiosParamCreator = function (configuration?: Configur
|
|
|
617
579
|
options: localVarRequestOptions,
|
|
618
580
|
};
|
|
619
581
|
},
|
|
582
|
+
/**
|
|
583
|
+
* Get the preferred option for an investment.
|
|
584
|
+
* @summary Get the preferred option for an investment
|
|
585
|
+
* @param {string} investmentId UUID of the investment
|
|
586
|
+
* @param {*} [options] Override http request option.
|
|
587
|
+
* @throws {RequiredError}
|
|
588
|
+
*/
|
|
589
|
+
getPreferredOption: async (investmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
590
|
+
// verify required parameter 'investmentId' is not null or undefined
|
|
591
|
+
assertParamExists('getPreferredOption', 'investmentId', investmentId)
|
|
592
|
+
const localVarPath = `/investment/{investment_id}/preferred_option`
|
|
593
|
+
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
594
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
595
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
596
|
+
let baseOptions;
|
|
597
|
+
if (configuration) {
|
|
598
|
+
baseOptions = configuration.baseOptions;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
602
|
+
const localVarHeaderParameter = {} as any;
|
|
603
|
+
const localVarQueryParameter = {} as any;
|
|
604
|
+
|
|
605
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
606
|
+
// oauth required
|
|
607
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration)
|
|
608
|
+
|
|
609
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
610
|
+
|
|
611
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
612
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
613
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
614
|
+
|
|
615
|
+
return {
|
|
616
|
+
url: toPathString(localVarUrlObj),
|
|
617
|
+
options: localVarRequestOptions,
|
|
618
|
+
};
|
|
619
|
+
},
|
|
620
620
|
/**
|
|
621
621
|
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
622
622
|
* @summary Partially update an impact for this option
|
|
@@ -801,16 +801,16 @@ export const InvestmentApiAxiosParamCreator = function (configuration?: Configur
|
|
|
801
801
|
* Set the preferred option for an investment.
|
|
802
802
|
* @summary Set the preferred option for an investment
|
|
803
803
|
* @param {string} investmentId UUID of the investment
|
|
804
|
-
* @param {
|
|
804
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
805
805
|
* @param {*} [options] Override http request option.
|
|
806
806
|
* @throws {RequiredError}
|
|
807
807
|
*/
|
|
808
|
-
|
|
808
|
+
setPreferredOption: async (investmentId: string, preferredOptionRequest: PreferredOptionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
809
809
|
// verify required parameter 'investmentId' is not null or undefined
|
|
810
|
-
assertParamExists('
|
|
811
|
-
// verify required parameter '
|
|
812
|
-
assertParamExists('
|
|
813
|
-
const localVarPath = `/investment/{investment_id}/
|
|
810
|
+
assertParamExists('setPreferredOption', 'investmentId', investmentId)
|
|
811
|
+
// verify required parameter 'preferredOptionRequest' is not null or undefined
|
|
812
|
+
assertParamExists('setPreferredOption', 'preferredOptionRequest', preferredOptionRequest)
|
|
813
|
+
const localVarPath = `/investment/{investment_id}/preferred_option`
|
|
814
814
|
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
815
815
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
816
816
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -833,7 +833,7 @@ export const InvestmentApiAxiosParamCreator = function (configuration?: Configur
|
|
|
833
833
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
834
834
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
835
835
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
836
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
836
|
+
localVarRequestOptions.data = serializeDataIfNeeded(preferredOptionRequest, localVarRequestOptions, configuration)
|
|
837
837
|
|
|
838
838
|
return {
|
|
839
839
|
url: toPathString(localVarUrlObj),
|
|
@@ -920,19 +920,6 @@ export const InvestmentApiFp = function(configuration?: Configuration) {
|
|
|
920
920
|
const localVarOperationServerBasePath = operationServerMap['InvestmentApi.deleteOptionForInvestment']?.[localVarOperationServerIndex]?.url;
|
|
921
921
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
922
922
|
},
|
|
923
|
-
/**
|
|
924
|
-
* Get the preferred option for an investment.
|
|
925
|
-
* @summary Get the preferred option for an investment
|
|
926
|
-
* @param {string} investmentId UUID of the investment
|
|
927
|
-
* @param {*} [options] Override http request option.
|
|
928
|
-
* @throws {RequiredError}
|
|
929
|
-
*/
|
|
930
|
-
async getFavoredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoredOptionResponse>> {
|
|
931
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getFavoredOption(investmentId, options);
|
|
932
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
933
|
-
const localVarOperationServerBasePath = operationServerMap['InvestmentApi.getFavoredOption']?.[localVarOperationServerIndex]?.url;
|
|
934
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
935
|
-
},
|
|
936
923
|
/**
|
|
937
924
|
* Retrieve a specific impact for the option.
|
|
938
925
|
* @summary Get an impact for this option
|
|
@@ -1035,6 +1022,19 @@ export const InvestmentApiFp = function(configuration?: Configuration) {
|
|
|
1035
1022
|
const localVarOperationServerBasePath = operationServerMap['InvestmentApi.getOptionsForInvestment']?.[localVarOperationServerIndex]?.url;
|
|
1036
1023
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1037
1024
|
},
|
|
1025
|
+
/**
|
|
1026
|
+
* Get the preferred option for an investment.
|
|
1027
|
+
* @summary Get the preferred option for an investment
|
|
1028
|
+
* @param {string} investmentId UUID of the investment
|
|
1029
|
+
* @param {*} [options] Override http request option.
|
|
1030
|
+
* @throws {RequiredError}
|
|
1031
|
+
*/
|
|
1032
|
+
async getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>> {
|
|
1033
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPreferredOption(investmentId, options);
|
|
1034
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1035
|
+
const localVarOperationServerBasePath = operationServerMap['InvestmentApi.getPreferredOption']?.[localVarOperationServerIndex]?.url;
|
|
1036
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1037
|
+
},
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
1040
1040
|
* @summary Partially update an impact for this option
|
|
@@ -1097,14 +1097,14 @@ export const InvestmentApiFp = function(configuration?: Configuration) {
|
|
|
1097
1097
|
* Set the preferred option for an investment.
|
|
1098
1098
|
* @summary Set the preferred option for an investment
|
|
1099
1099
|
* @param {string} investmentId UUID of the investment
|
|
1100
|
-
* @param {
|
|
1100
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
1101
1101
|
* @param {*} [options] Override http request option.
|
|
1102
1102
|
* @throws {RequiredError}
|
|
1103
1103
|
*/
|
|
1104
|
-
async
|
|
1105
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1104
|
+
async setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>> {
|
|
1105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setPreferredOption(investmentId, preferredOptionRequest, options);
|
|
1106
1106
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1107
|
-
const localVarOperationServerBasePath = operationServerMap['InvestmentApi.
|
|
1107
|
+
const localVarOperationServerBasePath = operationServerMap['InvestmentApi.setPreferredOption']?.[localVarOperationServerIndex]?.url;
|
|
1108
1108
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1109
1109
|
},
|
|
1110
1110
|
}
|
|
@@ -1172,16 +1172,6 @@ export const InvestmentApiFactory = function (configuration?: Configuration, bas
|
|
|
1172
1172
|
deleteOptionForInvestment(optionId: string, investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1173
1173
|
return localVarFp.deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(axios, basePath));
|
|
1174
1174
|
},
|
|
1175
|
-
/**
|
|
1176
|
-
* Get the preferred option for an investment.
|
|
1177
|
-
* @summary Get the preferred option for an investment
|
|
1178
|
-
* @param {string} investmentId UUID of the investment
|
|
1179
|
-
* @param {*} [options] Override http request option.
|
|
1180
|
-
* @throws {RequiredError}
|
|
1181
|
-
*/
|
|
1182
|
-
getFavoredOption(investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<FavoredOptionResponse> {
|
|
1183
|
-
return localVarFp.getFavoredOption(investmentId, options).then((request) => request(axios, basePath));
|
|
1184
|
-
},
|
|
1185
1175
|
/**
|
|
1186
1176
|
* Retrieve a specific impact for the option.
|
|
1187
1177
|
* @summary Get an impact for this option
|
|
@@ -1263,6 +1253,16 @@ export const InvestmentApiFactory = function (configuration?: Configuration, bas
|
|
|
1263
1253
|
getOptionsForInvestment(investmentId: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<OptionResponse>> {
|
|
1264
1254
|
return localVarFp.getOptionsForInvestment(investmentId, offset, limit, options).then((request) => request(axios, basePath));
|
|
1265
1255
|
},
|
|
1256
|
+
/**
|
|
1257
|
+
* Get the preferred option for an investment.
|
|
1258
|
+
* @summary Get the preferred option for an investment
|
|
1259
|
+
* @param {string} investmentId UUID of the investment
|
|
1260
|
+
* @param {*} [options] Override http request option.
|
|
1261
|
+
* @throws {RequiredError}
|
|
1262
|
+
*/
|
|
1263
|
+
getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse> {
|
|
1264
|
+
return localVarFp.getPreferredOption(investmentId, options).then((request) => request(axios, basePath));
|
|
1265
|
+
},
|
|
1266
1266
|
/**
|
|
1267
1267
|
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
1268
1268
|
* @summary Partially update an impact for this option
|
|
@@ -1313,12 +1313,12 @@ export const InvestmentApiFactory = function (configuration?: Configuration, bas
|
|
|
1313
1313
|
* Set the preferred option for an investment.
|
|
1314
1314
|
* @summary Set the preferred option for an investment
|
|
1315
1315
|
* @param {string} investmentId UUID of the investment
|
|
1316
|
-
* @param {
|
|
1316
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
1317
1317
|
* @param {*} [options] Override http request option.
|
|
1318
1318
|
* @throws {RequiredError}
|
|
1319
1319
|
*/
|
|
1320
|
-
|
|
1321
|
-
return localVarFp.
|
|
1320
|
+
setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse> {
|
|
1321
|
+
return localVarFp.setPreferredOption(investmentId, preferredOptionRequest, options).then((request) => request(axios, basePath));
|
|
1322
1322
|
},
|
|
1323
1323
|
};
|
|
1324
1324
|
};
|
|
@@ -1388,17 +1388,6 @@ export class InvestmentApi extends BaseAPI {
|
|
|
1388
1388
|
return InvestmentApiFp(this.configuration).deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1389
1389
|
}
|
|
1390
1390
|
|
|
1391
|
-
/**
|
|
1392
|
-
* Get the preferred option for an investment.
|
|
1393
|
-
* @summary Get the preferred option for an investment
|
|
1394
|
-
* @param {string} investmentId UUID of the investment
|
|
1395
|
-
* @param {*} [options] Override http request option.
|
|
1396
|
-
* @throws {RequiredError}
|
|
1397
|
-
*/
|
|
1398
|
-
public getFavoredOption(investmentId: string, options?: RawAxiosRequestConfig) {
|
|
1399
|
-
return InvestmentApiFp(this.configuration).getFavoredOption(investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
1391
|
/**
|
|
1403
1392
|
* Retrieve a specific impact for the option.
|
|
1404
1393
|
* @summary Get an impact for this option
|
|
@@ -1487,6 +1476,17 @@ export class InvestmentApi extends BaseAPI {
|
|
|
1487
1476
|
return InvestmentApiFp(this.configuration).getOptionsForInvestment(investmentId, offset, limit, options).then((request) => request(this.axios, this.basePath));
|
|
1488
1477
|
}
|
|
1489
1478
|
|
|
1479
|
+
/**
|
|
1480
|
+
* Get the preferred option for an investment.
|
|
1481
|
+
* @summary Get the preferred option for an investment
|
|
1482
|
+
* @param {string} investmentId UUID of the investment
|
|
1483
|
+
* @param {*} [options] Override http request option.
|
|
1484
|
+
* @throws {RequiredError}
|
|
1485
|
+
*/
|
|
1486
|
+
public getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig) {
|
|
1487
|
+
return InvestmentApiFp(this.configuration).getPreferredOption(investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
1490
|
/**
|
|
1491
1491
|
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
1492
1492
|
* @summary Partially update an impact for this option
|
|
@@ -1541,12 +1541,12 @@ export class InvestmentApi extends BaseAPI {
|
|
|
1541
1541
|
* Set the preferred option for an investment.
|
|
1542
1542
|
* @summary Set the preferred option for an investment
|
|
1543
1543
|
* @param {string} investmentId UUID of the investment
|
|
1544
|
-
* @param {
|
|
1544
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
1545
1545
|
* @param {*} [options] Override http request option.
|
|
1546
1546
|
* @throws {RequiredError}
|
|
1547
1547
|
*/
|
|
1548
|
-
public
|
|
1549
|
-
return InvestmentApiFp(this.configuration).
|
|
1548
|
+
public setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig) {
|
|
1549
|
+
return InvestmentApiFp(this.configuration).setPreferredOption(investmentId, preferredOptionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1550
1550
|
}
|
|
1551
1551
|
}
|
|
1552
1552
|
|
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.2.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
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.2.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
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.2.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
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.2.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
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.2.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
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.2.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/option-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|