@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
|
@@ -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
|
}
|
|
@@ -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;
|
|
@@ -13,50 +13,52 @@
|
|
|
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.instanceOfCalcAxisMember = instanceOfCalcAxisMember;
|
|
17
|
+
exports.CalcAxisMemberFromJSON = CalcAxisMemberFromJSON;
|
|
18
|
+
exports.CalcAxisMemberFromJSONTyped = CalcAxisMemberFromJSONTyped;
|
|
19
|
+
exports.CalcAxisMemberToJSON = CalcAxisMemberToJSON;
|
|
20
|
+
exports.CalcAxisMemberToJSONTyped = CalcAxisMemberToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the CalcAxisMember interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
25
|
-
if (!('
|
|
26
|
-
return false;
|
|
27
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
24
|
+
function instanceOfCalcAxisMember(value) {
|
|
25
|
+
if (!('day' in value) || value['day'] === undefined)
|
|
28
26
|
return false;
|
|
29
27
|
if (!('id' in value) || value['id'] === undefined)
|
|
30
28
|
return false;
|
|
31
29
|
if (!('name' in value) || value['name'] === undefined)
|
|
32
30
|
return false;
|
|
31
|
+
if (!('scenario' in value) || value['scenario'] === undefined)
|
|
32
|
+
return false;
|
|
33
33
|
return true;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
return
|
|
35
|
+
function CalcAxisMemberFromJSON(json) {
|
|
36
|
+
return CalcAxisMemberFromJSONTyped(json, false);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function CalcAxisMemberFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
39
|
if (json == null) {
|
|
40
40
|
return json;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
-
'
|
|
44
|
-
'data': json['data'],
|
|
43
|
+
'day': json['day'],
|
|
45
44
|
'id': json['id'],
|
|
46
45
|
'name': json['name'],
|
|
46
|
+
'parent': json['parent'] == null ? undefined : json['parent'],
|
|
47
|
+
'scenario': json['scenario'],
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
|
-
function
|
|
50
|
-
return
|
|
50
|
+
function CalcAxisMemberToJSON(json) {
|
|
51
|
+
return CalcAxisMemberToJSONTyped(json, false);
|
|
51
52
|
}
|
|
52
|
-
function
|
|
53
|
+
function CalcAxisMemberToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
54
|
if (value == null) {
|
|
54
55
|
return value;
|
|
55
56
|
}
|
|
56
57
|
return {
|
|
57
|
-
'
|
|
58
|
-
'data': value['data'],
|
|
58
|
+
'day': value['day'],
|
|
59
59
|
'id': value['id'],
|
|
60
60
|
'name': value['name'],
|
|
61
|
+
'parent': value['parent'],
|
|
62
|
+
'scenario': value['scenario'],
|
|
61
63
|
};
|
|
62
64
|
}
|
|
@@ -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>}
|
package/dist/models/CalcBody.js
CHANGED
|
@@ -41,6 +41,7 @@ function CalcBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
43
|
'data': (0, DataShapes_1.DataShapesFromJSON)(json['data']),
|
|
44
|
+
'dimensions': json['dimensions'] == null ? undefined : json['dimensions'],
|
|
44
45
|
'filters': (json['filters'].map(FilterGroup_1.FilterGroupFromJSON)),
|
|
45
46
|
'includeObjects': json['includeObjects'] == null ? undefined : json['includeObjects'],
|
|
46
47
|
'limit': json['limit'] == null ? undefined : json['limit'],
|
|
@@ -56,6 +57,7 @@ function CalcBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
56
57
|
}
|
|
57
58
|
return {
|
|
58
59
|
'data': (0, DataShapes_1.DataShapesToJSON)(value['data']),
|
|
60
|
+
'dimensions': value['dimensions'],
|
|
59
61
|
'filters': (value['filters'].map(FilterGroup_1.FilterGroupToJSON)),
|
|
60
62
|
'includeObjects': value['includeObjects'],
|
|
61
63
|
'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
|
/**
|
|
@@ -45,7 +45,8 @@ exports.CalcErrorBodyKindEnum = {
|
|
|
45
45
|
MissingAttribute: 'missing_attribute',
|
|
46
46
|
MissingSpaceRule: 'missing_space_rule',
|
|
47
47
|
MissingTopDownModel: 'missing_top_down_model',
|
|
48
|
-
InvalidModifierFormula: 'invalid_modifier_formula'
|
|
48
|
+
InvalidModifierFormula: 'invalid_modifier_formula',
|
|
49
|
+
InvalidDimensions: 'invalid_dimensions'
|
|
49
50
|
};
|
|
50
51
|
/**
|
|
51
52
|
* Check if a given object implements the CalcErrorBody interface.
|
package/dist/models/CalcRes.d.ts
CHANGED
|
@@ -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.
|
package/dist/models/CalcRes.js
CHANGED
|
@@ -18,15 +18,14 @@ exports.CalcResFromJSON = CalcResFromJSON;
|
|
|
18
18
|
exports.CalcResFromJSONTyped = CalcResFromJSONTyped;
|
|
19
19
|
exports.CalcResToJSON = CalcResToJSON;
|
|
20
20
|
exports.CalcResToJSONTyped = CalcResToJSONTyped;
|
|
21
|
-
const
|
|
22
|
-
const NodeOffset_1 = require("./NodeOffset");
|
|
21
|
+
const CalcAxis_1 = require("./CalcAxis");
|
|
23
22
|
/**
|
|
24
23
|
* Check if a given object implements the CalcRes interface.
|
|
25
24
|
*/
|
|
26
25
|
function instanceOfCalcRes(value) {
|
|
27
|
-
if (!('
|
|
26
|
+
if (!('axes' in value) || value['axes'] === undefined)
|
|
28
27
|
return false;
|
|
29
|
-
if (!('
|
|
28
|
+
if (!('values' in value) || value['values'] === undefined)
|
|
30
29
|
return false;
|
|
31
30
|
return true;
|
|
32
31
|
}
|
|
@@ -38,8 +37,8 @@ function CalcResFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
37
|
return json;
|
|
39
38
|
}
|
|
40
39
|
return {
|
|
41
|
-
'
|
|
42
|
-
'
|
|
40
|
+
'axes': (json['axes'].map(CalcAxis_1.CalcAxisFromJSON)),
|
|
41
|
+
'values': json['values'],
|
|
43
42
|
};
|
|
44
43
|
}
|
|
45
44
|
function CalcResToJSON(json) {
|
|
@@ -50,7 +49,7 @@ function CalcResToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
49
|
return value;
|
|
51
50
|
}
|
|
52
51
|
return {
|
|
53
|
-
'
|
|
54
|
-
'
|
|
52
|
+
'axes': (value['axes'].map(CalcAxis_1.CalcAxisToJSON)),
|
|
53
|
+
'values': value['values'],
|
|
55
54
|
};
|
|
56
55
|
}
|
|
@@ -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}
|
|
@@ -42,7 +42,9 @@ function FloorplanBriefFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
return json;
|
|
43
43
|
}
|
|
44
44
|
return {
|
|
45
|
+
'backgroundFile': json['backgroundFile'] == null ? undefined : json['backgroundFile'],
|
|
45
46
|
'createdAt': json['createdAt'],
|
|
47
|
+
'foregroundFile': json['foregroundFile'] == null ? undefined : json['foregroundFile'],
|
|
46
48
|
'id': json['id'],
|
|
47
49
|
'name': json['name'],
|
|
48
50
|
'property': json['property'],
|
|
@@ -57,7 +59,9 @@ function FloorplanBriefToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
57
59
|
return value;
|
|
58
60
|
}
|
|
59
61
|
return {
|
|
62
|
+
'backgroundFile': value['backgroundFile'],
|
|
60
63
|
'createdAt': value['createdAt'],
|
|
64
|
+
'foregroundFile': value['foregroundFile'],
|
|
61
65
|
'id': value['id'],
|
|
62
66
|
'name': value['name'],
|
|
63
67
|
'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}
|
|
@@ -46,7 +46,9 @@ function FloorplanGetBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
return json;
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
|
+
'backgroundFile': json['backgroundFile'] == null ? undefined : json['backgroundFile'],
|
|
49
50
|
'createdAt': json['createdAt'],
|
|
51
|
+
'foregroundFile': json['foregroundFile'] == null ? undefined : json['foregroundFile'],
|
|
50
52
|
'name': json['name'],
|
|
51
53
|
'overlayOffset': (0, FloorplanGetBodyOverlayOffset_1.FloorplanGetBodyOverlayOffsetFromJSON)(json['overlayOffset']),
|
|
52
54
|
'property': json['property'],
|
|
@@ -62,7 +64,9 @@ function FloorplanGetBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
64
|
return value;
|
|
63
65
|
}
|
|
64
66
|
return {
|
|
67
|
+
'backgroundFile': value['backgroundFile'],
|
|
65
68
|
'createdAt': value['createdAt'],
|
|
69
|
+
'foregroundFile': value['foregroundFile'],
|
|
66
70
|
'name': value['name'],
|
|
67
71
|
'overlayOffset': (0, FloorplanGetBodyOverlayOffset_1.FloorplanGetBodyOverlayOffsetToJSON)(value['overlayOffset']),
|
|
68
72
|
'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}
|
|
@@ -34,7 +34,9 @@ function FloorplanPatchParamsBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
+
'backgroundFile': json['backgroundFile'] == null ? undefined : json['backgroundFile'],
|
|
37
38
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
39
|
+
'foregroundFile': json['foregroundFile'] == null ? undefined : json['foregroundFile'],
|
|
38
40
|
'name': json['name'] == null ? undefined : json['name'],
|
|
39
41
|
'overlayOffset': json['overlayOffset'] == null ? undefined : (0, FloorplanChangelogOverlayOffset_1.FloorplanChangelogOverlayOffsetFromJSON)(json['overlayOffset']),
|
|
40
42
|
'property': json['property'] == null ? undefined : json['property'],
|
|
@@ -50,7 +52,9 @@ function FloorplanPatchParamsBodyToJSONTyped(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
|
'name': value['name'],
|
|
55
59
|
'overlayOffset': (0, FloorplanChangelogOverlayOffset_1.FloorplanChangelogOverlayOffsetToJSON)(value['overlayOffset']),
|
|
56
60
|
'property': value['property'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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/models/index.js
CHANGED
|
@@ -72,13 +72,14 @@ __exportStar(require("./AuthenticationEmail"), exports);
|
|
|
72
72
|
__exportStar(require("./AuthenticationPreferredChanel"), exports);
|
|
73
73
|
__exportStar(require("./AuthenticationPublic"), exports);
|
|
74
74
|
__exportStar(require("./Branding"), exports);
|
|
75
|
+
__exportStar(require("./CalcAxis"), exports);
|
|
76
|
+
__exportStar(require("./CalcAxisMember"), exports);
|
|
75
77
|
__exportStar(require("./CalcBody"), exports);
|
|
76
78
|
__exportStar(require("./CalcChildren"), exports);
|
|
77
79
|
__exportStar(require("./CalcErrorBody"), exports);
|
|
78
80
|
__exportStar(require("./CalcList"), exports);
|
|
79
81
|
__exportStar(require("./CalcListEntry"), exports);
|
|
80
82
|
__exportStar(require("./CalcListTwoD"), exports);
|
|
81
|
-
__exportStar(require("./CalcNode"), exports);
|
|
82
83
|
__exportStar(require("./CalcRes"), exports);
|
|
83
84
|
__exportStar(require("./CalcRuleFloat"), exports);
|
|
84
85
|
__exportStar(require("./CalcRuleRef"), exports);
|
|
@@ -232,10 +233,6 @@ __exportStar(require("./LayerOneOf3"), exports);
|
|
|
232
233
|
__exportStar(require("./LayerOneOf4"), exports);
|
|
233
234
|
__exportStar(require("./LayerTypeNeed"), exports);
|
|
234
235
|
__exportStar(require("./LayerVariablesRes"), exports);
|
|
235
|
-
__exportStar(require("./Legend"), exports);
|
|
236
|
-
__exportStar(require("./LegendList"), exports);
|
|
237
|
-
__exportStar(require("./LegendOneOf"), exports);
|
|
238
|
-
__exportStar(require("./LegendOneOf1"), exports);
|
|
239
236
|
__exportStar(require("./ListAccountsForUserRow"), exports);
|
|
240
237
|
__exportStar(require("./ListPage"), exports);
|
|
241
238
|
__exportStar(require("./ListUserDetailsWithEmailRow"), exports);
|
|
@@ -258,7 +255,6 @@ __exportStar(require("./ModelRecord"), exports);
|
|
|
258
255
|
__exportStar(require("./MultiSelectChangelogData"), exports);
|
|
259
256
|
__exportStar(require("./MultiSelectContributionData"), exports);
|
|
260
257
|
__exportStar(require("./MultiSelectData"), exports);
|
|
261
|
-
__exportStar(require("./NodeOffset"), exports);
|
|
262
258
|
__exportStar(require("./ObjectGroupChangelogBody"), exports);
|
|
263
259
|
__exportStar(require("./ObjectGroupEntriesRes"), exports);
|
|
264
260
|
__exportStar(require("./ObjectGroupEntry"), exports);
|
|
@@ -360,8 +356,6 @@ __exportStar(require("./TopDownModelEntryList"), exports);
|
|
|
360
356
|
__exportStar(require("./TopDownModelEntryPropertyNodes"), exports);
|
|
361
357
|
__exportStar(require("./TopDownModelEntryUpdate"), exports);
|
|
362
358
|
__exportStar(require("./TopDownModelProperties"), exports);
|
|
363
|
-
__exportStar(require("./TwoDLegendEntry"), exports);
|
|
364
|
-
__exportStar(require("./TwoDLegendList"), exports);
|
|
365
359
|
__exportStar(require("./UnmappedParameterDetail"), exports);
|
|
366
360
|
__exportStar(require("./UserV2GetResBody"), exports);
|
|
367
361
|
__exportStar(require("./UserV2PatchReqBody"), exports);
|
package/package.json
CHANGED
package/src/apis/AnalysisApi.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface AnalysisApiCreateAnalyseRequest {
|
|
|
43
43
|
*/
|
|
44
44
|
export interface AnalysisApiInterface {
|
|
45
45
|
/**
|
|
46
|
-
* Runs the scenario through the calculation engine and returns the
|
|
46
|
+
* 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.
|
|
47
47
|
* @summary Run analysis
|
|
48
48
|
* @param {CalcBody} [calcBody]
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
@@ -53,7 +53,7 @@ export interface AnalysisApiInterface {
|
|
|
53
53
|
createAnalyseRaw(requestParameters: AnalysisApiCreateAnalyseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalcRes>>;
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
|
-
* Runs the scenario through the calculation engine and returns the
|
|
56
|
+
* 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.
|
|
57
57
|
* Run analysis
|
|
58
58
|
*/
|
|
59
59
|
createAnalyse(requestParameters: AnalysisApiCreateAnalyseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalcRes>;
|
|
@@ -66,7 +66,7 @@ export interface AnalysisApiInterface {
|
|
|
66
66
|
export class AnalysisApi extends runtime.BaseAPI implements AnalysisApiInterface {
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
* Runs the scenario through the calculation engine and returns the
|
|
69
|
+
* 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.
|
|
70
70
|
* Run analysis
|
|
71
71
|
*/
|
|
72
72
|
async createAnalyseRaw(requestParameters: AnalysisApiCreateAnalyseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalcRes>> {
|
|
@@ -99,7 +99,7 @@ export class AnalysisApi extends runtime.BaseAPI implements AnalysisApiInterface
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
|
-
* Runs the scenario through the calculation engine and returns the
|
|
102
|
+
* 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.
|
|
103
103
|
* Run analysis
|
|
104
104
|
*/
|
|
105
105
|
async createAnalyse(requestParameters: AnalysisApiCreateAnalyseRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalcRes> {
|