@spaciv/sdk 0.1.7 → 0.1.8
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/.openapi-generator/FILES +2 -8
- package/README.md +2 -2
- package/dist/apis/AnalysisApi.d.ts +4 -4
- package/dist/apis/AnalysisApi.js +2 -2
- package/dist/esm/apis/AnalysisApi.d.ts +4 -4
- package/dist/esm/apis/AnalysisApi.js +2 -2
- package/dist/esm/models/{NodeOffset.d.ts → CalcAxis.d.ts} +27 -16
- package/dist/esm/models/{NodeOffset.js → CalcAxis.js} +25 -15
- package/dist/esm/models/{CalcNode.d.ts → CalcAxisMember.d.ts} +24 -18
- package/dist/esm/models/{CalcNode.js → CalcAxisMember.js} +17 -15
- package/dist/esm/models/CalcBody.d.ts +6 -0
- package/dist/esm/models/CalcBody.js +2 -0
- package/dist/esm/models/CalcErrorBody.d.ts +1 -0
- package/dist/esm/models/CalcErrorBody.js +2 -1
- package/dist/esm/models/CalcRes.d.ts +5 -6
- package/dist/esm/models/CalcRes.js +7 -8
- package/dist/esm/models/index.d.ts +2 -8
- package/dist/esm/models/index.js +2 -8
- package/dist/{esm/models/TwoDLegendEntry.d.ts → models/CalcAxis.d.ts} +27 -15
- package/dist/models/{TwoDLegendEntry.js → CalcAxis.js} +31 -19
- package/dist/models/{CalcNode.d.ts → CalcAxisMember.d.ts} +24 -18
- package/dist/models/{CalcNode.js → CalcAxisMember.js} +22 -20
- package/dist/models/CalcBody.d.ts +6 -0
- package/dist/models/CalcBody.js +2 -0
- package/dist/models/CalcErrorBody.d.ts +1 -0
- package/dist/models/CalcErrorBody.js +2 -1
- package/dist/models/CalcRes.d.ts +5 -6
- package/dist/models/CalcRes.js +7 -8
- package/dist/models/index.d.ts +2 -8
- package/dist/models/index.js +2 -8
- package/package.json +1 -1
- package/src/apis/AnalysisApi.ts +4 -4
- package/src/models/{NodeOffset.ts → CalcAxis.ts} +43 -29
- package/src/models/{CalcNode.ts → CalcAxisMember.ts} +34 -26
- package/src/models/CalcBody.ts +8 -0
- package/src/models/CalcErrorBody.ts +2 -1
- package/src/models/CalcRes.ts +16 -23
- package/src/models/index.ts +2 -8
- package/dist/esm/models/Legend.d.ts +0 -23
- package/dist/esm/models/Legend.js +0 -51
- package/dist/esm/models/LegendList.d.ts +0 -32
- package/dist/esm/models/LegendList.js +0 -43
- package/dist/esm/models/LegendOneOf.d.ts +0 -33
- package/dist/esm/models/LegendOneOf.js +0 -44
- package/dist/esm/models/LegendOneOf1.d.ts +0 -33
- package/dist/esm/models/LegendOneOf1.js +0 -44
- package/dist/esm/models/TwoDLegendEntry.js +0 -47
- package/dist/esm/models/TwoDLegendList.d.ts +0 -33
- package/dist/esm/models/TwoDLegendList.js +0 -44
- package/dist/models/Legend.d.ts +0 -23
- package/dist/models/Legend.js +0 -57
- package/dist/models/LegendList.d.ts +0 -32
- package/dist/models/LegendList.js +0 -50
- package/dist/models/LegendOneOf.d.ts +0 -33
- package/dist/models/LegendOneOf.js +0 -51
- package/dist/models/LegendOneOf1.d.ts +0 -33
- package/dist/models/LegendOneOf1.js +0 -51
- package/dist/models/NodeOffset.d.ts +0 -39
- package/dist/models/NodeOffset.js +0 -55
- package/dist/models/TwoDLegendEntry.d.ts +0 -38
- package/dist/models/TwoDLegendList.d.ts +0 -33
- package/dist/models/TwoDLegendList.js +0 -51
- package/src/models/Legend.ts +0 -76
- package/src/models/LegendList.ts +0 -66
- package/src/models/LegendOneOf.ts +0 -74
- package/src/models/LegendOneOf1.ts +0 -74
- package/src/models/TwoDLegendEntry.ts +0 -75
- package/src/models/TwoDLegendList.ts +0 -74
package/.openapi-generator/FILES
CHANGED
|
@@ -90,13 +90,14 @@ src/models/AuthenticationEmail.ts
|
|
|
90
90
|
src/models/AuthenticationPreferredChanel.ts
|
|
91
91
|
src/models/AuthenticationPublic.ts
|
|
92
92
|
src/models/Branding.ts
|
|
93
|
+
src/models/CalcAxis.ts
|
|
94
|
+
src/models/CalcAxisMember.ts
|
|
93
95
|
src/models/CalcBody.ts
|
|
94
96
|
src/models/CalcChildren.ts
|
|
95
97
|
src/models/CalcErrorBody.ts
|
|
96
98
|
src/models/CalcList.ts
|
|
97
99
|
src/models/CalcListEntry.ts
|
|
98
100
|
src/models/CalcListTwoD.ts
|
|
99
|
-
src/models/CalcNode.ts
|
|
100
101
|
src/models/CalcRes.ts
|
|
101
102
|
src/models/CalcRuleFloat.ts
|
|
102
103
|
src/models/CalcRuleRef.ts
|
|
@@ -250,10 +251,6 @@ src/models/LayerOneOf3.ts
|
|
|
250
251
|
src/models/LayerOneOf4.ts
|
|
251
252
|
src/models/LayerTypeNeed.ts
|
|
252
253
|
src/models/LayerVariablesRes.ts
|
|
253
|
-
src/models/Legend.ts
|
|
254
|
-
src/models/LegendList.ts
|
|
255
|
-
src/models/LegendOneOf.ts
|
|
256
|
-
src/models/LegendOneOf1.ts
|
|
257
254
|
src/models/ListAccountsForUserRow.ts
|
|
258
255
|
src/models/ListPage.ts
|
|
259
256
|
src/models/ListUserDetailsWithEmailRow.ts
|
|
@@ -276,7 +273,6 @@ src/models/ModelRecord.ts
|
|
|
276
273
|
src/models/MultiSelectChangelogData.ts
|
|
277
274
|
src/models/MultiSelectContributionData.ts
|
|
278
275
|
src/models/MultiSelectData.ts
|
|
279
|
-
src/models/NodeOffset.ts
|
|
280
276
|
src/models/ObjectGroupChangelogBody.ts
|
|
281
277
|
src/models/ObjectGroupEntriesRes.ts
|
|
282
278
|
src/models/ObjectGroupEntry.ts
|
|
@@ -378,8 +374,6 @@ src/models/TopDownModelEntryList.ts
|
|
|
378
374
|
src/models/TopDownModelEntryPropertyNodes.ts
|
|
379
375
|
src/models/TopDownModelEntryUpdate.ts
|
|
380
376
|
src/models/TopDownModelProperties.ts
|
|
381
|
-
src/models/TwoDLegendEntry.ts
|
|
382
|
-
src/models/TwoDLegendList.ts
|
|
383
377
|
src/models/UnmappedParameterDetail.ts
|
|
384
378
|
src/models/UserV2GetResBody.ts
|
|
385
379
|
src/models/UserV2PatchReqBody.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @spaciv/sdk@0.1.
|
|
1
|
+
## @spaciv/sdk@0.1.8
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @spaciv/sdk@0.1.
|
|
39
|
+
npm install @spaciv/sdk@0.1.8 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -22,7 +22,7 @@ export interface AnalysisApiCreateAnalyseRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
export interface AnalysisApiInterface {
|
|
24
24
|
/**
|
|
25
|
-
* Runs the scenario through the calculation engine and returns the
|
|
25
|
+
* Runs the scenario through the calculation engine and returns the result as labelled `axes` and a flat `values` array. The axes come in the order given by `dimensions`, and `values` runs fastest along the last axis. A `400` response with a structured `kind` field indicates a configuration problem such as a missing scenario, property, or unmapped parameter — inspect the `kind` and the accompanying detail object to identify what needs fixing. A `variableOverrides` value outside the variable\'s range, step or `options` is rejected with `400` and `kind` `variable_type_mismatch`; `options` sent inside an override are ignored. Requires the *View ideal space* permission.
|
|
26
26
|
* @summary Run analysis
|
|
27
27
|
* @param {CalcBody} [calcBody]
|
|
28
28
|
* @param {*} [options] Override http request option.
|
|
@@ -31,7 +31,7 @@ export interface AnalysisApiInterface {
|
|
|
31
31
|
*/
|
|
32
32
|
createAnalyseRaw(requestParameters: AnalysisApiCreateAnalyseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalcRes>>;
|
|
33
33
|
/**
|
|
34
|
-
* Runs the scenario through the calculation engine and returns the
|
|
34
|
+
* Runs the scenario through the calculation engine and returns the result as labelled `axes` and a flat `values` array. The axes come in the order given by `dimensions`, and `values` runs fastest along the last axis. A `400` response with a structured `kind` field indicates a configuration problem such as a missing scenario, property, or unmapped parameter — inspect the `kind` and the accompanying detail object to identify what needs fixing. A `variableOverrides` value outside the variable\'s range, step or `options` is rejected with `400` and `kind` `variable_type_mismatch`; `options` sent inside an override are ignored. Requires the *View ideal space* permission.
|
|
35
35
|
* Run analysis
|
|
36
36
|
*/
|
|
37
37
|
createAnalyse(requestParameters: AnalysisApiCreateAnalyseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalcRes>;
|
|
@@ -41,12 +41,12 @@ export interface AnalysisApiInterface {
|
|
|
41
41
|
*/
|
|
42
42
|
export declare class AnalysisApi extends runtime.BaseAPI implements AnalysisApiInterface {
|
|
43
43
|
/**
|
|
44
|
-
* Runs the scenario through the calculation engine and returns the
|
|
44
|
+
* Runs the scenario through the calculation engine and returns the result as labelled `axes` and a flat `values` array. The axes come in the order given by `dimensions`, and `values` runs fastest along the last axis. A `400` response with a structured `kind` field indicates a configuration problem such as a missing scenario, property, or unmapped parameter — inspect the `kind` and the accompanying detail object to identify what needs fixing. A `variableOverrides` value outside the variable\'s range, step or `options` is rejected with `400` and `kind` `variable_type_mismatch`; `options` sent inside an override are ignored. Requires the *View ideal space* permission.
|
|
45
45
|
* Run analysis
|
|
46
46
|
*/
|
|
47
47
|
createAnalyseRaw(requestParameters: AnalysisApiCreateAnalyseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalcRes>>;
|
|
48
48
|
/**
|
|
49
|
-
* Runs the scenario through the calculation engine and returns the
|
|
49
|
+
* Runs the scenario through the calculation engine and returns the result as labelled `axes` and a flat `values` array. The axes come in the order given by `dimensions`, and `values` runs fastest along the last axis. A `400` response with a structured `kind` field indicates a configuration problem such as a missing scenario, property, or unmapped parameter — inspect the `kind` and the accompanying detail object to identify what needs fixing. A `variableOverrides` value outside the variable\'s range, step or `options` is rejected with `400` and `kind` `variable_type_mismatch`; `options` sent inside an override are ignored. Requires the *View ideal space* permission.
|
|
50
50
|
* Run analysis
|
|
51
51
|
*/
|
|
52
52
|
createAnalyse(requestParameters?: AnalysisApiCreateAnalyseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalcRes>;
|
package/dist/apis/AnalysisApi.js
CHANGED
|
@@ -30,7 +30,7 @@ const index_1 = require("../models/index");
|
|
|
30
30
|
*/
|
|
31
31
|
class AnalysisApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
* Runs the scenario through the calculation engine and returns the
|
|
33
|
+
* Runs the scenario through the calculation engine and returns the result as labelled `axes` and a flat `values` array. The axes come in the order given by `dimensions`, and `values` runs fastest along the last axis. A `400` response with a structured `kind` field indicates a configuration problem such as a missing scenario, property, or unmapped parameter — inspect the `kind` and the accompanying detail object to identify what needs fixing. A `variableOverrides` value outside the variable\'s range, step or `options` is rejected with `400` and `kind` `variable_type_mismatch`; `options` sent inside an override are ignored. Requires the *View ideal space* permission.
|
|
34
34
|
* Run analysis
|
|
35
35
|
*/
|
|
36
36
|
createAnalyseRaw(requestParameters, initOverrides) {
|
|
@@ -57,7 +57,7 @@ class AnalysisApi extends runtime.BaseAPI {
|
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* Runs the scenario through the calculation engine and returns the
|
|
60
|
+
* Runs the scenario through the calculation engine and returns the result as labelled `axes` and a flat `values` array. The axes come in the order given by `dimensions`, and `values` runs fastest along the last axis. A `400` response with a structured `kind` field indicates a configuration problem such as a missing scenario, property, or unmapped parameter — inspect the `kind` and the accompanying detail object to identify what needs fixing. A `variableOverrides` value outside the variable\'s range, step or `options` is rejected with `400` and `kind` `variable_type_mismatch`; `options` sent inside an override are ignored. Requires the *View ideal space* permission.
|
|
61
61
|
* Run analysis
|
|
62
62
|
*/
|
|
63
63
|
createAnalyse() {
|
|
@@ -22,7 +22,7 @@ export interface AnalysisApiCreateAnalyseRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
export interface AnalysisApiInterface {
|
|
24
24
|
/**
|
|
25
|
-
* Runs the scenario through the calculation engine and returns the
|
|
25
|
+
* Runs the scenario through the calculation engine and returns the result as labelled `axes` and a flat `values` array. The axes come in the order given by `dimensions`, and `values` runs fastest along the last axis. A `400` response with a structured `kind` field indicates a configuration problem such as a missing scenario, property, or unmapped parameter — inspect the `kind` and the accompanying detail object to identify what needs fixing. A `variableOverrides` value outside the variable\'s range, step or `options` is rejected with `400` and `kind` `variable_type_mismatch`; `options` sent inside an override are ignored. Requires the *View ideal space* permission.
|
|
26
26
|
* @summary Run analysis
|
|
27
27
|
* @param {CalcBody} [calcBody]
|
|
28
28
|
* @param {*} [options] Override http request option.
|
|
@@ -31,7 +31,7 @@ export interface AnalysisApiInterface {
|
|
|
31
31
|
*/
|
|
32
32
|
createAnalyseRaw(requestParameters: AnalysisApiCreateAnalyseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalcRes>>;
|
|
33
33
|
/**
|
|
34
|
-
* Runs the scenario through the calculation engine and returns the
|
|
34
|
+
* Runs the scenario through the calculation engine and returns the result as labelled `axes` and a flat `values` array. The axes come in the order given by `dimensions`, and `values` runs fastest along the last axis. A `400` response with a structured `kind` field indicates a configuration problem such as a missing scenario, property, or unmapped parameter — inspect the `kind` and the accompanying detail object to identify what needs fixing. A `variableOverrides` value outside the variable\'s range, step or `options` is rejected with `400` and `kind` `variable_type_mismatch`; `options` sent inside an override are ignored. Requires the *View ideal space* permission.
|
|
35
35
|
* Run analysis
|
|
36
36
|
*/
|
|
37
37
|
createAnalyse(requestParameters: AnalysisApiCreateAnalyseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalcRes>;
|
|
@@ -41,12 +41,12 @@ export interface AnalysisApiInterface {
|
|
|
41
41
|
*/
|
|
42
42
|
export declare class AnalysisApi extends runtime.BaseAPI implements AnalysisApiInterface {
|
|
43
43
|
/**
|
|
44
|
-
* Runs the scenario through the calculation engine and returns the
|
|
44
|
+
* Runs the scenario through the calculation engine and returns the result as labelled `axes` and a flat `values` array. The axes come in the order given by `dimensions`, and `values` runs fastest along the last axis. A `400` response with a structured `kind` field indicates a configuration problem such as a missing scenario, property, or unmapped parameter — inspect the `kind` and the accompanying detail object to identify what needs fixing. A `variableOverrides` value outside the variable\'s range, step or `options` is rejected with `400` and `kind` `variable_type_mismatch`; `options` sent inside an override are ignored. Requires the *View ideal space* permission.
|
|
45
45
|
* Run analysis
|
|
46
46
|
*/
|
|
47
47
|
createAnalyseRaw(requestParameters: AnalysisApiCreateAnalyseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalcRes>>;
|
|
48
48
|
/**
|
|
49
|
-
* Runs the scenario through the calculation engine and returns the
|
|
49
|
+
* Runs the scenario through the calculation engine and returns the result as labelled `axes` and a flat `values` array. The axes come in the order given by `dimensions`, and `values` runs fastest along the last axis. A `400` response with a structured `kind` field indicates a configuration problem such as a missing scenario, property, or unmapped parameter — inspect the `kind` and the accompanying detail object to identify what needs fixing. A `variableOverrides` value outside the variable\'s range, step or `options` is rejected with `400` and `kind` `variable_type_mismatch`; `options` sent inside an override are ignored. Requires the *View ideal space* permission.
|
|
50
50
|
* Run analysis
|
|
51
51
|
*/
|
|
52
52
|
createAnalyse(requestParameters?: AnalysisApiCreateAnalyseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalcRes>;
|
|
@@ -27,7 +27,7 @@ import { CalcBodyToJSON, CalcResFromJSON, } from '../models/index';
|
|
|
27
27
|
*/
|
|
28
28
|
export class AnalysisApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
|
-
* Runs the scenario through the calculation engine and returns the
|
|
30
|
+
* Runs the scenario through the calculation engine and returns the result as labelled `axes` and a flat `values` array. The axes come in the order given by `dimensions`, and `values` runs fastest along the last axis. A `400` response with a structured `kind` field indicates a configuration problem such as a missing scenario, property, or unmapped parameter — inspect the `kind` and the accompanying detail object to identify what needs fixing. A `variableOverrides` value outside the variable\'s range, step or `options` is rejected with `400` and `kind` `variable_type_mismatch`; `options` sent inside an override are ignored. Requires the *View ideal space* permission.
|
|
31
31
|
* Run analysis
|
|
32
32
|
*/
|
|
33
33
|
createAnalyseRaw(requestParameters, initOverrides) {
|
|
@@ -54,7 +54,7 @@ export class AnalysisApi extends runtime.BaseAPI {
|
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
|
-
* Runs the scenario through the calculation engine and returns the
|
|
57
|
+
* Runs the scenario through the calculation engine and returns the result as labelled `axes` and a flat `values` array. The axes come in the order given by `dimensions`, and `values` runs fastest along the last axis. A `400` response with a structured `kind` field indicates a configuration problem such as a missing scenario, property, or unmapped parameter — inspect the `kind` and the accompanying detail object to identify what needs fixing. A `variableOverrides` value outside the variable\'s range, step or `options` is rejected with `400` and `kind` `variable_type_mismatch`; `options` sent inside an override are ignored. Requires the *View ideal space* permission.
|
|
58
58
|
* Run analysis
|
|
59
59
|
*/
|
|
60
60
|
createAnalyse() {
|
|
@@ -9,31 +9,42 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { CalcAxisMember } from './CalcAxisMember';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface CalcAxis
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface CalcAxis {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {
|
|
22
|
-
* @memberof
|
|
20
|
+
* `1` is day, `2` tree node, `3` series, `4` scenario and `5` group.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof CalcAxis
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
dimension: CalcAxisDimensionEnum;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {
|
|
28
|
-
* @memberof
|
|
27
|
+
* @type {Array<CalcAxisMember>}
|
|
28
|
+
* @memberof CalcAxis
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
members: Array<CalcAxisMember>;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const CalcAxisDimensionEnum: {
|
|
36
|
+
readonly NUMBER_1: 1;
|
|
37
|
+
readonly NUMBER_2: 2;
|
|
38
|
+
readonly NUMBER_3: 3;
|
|
39
|
+
readonly NUMBER_4: 4;
|
|
40
|
+
readonly NUMBER_5: 5;
|
|
41
|
+
};
|
|
42
|
+
export type CalcAxisDimensionEnum = typeof CalcAxisDimensionEnum[keyof typeof CalcAxisDimensionEnum];
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the CalcAxis interface.
|
|
34
45
|
*/
|
|
35
|
-
export declare function
|
|
36
|
-
export declare function
|
|
37
|
-
export declare function
|
|
38
|
-
export declare function
|
|
39
|
-
export declare function
|
|
46
|
+
export declare function instanceOfCalcAxis(value: object): value is CalcAxis;
|
|
47
|
+
export declare function CalcAxisFromJSON(json: any): CalcAxis;
|
|
48
|
+
export declare function CalcAxisFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalcAxis;
|
|
49
|
+
export declare function CalcAxisToJSON(json: any): CalcAxis;
|
|
50
|
+
export declare function CalcAxisToJSONTyped(value?: CalcAxis | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -11,38 +11,48 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { CalcAxisMemberFromJSON, CalcAxisMemberToJSON, } from './CalcAxisMember';
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* @export
|
|
17
17
|
*/
|
|
18
|
-
export
|
|
19
|
-
|
|
18
|
+
export const CalcAxisDimensionEnum = {
|
|
19
|
+
NUMBER_1: 1,
|
|
20
|
+
NUMBER_2: 2,
|
|
21
|
+
NUMBER_3: 3,
|
|
22
|
+
NUMBER_4: 4,
|
|
23
|
+
NUMBER_5: 5
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CalcAxis interface.
|
|
27
|
+
*/
|
|
28
|
+
export function instanceOfCalcAxis(value) {
|
|
29
|
+
if (!('dimension' in value) || value['dimension'] === undefined)
|
|
20
30
|
return false;
|
|
21
|
-
if (!('
|
|
31
|
+
if (!('members' in value) || value['members'] === undefined)
|
|
22
32
|
return false;
|
|
23
33
|
return true;
|
|
24
34
|
}
|
|
25
|
-
export function
|
|
26
|
-
return
|
|
35
|
+
export function CalcAxisFromJSON(json) {
|
|
36
|
+
return CalcAxisFromJSONTyped(json, false);
|
|
27
37
|
}
|
|
28
|
-
export function
|
|
38
|
+
export function CalcAxisFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
39
|
if (json == null) {
|
|
30
40
|
return json;
|
|
31
41
|
}
|
|
32
42
|
return {
|
|
33
|
-
'
|
|
34
|
-
'
|
|
43
|
+
'dimension': json['dimension'],
|
|
44
|
+
'members': (json['members'].map(CalcAxisMemberFromJSON)),
|
|
35
45
|
};
|
|
36
46
|
}
|
|
37
|
-
export function
|
|
38
|
-
return
|
|
47
|
+
export function CalcAxisToJSON(json) {
|
|
48
|
+
return CalcAxisToJSONTyped(json, false);
|
|
39
49
|
}
|
|
40
|
-
export function
|
|
50
|
+
export function CalcAxisToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
51
|
if (value == null) {
|
|
42
52
|
return value;
|
|
43
53
|
}
|
|
44
54
|
return {
|
|
45
|
-
'
|
|
46
|
-
'
|
|
55
|
+
'dimension': value['dimension'],
|
|
56
|
+
'members': (value['members'].map(CalcAxisMemberToJSON)),
|
|
47
57
|
};
|
|
48
58
|
}
|
|
@@ -12,39 +12,45 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface CalcAxisMember
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface CalcAxisMember {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {
|
|
21
|
-
* @memberof
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CalcAxisMember
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
day: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {
|
|
27
|
-
* @memberof
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CalcAxisMember
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
id: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof CalcAxisMember
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CalcAxisMember
|
|
40
|
+
*/
|
|
41
|
+
parent?: number;
|
|
36
42
|
/**
|
|
37
43
|
*
|
|
38
44
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
45
|
+
* @memberof CalcAxisMember
|
|
40
46
|
*/
|
|
41
|
-
|
|
47
|
+
scenario: string;
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
44
|
-
* Check if a given object implements the
|
|
50
|
+
* Check if a given object implements the CalcAxisMember interface.
|
|
45
51
|
*/
|
|
46
|
-
export declare function
|
|
47
|
-
export declare function
|
|
48
|
-
export declare function
|
|
49
|
-
export declare function
|
|
50
|
-
export declare function
|
|
52
|
+
export declare function instanceOfCalcAxisMember(value: object): value is CalcAxisMember;
|
|
53
|
+
export declare function CalcAxisMemberFromJSON(json: any): CalcAxisMember;
|
|
54
|
+
export declare function CalcAxisMemberFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalcAxisMember;
|
|
55
|
+
export declare function CalcAxisMemberToJSON(json: any): CalcAxisMember;
|
|
56
|
+
export declare function CalcAxisMemberToJSONTyped(value?: CalcAxisMember | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -12,44 +12,46 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the CalcAxisMember interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
18
|
-
if (!('
|
|
19
|
-
return false;
|
|
20
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
17
|
+
export function instanceOfCalcAxisMember(value) {
|
|
18
|
+
if (!('day' in value) || value['day'] === undefined)
|
|
21
19
|
return false;
|
|
22
20
|
if (!('id' in value) || value['id'] === undefined)
|
|
23
21
|
return false;
|
|
24
22
|
if (!('name' in value) || value['name'] === undefined)
|
|
25
23
|
return false;
|
|
24
|
+
if (!('scenario' in value) || value['scenario'] === undefined)
|
|
25
|
+
return false;
|
|
26
26
|
return true;
|
|
27
27
|
}
|
|
28
|
-
export function
|
|
29
|
-
return
|
|
28
|
+
export function CalcAxisMemberFromJSON(json) {
|
|
29
|
+
return CalcAxisMemberFromJSONTyped(json, false);
|
|
30
30
|
}
|
|
31
|
-
export function
|
|
31
|
+
export function CalcAxisMemberFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
32
|
if (json == null) {
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
-
'
|
|
37
|
-
'data': json['data'],
|
|
36
|
+
'day': json['day'],
|
|
38
37
|
'id': json['id'],
|
|
39
38
|
'name': json['name'],
|
|
39
|
+
'parent': json['parent'] == null ? undefined : json['parent'],
|
|
40
|
+
'scenario': json['scenario'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
|
-
export function
|
|
43
|
-
return
|
|
43
|
+
export function CalcAxisMemberToJSON(json) {
|
|
44
|
+
return CalcAxisMemberToJSONTyped(json, false);
|
|
44
45
|
}
|
|
45
|
-
export function
|
|
46
|
+
export function CalcAxisMemberToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
47
|
if (value == null) {
|
|
47
48
|
return value;
|
|
48
49
|
}
|
|
49
50
|
return {
|
|
50
|
-
'
|
|
51
|
-
'data': value['data'],
|
|
51
|
+
'day': value['day'],
|
|
52
52
|
'id': value['id'],
|
|
53
53
|
'name': value['name'],
|
|
54
|
+
'parent': value['parent'],
|
|
55
|
+
'scenario': value['scenario'],
|
|
54
56
|
};
|
|
55
57
|
}
|
|
@@ -24,6 +24,12 @@ export interface CalcBody {
|
|
|
24
24
|
* @memberof CalcBody
|
|
25
25
|
*/
|
|
26
26
|
data: DataShapes;
|
|
27
|
+
/**
|
|
28
|
+
* The order to lay the result's values out in, outermost first. `1` is day, `2` tree node, `3` series, `4` scenario and `5` group. Every result has day and tree node; a card adds series (single values, categorisation mixes, lists and tree lists), scenario (scenario comparisons and tree lists over scenarios) or, for a 2D list, group for its rows and series or scenario for its columns. List each of the card's dimensions exactly once, in any order; leave this out for day, tree node, then the card's own dimensions. Any other list is rejected with `400` and `kind` `invalid_dimensions`.
|
|
29
|
+
* @type {Array<number>}
|
|
30
|
+
* @memberof CalcBody
|
|
31
|
+
*/
|
|
32
|
+
dimensions?: Array<number>;
|
|
27
33
|
/**
|
|
28
34
|
*
|
|
29
35
|
* @type {Array<FilterGroup>}
|
|
@@ -34,6 +34,7 @@ export function CalcBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
36
|
'data': DataShapesFromJSON(json['data']),
|
|
37
|
+
'dimensions': json['dimensions'] == null ? undefined : json['dimensions'],
|
|
37
38
|
'filters': (json['filters'].map(FilterGroupFromJSON)),
|
|
38
39
|
'includeObjects': json['includeObjects'] == null ? undefined : json['includeObjects'],
|
|
39
40
|
'limit': json['limit'] == null ? undefined : json['limit'],
|
|
@@ -49,6 +50,7 @@ export function CalcBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
49
50
|
}
|
|
50
51
|
return {
|
|
51
52
|
'data': DataShapesToJSON(value['data']),
|
|
53
|
+
'dimensions': value['dimensions'],
|
|
52
54
|
'filters': (value['filters'].map(FilterGroupToJSON)),
|
|
53
55
|
'includeObjects': value['includeObjects'],
|
|
54
56
|
'limit': value['limit'],
|
|
@@ -127,6 +127,7 @@ export declare const CalcErrorBodyKindEnum: {
|
|
|
127
127
|
readonly MissingSpaceRule: "missing_space_rule";
|
|
128
128
|
readonly MissingTopDownModel: "missing_top_down_model";
|
|
129
129
|
readonly InvalidModifierFormula: "invalid_modifier_formula";
|
|
130
|
+
readonly InvalidDimensions: "invalid_dimensions";
|
|
130
131
|
};
|
|
131
132
|
export type CalcErrorBodyKindEnum = typeof CalcErrorBodyKindEnum[keyof typeof CalcErrorBodyKindEnum];
|
|
132
133
|
/**
|
|
@@ -37,7 +37,8 @@ export const CalcErrorBodyKindEnum = {
|
|
|
37
37
|
MissingAttribute: 'missing_attribute',
|
|
38
38
|
MissingSpaceRule: 'missing_space_rule',
|
|
39
39
|
MissingTopDownModel: 'missing_top_down_model',
|
|
40
|
-
InvalidModifierFormula: 'invalid_modifier_formula'
|
|
40
|
+
InvalidModifierFormula: 'invalid_modifier_formula',
|
|
41
|
+
InvalidDimensions: 'invalid_dimensions'
|
|
41
42
|
};
|
|
42
43
|
/**
|
|
43
44
|
* Check if a given object implements the CalcErrorBody interface.
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
13
|
-
import type { NodeOffset } from './NodeOffset';
|
|
12
|
+
import type { CalcAxis } from './CalcAxis';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
16
15
|
* @export
|
|
@@ -19,16 +18,16 @@ import type { NodeOffset } from './NodeOffset';
|
|
|
19
18
|
export interface CalcRes {
|
|
20
19
|
/**
|
|
21
20
|
*
|
|
22
|
-
* @type {
|
|
21
|
+
* @type {Array<CalcAxis>}
|
|
23
22
|
* @memberof CalcRes
|
|
24
23
|
*/
|
|
25
|
-
|
|
24
|
+
axes: Array<CalcAxis>;
|
|
26
25
|
/**
|
|
27
26
|
*
|
|
28
|
-
* @type {Array<
|
|
27
|
+
* @type {Array<number>}
|
|
29
28
|
* @memberof CalcRes
|
|
30
29
|
*/
|
|
31
|
-
|
|
30
|
+
values: Array<number>;
|
|
32
31
|
}
|
|
33
32
|
/**
|
|
34
33
|
* Check if a given object implements the CalcRes interface.
|
|
@@ -11,15 +11,14 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
15
|
-
import { NodeOffsetFromJSON, NodeOffsetToJSON, } from './NodeOffset';
|
|
14
|
+
import { CalcAxisFromJSON, CalcAxisToJSON, } from './CalcAxis';
|
|
16
15
|
/**
|
|
17
16
|
* Check if a given object implements the CalcRes interface.
|
|
18
17
|
*/
|
|
19
18
|
export function instanceOfCalcRes(value) {
|
|
20
|
-
if (!('
|
|
19
|
+
if (!('axes' in value) || value['axes'] === undefined)
|
|
21
20
|
return false;
|
|
22
|
-
if (!('
|
|
21
|
+
if (!('values' in value) || value['values'] === undefined)
|
|
23
22
|
return false;
|
|
24
23
|
return true;
|
|
25
24
|
}
|
|
@@ -31,8 +30,8 @@ export function CalcResFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
30
|
return json;
|
|
32
31
|
}
|
|
33
32
|
return {
|
|
34
|
-
'
|
|
35
|
-
'
|
|
33
|
+
'axes': (json['axes'].map(CalcAxisFromJSON)),
|
|
34
|
+
'values': json['values'],
|
|
36
35
|
};
|
|
37
36
|
}
|
|
38
37
|
export function CalcResToJSON(json) {
|
|
@@ -43,7 +42,7 @@ export function CalcResToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
43
42
|
return value;
|
|
44
43
|
}
|
|
45
44
|
return {
|
|
46
|
-
'
|
|
47
|
-
'
|
|
45
|
+
'axes': (value['axes'].map(CalcAxisToJSON)),
|
|
46
|
+
'values': value['values'],
|
|
48
47
|
};
|
|
49
48
|
}
|
|
@@ -54,13 +54,14 @@ export * from './AuthenticationEmail';
|
|
|
54
54
|
export * from './AuthenticationPreferredChanel';
|
|
55
55
|
export * from './AuthenticationPublic';
|
|
56
56
|
export * from './Branding';
|
|
57
|
+
export * from './CalcAxis';
|
|
58
|
+
export * from './CalcAxisMember';
|
|
57
59
|
export * from './CalcBody';
|
|
58
60
|
export * from './CalcChildren';
|
|
59
61
|
export * from './CalcErrorBody';
|
|
60
62
|
export * from './CalcList';
|
|
61
63
|
export * from './CalcListEntry';
|
|
62
64
|
export * from './CalcListTwoD';
|
|
63
|
-
export * from './CalcNode';
|
|
64
65
|
export * from './CalcRes';
|
|
65
66
|
export * from './CalcRuleFloat';
|
|
66
67
|
export * from './CalcRuleRef';
|
|
@@ -214,10 +215,6 @@ export * from './LayerOneOf3';
|
|
|
214
215
|
export * from './LayerOneOf4';
|
|
215
216
|
export * from './LayerTypeNeed';
|
|
216
217
|
export * from './LayerVariablesRes';
|
|
217
|
-
export * from './Legend';
|
|
218
|
-
export * from './LegendList';
|
|
219
|
-
export * from './LegendOneOf';
|
|
220
|
-
export * from './LegendOneOf1';
|
|
221
218
|
export * from './ListAccountsForUserRow';
|
|
222
219
|
export * from './ListPage';
|
|
223
220
|
export * from './ListUserDetailsWithEmailRow';
|
|
@@ -240,7 +237,6 @@ export * from './ModelRecord';
|
|
|
240
237
|
export * from './MultiSelectChangelogData';
|
|
241
238
|
export * from './MultiSelectContributionData';
|
|
242
239
|
export * from './MultiSelectData';
|
|
243
|
-
export * from './NodeOffset';
|
|
244
240
|
export * from './ObjectGroupChangelogBody';
|
|
245
241
|
export * from './ObjectGroupEntriesRes';
|
|
246
242
|
export * from './ObjectGroupEntry';
|
|
@@ -342,8 +338,6 @@ export * from './TopDownModelEntryList';
|
|
|
342
338
|
export * from './TopDownModelEntryPropertyNodes';
|
|
343
339
|
export * from './TopDownModelEntryUpdate';
|
|
344
340
|
export * from './TopDownModelProperties';
|
|
345
|
-
export * from './TwoDLegendEntry';
|
|
346
|
-
export * from './TwoDLegendList';
|
|
347
341
|
export * from './UnmappedParameterDetail';
|
|
348
342
|
export * from './UserV2GetResBody';
|
|
349
343
|
export * from './UserV2PatchReqBody';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -56,13 +56,14 @@ export * from './AuthenticationEmail';
|
|
|
56
56
|
export * from './AuthenticationPreferredChanel';
|
|
57
57
|
export * from './AuthenticationPublic';
|
|
58
58
|
export * from './Branding';
|
|
59
|
+
export * from './CalcAxis';
|
|
60
|
+
export * from './CalcAxisMember';
|
|
59
61
|
export * from './CalcBody';
|
|
60
62
|
export * from './CalcChildren';
|
|
61
63
|
export * from './CalcErrorBody';
|
|
62
64
|
export * from './CalcList';
|
|
63
65
|
export * from './CalcListEntry';
|
|
64
66
|
export * from './CalcListTwoD';
|
|
65
|
-
export * from './CalcNode';
|
|
66
67
|
export * from './CalcRes';
|
|
67
68
|
export * from './CalcRuleFloat';
|
|
68
69
|
export * from './CalcRuleRef';
|
|
@@ -216,10 +217,6 @@ export * from './LayerOneOf3';
|
|
|
216
217
|
export * from './LayerOneOf4';
|
|
217
218
|
export * from './LayerTypeNeed';
|
|
218
219
|
export * from './LayerVariablesRes';
|
|
219
|
-
export * from './Legend';
|
|
220
|
-
export * from './LegendList';
|
|
221
|
-
export * from './LegendOneOf';
|
|
222
|
-
export * from './LegendOneOf1';
|
|
223
220
|
export * from './ListAccountsForUserRow';
|
|
224
221
|
export * from './ListPage';
|
|
225
222
|
export * from './ListUserDetailsWithEmailRow';
|
|
@@ -242,7 +239,6 @@ export * from './ModelRecord';
|
|
|
242
239
|
export * from './MultiSelectChangelogData';
|
|
243
240
|
export * from './MultiSelectContributionData';
|
|
244
241
|
export * from './MultiSelectData';
|
|
245
|
-
export * from './NodeOffset';
|
|
246
242
|
export * from './ObjectGroupChangelogBody';
|
|
247
243
|
export * from './ObjectGroupEntriesRes';
|
|
248
244
|
export * from './ObjectGroupEntry';
|
|
@@ -344,8 +340,6 @@ export * from './TopDownModelEntryList';
|
|
|
344
340
|
export * from './TopDownModelEntryPropertyNodes';
|
|
345
341
|
export * from './TopDownModelEntryUpdate';
|
|
346
342
|
export * from './TopDownModelProperties';
|
|
347
|
-
export * from './TwoDLegendEntry';
|
|
348
|
-
export * from './TwoDLegendList';
|
|
349
343
|
export * from './UnmappedParameterDetail';
|
|
350
344
|
export * from './UserV2GetResBody';
|
|
351
345
|
export * from './UserV2PatchReqBody';
|