@cosmotech/aip-client 0.3.0-dev2 → 0.3.0-dev3
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 +4 -40
- package/api/budget-api.ts +1 -1
- 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 +1 -454
- 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 +1 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/budget-api.d.ts +1 -1
- package/dist/api/budget-api.js +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 +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 +1 -212
- package/dist/api/option-api.js +1 -431
- 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 +1 -1
- package/dist/api.js +1 -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 +1 -1
- package/dist/esm/api/budget-api.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 +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 +1 -212
- package/dist/esm/api/option-api.js +1 -431
- 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 +1 -1
- package/dist/esm/api.js +1 -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 +1 -1
- 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 -1
- package/dist/esm/models/impact-apiresponse.js +1 -1
- package/dist/esm/models/impact-bulk-item.d.ts +37 -0
- package/dist/esm/models/impact-bulk-item.js +14 -0
- 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 +1 -0
- package/dist/esm/models/index.js +1 -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-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-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/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 +1 -1
- 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 -1
- package/dist/models/impact-apiresponse.js +1 -1
- package/dist/models/impact-bulk-item.d.ts +37 -0
- package/dist/models/impact-bulk-item.js +15 -0
- 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 +1 -0
- package/dist/models/index.js +1 -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-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-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/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/ImpactApi.md +60 -0
- package/docs/ImpactBulkItem.md +29 -0
- package/docs/InvestmentApi.md +29 -851
- package/docs/ObjectiveApi.md +0 -351
- package/docs/OptionApi.md +0 -305
- package/docs/ValueFrameworkApi.md +7 -778
- package/index.ts +1 -1
- package/models/budget-bulk-delete-request.ts +1 -1
- 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 -1
- package/models/impact-bulk-item.ts +47 -0
- package/models/impact-create.ts +1 -1
- package/models/impact-update.ts +1 -1
- package/models/index.ts +1 -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-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-overview-response.ts +1 -1
- package/models/option-response.ts +1 -1
- package/models/option-update.ts +1 -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
|
@@ -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.3.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.3.0-dev3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,48 +31,6 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
31
31
|
*/
|
|
32
32
|
export const OptionApiAxiosParamCreator = function (configuration) {
|
|
33
33
|
return {
|
|
34
|
-
/**
|
|
35
|
-
* Create a new impact under this option.
|
|
36
|
-
* @summary Create an impact for this option
|
|
37
|
-
* @param {string} optionId UUID of the option
|
|
38
|
-
* @param {string} investmentId UUID of the investment
|
|
39
|
-
* @param {ImpactCreate} impactCreate
|
|
40
|
-
* @param {*} [options] Override http request option.
|
|
41
|
-
* @throws {RequiredError}
|
|
42
|
-
*/
|
|
43
|
-
createImpactForOption: (optionId_1, investmentId_1, impactCreate_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, impactCreate_1, ...args_1], void 0, function* (optionId, investmentId, impactCreate, options = {}) {
|
|
44
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
45
|
-
assertParamExists('createImpactForOption', 'optionId', optionId);
|
|
46
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
47
|
-
assertParamExists('createImpactForOption', 'investmentId', investmentId);
|
|
48
|
-
// verify required parameter 'impactCreate' is not null or undefined
|
|
49
|
-
assertParamExists('createImpactForOption', 'impactCreate', impactCreate);
|
|
50
|
-
const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
|
|
51
|
-
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
52
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
53
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55
|
-
let baseOptions;
|
|
56
|
-
if (configuration) {
|
|
57
|
-
baseOptions = configuration.baseOptions;
|
|
58
|
-
}
|
|
59
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
60
|
-
const localVarHeaderParameter = {};
|
|
61
|
-
const localVarQueryParameter = {};
|
|
62
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
63
|
-
// oauth required
|
|
64
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
65
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
66
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
67
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70
|
-
localVarRequestOptions.data = serializeDataIfNeeded(impactCreate, localVarRequestOptions, configuration);
|
|
71
|
-
return {
|
|
72
|
-
url: toPathString(localVarUrlObj),
|
|
73
|
-
options: localVarRequestOptions,
|
|
74
|
-
};
|
|
75
|
-
}),
|
|
76
34
|
/**
|
|
77
35
|
* Create a new option under this investment.
|
|
78
36
|
* @summary Create an option for this investment
|
|
@@ -111,46 +69,6 @@ export const OptionApiAxiosParamCreator = function (configuration) {
|
|
|
111
69
|
options: localVarRequestOptions,
|
|
112
70
|
};
|
|
113
71
|
}),
|
|
114
|
-
/**
|
|
115
|
-
* Delete an existing impact by its ID.
|
|
116
|
-
* @summary Delete an impact for this option
|
|
117
|
-
* @param {string} impactId UUID of the impact
|
|
118
|
-
* @param {string} optionId UUID of the option
|
|
119
|
-
* @param {string} investmentId UUID of the investment
|
|
120
|
-
* @param {*} [options] Override http request option.
|
|
121
|
-
* @throws {RequiredError}
|
|
122
|
-
*/
|
|
123
|
-
deleteImpactForOption: (impactId_1, optionId_1, investmentId_1, ...args_1) => __awaiter(this, [impactId_1, optionId_1, investmentId_1, ...args_1], void 0, function* (impactId, optionId, investmentId, options = {}) {
|
|
124
|
-
// verify required parameter 'impactId' is not null or undefined
|
|
125
|
-
assertParamExists('deleteImpactForOption', 'impactId', impactId);
|
|
126
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
127
|
-
assertParamExists('deleteImpactForOption', 'optionId', optionId);
|
|
128
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
129
|
-
assertParamExists('deleteImpactForOption', 'investmentId', investmentId);
|
|
130
|
-
const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
|
|
131
|
-
.replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
|
|
132
|
-
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
133
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
134
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
135
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
136
|
-
let baseOptions;
|
|
137
|
-
if (configuration) {
|
|
138
|
-
baseOptions = configuration.baseOptions;
|
|
139
|
-
}
|
|
140
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
141
|
-
const localVarHeaderParameter = {};
|
|
142
|
-
const localVarQueryParameter = {};
|
|
143
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
144
|
-
// oauth required
|
|
145
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
146
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
148
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
149
|
-
return {
|
|
150
|
-
url: toPathString(localVarUrlObj),
|
|
151
|
-
options: localVarRequestOptions,
|
|
152
|
-
};
|
|
153
|
-
}),
|
|
154
72
|
/**
|
|
155
73
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
156
74
|
* @summary Delete an option for this investment
|
|
@@ -187,92 +105,6 @@ export const OptionApiAxiosParamCreator = function (configuration) {
|
|
|
187
105
|
options: localVarRequestOptions,
|
|
188
106
|
};
|
|
189
107
|
}),
|
|
190
|
-
/**
|
|
191
|
-
* Retrieve a specific impact for the option.
|
|
192
|
-
* @summary Get an impact for this option
|
|
193
|
-
* @param {string} impactId UUID of the impact
|
|
194
|
-
* @param {string} optionId UUID of the option
|
|
195
|
-
* @param {string} investmentId UUID of the investment
|
|
196
|
-
* @param {*} [options] Override http request option.
|
|
197
|
-
* @throws {RequiredError}
|
|
198
|
-
*/
|
|
199
|
-
getImpactForOption: (impactId_1, optionId_1, investmentId_1, ...args_1) => __awaiter(this, [impactId_1, optionId_1, investmentId_1, ...args_1], void 0, function* (impactId, optionId, investmentId, options = {}) {
|
|
200
|
-
// verify required parameter 'impactId' is not null or undefined
|
|
201
|
-
assertParamExists('getImpactForOption', 'impactId', impactId);
|
|
202
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
203
|
-
assertParamExists('getImpactForOption', 'optionId', optionId);
|
|
204
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
205
|
-
assertParamExists('getImpactForOption', 'investmentId', investmentId);
|
|
206
|
-
const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
|
|
207
|
-
.replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
|
|
208
|
-
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
209
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
210
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
211
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
212
|
-
let baseOptions;
|
|
213
|
-
if (configuration) {
|
|
214
|
-
baseOptions = configuration.baseOptions;
|
|
215
|
-
}
|
|
216
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
217
|
-
const localVarHeaderParameter = {};
|
|
218
|
-
const localVarQueryParameter = {};
|
|
219
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
220
|
-
// oauth required
|
|
221
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
222
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
223
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
224
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
225
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
226
|
-
return {
|
|
227
|
-
url: toPathString(localVarUrlObj),
|
|
228
|
-
options: localVarRequestOptions,
|
|
229
|
-
};
|
|
230
|
-
}),
|
|
231
|
-
/**
|
|
232
|
-
* Retrieve a paginated list of all impacts for a specific option.
|
|
233
|
-
* @summary List impacts for this option
|
|
234
|
-
* @param {string} optionId UUID of the option
|
|
235
|
-
* @param {string} investmentId UUID of the investment
|
|
236
|
-
* @param {number} [offset] Number of records to skip
|
|
237
|
-
* @param {number} [limit] Max number of records to return
|
|
238
|
-
* @param {*} [options] Override http request option.
|
|
239
|
-
* @throws {RequiredError}
|
|
240
|
-
*/
|
|
241
|
-
getImpactsForOption: (optionId_1, investmentId_1, offset_1, limit_1, ...args_1) => __awaiter(this, [optionId_1, investmentId_1, offset_1, limit_1, ...args_1], void 0, function* (optionId, investmentId, offset, limit, options = {}) {
|
|
242
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
243
|
-
assertParamExists('getImpactsForOption', 'optionId', optionId);
|
|
244
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
245
|
-
assertParamExists('getImpactsForOption', 'investmentId', investmentId);
|
|
246
|
-
const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/`
|
|
247
|
-
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
248
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
249
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
250
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
251
|
-
let baseOptions;
|
|
252
|
-
if (configuration) {
|
|
253
|
-
baseOptions = configuration.baseOptions;
|
|
254
|
-
}
|
|
255
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
256
|
-
const localVarHeaderParameter = {};
|
|
257
|
-
const localVarQueryParameter = {};
|
|
258
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
259
|
-
// oauth required
|
|
260
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
261
|
-
if (offset !== undefined) {
|
|
262
|
-
localVarQueryParameter['offset'] = offset;
|
|
263
|
-
}
|
|
264
|
-
if (limit !== undefined) {
|
|
265
|
-
localVarQueryParameter['limit'] = limit;
|
|
266
|
-
}
|
|
267
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
268
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
269
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
270
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
271
|
-
return {
|
|
272
|
-
url: toPathString(localVarUrlObj),
|
|
273
|
-
options: localVarRequestOptions,
|
|
274
|
-
};
|
|
275
|
-
}),
|
|
276
108
|
/**
|
|
277
109
|
* Retrieve a specific option for the investment.
|
|
278
110
|
* @summary Get an option for this investment
|
|
@@ -431,52 +263,6 @@ export const OptionApiAxiosParamCreator = function (configuration) {
|
|
|
431
263
|
options: localVarRequestOptions,
|
|
432
264
|
};
|
|
433
265
|
}),
|
|
434
|
-
/**
|
|
435
|
-
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
436
|
-
* @summary Partially update an impact for this option
|
|
437
|
-
* @param {string} impactId UUID of the impact
|
|
438
|
-
* @param {string} optionId UUID of the option
|
|
439
|
-
* @param {string} investmentId UUID of the investment
|
|
440
|
-
* @param {ImpactUpdate} impactUpdate
|
|
441
|
-
* @param {*} [options] Override http request option.
|
|
442
|
-
* @throws {RequiredError}
|
|
443
|
-
*/
|
|
444
|
-
patchImpactForOption: (impactId_1, optionId_1, investmentId_1, impactUpdate_1, ...args_1) => __awaiter(this, [impactId_1, optionId_1, investmentId_1, impactUpdate_1, ...args_1], void 0, function* (impactId, optionId, investmentId, impactUpdate, options = {}) {
|
|
445
|
-
// verify required parameter 'impactId' is not null or undefined
|
|
446
|
-
assertParamExists('patchImpactForOption', 'impactId', impactId);
|
|
447
|
-
// verify required parameter 'optionId' is not null or undefined
|
|
448
|
-
assertParamExists('patchImpactForOption', 'optionId', optionId);
|
|
449
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
450
|
-
assertParamExists('patchImpactForOption', 'investmentId', investmentId);
|
|
451
|
-
// verify required parameter 'impactUpdate' is not null or undefined
|
|
452
|
-
assertParamExists('patchImpactForOption', 'impactUpdate', impactUpdate);
|
|
453
|
-
const localVarPath = `/investment/{investment_id}/option/{option_id}/impact/{impact_id}`
|
|
454
|
-
.replace(`{${"impact_id"}}`, encodeURIComponent(String(impactId)))
|
|
455
|
-
.replace(`{${"option_id"}}`, encodeURIComponent(String(optionId)))
|
|
456
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
457
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
458
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
459
|
-
let baseOptions;
|
|
460
|
-
if (configuration) {
|
|
461
|
-
baseOptions = configuration.baseOptions;
|
|
462
|
-
}
|
|
463
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
464
|
-
const localVarHeaderParameter = {};
|
|
465
|
-
const localVarQueryParameter = {};
|
|
466
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
467
|
-
// oauth required
|
|
468
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
469
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
470
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
471
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
472
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
473
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
474
|
-
localVarRequestOptions.data = serializeDataIfNeeded(impactUpdate, localVarRequestOptions, configuration);
|
|
475
|
-
return {
|
|
476
|
-
url: toPathString(localVarUrlObj),
|
|
477
|
-
options: localVarRequestOptions,
|
|
478
|
-
};
|
|
479
|
-
}),
|
|
480
266
|
/**
|
|
481
267
|
* Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
482
268
|
* @summary Partially update an option for this investment
|
|
@@ -527,24 +313,6 @@ export const OptionApiAxiosParamCreator = function (configuration) {
|
|
|
527
313
|
export const OptionApiFp = function (configuration) {
|
|
528
314
|
const localVarAxiosParamCreator = OptionApiAxiosParamCreator(configuration);
|
|
529
315
|
return {
|
|
530
|
-
/**
|
|
531
|
-
* Create a new impact under this option.
|
|
532
|
-
* @summary Create an impact for this option
|
|
533
|
-
* @param {string} optionId UUID of the option
|
|
534
|
-
* @param {string} investmentId UUID of the investment
|
|
535
|
-
* @param {ImpactCreate} impactCreate
|
|
536
|
-
* @param {*} [options] Override http request option.
|
|
537
|
-
* @throws {RequiredError}
|
|
538
|
-
*/
|
|
539
|
-
createImpactForOption(optionId, investmentId, impactCreate, options) {
|
|
540
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
541
|
-
var _a, _b, _c;
|
|
542
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createImpactForOption(optionId, investmentId, impactCreate, options);
|
|
543
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
544
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.createImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
545
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
546
|
-
});
|
|
547
|
-
},
|
|
548
316
|
/**
|
|
549
317
|
* Create a new option under this investment.
|
|
550
318
|
* @summary Create an option for this investment
|
|
@@ -562,24 +330,6 @@ export const OptionApiFp = function (configuration) {
|
|
|
562
330
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
563
331
|
});
|
|
564
332
|
},
|
|
565
|
-
/**
|
|
566
|
-
* Delete an existing impact by its ID.
|
|
567
|
-
* @summary Delete an impact for this option
|
|
568
|
-
* @param {string} impactId UUID of the impact
|
|
569
|
-
* @param {string} optionId UUID of the option
|
|
570
|
-
* @param {string} investmentId UUID of the investment
|
|
571
|
-
* @param {*} [options] Override http request option.
|
|
572
|
-
* @throws {RequiredError}
|
|
573
|
-
*/
|
|
574
|
-
deleteImpactForOption(impactId, optionId, investmentId, options) {
|
|
575
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
576
|
-
var _a, _b, _c;
|
|
577
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteImpactForOption(impactId, optionId, investmentId, options);
|
|
578
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
579
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.deleteImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
580
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
581
|
-
});
|
|
582
|
-
},
|
|
583
333
|
/**
|
|
584
334
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
585
335
|
* @summary Delete an option for this investment
|
|
@@ -597,43 +347,6 @@ export const OptionApiFp = function (configuration) {
|
|
|
597
347
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
598
348
|
});
|
|
599
349
|
},
|
|
600
|
-
/**
|
|
601
|
-
* Retrieve a specific impact for the option.
|
|
602
|
-
* @summary Get an impact for this option
|
|
603
|
-
* @param {string} impactId UUID of the impact
|
|
604
|
-
* @param {string} optionId UUID of the option
|
|
605
|
-
* @param {string} investmentId UUID of the investment
|
|
606
|
-
* @param {*} [options] Override http request option.
|
|
607
|
-
* @throws {RequiredError}
|
|
608
|
-
*/
|
|
609
|
-
getImpactForOption(impactId, optionId, investmentId, options) {
|
|
610
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
611
|
-
var _a, _b, _c;
|
|
612
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getImpactForOption(impactId, optionId, investmentId, options);
|
|
613
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
614
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.getImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
615
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
616
|
-
});
|
|
617
|
-
},
|
|
618
|
-
/**
|
|
619
|
-
* Retrieve a paginated list of all impacts for a specific option.
|
|
620
|
-
* @summary List impacts for this option
|
|
621
|
-
* @param {string} optionId UUID of the option
|
|
622
|
-
* @param {string} investmentId UUID of the investment
|
|
623
|
-
* @param {number} [offset] Number of records to skip
|
|
624
|
-
* @param {number} [limit] Max number of records to return
|
|
625
|
-
* @param {*} [options] Override http request option.
|
|
626
|
-
* @throws {RequiredError}
|
|
627
|
-
*/
|
|
628
|
-
getImpactsForOption(optionId, investmentId, offset, limit, options) {
|
|
629
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
630
|
-
var _a, _b, _c;
|
|
631
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getImpactsForOption(optionId, investmentId, offset, limit, options);
|
|
632
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
633
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.getImpactsForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
634
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
635
|
-
});
|
|
636
|
-
},
|
|
637
350
|
/**
|
|
638
351
|
* Retrieve a specific option for the investment.
|
|
639
352
|
* @summary Get an option for this investment
|
|
@@ -704,25 +417,6 @@ export const OptionApiFp = function (configuration) {
|
|
|
704
417
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
705
418
|
});
|
|
706
419
|
},
|
|
707
|
-
/**
|
|
708
|
-
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
709
|
-
* @summary Partially update an impact for this option
|
|
710
|
-
* @param {string} impactId UUID of the impact
|
|
711
|
-
* @param {string} optionId UUID of the option
|
|
712
|
-
* @param {string} investmentId UUID of the investment
|
|
713
|
-
* @param {ImpactUpdate} impactUpdate
|
|
714
|
-
* @param {*} [options] Override http request option.
|
|
715
|
-
* @throws {RequiredError}
|
|
716
|
-
*/
|
|
717
|
-
patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options) {
|
|
718
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
719
|
-
var _a, _b, _c;
|
|
720
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options);
|
|
721
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
722
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OptionApi.patchImpactForOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
723
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
724
|
-
});
|
|
725
|
-
},
|
|
726
420
|
/**
|
|
727
421
|
* Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
728
422
|
* @summary Partially update an option for this investment
|
|
@@ -749,18 +443,6 @@ export const OptionApiFp = function (configuration) {
|
|
|
749
443
|
export const OptionApiFactory = function (configuration, basePath, axios) {
|
|
750
444
|
const localVarFp = OptionApiFp(configuration);
|
|
751
445
|
return {
|
|
752
|
-
/**
|
|
753
|
-
* Create a new impact under this option.
|
|
754
|
-
* @summary Create an impact for this option
|
|
755
|
-
* @param {string} optionId UUID of the option
|
|
756
|
-
* @param {string} investmentId UUID of the investment
|
|
757
|
-
* @param {ImpactCreate} impactCreate
|
|
758
|
-
* @param {*} [options] Override http request option.
|
|
759
|
-
* @throws {RequiredError}
|
|
760
|
-
*/
|
|
761
|
-
createImpactForOption(optionId, investmentId, impactCreate, options) {
|
|
762
|
-
return localVarFp.createImpactForOption(optionId, investmentId, impactCreate, options).then((request) => request(axios, basePath));
|
|
763
|
-
},
|
|
764
446
|
/**
|
|
765
447
|
* Create a new option under this investment.
|
|
766
448
|
* @summary Create an option for this investment
|
|
@@ -772,18 +454,6 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
|
|
|
772
454
|
createOptionForInvestment(investmentId, optionCreate, options) {
|
|
773
455
|
return localVarFp.createOptionForInvestment(investmentId, optionCreate, options).then((request) => request(axios, basePath));
|
|
774
456
|
},
|
|
775
|
-
/**
|
|
776
|
-
* Delete an existing impact by its ID.
|
|
777
|
-
* @summary Delete an impact for this option
|
|
778
|
-
* @param {string} impactId UUID of the impact
|
|
779
|
-
* @param {string} optionId UUID of the option
|
|
780
|
-
* @param {string} investmentId UUID of the investment
|
|
781
|
-
* @param {*} [options] Override http request option.
|
|
782
|
-
* @throws {RequiredError}
|
|
783
|
-
*/
|
|
784
|
-
deleteImpactForOption(impactId, optionId, investmentId, options) {
|
|
785
|
-
return localVarFp.deleteImpactForOption(impactId, optionId, investmentId, options).then((request) => request(axios, basePath));
|
|
786
|
-
},
|
|
787
457
|
/**
|
|
788
458
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
789
459
|
* @summary Delete an option for this investment
|
|
@@ -795,31 +465,6 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
|
|
|
795
465
|
deleteOptionForInvestment(optionId, investmentId, options) {
|
|
796
466
|
return localVarFp.deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(axios, basePath));
|
|
797
467
|
},
|
|
798
|
-
/**
|
|
799
|
-
* Retrieve a specific impact for the option.
|
|
800
|
-
* @summary Get an impact for this option
|
|
801
|
-
* @param {string} impactId UUID of the impact
|
|
802
|
-
* @param {string} optionId UUID of the option
|
|
803
|
-
* @param {string} investmentId UUID of the investment
|
|
804
|
-
* @param {*} [options] Override http request option.
|
|
805
|
-
* @throws {RequiredError}
|
|
806
|
-
*/
|
|
807
|
-
getImpactForOption(impactId, optionId, investmentId, options) {
|
|
808
|
-
return localVarFp.getImpactForOption(impactId, optionId, investmentId, options).then((request) => request(axios, basePath));
|
|
809
|
-
},
|
|
810
|
-
/**
|
|
811
|
-
* Retrieve a paginated list of all impacts for a specific option.
|
|
812
|
-
* @summary List impacts for this option
|
|
813
|
-
* @param {string} optionId UUID of the option
|
|
814
|
-
* @param {string} investmentId UUID of the investment
|
|
815
|
-
* @param {number} [offset] Number of records to skip
|
|
816
|
-
* @param {number} [limit] Max number of records to return
|
|
817
|
-
* @param {*} [options] Override http request option.
|
|
818
|
-
* @throws {RequiredError}
|
|
819
|
-
*/
|
|
820
|
-
getImpactsForOption(optionId, investmentId, offset, limit, options) {
|
|
821
|
-
return localVarFp.getImpactsForOption(optionId, investmentId, offset, limit, options).then((request) => request(axios, basePath));
|
|
822
|
-
},
|
|
823
468
|
/**
|
|
824
469
|
* Retrieve a specific option for the investment.
|
|
825
470
|
* @summary Get an option for this investment
|
|
@@ -866,19 +511,6 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
|
|
|
866
511
|
getOptionsOverview(investmentId, valueFrameworkId, options) {
|
|
867
512
|
return localVarFp.getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(axios, basePath));
|
|
868
513
|
},
|
|
869
|
-
/**
|
|
870
|
-
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
871
|
-
* @summary Partially update an impact for this option
|
|
872
|
-
* @param {string} impactId UUID of the impact
|
|
873
|
-
* @param {string} optionId UUID of the option
|
|
874
|
-
* @param {string} investmentId UUID of the investment
|
|
875
|
-
* @param {ImpactUpdate} impactUpdate
|
|
876
|
-
* @param {*} [options] Override http request option.
|
|
877
|
-
* @throws {RequiredError}
|
|
878
|
-
*/
|
|
879
|
-
patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options) {
|
|
880
|
-
return localVarFp.patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options).then((request) => request(axios, basePath));
|
|
881
|
-
},
|
|
882
514
|
/**
|
|
883
515
|
* Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
884
516
|
* @summary Partially update an option for this investment
|
|
@@ -897,18 +529,6 @@ export const OptionApiFactory = function (configuration, basePath, axios) {
|
|
|
897
529
|
* OptionApi - object-oriented interface
|
|
898
530
|
*/
|
|
899
531
|
export class OptionApi extends BaseAPI {
|
|
900
|
-
/**
|
|
901
|
-
* Create a new impact under this option.
|
|
902
|
-
* @summary Create an impact for this option
|
|
903
|
-
* @param {string} optionId UUID of the option
|
|
904
|
-
* @param {string} investmentId UUID of the investment
|
|
905
|
-
* @param {ImpactCreate} impactCreate
|
|
906
|
-
* @param {*} [options] Override http request option.
|
|
907
|
-
* @throws {RequiredError}
|
|
908
|
-
*/
|
|
909
|
-
createImpactForOption(optionId, investmentId, impactCreate, options) {
|
|
910
|
-
return OptionApiFp(this.configuration).createImpactForOption(optionId, investmentId, impactCreate, options).then((request) => request(this.axios, this.basePath));
|
|
911
|
-
}
|
|
912
532
|
/**
|
|
913
533
|
* Create a new option under this investment.
|
|
914
534
|
* @summary Create an option for this investment
|
|
@@ -920,18 +540,6 @@ export class OptionApi extends BaseAPI {
|
|
|
920
540
|
createOptionForInvestment(investmentId, optionCreate, options) {
|
|
921
541
|
return OptionApiFp(this.configuration).createOptionForInvestment(investmentId, optionCreate, options).then((request) => request(this.axios, this.basePath));
|
|
922
542
|
}
|
|
923
|
-
/**
|
|
924
|
-
* Delete an existing impact by its ID.
|
|
925
|
-
* @summary Delete an impact for this option
|
|
926
|
-
* @param {string} impactId UUID of the impact
|
|
927
|
-
* @param {string} optionId UUID of the option
|
|
928
|
-
* @param {string} investmentId UUID of the investment
|
|
929
|
-
* @param {*} [options] Override http request option.
|
|
930
|
-
* @throws {RequiredError}
|
|
931
|
-
*/
|
|
932
|
-
deleteImpactForOption(impactId, optionId, investmentId, options) {
|
|
933
|
-
return OptionApiFp(this.configuration).deleteImpactForOption(impactId, optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
934
|
-
}
|
|
935
543
|
/**
|
|
936
544
|
* Delete an existing option by its ID. Associated phases and impacts are also deleted via cascade.
|
|
937
545
|
* @summary Delete an option for this investment
|
|
@@ -943,31 +551,6 @@ export class OptionApi extends BaseAPI {
|
|
|
943
551
|
deleteOptionForInvestment(optionId, investmentId, options) {
|
|
944
552
|
return OptionApiFp(this.configuration).deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
945
553
|
}
|
|
946
|
-
/**
|
|
947
|
-
* Retrieve a specific impact for the option.
|
|
948
|
-
* @summary Get an impact for this option
|
|
949
|
-
* @param {string} impactId UUID of the impact
|
|
950
|
-
* @param {string} optionId UUID of the option
|
|
951
|
-
* @param {string} investmentId UUID of the investment
|
|
952
|
-
* @param {*} [options] Override http request option.
|
|
953
|
-
* @throws {RequiredError}
|
|
954
|
-
*/
|
|
955
|
-
getImpactForOption(impactId, optionId, investmentId, options) {
|
|
956
|
-
return OptionApiFp(this.configuration).getImpactForOption(impactId, optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
957
|
-
}
|
|
958
|
-
/**
|
|
959
|
-
* Retrieve a paginated list of all impacts for a specific option.
|
|
960
|
-
* @summary List impacts for this option
|
|
961
|
-
* @param {string} optionId UUID of the option
|
|
962
|
-
* @param {string} investmentId UUID of the investment
|
|
963
|
-
* @param {number} [offset] Number of records to skip
|
|
964
|
-
* @param {number} [limit] Max number of records to return
|
|
965
|
-
* @param {*} [options] Override http request option.
|
|
966
|
-
* @throws {RequiredError}
|
|
967
|
-
*/
|
|
968
|
-
getImpactsForOption(optionId, investmentId, offset, limit, options) {
|
|
969
|
-
return OptionApiFp(this.configuration).getImpactsForOption(optionId, investmentId, offset, limit, options).then((request) => request(this.axios, this.basePath));
|
|
970
|
-
}
|
|
971
554
|
/**
|
|
972
555
|
* Retrieve a specific option for the investment.
|
|
973
556
|
* @summary Get an option for this investment
|
|
@@ -1014,19 +597,6 @@ export class OptionApi extends BaseAPI {
|
|
|
1014
597
|
getOptionsOverview(investmentId, valueFrameworkId, options) {
|
|
1015
598
|
return OptionApiFp(this.configuration).getOptionsOverview(investmentId, valueFrameworkId, options).then((request) => request(this.axios, this.basePath));
|
|
1016
599
|
}
|
|
1017
|
-
/**
|
|
1018
|
-
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
1019
|
-
* @summary Partially update an impact for this option
|
|
1020
|
-
* @param {string} impactId UUID of the impact
|
|
1021
|
-
* @param {string} optionId UUID of the option
|
|
1022
|
-
* @param {string} investmentId UUID of the investment
|
|
1023
|
-
* @param {ImpactUpdate} impactUpdate
|
|
1024
|
-
* @param {*} [options] Override http request option.
|
|
1025
|
-
* @throws {RequiredError}
|
|
1026
|
-
*/
|
|
1027
|
-
patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options) {
|
|
1028
|
-
return OptionApiFp(this.configuration).patchImpactForOption(impactId, optionId, investmentId, impactUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1029
|
-
}
|
|
1030
600
|
/**
|
|
1031
601
|
* Update one or more fields of an existing option. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
1032
602
|
* @summary Partially update an option for this investment
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Asset Investment Planning
|
|
3
3
|
* API for Asset Investment Planning
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.3.0-
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0-dev3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* 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.3.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.3.0-dev3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|