@snaptrude/plugin-core 0.0.0-dev-20260708130115

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 (241) hide show
  1. package/AGENTS.md +227 -0
  2. package/CHANGELOG.md +119 -0
  3. package/CLAUDE.md +11 -0
  4. package/api-manifest.json +5004 -0
  5. package/dist/api/core/buildings.d.ts +427 -0
  6. package/dist/api/core/buildings.d.ts.map +1 -0
  7. package/dist/api/core/comment/index.d.ts +230 -0
  8. package/dist/api/core/comment/index.d.ts.map +1 -0
  9. package/dist/api/core/geom/create/index.d.ts +247 -0
  10. package/dist/api/core/geom/create/index.d.ts.map +1 -0
  11. package/dist/api/core/geom/delete/index.d.ts +72 -0
  12. package/dist/api/core/geom/delete/index.d.ts.map +1 -0
  13. package/dist/api/core/geom/index.d.ts +33 -0
  14. package/dist/api/core/geom/index.d.ts.map +1 -0
  15. package/dist/api/core/geom/query/arc.d.ts +169 -0
  16. package/dist/api/core/geom/query/arc.d.ts.map +1 -0
  17. package/dist/api/core/geom/query/brep.d.ts +402 -0
  18. package/dist/api/core/geom/query/brep.d.ts.map +1 -0
  19. package/dist/api/core/geom/query/circle.d.ts +378 -0
  20. package/dist/api/core/geom/query/circle.d.ts.map +1 -0
  21. package/dist/api/core/geom/query/contour.d.ts +450 -0
  22. package/dist/api/core/geom/query/contour.d.ts.map +1 -0
  23. package/dist/api/core/geom/query/curve.d.ts +918 -0
  24. package/dist/api/core/geom/query/curve.d.ts.map +1 -0
  25. package/dist/api/core/geom/query/edge.d.ts +128 -0
  26. package/dist/api/core/geom/query/edge.d.ts.map +1 -0
  27. package/dist/api/core/geom/query/face.d.ts +363 -0
  28. package/dist/api/core/geom/query/face.d.ts.map +1 -0
  29. package/dist/api/core/geom/query/halfedge.d.ts +206 -0
  30. package/dist/api/core/geom/query/halfedge.d.ts.map +1 -0
  31. package/dist/api/core/geom/query/index.d.ts +61 -0
  32. package/dist/api/core/geom/query/index.d.ts.map +1 -0
  33. package/dist/api/core/geom/query/profile.d.ts +410 -0
  34. package/dist/api/core/geom/query/profile.d.ts.map +1 -0
  35. package/dist/api/core/geom/query/vertex.d.ts +187 -0
  36. package/dist/api/core/geom/query/vertex.d.ts.map +1 -0
  37. package/dist/api/core/geom/update/contour.d.ts +272 -0
  38. package/dist/api/core/geom/update/contour.d.ts.map +1 -0
  39. package/dist/api/core/geom/update/curve.d.ts +180 -0
  40. package/dist/api/core/geom/update/curve.d.ts.map +1 -0
  41. package/dist/api/core/geom/update/index.d.ts +27 -0
  42. package/dist/api/core/geom/update/index.d.ts.map +1 -0
  43. package/dist/api/core/geom/update/profile.d.ts +329 -0
  44. package/dist/api/core/geom/update/profile.d.ts.map +1 -0
  45. package/dist/api/core/groups.d.ts +485 -0
  46. package/dist/api/core/groups.d.ts.map +1 -0
  47. package/dist/api/core/history/index.d.ts +78 -0
  48. package/dist/api/core/history/index.d.ts.map +1 -0
  49. package/dist/api/core/index.d.ts +63 -0
  50. package/dist/api/core/index.d.ts.map +1 -0
  51. package/dist/api/core/layers.d.ts +402 -0
  52. package/dist/api/core/layers.d.ts.map +1 -0
  53. package/dist/api/core/math/index.d.ts +18 -0
  54. package/dist/api/core/math/index.d.ts.map +1 -0
  55. package/dist/api/core/math/quat.d.ts +170 -0
  56. package/dist/api/core/math/quat.d.ts.map +1 -0
  57. package/dist/api/core/math/vec3.d.ts +174 -0
  58. package/dist/api/core/math/vec3.d.ts.map +1 -0
  59. package/dist/api/core/project/index.d.ts +399 -0
  60. package/dist/api/core/project/index.d.ts.map +1 -0
  61. package/dist/api/core/tags.d.ts +755 -0
  62. package/dist/api/core/tags.d.ts.map +1 -0
  63. package/dist/api/core/units/index.d.ts +175 -0
  64. package/dist/api/core/units/index.d.ts.map +1 -0
  65. package/dist/api/core/zoom/index.d.ts +45 -0
  66. package/dist/api/core/zoom/index.d.ts.map +1 -0
  67. package/dist/api/design/boolean/index.d.ts +168 -0
  68. package/dist/api/design/boolean/index.d.ts.map +1 -0
  69. package/dist/api/design/create/index.d.ts +828 -0
  70. package/dist/api/design/create/index.d.ts.map +1 -0
  71. package/dist/api/design/delete/index.d.ts +63 -0
  72. package/dist/api/design/delete/index.d.ts.map +1 -0
  73. package/dist/api/design/doors/index.d.ts +268 -0
  74. package/dist/api/design/doors/index.d.ts.map +1 -0
  75. package/dist/api/design/edit/index.d.ts +49 -0
  76. package/dist/api/design/edit/index.d.ts.map +1 -0
  77. package/dist/api/design/erase/index.d.ts +160 -0
  78. package/dist/api/design/erase/index.d.ts.map +1 -0
  79. package/dist/api/design/furniture/index.d.ts +123 -0
  80. package/dist/api/design/furniture/index.d.ts.map +1 -0
  81. package/dist/api/design/index.d.ts +153 -0
  82. package/dist/api/design/index.d.ts.map +1 -0
  83. package/dist/api/design/lock.d.ts +41 -0
  84. package/dist/api/design/lock.d.ts.map +1 -0
  85. package/dist/api/design/materials/index.d.ts +297 -0
  86. package/dist/api/design/materials/index.d.ts.map +1 -0
  87. package/dist/api/design/query/geometry/index.d.ts +140 -0
  88. package/dist/api/design/query/geometry/index.d.ts.map +1 -0
  89. package/dist/api/design/query/index.d.ts +1011 -0
  90. package/dist/api/design/query/index.d.ts.map +1 -0
  91. package/dist/api/design/query/spaces.d.ts +221 -0
  92. package/dist/api/design/query/spaces.d.ts.map +1 -0
  93. package/dist/api/design/selection/index.d.ts +138 -0
  94. package/dist/api/design/selection/index.d.ts.map +1 -0
  95. package/dist/api/design/shared.d.ts +38 -0
  96. package/dist/api/design/shared.d.ts.map +1 -0
  97. package/dist/api/design/transform/index.d.ts +87 -0
  98. package/dist/api/design/transform/index.d.ts.map +1 -0
  99. package/dist/api/design/update/index.d.ts +178 -0
  100. package/dist/api/design/update/index.d.ts.map +1 -0
  101. package/dist/api/design/windows/index.d.ts +189 -0
  102. package/dist/api/design/windows/index.d.ts.map +1 -0
  103. package/dist/api/entity/buildableEnvelope.d.ts +261 -0
  104. package/dist/api/entity/buildableEnvelope.d.ts.map +1 -0
  105. package/dist/api/entity/department.d.ts +1 -0
  106. package/dist/api/entity/department.d.ts.map +1 -0
  107. package/dist/api/entity/index.d.ts +28 -0
  108. package/dist/api/entity/index.d.ts.map +1 -0
  109. package/dist/api/entity/referenceLine.d.ts +202 -0
  110. package/dist/api/entity/referenceLine.d.ts.map +1 -0
  111. package/dist/api/entity/space.d.ts +846 -0
  112. package/dist/api/entity/space.d.ts.map +1 -0
  113. package/dist/api/entity/story.d.ts +249 -0
  114. package/dist/api/entity/story.d.ts.map +1 -0
  115. package/dist/api/index.d.ts +35 -0
  116. package/dist/api/index.d.ts.map +1 -0
  117. package/dist/api/presentation/aiInspiration.d.ts +2400 -0
  118. package/dist/api/presentation/aiInspiration.d.ts.map +1 -0
  119. package/dist/api/presentation/diagrams.d.ts +81 -0
  120. package/dist/api/presentation/diagrams.d.ts.map +1 -0
  121. package/dist/api/presentation/import.d.ts +113 -0
  122. package/dist/api/presentation/import.d.ts.map +1 -0
  123. package/dist/api/presentation/index.d.ts +45 -0
  124. package/dist/api/presentation/index.d.ts.map +1 -0
  125. package/dist/api/presentation/sheets.d.ts +176 -0
  126. package/dist/api/presentation/sheets.d.ts.map +1 -0
  127. package/dist/api/presentation/views.d.ts +296 -0
  128. package/dist/api/presentation/views.d.ts.map +1 -0
  129. package/dist/api/program/adjacency.d.ts +155 -0
  130. package/dist/api/program/adjacency.d.ts.map +1 -0
  131. package/dist/api/program/areas.d.ts +360 -0
  132. package/dist/api/program/areas.d.ts.map +1 -0
  133. package/dist/api/program/classification.d.ts +135 -0
  134. package/dist/api/program/classification.d.ts.map +1 -0
  135. package/dist/api/program/cores.d.ts +174 -0
  136. package/dist/api/program/cores.d.ts.map +1 -0
  137. package/dist/api/program/departments.d.ts +431 -0
  138. package/dist/api/program/departments.d.ts.map +1 -0
  139. package/dist/api/program/index.d.ts +69 -0
  140. package/dist/api/program/index.d.ts.map +1 -0
  141. package/dist/api/program/layout.d.ts +63 -0
  142. package/dist/api/program/layout.d.ts.map +1 -0
  143. package/dist/api/program/metrics.d.ts +108 -0
  144. package/dist/api/program/metrics.d.ts.map +1 -0
  145. package/dist/api/program/site.d.ts +367 -0
  146. package/dist/api/program/site.d.ts.map +1 -0
  147. package/dist/api/program/spreadsheet.d.ts +2041 -0
  148. package/dist/api/program/spreadsheet.d.ts.map +1 -0
  149. package/dist/handles.d.ts +138 -0
  150. package/dist/handles.d.ts.map +1 -0
  151. package/dist/host-utils.d.ts +43 -0
  152. package/dist/host-utils.d.ts.map +1 -0
  153. package/dist/index.cjs +4597 -0
  154. package/dist/index.cjs.map +1 -0
  155. package/dist/index.d.ts +5 -0
  156. package/dist/index.d.ts.map +1 -0
  157. package/dist/index.js +3870 -0
  158. package/dist/index.js.map +1 -0
  159. package/dist/types.d.ts +16 -0
  160. package/dist/types.d.ts.map +1 -0
  161. package/package.json +39 -0
  162. package/scripts/generate-manifest.mjs +193 -0
  163. package/scripts/generate-manifest.test.mjs +193 -0
  164. package/src/api/core/buildings.ts +485 -0
  165. package/src/api/core/comment/index.ts +258 -0
  166. package/src/api/core/geom/create/index.ts +293 -0
  167. package/src/api/core/geom/delete/index.ts +78 -0
  168. package/src/api/core/geom/index.ts +35 -0
  169. package/src/api/core/geom/query/arc.ts +169 -0
  170. package/src/api/core/geom/query/brep.ts +444 -0
  171. package/src/api/core/geom/query/circle.ts +404 -0
  172. package/src/api/core/geom/query/contour.ts +540 -0
  173. package/src/api/core/geom/query/curve.ts +1078 -0
  174. package/src/api/core/geom/query/edge.ts +130 -0
  175. package/src/api/core/geom/query/face.ts +403 -0
  176. package/src/api/core/geom/query/halfedge.ts +210 -0
  177. package/src/api/core/geom/query/index.ts +63 -0
  178. package/src/api/core/geom/query/profile.ts +473 -0
  179. package/src/api/core/geom/query/vertex.ts +205 -0
  180. package/src/api/core/geom/update/contour.ts +315 -0
  181. package/src/api/core/geom/update/curve.ts +209 -0
  182. package/src/api/core/geom/update/index.ts +29 -0
  183. package/src/api/core/geom/update/profile.ts +377 -0
  184. package/src/api/core/groups.ts +521 -0
  185. package/src/api/core/history/index.ts +84 -0
  186. package/src/api/core/index.ts +65 -0
  187. package/src/api/core/layers.ts +333 -0
  188. package/src/api/core/math/index.ts +20 -0
  189. package/src/api/core/math/quat.ts +172 -0
  190. package/src/api/core/math/vec3.ts +179 -0
  191. package/src/api/core/project/index.ts +418 -0
  192. package/src/api/core/tags.ts +808 -0
  193. package/src/api/core/units/index.ts +164 -0
  194. package/src/api/core/zoom/index.ts +47 -0
  195. package/src/api/design/boolean/index.ts +179 -0
  196. package/src/api/design/create/index.ts +886 -0
  197. package/src/api/design/delete/index.ts +67 -0
  198. package/src/api/design/doors/index.ts +285 -0
  199. package/src/api/design/edit/index.ts +54 -0
  200. package/src/api/design/erase/index.ts +151 -0
  201. package/src/api/design/furniture/index.ts +130 -0
  202. package/src/api/design/index.ts +162 -0
  203. package/src/api/design/lock.ts +42 -0
  204. package/src/api/design/materials/index.ts +301 -0
  205. package/src/api/design/query/geometry/index.ts +166 -0
  206. package/src/api/design/query/index.ts +937 -0
  207. package/src/api/design/query/spaces.ts +132 -0
  208. package/src/api/design/selection/index.ts +144 -0
  209. package/src/api/design/shared.ts +40 -0
  210. package/src/api/design/transform/index.ts +93 -0
  211. package/src/api/design/update/index.ts +117 -0
  212. package/src/api/design/windows/index.ts +207 -0
  213. package/src/api/entity/buildableEnvelope.ts +318 -0
  214. package/src/api/entity/department.ts +0 -0
  215. package/src/api/entity/index.ts +30 -0
  216. package/src/api/entity/referenceLine.ts +227 -0
  217. package/src/api/entity/space.ts +612 -0
  218. package/src/api/entity/story.ts +273 -0
  219. package/src/api/index.ts +37 -0
  220. package/src/api/presentation/aiInspiration.ts +1116 -0
  221. package/src/api/presentation/diagrams.ts +84 -0
  222. package/src/api/presentation/import.ts +112 -0
  223. package/src/api/presentation/index.ts +47 -0
  224. package/src/api/presentation/sheets.ts +198 -0
  225. package/src/api/presentation/views.ts +303 -0
  226. package/src/api/program/adjacency.ts +164 -0
  227. package/src/api/program/areas.ts +335 -0
  228. package/src/api/program/classification.ts +138 -0
  229. package/src/api/program/cores.ts +171 -0
  230. package/src/api/program/departments.ts +465 -0
  231. package/src/api/program/index.ts +71 -0
  232. package/src/api/program/layout.ts +68 -0
  233. package/src/api/program/metrics.ts +120 -0
  234. package/src/api/program/site.ts +326 -0
  235. package/src/api/program/spreadsheet.ts +2075 -0
  236. package/src/handles.ts +148 -0
  237. package/src/host-utils.ts +64 -0
  238. package/src/index.ts +4 -0
  239. package/src/types.ts +16 -0
  240. package/tsconfig.json +17 -0
  241. package/tsup.config.ts +12 -0
@@ -0,0 +1,846 @@
1
+ import * as z from "zod";
2
+ /**
3
+ * Arguments for `createRectangular`.
4
+ *
5
+ * | Property | Type | Description |
6
+ * |---|---|---|
7
+ * | `position` | {@linkcode Vec3Handle} | Origin position in Babylon units |
8
+ * | `dimensions` | `{ width, height, depth }` | Box dimensions in Babylon units |
9
+ */
10
+ export declare const PluginSpaceCreateRectangularArgs: z.ZodObject<{
11
+ position: z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
12
+ dimensions: z.ZodObject<{
13
+ width: z.ZodNumber;
14
+ height: z.ZodNumber;
15
+ depth: z.ZodNumber;
16
+ }, z.core.$strip>;
17
+ }, z.core.$strip>;
18
+ export type PluginSpaceCreateRectangularArgs = z.infer<typeof PluginSpaceCreateRectangularArgs>;
19
+ /**
20
+ * Result of `createRectangular`.
21
+ *
22
+ * | Property | Type | Description |
23
+ * |---|---|---|
24
+ * | `spaceId` | `string` | Unique ID of the created space |
25
+ */
26
+ export declare const PluginSpaceCreateRectangularResult: z.ZodObject<{
27
+ spaceId: z.ZodString;
28
+ }, z.core.$strip>;
29
+ export type PluginSpaceCreateRectangularResult = z.infer<typeof PluginSpaceCreateRectangularResult>;
30
+ /**
31
+ * Arguments for `createFromProfile`.
32
+ *
33
+ * | Property | Type | Description |
34
+ * |---|---|---|
35
+ * | `profile` | {@linkcode ProfileHandle} | Handle to a closed 2D profile (the outer floor shape) |
36
+ * | `innerProfiles` | {@linkcode ProfileHandle}`[]` | Optional profile handles to subtract as holes |
37
+ * | `extrudeHeight` | `number` | Extrusion height in Babylon units |
38
+ * | `position` | {@linkcode Vec3Handle} | Offset position in Babylon units |
39
+ */
40
+ export declare const PluginSpaceCreateFromProfileArgs: z.ZodObject<{
41
+ profile: z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"profile">, string>>;
42
+ innerProfiles: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"profile">, string>>>>;
43
+ extrudeHeight: z.ZodNumber;
44
+ position: z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
45
+ }, z.core.$strip>;
46
+ export type PluginSpaceCreateFromProfileArgs = z.infer<typeof PluginSpaceCreateFromProfileArgs>;
47
+ /**
48
+ * Result of `createFromProfile`.
49
+ *
50
+ * | Property | Type | Description |
51
+ * |---|---|---|
52
+ * | `spaceId` | `string` | Unique ID of the created space |
53
+ */
54
+ export declare const PluginSpaceCreateFromProfileResult: z.ZodObject<{
55
+ spaceId: z.ZodString;
56
+ }, z.core.$strip>;
57
+ export type PluginSpaceCreateFromProfileResult = z.infer<typeof PluginSpaceCreateFromProfileResult>;
58
+ /**
59
+ * Arguments for `updateGeometryFromProfile`.
60
+ *
61
+ * | Property | Type | Description |
62
+ * |---|---|---|
63
+ * | `spaceId` | `string` | Space to update |
64
+ * | `profile` | {@linkcode ProfileHandle} | Handle to the closed 2D profile defining the new floor shape |
65
+ * | `extrudeHeight` | `number` | New extrusion height in Babylon units |
66
+ */
67
+ export declare const PluginSpaceUpdateGeometryFromProfileArgs: z.ZodObject<{
68
+ spaceId: z.ZodString;
69
+ profile: z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"profile">, string>>;
70
+ extrudeHeight: z.ZodNumber;
71
+ }, z.core.$strip>;
72
+ export type PluginSpaceUpdateGeometryFromProfileArgs = z.infer<typeof PluginSpaceUpdateGeometryFromProfileArgs>;
73
+ /**
74
+ * Result of `updateGeometryFromProfile`.
75
+ *
76
+ * | Property | Type | Description |
77
+ * |---|---|---|
78
+ * | `spaceId` | `string` | Unique ID of the updated space |
79
+ */
80
+ export declare const PluginSpaceUpdateGeometryFromProfileResult: z.ZodObject<{
81
+ spaceId: z.ZodString;
82
+ }, z.core.$strip>;
83
+ export type PluginSpaceUpdateGeometryFromProfileResult = z.infer<typeof PluginSpaceUpdateGeometryFromProfileResult>;
84
+ /**
85
+ * Available properties that can be queried on a space.
86
+ *
87
+ * **Basic:**
88
+ * | Value | Return Type | Description |
89
+ * |---|---|---|
90
+ * | `"id"` | `string` | Unique space identifier |
91
+ * | `"type"` | `string` | Component type |
92
+ * | `"room_type"` | `string` | Room type classification |
93
+ * | `"name"` | `string` | Display name of the space |
94
+ *
95
+ * **Derived from parametric data:**
96
+ * | Value | Return Type | Description |
97
+ * |---|---|---|
98
+ * | `"area"` | `number` | Bottom face area (from `areas_bottomFace`) |
99
+ * | `"breadth"` | `number` | Breadth dimension |
100
+ * | `"depth"` | `number` | Depth dimension |
101
+ * | `"height"` | `number` | Height dimension |
102
+ * | `"massType"` | `string \| null` | Mass type classification |
103
+ * | `"spaceType"` | `string \| null` | Space type classification (Room, Balcony, etc.) |
104
+ * | `"storey"` | `number \| null` | Story the space belongs to |
105
+ * | `"departmentId"` | `string \| null` | Assigned department ID |
106
+ * | `"departmentName"` | `string` | Assigned department name |
107
+ * | `"departmentColor"` | `string` | Assigned department color (hex/CSS) |
108
+ *
109
+ * **Derived from mesh:**
110
+ * | Value | Return Type | Description |
111
+ * |---|---|---|
112
+ * | `"position"` | {@linkcode Vec3Components} | Local position relative to parent |
113
+ * | `"absolutePosition"` | {@linkcode Vec3Components} | Absolute position in the scene |
114
+ * | `"rotation"` | {@linkcode Vec3Components} | Euler rotation angles (radians) |
115
+ * | `"rotationQuaternion"` | {@linkcode QuatComponents} \| `null` | Quaternion rotation, or `null` if unset |
116
+ *
117
+ * **Derived from brep:**
118
+ * | Value | Return Type | Description |
119
+ * |---|---|---|
120
+ * | `"planPoints"` | {@linkcode Vec3Components}`[]` | Bottom outer profile points in world space with `y = 0` (2D plan). No closing duplicate point. |
121
+ * | `"profile"` | {@linkcode CurveHandle}`[]` | Bottom outer profile curves in world space, as opaque curve handles. Read coordinates via the `core.geom.curve` read API. |
122
+ * | `"innerProfiles"` | {@linkcode CurveHandle}`[][]` | Inner (hole) profile curve loops in world space — one loop per hole, `[]` when the space has none. Each curve is an opaque handle. |
123
+ * | `"innerPlanPoints"` | {@linkcode Vec3Components}`[][]` | Inner (hole) profile points in world space with `y = 0` — one loop per hole, no closing duplicate, `[]` when none. |
124
+ *
125
+ * **Derived from adjacency manager:**
126
+ * | Value | Return Type | Description |
127
+ * |---|---|---|
128
+ * | `"adjacency"` | `{ spaceId: string; value: number }[]` | Adjacency relationships to other spaces. `value`: `2` = Direct (required), `1` = Indirect or physical contact, `-1` = Restricted; `0` (no relationship) entries are filtered out. Empty when adjacency has never been computed — see `program.adjacency.compute`. |
129
+ */
130
+ export declare const PluginSpaceGetProperty: z.ZodEnum<{
131
+ profile: "profile";
132
+ type: "type";
133
+ position: "position";
134
+ id: "id";
135
+ name: "name";
136
+ height: "height";
137
+ depth: "depth";
138
+ innerProfiles: "innerProfiles";
139
+ room_type: "room_type";
140
+ area: "area";
141
+ breadth: "breadth";
142
+ massType: "massType";
143
+ spaceType: "spaceType";
144
+ areaClass: "areaClass";
145
+ storey: "storey";
146
+ departmentId: "departmentId";
147
+ departmentName: "departmentName";
148
+ departmentColor: "departmentColor";
149
+ absolutePosition: "absolutePosition";
150
+ rotation: "rotation";
151
+ rotationQuaternion: "rotationQuaternion";
152
+ planPoints: "planPoints";
153
+ innerPlanPoints: "innerPlanPoints";
154
+ adjacency: "adjacency";
155
+ }>;
156
+ /**
157
+ * Arguments for `get`.
158
+ *
159
+ * | Property | Type | Description |
160
+ * |---|---|---|
161
+ * | `spaceId` | `string` | The space ID to query |
162
+ * | `properties` | {@linkcode PluginSpaceGetProperty}`[]` | Properties to retrieve |
163
+ */
164
+ export declare const PluginSpaceGetArgs: z.ZodObject<{
165
+ spaceId: z.ZodString;
166
+ properties: z.ZodArray<z.ZodEnum<{
167
+ profile: "profile";
168
+ type: "type";
169
+ position: "position";
170
+ id: "id";
171
+ name: "name";
172
+ height: "height";
173
+ depth: "depth";
174
+ innerProfiles: "innerProfiles";
175
+ room_type: "room_type";
176
+ area: "area";
177
+ breadth: "breadth";
178
+ massType: "massType";
179
+ spaceType: "spaceType";
180
+ areaClass: "areaClass";
181
+ storey: "storey";
182
+ departmentId: "departmentId";
183
+ departmentName: "departmentName";
184
+ departmentColor: "departmentColor";
185
+ absolutePosition: "absolutePosition";
186
+ rotation: "rotation";
187
+ rotationQuaternion: "rotationQuaternion";
188
+ planPoints: "planPoints";
189
+ innerPlanPoints: "innerPlanPoints";
190
+ adjacency: "adjacency";
191
+ }>>;
192
+ }, z.core.$strip>;
193
+ export type PluginSpaceGetArgs = z.infer<typeof PluginSpaceGetArgs>;
194
+ /**
195
+ * Supported space type values.
196
+ *
197
+ * Mirrors the internal `SpaceType` enum from `spaceType.types.ts`.
198
+ *
199
+ * | Value | Description |
200
+ * |---|---|
201
+ * | `"Room"` | Standard room |
202
+ * | `"Program Block"` | Program/department block |
203
+ * | `"Balcony"` | Balcony space |
204
+ * | `"Road"` | Road |
205
+ * | `"Garden"` | Garden area |
206
+ * | `"Deck"` | Deck |
207
+ * | `"Pool"` | Pool |
208
+ * | `"Walkway"` | Walkway |
209
+ * | `"Envelope"` | Envelope |
210
+ * | `"Parking"` | Parking area |
211
+ */
212
+ export declare const PluginSpaceType: z.ZodEnum<{
213
+ Room: "Room";
214
+ "Program Block": "Program Block";
215
+ Balcony: "Balcony";
216
+ Road: "Road";
217
+ Garden: "Garden";
218
+ Deck: "Deck";
219
+ Pool: "Pool";
220
+ Walkway: "Walkway";
221
+ Envelope: "Envelope";
222
+ Parking: "Parking";
223
+ }>;
224
+ /** The space-type value union (same-name type alias for positional signatures). */
225
+ export type PluginSpaceType = z.infer<typeof PluginSpaceType>;
226
+ /**
227
+ * Area-class classification of a space (mirrors the internal `AreaClass` enum).
228
+ *
229
+ * | Value | Description |
230
+ * |---|---|
231
+ * | `"NET"` | Net (usable) area |
232
+ * | `"GROSS"` | Gross area |
233
+ * | `"EXCLUDED"` | Excluded from area totals |
234
+ */
235
+ export declare const PluginAreaClass: z.ZodEnum<{
236
+ NET: "NET";
237
+ GROSS: "GROSS";
238
+ EXCLUDED: "EXCLUDED";
239
+ }>;
240
+ /**
241
+ * Result of `get`.
242
+ *
243
+ * A partial object — only the properties that were requested in
244
+ * {@linkcode PluginSpaceGetArgs.properties} will be present.
245
+ */
246
+ export declare const PluginSpaceGetResult: z.ZodObject<{
247
+ id: z.ZodOptional<z.ZodString>;
248
+ type: z.ZodOptional<z.ZodString>;
249
+ room_type: z.ZodOptional<z.ZodString>;
250
+ name: z.ZodOptional<z.ZodString>;
251
+ area: z.ZodOptional<z.ZodNumber>;
252
+ breadth: z.ZodOptional<z.ZodNumber>;
253
+ depth: z.ZodOptional<z.ZodNumber>;
254
+ height: z.ZodOptional<z.ZodNumber>;
255
+ massType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
256
+ spaceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
257
+ Room: "Room";
258
+ "Program Block": "Program Block";
259
+ Balcony: "Balcony";
260
+ Road: "Road";
261
+ Garden: "Garden";
262
+ Deck: "Deck";
263
+ Pool: "Pool";
264
+ Walkway: "Walkway";
265
+ Envelope: "Envelope";
266
+ Parking: "Parking";
267
+ }>>>;
268
+ areaClass: z.ZodOptional<z.ZodEnum<{
269
+ NET: "NET";
270
+ GROSS: "GROSS";
271
+ EXCLUDED: "EXCLUDED";
272
+ }>>;
273
+ storey: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
274
+ departmentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
+ departmentName: z.ZodOptional<z.ZodString>;
276
+ departmentColor: z.ZodOptional<z.ZodString>;
277
+ position: z.ZodOptional<z.ZodObject<{
278
+ x: z.ZodNumber;
279
+ y: z.ZodNumber;
280
+ z: z.ZodNumber;
281
+ }, z.core.$strip>>;
282
+ absolutePosition: z.ZodOptional<z.ZodObject<{
283
+ x: z.ZodNumber;
284
+ y: z.ZodNumber;
285
+ z: z.ZodNumber;
286
+ }, z.core.$strip>>;
287
+ rotation: z.ZodOptional<z.ZodObject<{
288
+ x: z.ZodNumber;
289
+ y: z.ZodNumber;
290
+ z: z.ZodNumber;
291
+ }, z.core.$strip>>;
292
+ rotationQuaternion: z.ZodOptional<z.ZodNullable<z.ZodObject<{
293
+ x: z.ZodNumber;
294
+ y: z.ZodNumber;
295
+ z: z.ZodNumber;
296
+ w: z.ZodNumber;
297
+ }, z.core.$strip>>>;
298
+ planPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
299
+ x: z.ZodNumber;
300
+ y: z.ZodNumber;
301
+ z: z.ZodNumber;
302
+ }, z.core.$strip>>>;
303
+ profile: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"arc">, string>>]>>>;
304
+ innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"arc">, string>>]>>>>;
305
+ innerPlanPoints: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
306
+ x: z.ZodNumber;
307
+ y: z.ZodNumber;
308
+ z: z.ZodNumber;
309
+ }, z.core.$strip>>>>;
310
+ adjacency: z.ZodOptional<z.ZodArray<z.ZodObject<{
311
+ spaceId: z.ZodString;
312
+ value: z.ZodNumber;
313
+ }, z.core.$strip>>>;
314
+ }, z.core.$strip>;
315
+ export type PluginSpaceGetResult = z.infer<typeof PluginSpaceGetResult>;
316
+ /**
317
+ * Result of `getAll`.
318
+ *
319
+ * | Property | Type | Description |
320
+ * |---|---|---|
321
+ * | `spacesIds` | `string[]` | IDs of all spaces in the project |
322
+ */
323
+ export declare const PluginSpaceGetAllResult: z.ZodObject<{
324
+ spacesIds: z.ZodArray<z.ZodString>;
325
+ }, z.core.$strip>;
326
+ export type PluginSpaceGetAllResult = z.infer<typeof PluginSpaceGetAllResult>;
327
+ /**
328
+ * Arguments for `delete`.
329
+ *
330
+ * | Property | Type | Description |
331
+ * |---|---|---|
332
+ * | `spaceId` | `string` | The space ID to delete |
333
+ */
334
+ export declare const PluginSpaceDeleteArgs: z.ZodObject<{
335
+ spaceId: z.ZodString;
336
+ }, z.core.$strip>;
337
+ export type PluginSpaceDeleteArgs = z.infer<typeof PluginSpaceDeleteArgs>;
338
+ /** Result type for `delete` — returns nothing on success. */
339
+ export type PluginSpaceDeleteResult = void;
340
+ /**
341
+ * Supported mass type values for {@linkcode PluginSpaceUpdateArgs.properties.massType}.
342
+ *
343
+ * Mirrors the internal `MASS_TYPES` enum.
344
+ *
345
+ * | Value | Description |
346
+ * |---|---|
347
+ * | `"Plinth"` | Plinth mass |
348
+ * | `"Void"` | Void/cut-out |
349
+ * | `"Pergola"` | Pergola structure |
350
+ * | `"Furniture"` | Furniture element |
351
+ * | `"Facade element"` | Facade element |
352
+ * | `"Generic mass"` | Generic mass |
353
+ * | `"Room"` | Room (default for spaces) |
354
+ * | `"Department"` | Department block |
355
+ * | `"Building"` | Building envelope |
356
+ * | `"Revit Import"` | Imported from Revit |
357
+ * | `"Mass"` | Generic mass type |
358
+ * | `"Site"` | Site object |
359
+ */
360
+ export declare const PluginMassType: z.ZodEnum<{
361
+ Room: "Room";
362
+ Plinth: "Plinth";
363
+ Void: "Void";
364
+ Pergola: "Pergola";
365
+ Furniture: "Furniture";
366
+ "Facade element": "Facade element";
367
+ "Generic mass": "Generic mass";
368
+ Department: "Department";
369
+ Building: "Building";
370
+ "Revit Import": "Revit Import";
371
+ Mass: "Mass";
372
+ Site: "Site";
373
+ }>;
374
+ /** The mass-type value union (same-name type alias for positional signatures). */
375
+ export type PluginMassType = z.infer<typeof PluginMassType>;
376
+ /**
377
+ * Well-known (built-in) department IDs.
378
+ *
379
+ * | Value | Department |
380
+ * |---|---|
381
+ * | `"DEFAULT"` | Default department |
382
+ * | `"SITE"` | Site department |
383
+ * | `"ENVELOPE"` | Envelope department |
384
+ * | `"CORE"` | Core department |
385
+ */
386
+ export declare const PluginWellKnownDepartmentId: z.ZodEnum<{
387
+ DEFAULT: "DEFAULT";
388
+ SITE: "SITE";
389
+ ENVELOPE: "ENVELOPE";
390
+ CORE: "CORE";
391
+ }>;
392
+ /**
393
+ * Accepted department ID values — either a {@linkcode PluginWellKnownDepartmentId}
394
+ * or a UUID string for custom (user-created) departments.
395
+ */
396
+ export declare const PluginDepartmentId: z.ZodUnion<readonly [z.ZodEnum<{
397
+ DEFAULT: "DEFAULT";
398
+ SITE: "SITE";
399
+ ENVELOPE: "ENVELOPE";
400
+ CORE: "CORE";
401
+ }>, z.ZodUUID]>;
402
+ /** The department-id value union (same-name type alias for positional signatures). */
403
+ export type PluginDepartmentId = z.infer<typeof PluginDepartmentId>;
404
+ /**
405
+ * Arguments for `update`.
406
+ *
407
+ * | Property | Type | Description |
408
+ * |---|---|---|
409
+ * | `spaceId` | `string` | The space ID to update |
410
+ * | `properties` | `object` | Key/value pairs of properties to update (all optional) |
411
+ * | `properties.room_type` | `string?` | New room type label |
412
+ * | `properties.massType` | {@linkcode PluginMassType}`?` | New mass type |
413
+ * | `properties.departmentId` | {@linkcode PluginDepartmentId}`?` | New department ID |
414
+ */
415
+ export declare const PluginSpaceUpdateArgs: z.ZodObject<{
416
+ spaceId: z.ZodString;
417
+ properties: z.ZodObject<{
418
+ room_type: z.ZodOptional<z.ZodString>;
419
+ massType: z.ZodOptional<z.ZodEnum<{
420
+ Room: "Room";
421
+ Plinth: "Plinth";
422
+ Void: "Void";
423
+ Pergola: "Pergola";
424
+ Furniture: "Furniture";
425
+ "Facade element": "Facade element";
426
+ "Generic mass": "Generic mass";
427
+ Department: "Department";
428
+ Building: "Building";
429
+ "Revit Import": "Revit Import";
430
+ Mass: "Mass";
431
+ Site: "Site";
432
+ }>>;
433
+ spaceType: z.ZodOptional<z.ZodEnum<{
434
+ Room: "Room";
435
+ "Program Block": "Program Block";
436
+ Balcony: "Balcony";
437
+ Road: "Road";
438
+ Garden: "Garden";
439
+ Deck: "Deck";
440
+ Pool: "Pool";
441
+ Walkway: "Walkway";
442
+ Envelope: "Envelope";
443
+ Parking: "Parking";
444
+ }>>;
445
+ areaClass: z.ZodOptional<z.ZodEnum<{
446
+ NET: "NET";
447
+ GROSS: "GROSS";
448
+ EXCLUDED: "EXCLUDED";
449
+ }>>;
450
+ departmentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
451
+ DEFAULT: "DEFAULT";
452
+ SITE: "SITE";
453
+ ENVELOPE: "ENVELOPE";
454
+ CORE: "CORE";
455
+ }>, z.ZodUUID]>>;
456
+ }, z.core.$strip>;
457
+ }, z.core.$strip>;
458
+ export type PluginSpaceUpdateArgs = z.infer<typeof PluginSpaceUpdateArgs>;
459
+ /**
460
+ * Result of `update`.
461
+ *
462
+ * Echoes back the `spaceId` and the values of properties that were updated.
463
+ * Properties that were not included in the update request will be `undefined`.
464
+ *
465
+ * | Property | Type | Description |
466
+ * |---|---|---|
467
+ * | `spaceId` | `string` | The space ID that was updated |
468
+ * | `room_type` | `string?` | Updated room type (if changed) |
469
+ * | `massType` | `string?` | Updated mass type (if changed) |
470
+ * | `spaceType` | `string?` | Updated space type (if changed) |
471
+ * | `departmentId` | `string \| null?` | Updated department ID (if changed) |
472
+ */
473
+ export declare const PluginSpaceUpdateResult: z.ZodObject<{
474
+ spaceId: z.ZodString;
475
+ room_type: z.ZodOptional<z.ZodString>;
476
+ massType: z.ZodOptional<z.ZodString>;
477
+ spaceType: z.ZodOptional<z.ZodString>;
478
+ areaClass: z.ZodOptional<z.ZodEnum<{
479
+ NET: "NET";
480
+ GROSS: "GROSS";
481
+ EXCLUDED: "EXCLUDED";
482
+ }>>;
483
+ departmentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
484
+ }, z.core.$strip>;
485
+ export type PluginSpaceUpdateResult = z.infer<typeof PluginSpaceUpdateResult>;
486
+ /**
487
+ * A single item for `bulkCreate`.
488
+ *
489
+ * Discriminated on `kind`:
490
+ * - `"rectangular"` — a box defined by `position` + `dimensions` (mirrors
491
+ * {@linkcode PluginSpaceCreateRectangularArgs})
492
+ * - `"profile"` — an extruded `profile` (with optional `innerProfiles`) by
493
+ * `extrudeHeight` at `position` (mirrors {@linkcode PluginSpaceCreateFromProfileArgs})
494
+ *
495
+ * Every item may optionally set `room_type`, `spaceType`, `massType`, and
496
+ * `departmentId`; these are applied within the same single undo step as the
497
+ * creation.
498
+ */
499
+ export declare const PluginSpaceBulkCreateItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
500
+ kind: z.ZodLiteral<"rectangular">;
501
+ position: z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
502
+ dimensions: z.ZodObject<{
503
+ width: z.ZodNumber;
504
+ height: z.ZodNumber;
505
+ depth: z.ZodNumber;
506
+ }, z.core.$strip>;
507
+ room_type: z.ZodOptional<z.ZodString>;
508
+ spaceType: z.ZodOptional<z.ZodEnum<{
509
+ Room: "Room";
510
+ "Program Block": "Program Block";
511
+ Balcony: "Balcony";
512
+ Road: "Road";
513
+ Garden: "Garden";
514
+ Deck: "Deck";
515
+ Pool: "Pool";
516
+ Walkway: "Walkway";
517
+ Envelope: "Envelope";
518
+ Parking: "Parking";
519
+ }>>;
520
+ massType: z.ZodOptional<z.ZodEnum<{
521
+ Room: "Room";
522
+ Plinth: "Plinth";
523
+ Void: "Void";
524
+ Pergola: "Pergola";
525
+ Furniture: "Furniture";
526
+ "Facade element": "Facade element";
527
+ "Generic mass": "Generic mass";
528
+ Department: "Department";
529
+ Building: "Building";
530
+ "Revit Import": "Revit Import";
531
+ Mass: "Mass";
532
+ Site: "Site";
533
+ }>>;
534
+ departmentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
535
+ DEFAULT: "DEFAULT";
536
+ SITE: "SITE";
537
+ ENVELOPE: "ENVELOPE";
538
+ CORE: "CORE";
539
+ }>, z.ZodUUID]>>;
540
+ }, z.core.$strip>, z.ZodObject<{
541
+ kind: z.ZodLiteral<"profile">;
542
+ profile: z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"profile">, string>>;
543
+ innerProfiles: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"profile">, string>>>>;
544
+ extrudeHeight: z.ZodNumber;
545
+ position: z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
546
+ room_type: z.ZodOptional<z.ZodString>;
547
+ spaceType: z.ZodOptional<z.ZodEnum<{
548
+ Room: "Room";
549
+ "Program Block": "Program Block";
550
+ Balcony: "Balcony";
551
+ Road: "Road";
552
+ Garden: "Garden";
553
+ Deck: "Deck";
554
+ Pool: "Pool";
555
+ Walkway: "Walkway";
556
+ Envelope: "Envelope";
557
+ Parking: "Parking";
558
+ }>>;
559
+ massType: z.ZodOptional<z.ZodEnum<{
560
+ Room: "Room";
561
+ Plinth: "Plinth";
562
+ Void: "Void";
563
+ Pergola: "Pergola";
564
+ Furniture: "Furniture";
565
+ "Facade element": "Facade element";
566
+ "Generic mass": "Generic mass";
567
+ Department: "Department";
568
+ Building: "Building";
569
+ "Revit Import": "Revit Import";
570
+ Mass: "Mass";
571
+ Site: "Site";
572
+ }>>;
573
+ departmentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
574
+ DEFAULT: "DEFAULT";
575
+ SITE: "SITE";
576
+ ENVELOPE: "ENVELOPE";
577
+ CORE: "CORE";
578
+ }>, z.ZodUUID]>>;
579
+ }, z.core.$strip>], "kind">;
580
+ export type PluginSpaceBulkCreateItem = z.infer<typeof PluginSpaceBulkCreateItem>;
581
+ /**
582
+ * Arguments for `bulkCreate`.
583
+ *
584
+ * | Property | Type | Description |
585
+ * |---|---|---|
586
+ * | `items` | {@linkcode PluginSpaceBulkCreateItem}`[]` | Spaces to create |
587
+ */
588
+ export declare const PluginSpaceBulkCreateArgs: z.ZodObject<{
589
+ items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
590
+ kind: z.ZodLiteral<"rectangular">;
591
+ position: z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
592
+ dimensions: z.ZodObject<{
593
+ width: z.ZodNumber;
594
+ height: z.ZodNumber;
595
+ depth: z.ZodNumber;
596
+ }, z.core.$strip>;
597
+ room_type: z.ZodOptional<z.ZodString>;
598
+ spaceType: z.ZodOptional<z.ZodEnum<{
599
+ Room: "Room";
600
+ "Program Block": "Program Block";
601
+ Balcony: "Balcony";
602
+ Road: "Road";
603
+ Garden: "Garden";
604
+ Deck: "Deck";
605
+ Pool: "Pool";
606
+ Walkway: "Walkway";
607
+ Envelope: "Envelope";
608
+ Parking: "Parking";
609
+ }>>;
610
+ massType: z.ZodOptional<z.ZodEnum<{
611
+ Room: "Room";
612
+ Plinth: "Plinth";
613
+ Void: "Void";
614
+ Pergola: "Pergola";
615
+ Furniture: "Furniture";
616
+ "Facade element": "Facade element";
617
+ "Generic mass": "Generic mass";
618
+ Department: "Department";
619
+ Building: "Building";
620
+ "Revit Import": "Revit Import";
621
+ Mass: "Mass";
622
+ Site: "Site";
623
+ }>>;
624
+ departmentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
625
+ DEFAULT: "DEFAULT";
626
+ SITE: "SITE";
627
+ ENVELOPE: "ENVELOPE";
628
+ CORE: "CORE";
629
+ }>, z.ZodUUID]>>;
630
+ }, z.core.$strip>, z.ZodObject<{
631
+ kind: z.ZodLiteral<"profile">;
632
+ profile: z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"profile">, string>>;
633
+ innerProfiles: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"profile">, string>>>>;
634
+ extrudeHeight: z.ZodNumber;
635
+ position: z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
636
+ room_type: z.ZodOptional<z.ZodString>;
637
+ spaceType: z.ZodOptional<z.ZodEnum<{
638
+ Room: "Room";
639
+ "Program Block": "Program Block";
640
+ Balcony: "Balcony";
641
+ Road: "Road";
642
+ Garden: "Garden";
643
+ Deck: "Deck";
644
+ Pool: "Pool";
645
+ Walkway: "Walkway";
646
+ Envelope: "Envelope";
647
+ Parking: "Parking";
648
+ }>>;
649
+ massType: z.ZodOptional<z.ZodEnum<{
650
+ Room: "Room";
651
+ Plinth: "Plinth";
652
+ Void: "Void";
653
+ Pergola: "Pergola";
654
+ Furniture: "Furniture";
655
+ "Facade element": "Facade element";
656
+ "Generic mass": "Generic mass";
657
+ Department: "Department";
658
+ Building: "Building";
659
+ "Revit Import": "Revit Import";
660
+ Mass: "Mass";
661
+ Site: "Site";
662
+ }>>;
663
+ departmentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
664
+ DEFAULT: "DEFAULT";
665
+ SITE: "SITE";
666
+ ENVELOPE: "ENVELOPE";
667
+ CORE: "CORE";
668
+ }>, z.ZodUUID]>>;
669
+ }, z.core.$strip>], "kind">>;
670
+ }, z.core.$strip>;
671
+ export type PluginSpaceBulkCreateArgs = z.infer<typeof PluginSpaceBulkCreateArgs>;
672
+ /**
673
+ * Result of `bulkCreate`.
674
+ *
675
+ * | Property | Type | Description |
676
+ * |---|---|---|
677
+ * | `spaceIds` | `string[]` | IDs of the created spaces, in input order |
678
+ */
679
+ export declare const PluginSpaceBulkCreateResult: z.ZodObject<{
680
+ spaceIds: z.ZodArray<z.ZodString>;
681
+ }, z.core.$strip>;
682
+ export type PluginSpaceBulkCreateResult = z.infer<typeof PluginSpaceBulkCreateResult>;
683
+ /**
684
+ * A single item for `bulkUpdate`.
685
+ *
686
+ * Targets an existing space by `spaceId`. Geometry fields `profile` and
687
+ * `extrudeHeight` must be supplied **together** (mirrors
688
+ * {@linkcode PluginSpaceUpdateGeometryFromProfileArgs}). Property changes are
689
+ * nested under `properties`, mirroring {@linkcode PluginSpaceUpdateArgs}.
690
+ *
691
+ * | Property | Type | Description |
692
+ * |---|---|---|
693
+ * | `spaceId` | `string` | The space to update |
694
+ * | `profile` | {@linkcode ProfileHandle}`?` | New floor shape handle (requires `extrudeHeight`) |
695
+ * | `extrudeHeight` | `number?` | New extrusion height (requires `profile`) |
696
+ * | `properties` | `object?` | Property changes (same shape as {@linkcode PluginSpaceUpdateArgs.properties}) |
697
+ */
698
+ export declare const PluginSpaceBulkUpdateItem: z.ZodObject<{
699
+ spaceId: z.ZodString;
700
+ profile: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"profile">, string>>>;
701
+ extrudeHeight: z.ZodOptional<z.ZodNumber>;
702
+ properties: z.ZodOptional<z.ZodObject<{
703
+ room_type: z.ZodOptional<z.ZodString>;
704
+ massType: z.ZodOptional<z.ZodEnum<{
705
+ Room: "Room";
706
+ Plinth: "Plinth";
707
+ Void: "Void";
708
+ Pergola: "Pergola";
709
+ Furniture: "Furniture";
710
+ "Facade element": "Facade element";
711
+ "Generic mass": "Generic mass";
712
+ Department: "Department";
713
+ Building: "Building";
714
+ "Revit Import": "Revit Import";
715
+ Mass: "Mass";
716
+ Site: "Site";
717
+ }>>;
718
+ spaceType: z.ZodOptional<z.ZodEnum<{
719
+ Room: "Room";
720
+ "Program Block": "Program Block";
721
+ Balcony: "Balcony";
722
+ Road: "Road";
723
+ Garden: "Garden";
724
+ Deck: "Deck";
725
+ Pool: "Pool";
726
+ Walkway: "Walkway";
727
+ Envelope: "Envelope";
728
+ Parking: "Parking";
729
+ }>>;
730
+ areaClass: z.ZodOptional<z.ZodEnum<{
731
+ NET: "NET";
732
+ GROSS: "GROSS";
733
+ EXCLUDED: "EXCLUDED";
734
+ }>>;
735
+ departmentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
736
+ DEFAULT: "DEFAULT";
737
+ SITE: "SITE";
738
+ ENVELOPE: "ENVELOPE";
739
+ CORE: "CORE";
740
+ }>, z.ZodUUID]>>;
741
+ }, z.core.$strip>>;
742
+ }, z.core.$strip>;
743
+ export type PluginSpaceBulkUpdateItem = z.infer<typeof PluginSpaceBulkUpdateItem>;
744
+ /**
745
+ * Arguments for `bulkUpdate`.
746
+ *
747
+ * | Property | Type | Description |
748
+ * |---|---|---|
749
+ * | `items` | {@linkcode PluginSpaceBulkUpdateItem}`[]` | Spaces to update |
750
+ */
751
+ export declare const PluginSpaceBulkUpdateArgs: z.ZodObject<{
752
+ items: z.ZodArray<z.ZodObject<{
753
+ spaceId: z.ZodString;
754
+ profile: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../..").Handle<"profile">, string>>>;
755
+ extrudeHeight: z.ZodOptional<z.ZodNumber>;
756
+ properties: z.ZodOptional<z.ZodObject<{
757
+ room_type: z.ZodOptional<z.ZodString>;
758
+ massType: z.ZodOptional<z.ZodEnum<{
759
+ Room: "Room";
760
+ Plinth: "Plinth";
761
+ Void: "Void";
762
+ Pergola: "Pergola";
763
+ Furniture: "Furniture";
764
+ "Facade element": "Facade element";
765
+ "Generic mass": "Generic mass";
766
+ Department: "Department";
767
+ Building: "Building";
768
+ "Revit Import": "Revit Import";
769
+ Mass: "Mass";
770
+ Site: "Site";
771
+ }>>;
772
+ spaceType: z.ZodOptional<z.ZodEnum<{
773
+ Room: "Room";
774
+ "Program Block": "Program Block";
775
+ Balcony: "Balcony";
776
+ Road: "Road";
777
+ Garden: "Garden";
778
+ Deck: "Deck";
779
+ Pool: "Pool";
780
+ Walkway: "Walkway";
781
+ Envelope: "Envelope";
782
+ Parking: "Parking";
783
+ }>>;
784
+ areaClass: z.ZodOptional<z.ZodEnum<{
785
+ NET: "NET";
786
+ GROSS: "GROSS";
787
+ EXCLUDED: "EXCLUDED";
788
+ }>>;
789
+ departmentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
790
+ DEFAULT: "DEFAULT";
791
+ SITE: "SITE";
792
+ ENVELOPE: "ENVELOPE";
793
+ CORE: "CORE";
794
+ }>, z.ZodUUID]>>;
795
+ }, z.core.$strip>>;
796
+ }, z.core.$strip>>;
797
+ }, z.core.$strip>;
798
+ export type PluginSpaceBulkUpdateArgs = z.infer<typeof PluginSpaceBulkUpdateArgs>;
799
+ /**
800
+ * Result of `bulkUpdate`.
801
+ *
802
+ * Echoes one {@linkcode PluginSpaceUpdateResult} per item, in input order —
803
+ * the same per-space shape returned by `update`.
804
+ *
805
+ * | Property | Type | Description |
806
+ * |---|---|---|
807
+ * | `spaces` | {@linkcode PluginSpaceUpdateResult}`[]` | Per-item updated values, in input order |
808
+ */
809
+ export declare const PluginSpaceBulkUpdateResult: z.ZodObject<{
810
+ spaces: z.ZodArray<z.ZodObject<{
811
+ spaceId: z.ZodString;
812
+ room_type: z.ZodOptional<z.ZodString>;
813
+ massType: z.ZodOptional<z.ZodString>;
814
+ spaceType: z.ZodOptional<z.ZodString>;
815
+ areaClass: z.ZodOptional<z.ZodEnum<{
816
+ NET: "NET";
817
+ GROSS: "GROSS";
818
+ EXCLUDED: "EXCLUDED";
819
+ }>>;
820
+ departmentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
821
+ }, z.core.$strip>>;
822
+ }, z.core.$strip>;
823
+ export type PluginSpaceBulkUpdateResult = z.infer<typeof PluginSpaceBulkUpdateResult>;
824
+ /**
825
+ * Arguments for `bulkDelete`.
826
+ *
827
+ * | Property | Type | Description |
828
+ * |---|---|---|
829
+ * | `spaceIds` | `string[]` | The space IDs to delete |
830
+ */
831
+ export declare const PluginSpaceBulkDeleteArgs: z.ZodObject<{
832
+ spaceIds: z.ZodArray<z.ZodString>;
833
+ }, z.core.$strip>;
834
+ export type PluginSpaceBulkDeleteArgs = z.infer<typeof PluginSpaceBulkDeleteArgs>;
835
+ /**
836
+ * Result of `bulkDelete`.
837
+ *
838
+ * | Property | Type | Description |
839
+ * |---|---|---|
840
+ * | `deletedSpaceIds` | `string[]` | The space IDs that were removed |
841
+ */
842
+ export declare const PluginSpaceBulkDeleteResult: z.ZodObject<{
843
+ deletedSpaceIds: z.ZodArray<z.ZodString>;
844
+ }, z.core.$strip>;
845
+ export type PluginSpaceBulkDeleteResult = z.infer<typeof PluginSpaceBulkDeleteResult>;
846
+ //# sourceMappingURL=space.d.ts.map