@spaciv/sdk 0.1.6 → 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/apis/FloorPlansApi.d.ts +13 -13
- package/dist/apis/FloorPlansApi.js +6 -6
- package/dist/esm/apis/AnalysisApi.d.ts +4 -4
- package/dist/esm/apis/AnalysisApi.js +2 -2
- package/dist/esm/apis/FloorPlansApi.d.ts +13 -13
- package/dist/esm/apis/FloorPlansApi.js +6 -6
- 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/FloorplanBrief.d.ts +12 -0
- package/dist/esm/models/FloorplanBrief.js +4 -0
- package/dist/esm/models/FloorplanGetBody.d.ts +12 -0
- package/dist/esm/models/FloorplanGetBody.js +4 -0
- package/dist/esm/models/FloorplanPatchParamsBody.d.ts +12 -0
- package/dist/esm/models/FloorplanPatchParamsBody.js +4 -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/FloorplanBrief.d.ts +12 -0
- package/dist/models/FloorplanBrief.js +4 -0
- package/dist/models/FloorplanGetBody.d.ts +12 -0
- package/dist/models/FloorplanGetBody.js +4 -0
- package/dist/models/FloorplanPatchParamsBody.d.ts +12 -0
- package/dist/models/FloorplanPatchParamsBody.js +4 -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 +13 -13
- 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/FloorplanBrief.ts +16 -0
- package/src/models/FloorplanGetBody.ts +16 -0
- package/src/models/FloorplanPatchParamsBody.ts +16 -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
|
@@ -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
|
}
|
|
@@ -15,12 +15,24 @@
|
|
|
15
15
|
* @interface FloorplanBrief
|
|
16
16
|
*/
|
|
17
17
|
export interface FloorplanBrief {
|
|
18
|
+
/**
|
|
19
|
+
* ID of the account file used as the background image, if one is set.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FloorplanBrief
|
|
22
|
+
*/
|
|
23
|
+
backgroundFile?: string;
|
|
18
24
|
/**
|
|
19
25
|
*
|
|
20
26
|
* @type {number}
|
|
21
27
|
* @memberof FloorplanBrief
|
|
22
28
|
*/
|
|
23
29
|
createdAt: number;
|
|
30
|
+
/**
|
|
31
|
+
* ID of the account file used as the foreground image, if one is set.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FloorplanBrief
|
|
34
|
+
*/
|
|
35
|
+
foregroundFile?: string;
|
|
24
36
|
/**
|
|
25
37
|
*
|
|
26
38
|
* @type {string}
|
|
@@ -35,7 +35,9 @@ export function FloorplanBriefFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
return json;
|
|
36
36
|
}
|
|
37
37
|
return {
|
|
38
|
+
'backgroundFile': json['backgroundFile'] == null ? undefined : json['backgroundFile'],
|
|
38
39
|
'createdAt': json['createdAt'],
|
|
40
|
+
'foregroundFile': json['foregroundFile'] == null ? undefined : json['foregroundFile'],
|
|
39
41
|
'id': json['id'],
|
|
40
42
|
'name': json['name'],
|
|
41
43
|
'property': json['property'],
|
|
@@ -50,7 +52,9 @@ export function FloorplanBriefToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
52
|
return value;
|
|
51
53
|
}
|
|
52
54
|
return {
|
|
55
|
+
'backgroundFile': value['backgroundFile'],
|
|
53
56
|
'createdAt': value['createdAt'],
|
|
57
|
+
'foregroundFile': value['foregroundFile'],
|
|
54
58
|
'id': value['id'],
|
|
55
59
|
'name': value['name'],
|
|
56
60
|
'property': value['property'],
|
|
@@ -17,12 +17,24 @@ import type { FloorplanGetBodySpace } from './FloorplanGetBodySpace';
|
|
|
17
17
|
* @interface FloorplanGetBody
|
|
18
18
|
*/
|
|
19
19
|
export interface FloorplanGetBody {
|
|
20
|
+
/**
|
|
21
|
+
* ID of the account file used as the background image, if one is set.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof FloorplanGetBody
|
|
24
|
+
*/
|
|
25
|
+
backgroundFile?: string;
|
|
20
26
|
/**
|
|
21
27
|
*
|
|
22
28
|
* @type {number}
|
|
23
29
|
* @memberof FloorplanGetBody
|
|
24
30
|
*/
|
|
25
31
|
createdAt: number;
|
|
32
|
+
/**
|
|
33
|
+
* ID of the account file used as the foreground image, if one is set.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof FloorplanGetBody
|
|
36
|
+
*/
|
|
37
|
+
foregroundFile?: string;
|
|
26
38
|
/**
|
|
27
39
|
*
|
|
28
40
|
* @type {string}
|
|
@@ -39,7 +39,9 @@ export function FloorplanGetBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
return json;
|
|
40
40
|
}
|
|
41
41
|
return {
|
|
42
|
+
'backgroundFile': json['backgroundFile'] == null ? undefined : json['backgroundFile'],
|
|
42
43
|
'createdAt': json['createdAt'],
|
|
44
|
+
'foregroundFile': json['foregroundFile'] == null ? undefined : json['foregroundFile'],
|
|
43
45
|
'name': json['name'],
|
|
44
46
|
'overlayOffset': FloorplanGetBodyOverlayOffsetFromJSON(json['overlayOffset']),
|
|
45
47
|
'property': json['property'],
|
|
@@ -55,7 +57,9 @@ export function FloorplanGetBodyToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
55
57
|
return value;
|
|
56
58
|
}
|
|
57
59
|
return {
|
|
60
|
+
'backgroundFile': value['backgroundFile'],
|
|
58
61
|
'createdAt': value['createdAt'],
|
|
62
|
+
'foregroundFile': value['foregroundFile'],
|
|
59
63
|
'name': value['name'],
|
|
60
64
|
'overlayOffset': FloorplanGetBodyOverlayOffsetToJSON(value['overlayOffset']),
|
|
61
65
|
'property': value['property'],
|
|
@@ -17,12 +17,24 @@ import type { FloorplanCreateSpaceRepeated } from './FloorplanCreateSpaceRepeate
|
|
|
17
17
|
* @interface FloorplanPatchParamsBody
|
|
18
18
|
*/
|
|
19
19
|
export interface FloorplanPatchParamsBody {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof FloorplanPatchParamsBody
|
|
24
|
+
*/
|
|
25
|
+
backgroundFile?: string;
|
|
20
26
|
/**
|
|
21
27
|
*
|
|
22
28
|
* @type {number}
|
|
23
29
|
* @memberof FloorplanPatchParamsBody
|
|
24
30
|
*/
|
|
25
31
|
createdAt?: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof FloorplanPatchParamsBody
|
|
36
|
+
*/
|
|
37
|
+
foregroundFile?: string;
|
|
26
38
|
/**
|
|
27
39
|
*
|
|
28
40
|
* @type {string}
|
|
@@ -27,7 +27,9 @@ export function FloorplanPatchParamsBodyFromJSONTyped(json, ignoreDiscriminator)
|
|
|
27
27
|
return json;
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
30
|
+
'backgroundFile': json['backgroundFile'] == null ? undefined : json['backgroundFile'],
|
|
30
31
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
32
|
+
'foregroundFile': json['foregroundFile'] == null ? undefined : json['foregroundFile'],
|
|
31
33
|
'name': json['name'] == null ? undefined : json['name'],
|
|
32
34
|
'overlayOffset': json['overlayOffset'] == null ? undefined : FloorplanChangelogOverlayOffsetFromJSON(json['overlayOffset']),
|
|
33
35
|
'property': json['property'] == null ? undefined : json['property'],
|
|
@@ -43,7 +45,9 @@ export function FloorplanPatchParamsBodyToJSONTyped(value, ignoreDiscriminator =
|
|
|
43
45
|
return value;
|
|
44
46
|
}
|
|
45
47
|
return {
|
|
48
|
+
'backgroundFile': value['backgroundFile'],
|
|
46
49
|
'createdAt': value['createdAt'],
|
|
50
|
+
'foregroundFile': value['foregroundFile'],
|
|
47
51
|
'name': value['name'],
|
|
48
52
|
'overlayOffset': FloorplanChangelogOverlayOffsetToJSON(value['overlayOffset']),
|
|
49
53
|
'property': value['property'],
|
|
@@ -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;
|