@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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -222,39 +222,6 @@ const InvestmentApiAxiosParamCreator = function (configuration) {
|
|
|
222
222
|
options: localVarRequestOptions,
|
|
223
223
|
};
|
|
224
224
|
}),
|
|
225
|
-
/**
|
|
226
|
-
* Get the preferred option for an investment.
|
|
227
|
-
* @summary Get the preferred option for an investment
|
|
228
|
-
* @param {string} investmentId UUID of the investment
|
|
229
|
-
* @param {*} [options] Override http request option.
|
|
230
|
-
* @throws {RequiredError}
|
|
231
|
-
*/
|
|
232
|
-
getFavoredOption: (investmentId_1, ...args_1) => __awaiter(this, [investmentId_1, ...args_1], void 0, function* (investmentId, options = {}) {
|
|
233
|
-
// verify required parameter 'investmentId' is not null or undefined
|
|
234
|
-
(0, common_1.assertParamExists)('getFavoredOption', 'investmentId', investmentId);
|
|
235
|
-
const localVarPath = `/investment/{investment_id}/favored_option`
|
|
236
|
-
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
237
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
238
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
239
|
-
let baseOptions;
|
|
240
|
-
if (configuration) {
|
|
241
|
-
baseOptions = configuration.baseOptions;
|
|
242
|
-
}
|
|
243
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
244
|
-
const localVarHeaderParameter = {};
|
|
245
|
-
const localVarQueryParameter = {};
|
|
246
|
-
// authentication OAuth2AuthorizationCodeBearer required
|
|
247
|
-
// oauth required
|
|
248
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
249
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
250
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
251
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
252
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
253
|
-
return {
|
|
254
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
255
|
-
options: localVarRequestOptions,
|
|
256
|
-
};
|
|
257
|
-
}),
|
|
258
225
|
/**
|
|
259
226
|
* Retrieve a specific impact for the option.
|
|
260
227
|
* @summary Get an impact for this option
|
|
@@ -530,6 +497,39 @@ const InvestmentApiAxiosParamCreator = function (configuration) {
|
|
|
530
497
|
options: localVarRequestOptions,
|
|
531
498
|
};
|
|
532
499
|
}),
|
|
500
|
+
/**
|
|
501
|
+
* Get the preferred option for an investment.
|
|
502
|
+
* @summary Get the preferred option for an investment
|
|
503
|
+
* @param {string} investmentId UUID of the investment
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
*/
|
|
507
|
+
getPreferredOption: (investmentId_1, ...args_1) => __awaiter(this, [investmentId_1, ...args_1], void 0, function* (investmentId, options = {}) {
|
|
508
|
+
// verify required parameter 'investmentId' is not null or undefined
|
|
509
|
+
(0, common_1.assertParamExists)('getPreferredOption', 'investmentId', investmentId);
|
|
510
|
+
const localVarPath = `/investment/{investment_id}/preferred_option`
|
|
511
|
+
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
512
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
513
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
514
|
+
let baseOptions;
|
|
515
|
+
if (configuration) {
|
|
516
|
+
baseOptions = configuration.baseOptions;
|
|
517
|
+
}
|
|
518
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
519
|
+
const localVarHeaderParameter = {};
|
|
520
|
+
const localVarQueryParameter = {};
|
|
521
|
+
// authentication OAuth2AuthorizationCodeBearer required
|
|
522
|
+
// oauth required
|
|
523
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthorizationCodeBearer", [], configuration);
|
|
524
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
525
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
526
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
527
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
528
|
+
return {
|
|
529
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
530
|
+
options: localVarRequestOptions,
|
|
531
|
+
};
|
|
532
|
+
}),
|
|
533
533
|
/**
|
|
534
534
|
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
535
535
|
* @summary Partially update an impact for this option
|
|
@@ -694,16 +694,16 @@ const InvestmentApiAxiosParamCreator = function (configuration) {
|
|
|
694
694
|
* Set the preferred option for an investment.
|
|
695
695
|
* @summary Set the preferred option for an investment
|
|
696
696
|
* @param {string} investmentId UUID of the investment
|
|
697
|
-
* @param {
|
|
697
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
698
698
|
* @param {*} [options] Override http request option.
|
|
699
699
|
* @throws {RequiredError}
|
|
700
700
|
*/
|
|
701
|
-
|
|
701
|
+
setPreferredOption: (investmentId_1, preferredOptionRequest_1, ...args_1) => __awaiter(this, [investmentId_1, preferredOptionRequest_1, ...args_1], void 0, function* (investmentId, preferredOptionRequest, options = {}) {
|
|
702
702
|
// verify required parameter 'investmentId' is not null or undefined
|
|
703
|
-
(0, common_1.assertParamExists)('
|
|
704
|
-
// verify required parameter '
|
|
705
|
-
(0, common_1.assertParamExists)('
|
|
706
|
-
const localVarPath = `/investment/{investment_id}/
|
|
703
|
+
(0, common_1.assertParamExists)('setPreferredOption', 'investmentId', investmentId);
|
|
704
|
+
// verify required parameter 'preferredOptionRequest' is not null or undefined
|
|
705
|
+
(0, common_1.assertParamExists)('setPreferredOption', 'preferredOptionRequest', preferredOptionRequest);
|
|
706
|
+
const localVarPath = `/investment/{investment_id}/preferred_option`
|
|
707
707
|
.replace(`{${"investment_id"}}`, encodeURIComponent(String(investmentId)));
|
|
708
708
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
709
709
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -722,7 +722,7 @@ const InvestmentApiAxiosParamCreator = function (configuration) {
|
|
|
722
722
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
723
723
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
724
724
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
725
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
725
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(preferredOptionRequest, localVarRequestOptions, configuration);
|
|
726
726
|
return {
|
|
727
727
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
728
728
|
options: localVarRequestOptions,
|
|
@@ -823,22 +823,6 @@ const InvestmentApiFp = function (configuration) {
|
|
|
823
823
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
824
824
|
});
|
|
825
825
|
},
|
|
826
|
-
/**
|
|
827
|
-
* Get the preferred option for an investment.
|
|
828
|
-
* @summary Get the preferred option for an investment
|
|
829
|
-
* @param {string} investmentId UUID of the investment
|
|
830
|
-
* @param {*} [options] Override http request option.
|
|
831
|
-
* @throws {RequiredError}
|
|
832
|
-
*/
|
|
833
|
-
getFavoredOption(investmentId, options) {
|
|
834
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
835
|
-
var _a, _b, _c;
|
|
836
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFavoredOption(investmentId, options);
|
|
837
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
838
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InvestmentApi.getFavoredOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
839
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
840
|
-
});
|
|
841
|
-
},
|
|
842
826
|
/**
|
|
843
827
|
* Retrieve a specific impact for the option.
|
|
844
828
|
* @summary Get an impact for this option
|
|
@@ -962,6 +946,22 @@ const InvestmentApiFp = function (configuration) {
|
|
|
962
946
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
963
947
|
});
|
|
964
948
|
},
|
|
949
|
+
/**
|
|
950
|
+
* Get the preferred option for an investment.
|
|
951
|
+
* @summary Get the preferred option for an investment
|
|
952
|
+
* @param {string} investmentId UUID of the investment
|
|
953
|
+
* @param {*} [options] Override http request option.
|
|
954
|
+
* @throws {RequiredError}
|
|
955
|
+
*/
|
|
956
|
+
getPreferredOption(investmentId, options) {
|
|
957
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
958
|
+
var _a, _b, _c;
|
|
959
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPreferredOption(investmentId, options);
|
|
960
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
961
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InvestmentApi.getPreferredOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
962
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
963
|
+
});
|
|
964
|
+
},
|
|
965
965
|
/**
|
|
966
966
|
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
967
967
|
* @summary Partially update an impact for this option
|
|
@@ -1036,16 +1036,16 @@ const InvestmentApiFp = function (configuration) {
|
|
|
1036
1036
|
* Set the preferred option for an investment.
|
|
1037
1037
|
* @summary Set the preferred option for an investment
|
|
1038
1038
|
* @param {string} investmentId UUID of the investment
|
|
1039
|
-
* @param {
|
|
1039
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
1040
1040
|
* @param {*} [options] Override http request option.
|
|
1041
1041
|
* @throws {RequiredError}
|
|
1042
1042
|
*/
|
|
1043
|
-
|
|
1043
|
+
setPreferredOption(investmentId, preferredOptionRequest, options) {
|
|
1044
1044
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1045
1045
|
var _a, _b, _c;
|
|
1046
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1046
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.setPreferredOption(investmentId, preferredOptionRequest, options);
|
|
1047
1047
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1048
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InvestmentApi.
|
|
1048
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InvestmentApi.setPreferredOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1049
1049
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1050
1050
|
});
|
|
1051
1051
|
},
|
|
@@ -1114,16 +1114,6 @@ const InvestmentApiFactory = function (configuration, basePath, axios) {
|
|
|
1114
1114
|
deleteOptionForInvestment(optionId, investmentId, options) {
|
|
1115
1115
|
return localVarFp.deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(axios, basePath));
|
|
1116
1116
|
},
|
|
1117
|
-
/**
|
|
1118
|
-
* Get the preferred option for an investment.
|
|
1119
|
-
* @summary Get the preferred option for an investment
|
|
1120
|
-
* @param {string} investmentId UUID of the investment
|
|
1121
|
-
* @param {*} [options] Override http request option.
|
|
1122
|
-
* @throws {RequiredError}
|
|
1123
|
-
*/
|
|
1124
|
-
getFavoredOption(investmentId, options) {
|
|
1125
|
-
return localVarFp.getFavoredOption(investmentId, options).then((request) => request(axios, basePath));
|
|
1126
|
-
},
|
|
1127
1117
|
/**
|
|
1128
1118
|
* Retrieve a specific impact for the option.
|
|
1129
1119
|
* @summary Get an impact for this option
|
|
@@ -1205,6 +1195,16 @@ const InvestmentApiFactory = function (configuration, basePath, axios) {
|
|
|
1205
1195
|
getOptionsForInvestment(investmentId, offset, limit, options) {
|
|
1206
1196
|
return localVarFp.getOptionsForInvestment(investmentId, offset, limit, options).then((request) => request(axios, basePath));
|
|
1207
1197
|
},
|
|
1198
|
+
/**
|
|
1199
|
+
* Get the preferred option for an investment.
|
|
1200
|
+
* @summary Get the preferred option for an investment
|
|
1201
|
+
* @param {string} investmentId UUID of the investment
|
|
1202
|
+
* @param {*} [options] Override http request option.
|
|
1203
|
+
* @throws {RequiredError}
|
|
1204
|
+
*/
|
|
1205
|
+
getPreferredOption(investmentId, options) {
|
|
1206
|
+
return localVarFp.getPreferredOption(investmentId, options).then((request) => request(axios, basePath));
|
|
1207
|
+
},
|
|
1208
1208
|
/**
|
|
1209
1209
|
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
1210
1210
|
* @summary Partially update an impact for this option
|
|
@@ -1255,12 +1255,12 @@ const InvestmentApiFactory = function (configuration, basePath, axios) {
|
|
|
1255
1255
|
* Set the preferred option for an investment.
|
|
1256
1256
|
* @summary Set the preferred option for an investment
|
|
1257
1257
|
* @param {string} investmentId UUID of the investment
|
|
1258
|
-
* @param {
|
|
1258
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
1259
1259
|
* @param {*} [options] Override http request option.
|
|
1260
1260
|
* @throws {RequiredError}
|
|
1261
1261
|
*/
|
|
1262
|
-
|
|
1263
|
-
return localVarFp.
|
|
1262
|
+
setPreferredOption(investmentId, preferredOptionRequest, options) {
|
|
1263
|
+
return localVarFp.setPreferredOption(investmentId, preferredOptionRequest, options).then((request) => request(axios, basePath));
|
|
1264
1264
|
},
|
|
1265
1265
|
};
|
|
1266
1266
|
};
|
|
@@ -1325,16 +1325,6 @@ class InvestmentApi extends base_1.BaseAPI {
|
|
|
1325
1325
|
deleteOptionForInvestment(optionId, investmentId, options) {
|
|
1326
1326
|
return (0, exports.InvestmentApiFp)(this.configuration).deleteOptionForInvestment(optionId, investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1327
1327
|
}
|
|
1328
|
-
/**
|
|
1329
|
-
* Get the preferred option for an investment.
|
|
1330
|
-
* @summary Get the preferred option for an investment
|
|
1331
|
-
* @param {string} investmentId UUID of the investment
|
|
1332
|
-
* @param {*} [options] Override http request option.
|
|
1333
|
-
* @throws {RequiredError}
|
|
1334
|
-
*/
|
|
1335
|
-
getFavoredOption(investmentId, options) {
|
|
1336
|
-
return (0, exports.InvestmentApiFp)(this.configuration).getFavoredOption(investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1337
|
-
}
|
|
1338
1328
|
/**
|
|
1339
1329
|
* Retrieve a specific impact for the option.
|
|
1340
1330
|
* @summary Get an impact for this option
|
|
@@ -1416,6 +1406,16 @@ class InvestmentApi extends base_1.BaseAPI {
|
|
|
1416
1406
|
getOptionsForInvestment(investmentId, offset, limit, options) {
|
|
1417
1407
|
return (0, exports.InvestmentApiFp)(this.configuration).getOptionsForInvestment(investmentId, offset, limit, options).then((request) => request(this.axios, this.basePath));
|
|
1418
1408
|
}
|
|
1409
|
+
/**
|
|
1410
|
+
* Get the preferred option for an investment.
|
|
1411
|
+
* @summary Get the preferred option for an investment
|
|
1412
|
+
* @param {string} investmentId UUID of the investment
|
|
1413
|
+
* @param {*} [options] Override http request option.
|
|
1414
|
+
* @throws {RequiredError}
|
|
1415
|
+
*/
|
|
1416
|
+
getPreferredOption(investmentId, options) {
|
|
1417
|
+
return (0, exports.InvestmentApiFp)(this.configuration).getPreferredOption(investmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1418
|
+
}
|
|
1419
1419
|
/**
|
|
1420
1420
|
* Update one or more fields of an existing impact. Only the fields included in the request body will be modified; omitted fields remain unchanged.
|
|
1421
1421
|
* @summary Partially update an impact for this option
|
|
@@ -1466,12 +1466,12 @@ class InvestmentApi extends base_1.BaseAPI {
|
|
|
1466
1466
|
* Set the preferred option for an investment.
|
|
1467
1467
|
* @summary Set the preferred option for an investment
|
|
1468
1468
|
* @param {string} investmentId UUID of the investment
|
|
1469
|
-
* @param {
|
|
1469
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
1470
1470
|
* @param {*} [options] Override http request option.
|
|
1471
1471
|
* @throws {RequiredError}
|
|
1472
1472
|
*/
|
|
1473
|
-
|
|
1474
|
-
return (0, exports.InvestmentApiFp)(this.configuration).
|
|
1473
|
+
setPreferredOption(investmentId, preferredOptionRequest, options) {
|
|
1474
|
+
return (0, exports.InvestmentApiFp)(this.configuration).setPreferredOption(investmentId, preferredOptionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1475
1475
|
}
|
|
1476
1476
|
}
|
|
1477
1477
|
exports.InvestmentApi = InvestmentApi;
|
package/dist/api/metric-api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Asset Investment Planning
|
|
3
3
|
* API for Asset Investment Planning
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/metric-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.2.0-
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.2.0-
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.2.0-
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.2.0-
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.2.0-
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/option-api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Asset Investment Planning
|
|
3
3
|
* API for Asset Investment Planning
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/option-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Asset Investment Planning
|
|
6
6
|
* API for Asset Investment Planning
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.2.0-
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0-dev6
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
15
|
+
import type { PreferredOptionRequest } from '../models';
|
|
16
|
+
import type { PreferredOptionResponse } from '../models';
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* PreferredOptionApi - axios parameter creator
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const PreferredOptionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
22
|
* Get the preferred option for an investment.
|
|
23
23
|
* @summary Get the preferred option for an investment
|
|
@@ -25,21 +25,21 @@ export declare const FavoredOptionApiAxiosParamCreator: (configuration?: Configu
|
|
|
25
25
|
* @param {*} [options] Override http request option.
|
|
26
26
|
* @throws {RequiredError}
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
getPreferredOption: (investmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
/**
|
|
30
30
|
* Set the preferred option for an investment.
|
|
31
31
|
* @summary Set the preferred option for an investment
|
|
32
32
|
* @param {string} investmentId UUID of the investment
|
|
33
|
-
* @param {
|
|
33
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
setPreferredOption: (investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* PreferredOptionApi - functional programming interface
|
|
41
41
|
*/
|
|
42
|
-
export declare const
|
|
42
|
+
export declare const PreferredOptionApiFp: (configuration?: Configuration) => {
|
|
43
43
|
/**
|
|
44
44
|
* Get the preferred option for an investment.
|
|
45
45
|
* @summary Get the preferred option for an investment
|
|
@@ -47,21 +47,21 @@ export declare const FavoredOptionApiFp: (configuration?: Configuration) => {
|
|
|
47
47
|
* @param {*} [options] Override http request option.
|
|
48
48
|
* @throws {RequiredError}
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>>;
|
|
51
51
|
/**
|
|
52
52
|
* Set the preferred option for an investment.
|
|
53
53
|
* @summary Set the preferred option for an investment
|
|
54
54
|
* @param {string} investmentId UUID of the investment
|
|
55
|
-
* @param {
|
|
55
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
56
56
|
* @param {*} [options] Override http request option.
|
|
57
57
|
* @throws {RequiredError}
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferredOptionResponse>>;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* PreferredOptionApi - factory interface
|
|
63
63
|
*/
|
|
64
|
-
export declare const
|
|
64
|
+
export declare const PreferredOptionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
65
65
|
/**
|
|
66
66
|
* Get the preferred option for an investment.
|
|
67
67
|
* @summary Get the preferred option for an investment
|
|
@@ -69,21 +69,21 @@ export declare const FavoredOptionApiFactory: (configuration?: Configuration, ba
|
|
|
69
69
|
* @param {*} [options] Override http request option.
|
|
70
70
|
* @throws {RequiredError}
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse>;
|
|
73
73
|
/**
|
|
74
74
|
* Set the preferred option for an investment.
|
|
75
75
|
* @summary Set the preferred option for an investment
|
|
76
76
|
* @param {string} investmentId UUID of the investment
|
|
77
|
-
* @param {
|
|
77
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
79
79
|
* @throws {RequiredError}
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PreferredOptionResponse>;
|
|
82
82
|
};
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* PreferredOptionApi - object-oriented interface
|
|
85
85
|
*/
|
|
86
|
-
export declare class
|
|
86
|
+
export declare class PreferredOptionApi extends BaseAPI {
|
|
87
87
|
/**
|
|
88
88
|
* Get the preferred option for an investment.
|
|
89
89
|
* @summary Get the preferred option for an investment
|
|
@@ -91,14 +91,14 @@ export declare class FavoredOptionApi extends BaseAPI {
|
|
|
91
91
|
* @param {*} [options] Override http request option.
|
|
92
92
|
* @throws {RequiredError}
|
|
93
93
|
*/
|
|
94
|
-
|
|
94
|
+
getPreferredOption(investmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferredOptionResponse, any, {}>>;
|
|
95
95
|
/**
|
|
96
96
|
* Set the preferred option for an investment.
|
|
97
97
|
* @summary Set the preferred option for an investment
|
|
98
98
|
* @param {string} investmentId UUID of the investment
|
|
99
|
-
* @param {
|
|
99
|
+
* @param {PreferredOptionRequest} preferredOptionRequest
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
setPreferredOption(investmentId: string, preferredOptionRequest: PreferredOptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferredOptionResponse, any, {}>>;
|
|
104
104
|
}
|