@spaciv/sdk 0.1.7 → 0.1.9
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/apis/FloorPlansApi.d.ts +8 -8
- package/dist/apis/FloorPlansApi.js +4 -4
- package/dist/esm/apis/AnalysisApi.d.ts +4 -4
- package/dist/esm/apis/AnalysisApi.js +2 -2
- package/dist/esm/apis/FloorPlansApi.d.ts +8 -8
- package/dist/esm/apis/FloorPlansApi.js +4 -4
- 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/FloorplanCreateSpace.d.ts +12 -0
- package/dist/esm/models/FloorplanCreateSpace.js +4 -0
- package/dist/esm/models/FloorplanGetBody.d.ts +15 -0
- package/dist/esm/models/FloorplanGetBody.js +12 -0
- package/dist/esm/models/FloorplanGetBodySpace.d.ts +12 -0
- package/dist/esm/models/FloorplanGetBodySpace.js +4 -0
- package/dist/esm/models/FloorplanPatchParamsBody.d.ts +6 -0
- package/dist/esm/models/FloorplanPatchParamsBody.js +2 -0
- 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/FloorplanCreateSpace.d.ts +12 -0
- package/dist/models/FloorplanCreateSpace.js +4 -0
- package/dist/models/FloorplanGetBody.d.ts +15 -0
- package/dist/models/FloorplanGetBody.js +13 -0
- package/dist/models/FloorplanGetBodySpace.d.ts +12 -0
- package/dist/models/FloorplanGetBodySpace.js +4 -0
- package/dist/models/FloorplanPatchParamsBody.d.ts +6 -0
- package/dist/models/FloorplanPatchParamsBody.js +2 -0
- 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/apis/FloorPlansApi.ts +8 -8
- 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/FloorplanCreateSpace.ts +16 -0
- package/src/models/FloorplanGetBody.ts +21 -0
- package/src/models/FloorplanGetBodySpace.ts +16 -0
- package/src/models/FloorplanPatchParamsBody.ts +8 -0
- 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
|
@@ -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
|
}
|
|
@@ -16,6 +16,12 @@ import type { FloorplanSpaceChangelogPath } from './FloorplanSpaceChangelogPath'
|
|
|
16
16
|
* @interface FloorplanCreateSpace
|
|
17
17
|
*/
|
|
18
18
|
export interface FloorplanCreateSpace {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof FloorplanCreateSpace
|
|
23
|
+
*/
|
|
24
|
+
endHeight?: number;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @type {string}
|
|
@@ -28,6 +34,12 @@ export interface FloorplanCreateSpace {
|
|
|
28
34
|
* @memberof FloorplanCreateSpace
|
|
29
35
|
*/
|
|
30
36
|
paths: Array<FloorplanSpaceChangelogPath>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof FloorplanCreateSpace
|
|
41
|
+
*/
|
|
42
|
+
startHeight?: number;
|
|
31
43
|
}
|
|
32
44
|
/**
|
|
33
45
|
* Check if a given object implements the FloorplanCreateSpace interface.
|
|
@@ -30,8 +30,10 @@ export function FloorplanCreateSpaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
+
'endHeight': json['endHeight'] == null ? undefined : json['endHeight'],
|
|
33
34
|
'location': json['location'],
|
|
34
35
|
'paths': (json['paths'].map(FloorplanSpaceChangelogPathFromJSON)),
|
|
36
|
+
'startHeight': json['startHeight'] == null ? undefined : json['startHeight'],
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
39
|
export function FloorplanCreateSpaceToJSON(json) {
|
|
@@ -42,7 +44,9 @@ export function FloorplanCreateSpaceToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
42
44
|
return value;
|
|
43
45
|
}
|
|
44
46
|
return {
|
|
47
|
+
'endHeight': value['endHeight'],
|
|
45
48
|
'location': value['location'],
|
|
46
49
|
'paths': (value['paths'].map(FloorplanSpaceChangelogPathToJSON)),
|
|
50
|
+
'startHeight': value['startHeight'],
|
|
47
51
|
};
|
|
48
52
|
}
|
|
@@ -65,7 +65,22 @@ export interface FloorplanGetBody {
|
|
|
65
65
|
* @memberof FloorplanGetBody
|
|
66
66
|
*/
|
|
67
67
|
spaces: Array<FloorplanGetBodySpace>;
|
|
68
|
+
/**
|
|
69
|
+
* Whether the floor plan can be shown in 2D, in 3D, or both. Defaults to 2d-and-3d.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof FloorplanGetBody
|
|
72
|
+
*/
|
|
73
|
+
viewMode: FloorplanGetBodyViewModeEnum;
|
|
68
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* @export
|
|
77
|
+
*/
|
|
78
|
+
export declare const FloorplanGetBodyViewModeEnum: {
|
|
79
|
+
readonly _2dAnd3d: "2d-and-3d";
|
|
80
|
+
readonly _3dOnly: "3d-only";
|
|
81
|
+
readonly _2dOnly: "2d-only";
|
|
82
|
+
};
|
|
83
|
+
export type FloorplanGetBodyViewModeEnum = typeof FloorplanGetBodyViewModeEnum[keyof typeof FloorplanGetBodyViewModeEnum];
|
|
69
84
|
/**
|
|
70
85
|
* Check if a given object implements the FloorplanGetBody interface.
|
|
71
86
|
*/
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { FloorplanGetBodyOverlayOffsetFromJSON, FloorplanGetBodyOverlayOffsetToJSON, } from './FloorplanGetBodyOverlayOffset';
|
|
15
15
|
import { FloorplanGetBodySpaceFromJSON, FloorplanGetBodySpaceToJSON, } from './FloorplanGetBodySpace';
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export const FloorplanGetBodyViewModeEnum = {
|
|
20
|
+
_2dAnd3d: '2d-and-3d',
|
|
21
|
+
_3dOnly: '3d-only',
|
|
22
|
+
_2dOnly: '2d-only'
|
|
23
|
+
};
|
|
16
24
|
/**
|
|
17
25
|
* Check if a given object implements the FloorplanGetBody interface.
|
|
18
26
|
*/
|
|
@@ -29,6 +37,8 @@ export function instanceOfFloorplanGetBody(value) {
|
|
|
29
37
|
return false;
|
|
30
38
|
if (!('spaces' in value) || value['spaces'] === undefined)
|
|
31
39
|
return false;
|
|
40
|
+
if (!('viewMode' in value) || value['viewMode'] === undefined)
|
|
41
|
+
return false;
|
|
32
42
|
return true;
|
|
33
43
|
}
|
|
34
44
|
export function FloorplanGetBodyFromJSON(json) {
|
|
@@ -47,6 +57,7 @@ export function FloorplanGetBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
57
|
'property': json['property'],
|
|
48
58
|
'propertyNode': json['propertyNode'],
|
|
49
59
|
'spaces': (json['spaces'].map(FloorplanGetBodySpaceFromJSON)),
|
|
60
|
+
'viewMode': json['viewMode'],
|
|
50
61
|
};
|
|
51
62
|
}
|
|
52
63
|
export function FloorplanGetBodyToJSON(json) {
|
|
@@ -65,5 +76,6 @@ export function FloorplanGetBodyToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
65
76
|
'property': value['property'],
|
|
66
77
|
'propertyNode': value['propertyNode'],
|
|
67
78
|
'spaces': (value['spaces'].map(FloorplanGetBodySpaceToJSON)),
|
|
79
|
+
'viewMode': value['viewMode'],
|
|
68
80
|
};
|
|
69
81
|
}
|
|
@@ -16,6 +16,12 @@ import type { FloorplanGetBodySpacePoint } from './FloorplanGetBodySpacePoint';
|
|
|
16
16
|
* @interface FloorplanGetBodySpace
|
|
17
17
|
*/
|
|
18
18
|
export interface FloorplanGetBodySpace {
|
|
19
|
+
/**
|
|
20
|
+
* Height the space ends at in 3D, in the same units as its paths. Absent when the space uses the default heights.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof FloorplanGetBodySpace
|
|
23
|
+
*/
|
|
24
|
+
endHeight?: number;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @type {string}
|
|
@@ -28,6 +34,12 @@ export interface FloorplanGetBodySpace {
|
|
|
28
34
|
* @memberof FloorplanGetBodySpace
|
|
29
35
|
*/
|
|
30
36
|
paths: Array<Array<FloorplanGetBodySpacePoint>>;
|
|
37
|
+
/**
|
|
38
|
+
* Height the space starts at in 3D, in the same units as its paths. Absent when the space uses the default heights.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof FloorplanGetBodySpace
|
|
41
|
+
*/
|
|
42
|
+
startHeight?: number;
|
|
31
43
|
}
|
|
32
44
|
/**
|
|
33
45
|
* Check if a given object implements the FloorplanGetBodySpace interface.
|
|
@@ -29,8 +29,10 @@ export function FloorplanGetBodySpaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
return json;
|
|
30
30
|
}
|
|
31
31
|
return {
|
|
32
|
+
'endHeight': json['endHeight'] == null ? undefined : json['endHeight'],
|
|
32
33
|
'location': json['location'],
|
|
33
34
|
'paths': json['paths'],
|
|
35
|
+
'startHeight': json['startHeight'] == null ? undefined : json['startHeight'],
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
export function FloorplanGetBodySpaceToJSON(json) {
|
|
@@ -41,7 +43,9 @@ export function FloorplanGetBodySpaceToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
41
43
|
return value;
|
|
42
44
|
}
|
|
43
45
|
return {
|
|
46
|
+
'endHeight': value['endHeight'],
|
|
44
47
|
'location': value['location'],
|
|
45
48
|
'paths': value['paths'],
|
|
49
|
+
'startHeight': value['startHeight'],
|
|
46
50
|
};
|
|
47
51
|
}
|
|
@@ -65,6 +65,12 @@ export interface FloorplanPatchParamsBody {
|
|
|
65
65
|
* @memberof FloorplanPatchParamsBody
|
|
66
66
|
*/
|
|
67
67
|
spaces?: FloorplanCreateSpaceRepeated;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof FloorplanPatchParamsBody
|
|
72
|
+
*/
|
|
73
|
+
viewMode?: string;
|
|
68
74
|
}
|
|
69
75
|
/**
|
|
70
76
|
* Check if a given object implements the FloorplanPatchParamsBody interface.
|
|
@@ -35,6 +35,7 @@ export function FloorplanPatchParamsBodyFromJSONTyped(json, ignoreDiscriminator)
|
|
|
35
35
|
'property': json['property'] == null ? undefined : json['property'],
|
|
36
36
|
'propertyNode': json['propertyNode'] == null ? undefined : json['propertyNode'],
|
|
37
37
|
'spaces': json['spaces'] == null ? undefined : FloorplanCreateSpaceRepeatedFromJSON(json['spaces']),
|
|
38
|
+
'viewMode': json['viewMode'] == null ? undefined : json['viewMode'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
export function FloorplanPatchParamsBodyToJSON(json) {
|
|
@@ -53,5 +54,6 @@ export function FloorplanPatchParamsBodyToJSONTyped(value, ignoreDiscriminator =
|
|
|
53
54
|
'property': value['property'],
|
|
54
55
|
'propertyNode': value['propertyNode'],
|
|
55
56
|
'spaces': FloorplanCreateSpaceRepeatedToJSON(value['spaces']),
|
|
57
|
+
'viewMode': value['viewMode'],
|
|
56
58
|
};
|
|
57
59
|
}
|
|
@@ -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';
|
|
@@ -9,30 +9,42 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CalcAxisMember } from './CalcAxisMember';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
15
|
-
* @interface
|
|
16
|
+
* @interface CalcAxis
|
|
16
17
|
*/
|
|
17
|
-
export interface
|
|
18
|
+
export interface CalcAxis {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
21
|
-
* @memberof
|
|
20
|
+
* `1` is day, `2` tree node, `3` series, `4` scenario and `5` group.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof CalcAxis
|
|
22
23
|
*/
|
|
23
|
-
|
|
24
|
+
dimension: CalcAxisDimensionEnum;
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
|
-
* @type {
|
|
27
|
-
* @memberof
|
|
27
|
+
* @type {Array<CalcAxisMember>}
|
|
28
|
+
* @memberof CalcAxis
|
|
28
29
|
*/
|
|
29
|
-
|
|
30
|
+
members: Array<CalcAxisMember>;
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
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.
|
|
33
45
|
*/
|
|
34
|
-
export declare function
|
|
35
|
-
export declare function
|
|
36
|
-
export declare function
|
|
37
|
-
export declare function
|
|
38
|
-
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;
|
|
@@ -13,42 +13,54 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.CalcAxisDimensionEnum = void 0;
|
|
17
|
+
exports.instanceOfCalcAxis = instanceOfCalcAxis;
|
|
18
|
+
exports.CalcAxisFromJSON = CalcAxisFromJSON;
|
|
19
|
+
exports.CalcAxisFromJSONTyped = CalcAxisFromJSONTyped;
|
|
20
|
+
exports.CalcAxisToJSON = CalcAxisToJSON;
|
|
21
|
+
exports.CalcAxisToJSONTyped = CalcAxisToJSONTyped;
|
|
22
|
+
const CalcAxisMember_1 = require("./CalcAxisMember");
|
|
21
23
|
/**
|
|
22
|
-
*
|
|
24
|
+
* @export
|
|
23
25
|
*/
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
exports.CalcAxisDimensionEnum = {
|
|
27
|
+
NUMBER_1: 1,
|
|
28
|
+
NUMBER_2: 2,
|
|
29
|
+
NUMBER_3: 3,
|
|
30
|
+
NUMBER_4: 4,
|
|
31
|
+
NUMBER_5: 5
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the CalcAxis interface.
|
|
35
|
+
*/
|
|
36
|
+
function instanceOfCalcAxis(value) {
|
|
37
|
+
if (!('dimension' in value) || value['dimension'] === undefined)
|
|
26
38
|
return false;
|
|
27
|
-
if (!('
|
|
39
|
+
if (!('members' in value) || value['members'] === undefined)
|
|
28
40
|
return false;
|
|
29
41
|
return true;
|
|
30
42
|
}
|
|
31
|
-
function
|
|
32
|
-
return
|
|
43
|
+
function CalcAxisFromJSON(json) {
|
|
44
|
+
return CalcAxisFromJSONTyped(json, false);
|
|
33
45
|
}
|
|
34
|
-
function
|
|
46
|
+
function CalcAxisFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
47
|
if (json == null) {
|
|
36
48
|
return json;
|
|
37
49
|
}
|
|
38
50
|
return {
|
|
39
|
-
'
|
|
40
|
-
'
|
|
51
|
+
'dimension': json['dimension'],
|
|
52
|
+
'members': (json['members'].map(CalcAxisMember_1.CalcAxisMemberFromJSON)),
|
|
41
53
|
};
|
|
42
54
|
}
|
|
43
|
-
function
|
|
44
|
-
return
|
|
55
|
+
function CalcAxisToJSON(json) {
|
|
56
|
+
return CalcAxisToJSONTyped(json, false);
|
|
45
57
|
}
|
|
46
|
-
function
|
|
58
|
+
function CalcAxisToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
59
|
if (value == null) {
|
|
48
60
|
return value;
|
|
49
61
|
}
|
|
50
62
|
return {
|
|
51
|
-
'
|
|
52
|
-
'
|
|
63
|
+
'dimension': value['dimension'],
|
|
64
|
+
'members': (value['members'].map(CalcAxisMember_1.CalcAxisMemberToJSON)),
|
|
53
65
|
};
|
|
54
66
|
}
|