@cosmotech/aip-client 0.2.0-dev2 → 0.2.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 +141 -4
- package/api/default-api.ts +8 -15
- package/api/impact-api.ts +507 -0
- package/api/investment-api.ts +1308 -0
- package/api/metric-api.ts +185 -164
- package/api/metric-costs-api.ts +144 -0
- package/api/metric-costs-per-year-api.ts +200 -200
- package/api/objective-api.ts +538 -44
- package/api/objective-weight-api.ts +190 -190
- package/api/objective-weights-api.ts +144 -0
- package/api/option-api.ts +925 -0
- package/api/value-framework-api.ts +1223 -109
- package/api/value-framework-costs-api.ts +239 -0
- package/api/value-framework-weights-api.ts +144 -0
- package/api.ts +8 -1
- package/base.ts +1 -25
- package/common.ts +20 -43
- package/configuration.ts +31 -20
- package/dist/api/default-api.d.ts +3 -10
- package/dist/api/default-api.js +7 -13
- package/dist/api/impact-api.d.ts +245 -0
- package/dist/api/impact-api.js +493 -0
- package/dist/api/investment-api.d.ts +607 -0
- package/dist/api/investment-api.js +1248 -0
- package/dist/api/metric-api.d.ts +97 -88
- package/dist/api/metric-api.js +185 -157
- package/dist/api/metric-costs-api.d.ts +75 -0
- package/dist/api/metric-costs-api.js +146 -0
- package/dist/api/metric-costs-per-year-api.d.ts +105 -108
- package/dist/api/metric-costs-per-year-api.js +199 -192
- package/dist/api/objective-api.d.ts +242 -21
- package/dist/api/objective-api.js +508 -37
- package/dist/api/objective-weight-api.d.ts +105 -108
- package/dist/api/objective-weight-api.js +189 -182
- package/dist/api/objective-weights-api.d.ts +75 -0
- package/dist/api/objective-weights-api.js +146 -0
- package/dist/api/option-api.d.ts +436 -0
- package/dist/api/option-api.js +888 -0
- package/dist/api/value-framework-api.d.ts +528 -21
- package/dist/api/value-framework-api.js +1138 -78
- package/dist/api/value-framework-costs-api.d.ts +119 -0
- package/dist/api/value-framework-costs-api.js +236 -0
- package/dist/api/value-framework-weights-api.d.ts +75 -0
- package/dist/api/value-framework-weights-api.js +146 -0
- package/dist/api.d.ts +8 -1
- package/dist/api.js +8 -1
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +6 -37
- package/dist/common.js +17 -39
- package/dist/configuration.d.ts +25 -18
- package/dist/configuration.js +4 -3
- package/dist/esm/api/default-api.d.ts +3 -10
- package/dist/esm/api/default-api.js +7 -13
- package/dist/esm/api/impact-api.d.ts +245 -0
- package/dist/esm/api/impact-api.js +486 -0
- package/dist/esm/api/investment-api.d.ts +607 -0
- package/dist/esm/api/investment-api.js +1241 -0
- package/dist/esm/api/metric-api.d.ts +97 -88
- package/dist/esm/api/metric-api.js +185 -157
- package/dist/esm/api/metric-costs-api.d.ts +75 -0
- package/dist/esm/api/metric-costs-api.js +139 -0
- package/dist/esm/api/metric-costs-per-year-api.d.ts +105 -108
- package/dist/esm/api/metric-costs-per-year-api.js +199 -192
- package/dist/esm/api/objective-api.d.ts +242 -21
- package/dist/esm/api/objective-api.js +508 -37
- package/dist/esm/api/objective-weight-api.d.ts +105 -108
- package/dist/esm/api/objective-weight-api.js +189 -182
- package/dist/esm/api/objective-weights-api.d.ts +75 -0
- package/dist/esm/api/objective-weights-api.js +139 -0
- package/dist/esm/api/option-api.d.ts +436 -0
- package/dist/esm/api/option-api.js +881 -0
- package/dist/esm/api/value-framework-api.d.ts +528 -21
- package/dist/esm/api/value-framework-api.js +1137 -77
- package/dist/esm/api/value-framework-costs-api.d.ts +119 -0
- package/dist/esm/api/value-framework-costs-api.js +229 -0
- package/dist/esm/api/value-framework-weights-api.d.ts +75 -0
- package/dist/esm/api/value-framework-weights-api.js +139 -0
- package/dist/esm/api.d.ts +8 -1
- package/dist/esm/api.js +8 -1
- package/dist/esm/base.d.ts +1 -25
- package/dist/esm/base.js +1 -20
- package/dist/esm/common.d.ts +6 -37
- package/dist/esm/common.js +15 -38
- package/dist/esm/configuration.d.ts +25 -18
- package/dist/esm/configuration.js +4 -3
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/evolution-type.d.ts +16 -0
- package/dist/esm/models/evolution-type.js +17 -0
- package/dist/esm/models/httpvalidation-error.d.ts +2 -12
- package/dist/esm/models/httpvalidation-error.js +1 -1
- package/dist/esm/models/impact-apiresponse.d.ts +33 -0
- package/dist/esm/models/{validation-error-loc-inner.js → impact-apiresponse.js} +1 -1
- package/dist/esm/models/impact-create.d.ts +37 -0
- package/dist/esm/models/impact-create.js +14 -0
- package/dist/esm/models/impact-update.d.ts +22 -0
- package/dist/esm/models/impact-update.js +14 -0
- package/dist/esm/models/index.d.ts +11 -1
- package/dist/esm/models/index.js +11 -1
- package/dist/esm/models/investment-create.d.ts +21 -0
- package/dist/esm/models/investment-create.js +14 -0
- package/dist/esm/models/investment-response.d.ts +25 -0
- package/dist/esm/models/investment-response.js +14 -0
- package/dist/esm/models/investment-update.d.ts +18 -0
- package/dist/esm/models/investment-update.js +14 -0
- package/dist/esm/models/{validation-error-loc-inner.d.ts → location-inner.d.ts} +2 -7
- package/dist/esm/models/location-inner.js +14 -0
- package/dist/esm/models/measurement-type.d.ts +1 -6
- package/dist/esm/models/measurement-type.js +1 -6
- package/dist/esm/models/metric-costs-per-year-create.d.ts +1 -17
- package/dist/esm/models/metric-costs-per-year-create.js +1 -1
- package/dist/esm/models/metric-costs-per-year-response.d.ts +1 -18
- package/dist/esm/models/metric-costs-per-year-response.js +1 -1
- package/dist/esm/models/metric-costs-per-year-update.d.ts +1 -13
- package/dist/esm/models/metric-costs-per-year-update.js +1 -1
- package/dist/esm/models/metric-create.d.ts +3 -28
- package/dist/esm/models/metric-create.js +1 -1
- package/dist/esm/models/metric-response.d.ts +3 -50
- package/dist/esm/models/metric-response.js +1 -1
- package/dist/esm/models/metric-type.d.ts +1 -6
- package/dist/esm/models/metric-type.js +1 -6
- package/dist/esm/models/metric-update.d.ts +3 -35
- package/dist/esm/models/metric-update.js +1 -1
- package/dist/esm/models/objective-create.d.ts +1 -10
- package/dist/esm/models/objective-create.js +1 -1
- package/dist/esm/models/objective-response.d.ts +1 -30
- package/dist/esm/models/objective-response.js +1 -1
- package/dist/esm/models/objective-update.d.ts +1 -13
- package/dist/esm/models/objective-update.js +1 -1
- package/dist/esm/models/objective-weight-create.d.ts +1 -9
- package/dist/esm/models/objective-weight-create.js +1 -1
- package/dist/esm/models/objective-weight-response.d.ts +1 -14
- package/dist/esm/models/objective-weight-response.js +1 -1
- package/dist/esm/models/objective-weight-update.d.ts +1 -8
- package/dist/esm/models/objective-weight-update.js +1 -1
- package/dist/esm/models/option-create.d.ts +33 -0
- package/dist/esm/models/option-create.js +14 -0
- package/dist/esm/models/option-response.d.ts +31 -0
- package/dist/esm/models/option-response.js +14 -0
- package/dist/esm/models/option-update.d.ts +19 -0
- package/dist/esm/models/option-update.js +14 -0
- package/dist/esm/models/validation-error.d.ts +3 -33
- package/dist/esm/models/validation-error.js +1 -1
- package/dist/esm/models/value-framework-create.d.ts +1 -10
- package/dist/esm/models/value-framework-create.js +1 -1
- package/dist/esm/models/value-framework-response.d.ts +1 -30
- package/dist/esm/models/value-framework-response.js +1 -1
- package/dist/esm/models/value-framework-update.d.ts +1 -13
- 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 +16 -0
- package/dist/models/evolution-type.js +20 -0
- package/dist/models/httpvalidation-error.d.ts +2 -12
- package/dist/models/httpvalidation-error.js +1 -1
- package/dist/models/impact-apiresponse.d.ts +33 -0
- package/dist/models/{validation-error-loc-inner.js → impact-apiresponse.js} +1 -1
- package/dist/models/impact-create.d.ts +37 -0
- package/dist/models/impact-create.js +15 -0
- package/dist/models/impact-update.d.ts +22 -0
- package/dist/models/impact-update.js +15 -0
- package/dist/models/index.d.ts +11 -1
- package/dist/models/index.js +11 -1
- package/dist/models/investment-create.d.ts +21 -0
- package/dist/models/investment-create.js +15 -0
- package/dist/models/investment-response.d.ts +25 -0
- package/dist/models/investment-response.js +15 -0
- package/dist/models/investment-update.d.ts +18 -0
- package/dist/models/investment-update.js +15 -0
- package/dist/models/{validation-error-loc-inner.d.ts → location-inner.d.ts} +2 -7
- package/dist/models/location-inner.js +15 -0
- package/dist/models/measurement-type.d.ts +1 -6
- package/dist/models/measurement-type.js +1 -6
- package/dist/models/metric-costs-per-year-create.d.ts +1 -17
- package/dist/models/metric-costs-per-year-create.js +1 -1
- package/dist/models/metric-costs-per-year-response.d.ts +1 -18
- package/dist/models/metric-costs-per-year-response.js +1 -1
- package/dist/models/metric-costs-per-year-update.d.ts +1 -13
- package/dist/models/metric-costs-per-year-update.js +1 -1
- package/dist/models/metric-create.d.ts +3 -28
- package/dist/models/metric-create.js +1 -1
- package/dist/models/metric-response.d.ts +3 -50
- package/dist/models/metric-response.js +1 -1
- package/dist/models/metric-type.d.ts +1 -6
- package/dist/models/metric-type.js +1 -6
- package/dist/models/metric-update.d.ts +3 -35
- package/dist/models/metric-update.js +1 -1
- package/dist/models/objective-create.d.ts +1 -10
- package/dist/models/objective-create.js +1 -1
- package/dist/models/objective-response.d.ts +1 -30
- package/dist/models/objective-response.js +1 -1
- package/dist/models/objective-update.d.ts +1 -13
- package/dist/models/objective-update.js +1 -1
- package/dist/models/objective-weight-create.d.ts +1 -9
- package/dist/models/objective-weight-create.js +1 -1
- package/dist/models/objective-weight-response.d.ts +1 -14
- package/dist/models/objective-weight-response.js +1 -1
- package/dist/models/objective-weight-update.d.ts +1 -8
- package/dist/models/objective-weight-update.js +1 -1
- package/dist/models/option-create.d.ts +33 -0
- package/dist/models/option-create.js +15 -0
- package/dist/models/option-response.d.ts +31 -0
- package/dist/models/option-response.js +15 -0
- package/dist/models/option-update.d.ts +19 -0
- package/dist/models/option-update.js +15 -0
- package/dist/models/validation-error.d.ts +3 -33
- package/dist/models/validation-error.js +1 -1
- package/dist/models/value-framework-create.d.ts +1 -10
- package/dist/models/value-framework-create.js +1 -1
- package/dist/models/value-framework-response.d.ts +1 -30
- package/dist/models/value-framework-response.js +1 -1
- package/dist/models/value-framework-update.d.ts +1 -13
- package/dist/models/value-framework-update.js +1 -1
- package/docs/DefaultApi.md +51 -0
- package/docs/EvolutionType.md +10 -0
- package/docs/HTTPValidationError.md +20 -0
- package/docs/ImpactAPIResponse.md +39 -0
- package/docs/ImpactApi.md +312 -0
- package/docs/ImpactCreate.md +29 -0
- package/docs/ImpactUpdate.md +29 -0
- package/docs/InvestmentApi.md +875 -0
- package/docs/InvestmentCreate.md +23 -0
- package/docs/InvestmentResponse.md +31 -0
- package/docs/InvestmentUpdate.md +23 -0
- package/docs/LocationInner.md +18 -0
- package/docs/MeasurementType.md +10 -0
- package/docs/MetricApi.md +299 -0
- package/docs/MetricCostsApi.md +66 -0
- package/docs/MetricCostsPerYearApi.md +307 -0
- package/docs/MetricCostsPerYearCreate.md +27 -0
- package/docs/MetricCostsPerYearResponse.md +31 -0
- package/docs/MetricCostsPerYearUpdate.md +23 -0
- package/docs/MetricCreate.md +33 -0
- package/docs/MetricResponse.md +43 -0
- package/docs/MetricType.md +12 -0
- package/docs/MetricUpdate.md +31 -0
- package/docs/ObjectiveApi.md +633 -0
- package/docs/ObjectiveCreate.md +23 -0
- package/docs/ObjectiveResponse.md +31 -0
- package/docs/ObjectiveUpdate.md +23 -0
- package/docs/ObjectiveWeightApi.md +298 -0
- package/docs/ObjectiveWeightCreate.md +25 -0
- package/docs/ObjectiveWeightResponse.md +27 -0
- package/docs/ObjectiveWeightUpdate.md +21 -0
- package/docs/ObjectiveWeightsApi.md +66 -0
- package/docs/OptionApi.md +602 -0
- package/docs/OptionCreate.md +29 -0
- package/docs/OptionResponse.md +37 -0
- package/docs/OptionUpdate.md +25 -0
- package/docs/ValidationError.md +28 -0
- package/docs/ValueFrameworkApi.md +1053 -0
- package/docs/ValueFrameworkCostsApi.md +128 -0
- package/docs/ValueFrameworkCreate.md +23 -0
- package/docs/ValueFrameworkResponse.md +31 -0
- package/docs/ValueFrameworkUpdate.md +23 -0
- package/docs/ValueFrameworkWeightsApi.md +66 -0
- package/index.ts +1 -1
- package/models/evolution-type.ts +26 -0
- package/models/httpvalidation-error.ts +2 -12
- package/models/impact-apiresponse.ts +43 -0
- package/models/impact-create.ts +47 -0
- package/models/impact-update.ts +32 -0
- package/models/index.ts +11 -1
- package/models/investment-create.ts +27 -0
- package/models/investment-response.ts +31 -0
- package/models/investment-update.ts +24 -0
- package/models/{validation-error-loc-inner.ts → location-inner.ts} +2 -7
- package/models/measurement-type.ts +1 -6
- package/models/metric-costs-per-year-create.ts +1 -17
- package/models/metric-costs-per-year-response.ts +1 -18
- package/models/metric-costs-per-year-update.ts +1 -13
- package/models/metric-create.ts +3 -28
- package/models/metric-response.ts +3 -50
- package/models/metric-type.ts +1 -6
- package/models/metric-update.ts +3 -35
- package/models/objective-create.ts +1 -10
- package/models/objective-response.ts +1 -30
- package/models/objective-update.ts +1 -13
- package/models/objective-weight-create.ts +1 -9
- package/models/objective-weight-response.ts +1 -14
- package/models/objective-weight-update.ts +1 -8
- package/models/option-create.ts +39 -0
- package/models/option-response.ts +37 -0
- package/models/option-update.ts +25 -0
- package/models/validation-error.ts +3 -33
- package/models/value-framework-create.ts +1 -10
- package/models/value-framework-response.ts +1 -30
- package/models/value-framework-update.ts +1 -13
- package/package.json +4 -4
package/dist/base.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-dev3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
package/dist/base.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-dev3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,21 +16,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
17
17
|
const axios_1 = require("axios");
|
|
18
18
|
exports.BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
*/
|
|
23
19
|
exports.COLLECTION_FORMATS = {
|
|
24
20
|
csv: ",",
|
|
25
21
|
ssv: " ",
|
|
26
22
|
tsv: "\t",
|
|
27
23
|
pipes: "|",
|
|
28
24
|
};
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @export
|
|
32
|
-
* @class BaseAPI
|
|
33
|
-
*/
|
|
34
25
|
class BaseAPI {
|
|
35
26
|
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
36
27
|
var _a;
|
|
@@ -44,12 +35,6 @@ class BaseAPI {
|
|
|
44
35
|
}
|
|
45
36
|
exports.BaseAPI = BaseAPI;
|
|
46
37
|
;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @export
|
|
50
|
-
* @class RequiredError
|
|
51
|
-
* @extends {Error}
|
|
52
|
-
*/
|
|
53
38
|
class RequiredError extends Error {
|
|
54
39
|
constructor(field, msg) {
|
|
55
40
|
super(msg);
|
|
@@ -58,8 +43,4 @@ class RequiredError extends Error {
|
|
|
58
43
|
}
|
|
59
44
|
}
|
|
60
45
|
exports.RequiredError = RequiredError;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
46
|
exports.operationServerMap = {};
|
package/dist/common.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-dev3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,54 +12,23 @@
|
|
|
12
12
|
import type { Configuration } from "./configuration";
|
|
13
13
|
import type { RequestArgs } from "./base";
|
|
14
14
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
16
|
/**
|
|
21
17
|
*
|
|
22
18
|
* @throws {RequiredError}
|
|
23
|
-
* @export
|
|
24
19
|
*/
|
|
25
20
|
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
21
|
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
22
|
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
23
|
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
24
|
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
25
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
26
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
27
|
+
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
28
|
+
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
29
|
+
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
54
30
|
*/
|
|
31
|
+
export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
|
|
55
32
|
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
33
|
export declare const toPathString: (url: URL) => string;
|
|
61
|
-
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
34
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/dist/common.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-dev3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,17 +22,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
25
|
+
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.replaceWithSerializableTypeIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
26
26
|
const base_1 = require("./base");
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @export
|
|
30
|
-
*/
|
|
31
27
|
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
32
28
|
/**
|
|
33
29
|
*
|
|
34
30
|
* @throws {RequiredError}
|
|
35
|
-
* @export
|
|
36
31
|
*/
|
|
37
32
|
const assertParamExists = function (functionName, paramName, paramValue) {
|
|
38
33
|
if (paramValue === null || paramValue === undefined) {
|
|
@@ -40,10 +35,6 @@ const assertParamExists = function (functionName, paramName, paramValue) {
|
|
|
40
35
|
}
|
|
41
36
|
};
|
|
42
37
|
exports.assertParamExists = assertParamExists;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @export
|
|
46
|
-
*/
|
|
47
38
|
const setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
48
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
49
40
|
if (configuration && configuration.apiKey) {
|
|
@@ -55,20 +46,12 @@ const setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
|
55
46
|
});
|
|
56
47
|
};
|
|
57
48
|
exports.setApiKeyToObject = setApiKeyToObject;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @export
|
|
61
|
-
*/
|
|
62
49
|
const setBasicAuthToObject = function (object, configuration) {
|
|
63
50
|
if (configuration && (configuration.username || configuration.password)) {
|
|
64
51
|
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
65
52
|
}
|
|
66
53
|
};
|
|
67
54
|
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @export
|
|
71
|
-
*/
|
|
72
55
|
const setBearerAuthToObject = function (object, configuration) {
|
|
73
56
|
return __awaiter(this, void 0, void 0, function* () {
|
|
74
57
|
if (configuration && configuration.accessToken) {
|
|
@@ -80,10 +63,6 @@ const setBearerAuthToObject = function (object, configuration) {
|
|
|
80
63
|
});
|
|
81
64
|
};
|
|
82
65
|
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @export
|
|
86
|
-
*/
|
|
87
66
|
const setOAuthToObject = function (object, name, scopes, configuration) {
|
|
88
67
|
return __awaiter(this, void 0, void 0, function* () {
|
|
89
68
|
if (configuration && configuration.accessToken) {
|
|
@@ -99,7 +78,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
99
78
|
if (parameter == null)
|
|
100
79
|
return;
|
|
101
80
|
if (typeof parameter === "object") {
|
|
102
|
-
if (Array.isArray(parameter)) {
|
|
81
|
+
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
103
82
|
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
104
83
|
}
|
|
105
84
|
else {
|
|
@@ -115,10 +94,6 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
115
94
|
}
|
|
116
95
|
}
|
|
117
96
|
}
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @export
|
|
121
|
-
*/
|
|
122
97
|
const setSearchParams = function (url, ...objects) {
|
|
123
98
|
const searchParams = new URLSearchParams(url.search);
|
|
124
99
|
setFlattenedQueryParams(searchParams, objects);
|
|
@@ -126,31 +101,34 @@ const setSearchParams = function (url, ...objects) {
|
|
|
126
101
|
};
|
|
127
102
|
exports.setSearchParams = setSearchParams;
|
|
128
103
|
/**
|
|
129
|
-
*
|
|
130
|
-
*
|
|
104
|
+
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
105
|
+
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
106
|
+
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
131
107
|
*/
|
|
108
|
+
// @ts-ignore
|
|
109
|
+
const replaceWithSerializableTypeIfNeeded = function (key, value) {
|
|
110
|
+
if (value instanceof Set) {
|
|
111
|
+
return Array.from(value);
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
exports.replaceWithSerializableTypeIfNeeded = replaceWithSerializableTypeIfNeeded;
|
|
132
118
|
const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
133
119
|
const nonString = typeof value !== 'string';
|
|
134
120
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
135
121
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
136
122
|
: nonString;
|
|
137
123
|
return needsSerialization
|
|
138
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
124
|
+
? JSON.stringify(value !== undefined ? value : {}, exports.replaceWithSerializableTypeIfNeeded)
|
|
139
125
|
: (value || "");
|
|
140
126
|
};
|
|
141
127
|
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @export
|
|
145
|
-
*/
|
|
146
128
|
const toPathString = function (url) {
|
|
147
129
|
return url.pathname + url.search + url.hash;
|
|
148
130
|
};
|
|
149
131
|
exports.toPathString = toPathString;
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* @export
|
|
153
|
-
*/
|
|
154
132
|
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
155
133
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
156
134
|
var _a;
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,18 +2,30 @@
|
|
|
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-dev3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
interface AWSv4Configuration {
|
|
13
|
+
options?: {
|
|
14
|
+
region?: string;
|
|
15
|
+
service?: string;
|
|
16
|
+
};
|
|
17
|
+
credentials?: {
|
|
18
|
+
accessKeyId?: string;
|
|
19
|
+
secretAccessKey?: string;
|
|
20
|
+
sessionToken?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
12
23
|
export interface ConfigurationParameters {
|
|
13
24
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
25
|
username?: string;
|
|
15
26
|
password?: string;
|
|
16
27
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
+
awsv4?: AWSv4Configuration;
|
|
17
29
|
basePath?: string;
|
|
18
30
|
serverIndex?: number;
|
|
19
31
|
baseOptions?: any;
|
|
@@ -23,49 +35,43 @@ export declare class Configuration {
|
|
|
23
35
|
/**
|
|
24
36
|
* parameter for apiKey security
|
|
25
37
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
38
|
*/
|
|
28
39
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
40
|
/**
|
|
30
41
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
42
|
*/
|
|
35
43
|
username?: string;
|
|
36
44
|
/**
|
|
37
45
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
46
|
*/
|
|
42
47
|
password?: string;
|
|
43
48
|
/**
|
|
44
49
|
* parameter for oauth2 security
|
|
45
50
|
* @param name security name
|
|
46
51
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
52
|
*/
|
|
49
53
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
54
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* @
|
|
55
|
+
* parameter for aws4 signature security
|
|
56
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
57
|
+
* @param {string} options.region - aws region
|
|
58
|
+
* @param {string} options.service - name of the service.
|
|
59
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
60
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
61
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
54
62
|
* @memberof Configuration
|
|
55
63
|
*/
|
|
64
|
+
awsv4?: AWSv4Configuration;
|
|
65
|
+
/**
|
|
66
|
+
* override base path
|
|
67
|
+
*/
|
|
56
68
|
basePath?: string;
|
|
57
69
|
/**
|
|
58
70
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
71
|
*/
|
|
63
72
|
serverIndex?: number;
|
|
64
73
|
/**
|
|
65
74
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
75
|
*/
|
|
70
76
|
baseOptions?: any;
|
|
71
77
|
/**
|
|
@@ -89,3 +95,4 @@ export declare class Configuration {
|
|
|
89
95
|
*/
|
|
90
96
|
isJsonMime(mime: string): boolean;
|
|
91
97
|
}
|
|
98
|
+
export {};
|
package/dist/configuration.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
3
|
/**
|
|
5
4
|
* Asset Investment Planning
|
|
6
5
|
* API for Asset Investment Planning
|
|
7
6
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0-dev3
|
|
9
8
|
*
|
|
10
9
|
*
|
|
11
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,13 +15,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
15
|
exports.Configuration = void 0;
|
|
17
16
|
class Configuration {
|
|
18
17
|
constructor(param = {}) {
|
|
18
|
+
var _a;
|
|
19
19
|
this.apiKey = param.apiKey;
|
|
20
20
|
this.username = param.username;
|
|
21
21
|
this.password = param.password;
|
|
22
22
|
this.accessToken = param.accessToken;
|
|
23
|
+
this.awsv4 = param.awsv4;
|
|
23
24
|
this.basePath = param.basePath;
|
|
24
25
|
this.serverIndex = param.serverIndex;
|
|
25
|
-
this.baseOptions = param.baseOptions;
|
|
26
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
26
27
|
this.formDataCtor = param.formDataCtor;
|
|
27
28
|
}
|
|
28
29
|
/**
|
|
@@ -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-dev3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -11,10 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
/**
|
|
16
16
|
* DefaultApi - axios parameter creator
|
|
17
|
-
* @export
|
|
18
17
|
*/
|
|
19
18
|
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
19
|
/**
|
|
@@ -27,7 +26,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
27
26
|
};
|
|
28
27
|
/**
|
|
29
28
|
* DefaultApi - functional programming interface
|
|
30
|
-
* @export
|
|
31
29
|
*/
|
|
32
30
|
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
33
31
|
/**
|
|
@@ -40,7 +38,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
40
38
|
};
|
|
41
39
|
/**
|
|
42
40
|
* DefaultApi - factory interface
|
|
43
|
-
* @export
|
|
44
41
|
*/
|
|
45
42
|
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
46
43
|
/**
|
|
@@ -49,13 +46,10 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
49
46
|
* @param {*} [options] Override http request option.
|
|
50
47
|
* @throws {RequiredError}
|
|
51
48
|
*/
|
|
52
|
-
root(options?:
|
|
49
|
+
root(options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
53
50
|
};
|
|
54
51
|
/**
|
|
55
52
|
* DefaultApi - object-oriented interface
|
|
56
|
-
* @export
|
|
57
|
-
* @class DefaultApi
|
|
58
|
-
* @extends {BaseAPI}
|
|
59
53
|
*/
|
|
60
54
|
export declare class DefaultApi extends BaseAPI {
|
|
61
55
|
/**
|
|
@@ -63,7 +57,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
63
57
|
* @summary Root
|
|
64
58
|
* @param {*} [options] Override http request option.
|
|
65
59
|
* @throws {RequiredError}
|
|
66
|
-
* @memberof DefaultApi
|
|
67
60
|
*/
|
|
68
61
|
root(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
69
62
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Asset Investment Planning
|
|
5
5
|
* API for Asset Investment Planning
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.2.0-
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0-dev3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,6 @@ import { DUMMY_BASE_URL, setSearchParams, toPathString, createRequestFunction }
|
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
29
|
/**
|
|
30
30
|
* DefaultApi - axios parameter creator
|
|
31
|
-
* @export
|
|
32
31
|
*/
|
|
33
32
|
export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
34
33
|
return {
|
|
@@ -38,7 +37,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
38
37
|
* @param {*} [options] Override http request option.
|
|
39
38
|
* @throws {RequiredError}
|
|
40
39
|
*/
|
|
41
|
-
root: (
|
|
40
|
+
root: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
42
41
|
const localVarPath = `/about`;
|
|
43
42
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44
43
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -49,6 +48,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
49
48
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
50
49
|
const localVarHeaderParameter = {};
|
|
51
50
|
const localVarQueryParameter = {};
|
|
51
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
52
52
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53
53
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54
54
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -61,7 +61,6 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* DefaultApi - functional programming interface
|
|
64
|
-
* @export
|
|
65
64
|
*/
|
|
66
65
|
export const DefaultApiFp = function (configuration) {
|
|
67
66
|
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
|
|
@@ -73,19 +72,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
73
72
|
* @throws {RequiredError}
|
|
74
73
|
*/
|
|
75
74
|
root(options) {
|
|
76
|
-
var _a, _b, _c;
|
|
77
75
|
return __awaiter(this, void 0, void 0, function* () {
|
|
76
|
+
var _a, _b, _c;
|
|
78
77
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.root(options);
|
|
79
|
-
const
|
|
80
|
-
const
|
|
81
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
78
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
79
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.root']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
80
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
82
81
|
});
|
|
83
82
|
},
|
|
84
83
|
};
|
|
85
84
|
};
|
|
86
85
|
/**
|
|
87
86
|
* DefaultApi - factory interface
|
|
88
|
-
* @export
|
|
89
87
|
*/
|
|
90
88
|
export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
91
89
|
const localVarFp = DefaultApiFp(configuration);
|
|
@@ -103,9 +101,6 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
103
101
|
};
|
|
104
102
|
/**
|
|
105
103
|
* DefaultApi - object-oriented interface
|
|
106
|
-
* @export
|
|
107
|
-
* @class DefaultApi
|
|
108
|
-
* @extends {BaseAPI}
|
|
109
104
|
*/
|
|
110
105
|
export class DefaultApi extends BaseAPI {
|
|
111
106
|
/**
|
|
@@ -113,7 +108,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
113
108
|
* @summary Root
|
|
114
109
|
* @param {*} [options] Override http request option.
|
|
115
110
|
* @throws {RequiredError}
|
|
116
|
-
* @memberof DefaultApi
|
|
117
111
|
*/
|
|
118
112
|
root(options) {
|
|
119
113
|
return DefaultApiFp(this.configuration).root(options).then((request) => request(this.axios, this.basePath));
|