@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.
Files changed (88) hide show
  1. package/.openapi-generator/FILES +2 -8
  2. package/README.md +2 -2
  3. package/dist/apis/AnalysisApi.d.ts +4 -4
  4. package/dist/apis/AnalysisApi.js +2 -2
  5. package/dist/apis/FloorPlansApi.d.ts +13 -13
  6. package/dist/apis/FloorPlansApi.js +6 -6
  7. package/dist/esm/apis/AnalysisApi.d.ts +4 -4
  8. package/dist/esm/apis/AnalysisApi.js +2 -2
  9. package/dist/esm/apis/FloorPlansApi.d.ts +13 -13
  10. package/dist/esm/apis/FloorPlansApi.js +6 -6
  11. package/dist/esm/models/{NodeOffset.d.ts → CalcAxis.d.ts} +27 -16
  12. package/dist/esm/models/{NodeOffset.js → CalcAxis.js} +25 -15
  13. package/dist/esm/models/{CalcNode.d.ts → CalcAxisMember.d.ts} +24 -18
  14. package/dist/esm/models/{CalcNode.js → CalcAxisMember.js} +17 -15
  15. package/dist/esm/models/CalcBody.d.ts +6 -0
  16. package/dist/esm/models/CalcBody.js +2 -0
  17. package/dist/esm/models/CalcErrorBody.d.ts +1 -0
  18. package/dist/esm/models/CalcErrorBody.js +2 -1
  19. package/dist/esm/models/CalcRes.d.ts +5 -6
  20. package/dist/esm/models/CalcRes.js +7 -8
  21. package/dist/esm/models/FloorplanBrief.d.ts +12 -0
  22. package/dist/esm/models/FloorplanBrief.js +4 -0
  23. package/dist/esm/models/FloorplanGetBody.d.ts +12 -0
  24. package/dist/esm/models/FloorplanGetBody.js +4 -0
  25. package/dist/esm/models/FloorplanPatchParamsBody.d.ts +12 -0
  26. package/dist/esm/models/FloorplanPatchParamsBody.js +4 -0
  27. package/dist/esm/models/index.d.ts +2 -8
  28. package/dist/esm/models/index.js +2 -8
  29. package/dist/{esm/models/TwoDLegendEntry.d.ts → models/CalcAxis.d.ts} +27 -15
  30. package/dist/models/{TwoDLegendEntry.js → CalcAxis.js} +31 -19
  31. package/dist/models/{CalcNode.d.ts → CalcAxisMember.d.ts} +24 -18
  32. package/dist/models/{CalcNode.js → CalcAxisMember.js} +22 -20
  33. package/dist/models/CalcBody.d.ts +6 -0
  34. package/dist/models/CalcBody.js +2 -0
  35. package/dist/models/CalcErrorBody.d.ts +1 -0
  36. package/dist/models/CalcErrorBody.js +2 -1
  37. package/dist/models/CalcRes.d.ts +5 -6
  38. package/dist/models/CalcRes.js +7 -8
  39. package/dist/models/FloorplanBrief.d.ts +12 -0
  40. package/dist/models/FloorplanBrief.js +4 -0
  41. package/dist/models/FloorplanGetBody.d.ts +12 -0
  42. package/dist/models/FloorplanGetBody.js +4 -0
  43. package/dist/models/FloorplanPatchParamsBody.d.ts +12 -0
  44. package/dist/models/FloorplanPatchParamsBody.js +4 -0
  45. package/dist/models/index.d.ts +2 -8
  46. package/dist/models/index.js +2 -8
  47. package/package.json +1 -1
  48. package/src/apis/AnalysisApi.ts +4 -4
  49. package/src/apis/FloorPlansApi.ts +13 -13
  50. package/src/models/{NodeOffset.ts → CalcAxis.ts} +43 -29
  51. package/src/models/{CalcNode.ts → CalcAxisMember.ts} +34 -26
  52. package/src/models/CalcBody.ts +8 -0
  53. package/src/models/CalcErrorBody.ts +2 -1
  54. package/src/models/CalcRes.ts +16 -23
  55. package/src/models/FloorplanBrief.ts +16 -0
  56. package/src/models/FloorplanGetBody.ts +16 -0
  57. package/src/models/FloorplanPatchParamsBody.ts +16 -0
  58. package/src/models/index.ts +2 -8
  59. package/dist/esm/models/Legend.d.ts +0 -23
  60. package/dist/esm/models/Legend.js +0 -51
  61. package/dist/esm/models/LegendList.d.ts +0 -32
  62. package/dist/esm/models/LegendList.js +0 -43
  63. package/dist/esm/models/LegendOneOf.d.ts +0 -33
  64. package/dist/esm/models/LegendOneOf.js +0 -44
  65. package/dist/esm/models/LegendOneOf1.d.ts +0 -33
  66. package/dist/esm/models/LegendOneOf1.js +0 -44
  67. package/dist/esm/models/TwoDLegendEntry.js +0 -47
  68. package/dist/esm/models/TwoDLegendList.d.ts +0 -33
  69. package/dist/esm/models/TwoDLegendList.js +0 -44
  70. package/dist/models/Legend.d.ts +0 -23
  71. package/dist/models/Legend.js +0 -57
  72. package/dist/models/LegendList.d.ts +0 -32
  73. package/dist/models/LegendList.js +0 -50
  74. package/dist/models/LegendOneOf.d.ts +0 -33
  75. package/dist/models/LegendOneOf.js +0 -51
  76. package/dist/models/LegendOneOf1.d.ts +0 -33
  77. package/dist/models/LegendOneOf1.js +0 -51
  78. package/dist/models/NodeOffset.d.ts +0 -39
  79. package/dist/models/NodeOffset.js +0 -55
  80. package/dist/models/TwoDLegendEntry.d.ts +0 -38
  81. package/dist/models/TwoDLegendList.d.ts +0 -33
  82. package/dist/models/TwoDLegendList.js +0 -51
  83. package/src/models/Legend.ts +0 -76
  84. package/src/models/LegendList.ts +0 -66
  85. package/src/models/LegendOneOf.ts +0 -74
  86. package/src/models/LegendOneOf1.ts +0 -74
  87. package/src/models/TwoDLegendEntry.ts +0 -75
  88. 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.instanceOfTwoDLegendEntry = instanceOfTwoDLegendEntry;
17
- exports.TwoDLegendEntryFromJSON = TwoDLegendEntryFromJSON;
18
- exports.TwoDLegendEntryFromJSONTyped = TwoDLegendEntryFromJSONTyped;
19
- exports.TwoDLegendEntryToJSON = TwoDLegendEntryToJSON;
20
- exports.TwoDLegendEntryToJSONTyped = TwoDLegendEntryToJSONTyped;
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
- * Check if a given object implements the TwoDLegendEntry interface.
24
+ * @export
23
25
  */
24
- function instanceOfTwoDLegendEntry(value) {
25
- if (!('list' in value) || value['list'] === undefined)
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 (!('name' in value) || value['name'] === undefined)
39
+ if (!('members' in value) || value['members'] === undefined)
28
40
  return false;
29
41
  return true;
30
42
  }
31
- function TwoDLegendEntryFromJSON(json) {
32
- return TwoDLegendEntryFromJSONTyped(json, false);
43
+ function CalcAxisFromJSON(json) {
44
+ return CalcAxisFromJSONTyped(json, false);
33
45
  }
34
- function TwoDLegendEntryFromJSONTyped(json, ignoreDiscriminator) {
46
+ function CalcAxisFromJSONTyped(json, ignoreDiscriminator) {
35
47
  if (json == null) {
36
48
  return json;
37
49
  }
38
50
  return {
39
- 'list': json['list'],
40
- 'name': json['name'],
51
+ 'dimension': json['dimension'],
52
+ 'members': (json['members'].map(CalcAxisMember_1.CalcAxisMemberFromJSON)),
41
53
  };
42
54
  }
43
- function TwoDLegendEntryToJSON(json) {
44
- return TwoDLegendEntryToJSONTyped(json, false);
55
+ function CalcAxisToJSON(json) {
56
+ return CalcAxisToJSONTyped(json, false);
45
57
  }
46
- function TwoDLegendEntryToJSONTyped(value, ignoreDiscriminator = false) {
58
+ function CalcAxisToJSONTyped(value, ignoreDiscriminator = false) {
47
59
  if (value == null) {
48
60
  return value;
49
61
  }
50
62
  return {
51
- 'list': value['list'],
52
- 'name': value['name'],
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 CalcNode
15
+ * @interface CalcAxisMember
16
16
  */
17
- export interface CalcNode {
17
+ export interface CalcAxisMember {
18
18
  /**
19
19
  *
20
- * @type {Array<CalcNode>}
21
- * @memberof CalcNode
20
+ * @type {string}
21
+ * @memberof CalcAxisMember
22
22
  */
23
- children: Array<CalcNode>;
23
+ day: string;
24
24
  /**
25
25
  *
26
- * @type {Array<number>}
27
- * @memberof CalcNode
26
+ * @type {string}
27
+ * @memberof CalcAxisMember
28
28
  */
29
- data: Array<number>;
29
+ id: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
- * @memberof CalcNode
33
+ * @memberof CalcAxisMember
34
34
  */
35
- id: string;
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 CalcNode
45
+ * @memberof CalcAxisMember
40
46
  */
41
- name: string;
47
+ scenario: string;
42
48
  }
43
49
  /**
44
- * Check if a given object implements the CalcNode interface.
50
+ * Check if a given object implements the CalcAxisMember interface.
45
51
  */
46
- export declare function instanceOfCalcNode(value: object): value is CalcNode;
47
- export declare function CalcNodeFromJSON(json: any): CalcNode;
48
- export declare function CalcNodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalcNode;
49
- export declare function CalcNodeToJSON(json: any): CalcNode;
50
- export declare function CalcNodeToJSONTyped(value?: CalcNode | null, ignoreDiscriminator?: boolean): any;
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.instanceOfCalcNode = instanceOfCalcNode;
17
- exports.CalcNodeFromJSON = CalcNodeFromJSON;
18
- exports.CalcNodeFromJSONTyped = CalcNodeFromJSONTyped;
19
- exports.CalcNodeToJSON = CalcNodeToJSON;
20
- exports.CalcNodeToJSONTyped = CalcNodeToJSONTyped;
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 CalcNode interface.
22
+ * Check if a given object implements the CalcAxisMember interface.
23
23
  */
24
- function instanceOfCalcNode(value) {
25
- if (!('children' in value) || value['children'] === undefined)
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 CalcNodeFromJSON(json) {
36
- return CalcNodeFromJSONTyped(json, false);
35
+ function CalcAxisMemberFromJSON(json) {
36
+ return CalcAxisMemberFromJSONTyped(json, false);
37
37
  }
38
- function CalcNodeFromJSONTyped(json, ignoreDiscriminator) {
38
+ function CalcAxisMemberFromJSONTyped(json, ignoreDiscriminator) {
39
39
  if (json == null) {
40
40
  return json;
41
41
  }
42
42
  return {
43
- 'children': (json['children'].map(CalcNodeFromJSON)),
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 CalcNodeToJSON(json) {
50
- return CalcNodeToJSONTyped(json, false);
50
+ function CalcAxisMemberToJSON(json) {
51
+ return CalcAxisMemberToJSONTyped(json, false);
51
52
  }
52
- function CalcNodeToJSONTyped(value, ignoreDiscriminator = false) {
53
+ function CalcAxisMemberToJSONTyped(value, ignoreDiscriminator = false) {
53
54
  if (value == null) {
54
55
  return value;
55
56
  }
56
57
  return {
57
- 'children': (value['children'].map(CalcNodeToJSON)),
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>}
@@ -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.
@@ -9,8 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Legend } from './Legend';
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 {Legend}
21
+ * @type {Array<CalcAxis>}
23
22
  * @memberof CalcRes
24
23
  */
25
- legend: Legend;
24
+ axes: Array<CalcAxis>;
26
25
  /**
27
26
  *
28
- * @type {Array<NodeOffset>}
27
+ * @type {Array<number>}
29
28
  * @memberof CalcRes
30
29
  */
31
- timeline: Array<NodeOffset>;
30
+ values: Array<number>;
32
31
  }
33
32
  /**
34
33
  * Check if a given object implements the CalcRes interface.
@@ -18,15 +18,14 @@ exports.CalcResFromJSON = CalcResFromJSON;
18
18
  exports.CalcResFromJSONTyped = CalcResFromJSONTyped;
19
19
  exports.CalcResToJSON = CalcResToJSON;
20
20
  exports.CalcResToJSONTyped = CalcResToJSONTyped;
21
- const Legend_1 = require("./Legend");
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 (!('legend' in value) || value['legend'] === undefined)
26
+ if (!('axes' in value) || value['axes'] === undefined)
28
27
  return false;
29
- if (!('timeline' in value) || value['timeline'] === undefined)
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
- 'legend': (0, Legend_1.LegendFromJSON)(json['legend']),
42
- 'timeline': (json['timeline'].map(NodeOffset_1.NodeOffsetFromJSON)),
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
- 'legend': (0, Legend_1.LegendToJSON)(value['legend']),
54
- 'timeline': (value['timeline'].map(NodeOffset_1.NodeOffsetToJSON)),
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'],
@@ -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';
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaciv/sdk",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "OpenAPI client for @spaciv/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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 resulting model. 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.
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 resulting model. 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.
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 resulting model. 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.
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 resulting model. 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.
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> {