dragonfly-schema 1.1502.9 → 1.1504.0

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/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { Face3D, Autocalculate, VentilationControlAbridged, VentilationOpening, ProcessAbridged, IDdBaseModel, Ground, Outdoors, Surface, Adiabatic, OtherSideTemperature, Room, Mesh3D, GlobalConstructionSet, ConstructionSetAbridged, ConstructionSet, OpaqueConstructionAbridged, WindowConstructionAbridged, ShadeConstruction, AirBoundaryConstructionAbridged, OpaqueConstruction, WindowConstruction, AirBoundaryConstruction, EnergyMaterial, EnergyMaterialNoMass, EnergyMaterialVegetation, EnergyWindowMaterialGlazing, EnergyWindowMaterialSimpleGlazSys, EnergyWindowMaterialGas, EnergyWindowMaterialGasMixture, EnergyWindowMaterialGasCustom, EnergyWindowFrame, EnergyWindowMaterialBlind, EnergyWindowMaterialShade, IdealAirSystemAbridged, VAV, PVAV, PSZ, PTAC, ForcedAirFurnace, FCUwithDOASAbridged, WSHPwithDOASAbridged, VRFwithDOASAbridged, RadiantwithDOASAbridged, FCU, WSHP, VRF, Baseboard, EvaporativeCooler, Residential, WindowAC, GasUnitHeater, Radiant, DetailedHVAC, SHWSystem, ProgramTypeAbridged, ProgramType, ScheduleRulesetAbridged, ScheduleFixedIntervalAbridged, ScheduleRuleset, ScheduleFixedInterval, ScheduleTypeLimit, GlobalModifierSet, ModifierSet, ModifierSetAbridged, Plastic, Glass, BSDF, Glow, Light, Trans, Metal, Void, Mirror, Units } from 'honeybee-schema';
1
+ import { Face3D, Mesh3D, Autocalculate, VentilationControlAbridged, VentilationOpening, ProcessAbridged, IDdBaseModel, Ground, Outdoors, Surface, Adiabatic, OtherSideTemperature, Room, GlobalConstructionSet, ConstructionSetAbridged, ConstructionSet, OpaqueConstructionAbridged, WindowConstructionAbridged, ShadeConstruction, AirBoundaryConstructionAbridged, OpaqueConstruction, WindowConstruction, AirBoundaryConstruction, EnergyMaterial, EnergyMaterialNoMass, EnergyMaterialVegetation, EnergyWindowMaterialGlazing, EnergyWindowMaterialSimpleGlazSys, EnergyWindowMaterialGas, EnergyWindowMaterialGasMixture, EnergyWindowMaterialGasCustom, EnergyWindowFrame, EnergyWindowMaterialBlind, EnergyWindowMaterialShade, IdealAirSystemAbridged, VAV, PVAV, PSZ, PTAC, ForcedAirFurnace, FCUwithDOASAbridged, WSHPwithDOASAbridged, VRFwithDOASAbridged, RadiantwithDOASAbridged, FCU, WSHP, VRF, Baseboard, EvaporativeCooler, Residential, WindowAC, GasUnitHeater, Radiant, DetailedHVAC, SHWSystem, ProgramTypeAbridged, ProgramType, ScheduleRulesetAbridged, ScheduleFixedIntervalAbridged, ScheduleRuleset, ScheduleFixedInterval, ScheduleTypeLimit, GlobalModifierSet, ModifierSet, ModifierSetAbridged, Plastic, Glass, BSDF, Glow, Light, Trans, Metal, Void, Mirror, Units } from 'honeybee-schema';
2
2
  import { ValidationOptions } from 'class-validator';
3
3
 
4
4
  declare abstract class _OpenAPIGenBaseModel {
@@ -106,8 +106,8 @@ declare class BuildingPropertiesAbridged extends _OpenAPIGenBaseModel {
106
106
 
107
107
  /** Geometry for specifying sloped roofs over a Story. */
108
108
  declare class RoofSpecification extends _OpenAPIGenBaseModel {
109
- /** An array of Face3D objects representing the geometry of the Roof. None of these geometries should overlap in plan and, together, these Face3D should either completely cover or skip each Room2D of the Story to which the RoofSpecification is assigned. */
110
- geometry: Face3D[];
109
+ /** An array of Face3D (or Mesh3D) objects representing the geometry of the Roof. Cases where Room2Ds are only partially covered by these roof geometries will result in those portions of the Room2Ds being extruded to their floor_to_ceiling_height. */
110
+ geometry: (Face3D | Mesh3D)[];
111
111
  /** type */
112
112
  type: string;
113
113
  constructor();
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Face3D, Autocalculate, VentilationControlAbridged, VentilationOpening, ProcessAbridged, IDdBaseModel, Ground, Outdoors, Surface, Adiabatic, OtherSideTemperature, Room, Mesh3D, GlobalConstructionSet, ConstructionSetAbridged, ConstructionSet, OpaqueConstructionAbridged, WindowConstructionAbridged, ShadeConstruction, AirBoundaryConstructionAbridged, OpaqueConstruction, WindowConstruction, AirBoundaryConstruction, EnergyMaterial, EnergyMaterialNoMass, EnergyMaterialVegetation, EnergyWindowMaterialGlazing, EnergyWindowMaterialSimpleGlazSys, EnergyWindowMaterialGas, EnergyWindowMaterialGasMixture, EnergyWindowMaterialGasCustom, EnergyWindowFrame, EnergyWindowMaterialBlind, EnergyWindowMaterialShade, IdealAirSystemAbridged, VAV, PVAV, PSZ, PTAC, ForcedAirFurnace, FCUwithDOASAbridged, WSHPwithDOASAbridged, VRFwithDOASAbridged, RadiantwithDOASAbridged, FCU, WSHP, VRF, Baseboard, EvaporativeCooler, Residential, WindowAC, GasUnitHeater, Radiant, DetailedHVAC, SHWSystem, ProgramTypeAbridged, ProgramType, ScheduleRulesetAbridged, ScheduleFixedIntervalAbridged, ScheduleRuleset, ScheduleFixedInterval, ScheduleTypeLimit, GlobalModifierSet, ModifierSet, ModifierSetAbridged, Plastic, Glass, BSDF, Glow, Light, Trans, Metal, Void, Mirror, Units } from 'honeybee-schema';
1
+ import { Face3D, Mesh3D, Autocalculate, VentilationControlAbridged, VentilationOpening, ProcessAbridged, IDdBaseModel, Ground, Outdoors, Surface, Adiabatic, OtherSideTemperature, Room, GlobalConstructionSet, ConstructionSetAbridged, ConstructionSet, OpaqueConstructionAbridged, WindowConstructionAbridged, ShadeConstruction, AirBoundaryConstructionAbridged, OpaqueConstruction, WindowConstruction, AirBoundaryConstruction, EnergyMaterial, EnergyMaterialNoMass, EnergyMaterialVegetation, EnergyWindowMaterialGlazing, EnergyWindowMaterialSimpleGlazSys, EnergyWindowMaterialGas, EnergyWindowMaterialGasMixture, EnergyWindowMaterialGasCustom, EnergyWindowFrame, EnergyWindowMaterialBlind, EnergyWindowMaterialShade, IdealAirSystemAbridged, VAV, PVAV, PSZ, PTAC, ForcedAirFurnace, FCUwithDOASAbridged, WSHPwithDOASAbridged, VRFwithDOASAbridged, RadiantwithDOASAbridged, FCU, WSHP, VRF, Baseboard, EvaporativeCooler, Residential, WindowAC, GasUnitHeater, Radiant, DetailedHVAC, SHWSystem, ProgramTypeAbridged, ProgramType, ScheduleRulesetAbridged, ScheduleFixedIntervalAbridged, ScheduleRuleset, ScheduleFixedInterval, ScheduleTypeLimit, GlobalModifierSet, ModifierSet, ModifierSetAbridged, Plastic, Glass, BSDF, Glow, Light, Trans, Metal, Void, Mirror, Units } from 'honeybee-schema';
2
2
  import { ValidationOptions } from 'class-validator';
3
3
 
4
4
  declare abstract class _OpenAPIGenBaseModel {
@@ -106,8 +106,8 @@ declare class BuildingPropertiesAbridged extends _OpenAPIGenBaseModel {
106
106
 
107
107
  /** Geometry for specifying sloped roofs over a Story. */
108
108
  declare class RoofSpecification extends _OpenAPIGenBaseModel {
109
- /** An array of Face3D objects representing the geometry of the Roof. None of these geometries should overlap in plan and, together, these Face3D should either completely cover or skip each Room2D of the Story to which the RoofSpecification is assigned. */
110
- geometry: Face3D[];
109
+ /** An array of Face3D (or Mesh3D) objects representing the geometry of the Roof. Cases where Room2Ds are only partially covered by these roof geometries will result in those portions of the Room2Ds being extruded to their floor_to_ceiling_height. */
110
+ geometry: (Face3D | Mesh3D)[];
111
111
  /** type */
112
112
  type: string;
113
113
  constructor();
package/dist/index.js CHANGED
@@ -353,7 +353,7 @@ __decorateClass([
353
353
  var _WindowParameterBase = __WindowParameterBase;
354
354
 
355
355
  // src/models/Building.ts
356
- import { IsInstance as IsInstance8, ValidateNested as ValidateNested8, IsDefined as IsDefined19, IsString as IsString36, IsOptional as IsOptional36, Matches as Matches35, IsArray as IsArray12, validate as validate36 } from "class-validator";
356
+ import { IsInstance as IsInstance7, ValidateNested as ValidateNested7, IsDefined as IsDefined19, IsString as IsString36, IsOptional as IsOptional36, Matches as Matches35, IsArray as IsArray12, validate as validate36 } from "class-validator";
357
357
  import { Type as Type36, instanceToPlain as instanceToPlain36, Expose as Expose36 } from "class-transformer";
358
358
 
359
359
  // src/models/BuildingPropertiesAbridged.ts
@@ -601,13 +601,14 @@ var BuildingPropertiesAbridged = _BuildingPropertiesAbridged;
601
601
  import { IDdBaseModel as IDdBaseModel3 } from "honeybee-schema";
602
602
 
603
603
  // src/models/RoofSpecification.ts
604
- import { IsArray as IsArray2, IsInstance as IsInstance2, ValidateNested as ValidateNested2, IsDefined as IsDefined3, IsString as IsString8, IsOptional as IsOptional8, Matches as Matches7, validate as validate8 } from "class-validator";
605
- import { Type as Type8, instanceToPlain as instanceToPlain8, Expose as Expose8 } from "class-transformer";
604
+ import { IsArray as IsArray2, IsDefined as IsDefined3, IsString as IsString8, IsOptional as IsOptional8, Matches as Matches7, validate as validate8 } from "class-validator";
605
+ import { Type as Type8, instanceToPlain as instanceToPlain8, Expose as Expose8, Transform as Transform8 } from "class-transformer";
606
606
  import { Face3D } from "honeybee-schema";
607
+ import { Mesh3D } from "honeybee-schema";
607
608
  var _RoofSpecification = class _RoofSpecification extends _OpenAPIGenBaseModel {
608
609
  constructor() {
609
610
  super();
610
- /** An array of Face3D objects representing the geometry of the Roof. None of these geometries should overlap in plan and, together, these Face3D should either completely cover or skip each Room2D of the Story to which the RoofSpecification is assigned. */
611
+ /** An array of Face3D (or Mesh3D) objects representing the geometry of the Roof. Cases where Room2Ds are only partially covered by these roof geometries will result in those portions of the Room2Ds being extruded to their floor_to_ceiling_height. */
611
612
  __publicField(this, "geometry");
612
613
  /** type */
613
614
  __publicField(this, "type", "RoofSpecification");
@@ -655,11 +656,13 @@ var _RoofSpecification = class _RoofSpecification extends _OpenAPIGenBaseModel {
655
656
  };
656
657
  __decorateClass([
657
658
  IsArray2(),
658
- Type8(() => Face3D),
659
- IsInstance2(Face3D, { each: true }),
660
- ValidateNested2({ each: true }),
661
659
  IsDefined3(),
662
- Expose8({ name: "geometry" })
660
+ Expose8({ name: "geometry" }),
661
+ Transform8(({ value }) => value == null ? void 0 : value.map((item) => {
662
+ if ((item == null ? void 0 : item.type) === "Face3D") return Face3D.fromJS(item);
663
+ else if ((item == null ? void 0 : item.type) === "Mesh3D") return Mesh3D.fromJS(item);
664
+ else return item;
665
+ }))
663
666
  ], _RoofSpecification.prototype, "geometry", 2);
664
667
  __decorateClass([
665
668
  Type8(() => String),
@@ -674,13 +677,13 @@ var RoofSpecification = _RoofSpecification;
674
677
  import { Room } from "honeybee-schema";
675
678
 
676
679
  // src/models/Story.ts
677
- import { IsArray as IsArray11, IsInstance as IsInstance7, ValidateNested as ValidateNested7, IsDefined as IsDefined18, IsString as IsString35, IsOptional as IsOptional35, Matches as Matches34, IsInt as IsInt3, Min as Min5, IsEnum as IsEnum3, validate as validate35 } from "class-validator";
680
+ import { IsArray as IsArray11, IsInstance as IsInstance6, ValidateNested as ValidateNested6, IsDefined as IsDefined18, IsString as IsString35, IsOptional as IsOptional35, Matches as Matches34, IsInt as IsInt3, Min as Min5, IsEnum as IsEnum3, validate as validate35 } from "class-validator";
678
681
  import { Type as Type35, instanceToPlain as instanceToPlain35, Expose as Expose35 } from "class-transformer";
679
682
  import { Autocalculate as Autocalculate5 } from "honeybee-schema";
680
683
  import { IDdBaseModel as IDdBaseModel2 } from "honeybee-schema";
681
684
 
682
685
  // src/models/Room2D.ts
683
- import { IsArray as IsArray10, IsDefined as IsDefined17, IsNumber as IsNumber17, IsInstance as IsInstance5, ValidateNested as ValidateNested5, IsString as IsString31, IsOptional as IsOptional31, Matches as Matches30, IsBoolean as IsBoolean9, Min as Min4, validate as validate31 } from "class-validator";
686
+ import { IsArray as IsArray10, IsDefined as IsDefined17, IsNumber as IsNumber17, IsInstance as IsInstance4, ValidateNested as ValidateNested4, IsString as IsString31, IsOptional as IsOptional31, Matches as Matches30, IsBoolean as IsBoolean9, Min as Min4, validate as validate31 } from "class-validator";
684
687
  import { Type as Type31, instanceToPlain as instanceToPlain31, Expose as Expose31, Transform as Transform31 } from "class-transformer";
685
688
 
686
689
  // src/helpers/class-validator.ts
@@ -1590,7 +1593,7 @@ __decorateClass([
1590
1593
  var RepeatingWindowRatio = _RepeatingWindowRatio;
1591
1594
 
1592
1595
  // src/models/Room2DPropertiesAbridged.ts
1593
- import { IsString as IsString30, IsOptional as IsOptional30, Matches as Matches29, IsInstance as IsInstance4, ValidateNested as ValidateNested4, validate as validate30 } from "class-validator";
1596
+ import { IsString as IsString30, IsOptional as IsOptional30, Matches as Matches29, IsInstance as IsInstance3, ValidateNested as ValidateNested3, validate as validate30 } from "class-validator";
1594
1597
  import { Type as Type30, instanceToPlain as instanceToPlain30, Expose as Expose30 } from "class-transformer";
1595
1598
 
1596
1599
  // src/models/Room2DComparisonProperties.ts
@@ -2056,7 +2059,7 @@ __decorateClass([
2056
2059
  var Room2DDoe2Properties = _Room2DDoe2Properties;
2057
2060
 
2058
2061
  // src/models/Room2DEnergyPropertiesAbridged.ts
2059
- import { IsString as IsString24, IsOptional as IsOptional24, Matches as Matches23, MinLength as MinLength2, MaxLength as MaxLength2, IsInstance as IsInstance3, ValidateNested as ValidateNested3, IsArray as IsArray7, validate as validate24 } from "class-validator";
2062
+ import { IsString as IsString24, IsOptional as IsOptional24, Matches as Matches23, MinLength as MinLength2, MaxLength as MaxLength2, IsInstance as IsInstance2, ValidateNested as ValidateNested2, IsArray as IsArray7, validate as validate24 } from "class-validator";
2060
2063
  import { Type as Type24, instanceToPlain as instanceToPlain24, Expose as Expose24 } from "class-transformer";
2061
2064
  import { ProcessAbridged } from "honeybee-schema";
2062
2065
  import { VentilationControlAbridged } from "honeybee-schema";
@@ -2175,23 +2178,23 @@ __decorateClass([
2175
2178
  ], _Room2DEnergyPropertiesAbridged.prototype, "shw", 2);
2176
2179
  __decorateClass([
2177
2180
  Type24(() => VentilationControlAbridged),
2178
- IsInstance3(VentilationControlAbridged),
2179
- ValidateNested3(),
2181
+ IsInstance2(VentilationControlAbridged),
2182
+ ValidateNested2(),
2180
2183
  IsOptional24(),
2181
2184
  Expose24({ name: "window_vent_control" })
2182
2185
  ], _Room2DEnergyPropertiesAbridged.prototype, "windowVentControl", 2);
2183
2186
  __decorateClass([
2184
2187
  Type24(() => VentilationOpening),
2185
- IsInstance3(VentilationOpening),
2186
- ValidateNested3(),
2188
+ IsInstance2(VentilationOpening),
2189
+ ValidateNested2(),
2187
2190
  IsOptional24(),
2188
2191
  Expose24({ name: "window_vent_opening" })
2189
2192
  ], _Room2DEnergyPropertiesAbridged.prototype, "windowVentOpening", 2);
2190
2193
  __decorateClass([
2191
2194
  IsArray7(),
2192
2195
  Type24(() => ProcessAbridged),
2193
- IsInstance3(ProcessAbridged, { each: true }),
2194
- ValidateNested3({ each: true }),
2196
+ IsInstance2(ProcessAbridged, { each: true }),
2197
+ ValidateNested2({ each: true }),
2195
2198
  IsOptional24(),
2196
2199
  Expose24({ name: "process_loads" })
2197
2200
  ], _Room2DEnergyPropertiesAbridged.prototype, "processLoads", 2);
@@ -2721,29 +2724,29 @@ __decorateClass([
2721
2724
  ], _Room2DPropertiesAbridged.prototype, "type", 2);
2722
2725
  __decorateClass([
2723
2726
  Type30(() => Room2DEnergyPropertiesAbridged),
2724
- IsInstance4(Room2DEnergyPropertiesAbridged),
2725
- ValidateNested4(),
2727
+ IsInstance3(Room2DEnergyPropertiesAbridged),
2728
+ ValidateNested3(),
2726
2729
  IsOptional30(),
2727
2730
  Expose30({ name: "energy" })
2728
2731
  ], _Room2DPropertiesAbridged.prototype, "energy", 2);
2729
2732
  __decorateClass([
2730
2733
  Type30(() => Room2DRadiancePropertiesAbridged),
2731
- IsInstance4(Room2DRadiancePropertiesAbridged),
2732
- ValidateNested4(),
2734
+ IsInstance3(Room2DRadiancePropertiesAbridged),
2735
+ ValidateNested3(),
2733
2736
  IsOptional30(),
2734
2737
  Expose30({ name: "radiance" })
2735
2738
  ], _Room2DPropertiesAbridged.prototype, "radiance", 2);
2736
2739
  __decorateClass([
2737
2740
  Type30(() => Room2DDoe2Properties),
2738
- IsInstance4(Room2DDoe2Properties),
2739
- ValidateNested4(),
2741
+ IsInstance3(Room2DDoe2Properties),
2742
+ ValidateNested3(),
2740
2743
  IsOptional30(),
2741
2744
  Expose30({ name: "doe2" })
2742
2745
  ], _Room2DPropertiesAbridged.prototype, "doe2", 2);
2743
2746
  __decorateClass([
2744
2747
  Type30(() => Room2DComparisonProperties),
2745
- IsInstance4(Room2DComparisonProperties),
2746
- ValidateNested4(),
2748
+ IsInstance3(Room2DComparisonProperties),
2749
+ ValidateNested3(),
2747
2750
  IsOptional30(),
2748
2751
  Expose30({ name: "comparison" })
2749
2752
  ], _Room2DPropertiesAbridged.prototype, "comparison", 2);
@@ -2893,8 +2896,8 @@ __decorateClass([
2893
2896
  ], _Room2D.prototype, "floorToCeilingHeight", 2);
2894
2897
  __decorateClass([
2895
2898
  Type31(() => Room2DPropertiesAbridged),
2896
- IsInstance5(Room2DPropertiesAbridged),
2897
- ValidateNested5(),
2899
+ IsInstance4(Room2DPropertiesAbridged),
2900
+ ValidateNested4(),
2898
2901
  IsDefined17(),
2899
2902
  Expose31({ name: "properties" })
2900
2903
  ], _Room2D.prototype, "properties", 2);
@@ -3015,7 +3018,7 @@ __decorateClass([
3015
3018
  var Room2D = _Room2D;
3016
3019
 
3017
3020
  // src/models/StoryPropertiesAbridged.ts
3018
- import { IsString as IsString34, IsOptional as IsOptional34, Matches as Matches33, IsInstance as IsInstance6, ValidateNested as ValidateNested6, validate as validate34 } from "class-validator";
3021
+ import { IsString as IsString34, IsOptional as IsOptional34, Matches as Matches33, IsInstance as IsInstance5, ValidateNested as ValidateNested5, validate as validate34 } from "class-validator";
3019
3022
  import { Type as Type34, instanceToPlain as instanceToPlain34, Expose as Expose34 } from "class-transformer";
3020
3023
 
3021
3024
  // src/models/StoryEnergyPropertiesAbridged.ts
@@ -3217,15 +3220,15 @@ __decorateClass([
3217
3220
  ], _StoryPropertiesAbridged.prototype, "type", 2);
3218
3221
  __decorateClass([
3219
3222
  Type34(() => StoryEnergyPropertiesAbridged),
3220
- IsInstance6(StoryEnergyPropertiesAbridged),
3221
- ValidateNested6(),
3223
+ IsInstance5(StoryEnergyPropertiesAbridged),
3224
+ ValidateNested5(),
3222
3225
  IsOptional34(),
3223
3226
  Expose34({ name: "energy" })
3224
3227
  ], _StoryPropertiesAbridged.prototype, "energy", 2);
3225
3228
  __decorateClass([
3226
3229
  Type34(() => StoryRadiancePropertiesAbridged),
3227
- IsInstance6(StoryRadiancePropertiesAbridged),
3228
- ValidateNested6(),
3230
+ IsInstance5(StoryRadiancePropertiesAbridged),
3231
+ ValidateNested5(),
3229
3232
  IsOptional34(),
3230
3233
  Expose34({ name: "radiance" })
3231
3234
  ], _StoryPropertiesAbridged.prototype, "radiance", 2);
@@ -3323,15 +3326,15 @@ var _Story = class _Story extends IDdBaseModel2 {
3323
3326
  __decorateClass([
3324
3327
  IsArray11(),
3325
3328
  Type35(() => Room2D),
3326
- IsInstance7(Room2D, { each: true }),
3327
- ValidateNested7({ each: true }),
3329
+ IsInstance6(Room2D, { each: true }),
3330
+ ValidateNested6({ each: true }),
3328
3331
  IsDefined18(),
3329
3332
  Expose35({ name: "room_2ds" })
3330
3333
  ], _Story.prototype, "room2ds", 2);
3331
3334
  __decorateClass([
3332
3335
  Type35(() => StoryPropertiesAbridged),
3333
- IsInstance7(StoryPropertiesAbridged),
3334
- ValidateNested7(),
3336
+ IsInstance6(StoryPropertiesAbridged),
3337
+ ValidateNested6(),
3335
3338
  IsDefined18(),
3336
3339
  Expose35({ name: "properties" })
3337
3340
  ], _Story.prototype, "properties", 2);
@@ -3359,8 +3362,8 @@ __decorateClass([
3359
3362
  ], _Story.prototype, "multiplier", 2);
3360
3363
  __decorateClass([
3361
3364
  Type35(() => RoofSpecification),
3362
- IsInstance7(RoofSpecification),
3363
- ValidateNested7(),
3365
+ IsInstance6(RoofSpecification),
3366
+ ValidateNested6(),
3364
3367
  IsOptional35(),
3365
3368
  Expose35({ name: "roof" })
3366
3369
  ], _Story.prototype, "roof", 2);
@@ -3439,8 +3442,8 @@ var _Building = class _Building extends IDdBaseModel3 {
3439
3442
  };
3440
3443
  __decorateClass([
3441
3444
  Type36(() => BuildingPropertiesAbridged),
3442
- IsInstance8(BuildingPropertiesAbridged),
3443
- ValidateNested8(),
3445
+ IsInstance7(BuildingPropertiesAbridged),
3446
+ ValidateNested7(),
3444
3447
  IsDefined19(),
3445
3448
  Expose36({ name: "properties" })
3446
3449
  ], _Building.prototype, "properties", 2);
@@ -3454,34 +3457,34 @@ __decorateClass([
3454
3457
  __decorateClass([
3455
3458
  IsArray12(),
3456
3459
  Type36(() => Story),
3457
- IsInstance8(Story, { each: true }),
3458
- ValidateNested8({ each: true }),
3460
+ IsInstance7(Story, { each: true }),
3461
+ ValidateNested7({ each: true }),
3459
3462
  IsOptional36(),
3460
3463
  Expose36({ name: "unique_stories" })
3461
3464
  ], _Building.prototype, "uniqueStories", 2);
3462
3465
  __decorateClass([
3463
3466
  IsArray12(),
3464
3467
  Type36(() => Room),
3465
- IsInstance8(Room, { each: true }),
3466
- ValidateNested8({ each: true }),
3468
+ IsInstance7(Room, { each: true }),
3469
+ ValidateNested7({ each: true }),
3467
3470
  IsOptional36(),
3468
3471
  Expose36({ name: "room_3ds" })
3469
3472
  ], _Building.prototype, "room3ds", 2);
3470
3473
  __decorateClass([
3471
3474
  Type36(() => RoofSpecification),
3472
- IsInstance8(RoofSpecification),
3473
- ValidateNested8(),
3475
+ IsInstance7(RoofSpecification),
3476
+ ValidateNested7(),
3474
3477
  IsOptional36(),
3475
3478
  Expose36({ name: "roof" })
3476
3479
  ], _Building.prototype, "roof", 2);
3477
3480
  var Building = _Building;
3478
3481
 
3479
3482
  // src/models/ContextShade.ts
3480
- import { IsArray as IsArray13, IsDefined as IsDefined20, IsInstance as IsInstance10, ValidateNested as ValidateNested10, IsString as IsString40, IsOptional as IsOptional40, Matches as Matches39, IsBoolean as IsBoolean10, validate as validate40 } from "class-validator";
3483
+ import { IsArray as IsArray13, IsDefined as IsDefined20, IsInstance as IsInstance9, ValidateNested as ValidateNested9, IsString as IsString40, IsOptional as IsOptional40, Matches as Matches39, IsBoolean as IsBoolean10, validate as validate40 } from "class-validator";
3481
3484
  import { Type as Type40, instanceToPlain as instanceToPlain40, Expose as Expose40, Transform as Transform40 } from "class-transformer";
3482
3485
 
3483
3486
  // src/models/ContextShadePropertiesAbridged.ts
3484
- import { IsString as IsString39, IsOptional as IsOptional39, Matches as Matches38, IsInstance as IsInstance9, ValidateNested as ValidateNested9, validate as validate39 } from "class-validator";
3487
+ import { IsString as IsString39, IsOptional as IsOptional39, Matches as Matches38, IsInstance as IsInstance8, ValidateNested as ValidateNested8, validate as validate39 } from "class-validator";
3485
3488
  import { Type as Type39, instanceToPlain as instanceToPlain39, Expose as Expose39 } from "class-transformer";
3486
3489
 
3487
3490
  // src/models/ContextShadeEnergyPropertiesAbridged.ts
@@ -3695,15 +3698,15 @@ __decorateClass([
3695
3698
  ], _ContextShadePropertiesAbridged.prototype, "type", 2);
3696
3699
  __decorateClass([
3697
3700
  Type39(() => ContextShadeEnergyPropertiesAbridged),
3698
- IsInstance9(ContextShadeEnergyPropertiesAbridged),
3699
- ValidateNested9(),
3701
+ IsInstance8(ContextShadeEnergyPropertiesAbridged),
3702
+ ValidateNested8(),
3700
3703
  IsOptional39(),
3701
3704
  Expose39({ name: "energy" })
3702
3705
  ], _ContextShadePropertiesAbridged.prototype, "energy", 2);
3703
3706
  __decorateClass([
3704
3707
  Type39(() => ContextShadeRadiancePropertiesAbridged),
3705
- IsInstance9(ContextShadeRadiancePropertiesAbridged),
3706
- ValidateNested9(),
3708
+ IsInstance8(ContextShadeRadiancePropertiesAbridged),
3709
+ ValidateNested8(),
3707
3710
  IsOptional39(),
3708
3711
  Expose39({ name: "radiance" })
3709
3712
  ], _ContextShadePropertiesAbridged.prototype, "radiance", 2);
@@ -3712,7 +3715,7 @@ var ContextShadePropertiesAbridged = _ContextShadePropertiesAbridged;
3712
3715
  // src/models/ContextShade.ts
3713
3716
  import { Face3D as Face3D2 } from "honeybee-schema";
3714
3717
  import { IDdBaseModel as IDdBaseModel4 } from "honeybee-schema";
3715
- import { Mesh3D } from "honeybee-schema";
3718
+ import { Mesh3D as Mesh3D2 } from "honeybee-schema";
3716
3719
  var _ContextShade = class _ContextShade extends IDdBaseModel4 {
3717
3720
  constructor() {
3718
3721
  super();
@@ -3780,14 +3783,14 @@ __decorateClass([
3780
3783
  Expose40({ name: "geometry" }),
3781
3784
  Transform40(({ value }) => value == null ? void 0 : value.map((item) => {
3782
3785
  if ((item == null ? void 0 : item.type) === "Face3D") return Face3D2.fromJS(item);
3783
- else if ((item == null ? void 0 : item.type) === "Mesh3D") return Mesh3D.fromJS(item);
3786
+ else if ((item == null ? void 0 : item.type) === "Mesh3D") return Mesh3D2.fromJS(item);
3784
3787
  else return item;
3785
3788
  }))
3786
3789
  ], _ContextShade.prototype, "geometry", 2);
3787
3790
  __decorateClass([
3788
3791
  Type40(() => ContextShadePropertiesAbridged),
3789
- IsInstance10(ContextShadePropertiesAbridged),
3790
- ValidateNested10(),
3792
+ IsInstance9(ContextShadePropertiesAbridged),
3793
+ ValidateNested9(),
3791
3794
  IsDefined20(),
3792
3795
  Expose40({ name: "properties" })
3793
3796
  ], _ContextShade.prototype, "properties", 2);
@@ -3807,12 +3810,12 @@ __decorateClass([
3807
3810
  var ContextShade = _ContextShade;
3808
3811
 
3809
3812
  // src/models/Model.ts
3810
- import { IsInstance as IsInstance14, ValidateNested as ValidateNested14, IsDefined as IsDefined21, IsString as IsString46, IsOptional as IsOptional46, Matches as Matches45, IsArray as IsArray16, IsEnum as IsEnum4, IsNumber as IsNumber18, Min as Min6, validate as validate46 } from "class-validator";
3813
+ import { IsInstance as IsInstance13, ValidateNested as ValidateNested13, IsDefined as IsDefined21, IsString as IsString46, IsOptional as IsOptional46, Matches as Matches45, IsArray as IsArray16, IsEnum as IsEnum4, IsNumber as IsNumber18, Min as Min6, validate as validate46 } from "class-validator";
3811
3814
  import { Type as Type46, instanceToPlain as instanceToPlain46, Expose as Expose46 } from "class-transformer";
3812
3815
  import { IDdBaseModel as IDdBaseModel5 } from "honeybee-schema";
3813
3816
 
3814
3817
  // src/models/ModelProperties.ts
3815
- import { IsString as IsString45, IsOptional as IsOptional45, Matches as Matches44, IsInstance as IsInstance13, ValidateNested as ValidateNested13, validate as validate45 } from "class-validator";
3818
+ import { IsString as IsString45, IsOptional as IsOptional45, Matches as Matches44, IsInstance as IsInstance12, ValidateNested as ValidateNested12, validate as validate45 } from "class-validator";
3816
3819
  import { Type as Type45, instanceToPlain as instanceToPlain45, Expose as Expose45 } from "class-transformer";
3817
3820
 
3818
3821
  // src/models/ModelComparisonProperties.ts
@@ -3930,7 +3933,7 @@ __decorateClass([
3930
3933
  var ModelDoe2Properties = _ModelDoe2Properties;
3931
3934
 
3932
3935
  // src/models/ModelEnergyProperties.ts
3933
- import { IsString as IsString43, IsOptional as IsOptional43, Matches as Matches42, IsInstance as IsInstance11, ValidateNested as ValidateNested11, IsArray as IsArray14, validate as validate43 } from "class-validator";
3936
+ import { IsString as IsString43, IsOptional as IsOptional43, Matches as Matches42, IsInstance as IsInstance10, ValidateNested as ValidateNested10, IsArray as IsArray14, validate as validate43 } from "class-validator";
3934
3937
  import { Type as Type43, instanceToPlain as instanceToPlain43, Expose as Expose43, Transform as Transform43 } from "class-transformer";
3935
3938
  import { AirBoundaryConstruction } from "honeybee-schema";
3936
3939
  import { AirBoundaryConstructionAbridged } from "honeybee-schema";
@@ -5788,8 +5791,8 @@ __decorateClass([
5788
5791
  ], _ModelEnergyProperties.prototype, "type", 2);
5789
5792
  __decorateClass([
5790
5793
  Type43(() => GlobalConstructionSet),
5791
- IsInstance11(GlobalConstructionSet),
5792
- ValidateNested11(),
5794
+ IsInstance10(GlobalConstructionSet),
5795
+ ValidateNested10(),
5793
5796
  IsOptional43(),
5794
5797
  Expose43({ name: "global_construction_set" })
5795
5798
  ], _ModelEnergyProperties.prototype, "globalConstructionSet", 2);
@@ -5868,8 +5871,8 @@ __decorateClass([
5868
5871
  __decorateClass([
5869
5872
  IsArray14(),
5870
5873
  Type43(() => SHWSystem),
5871
- IsInstance11(SHWSystem, { each: true }),
5872
- ValidateNested11({ each: true }),
5874
+ IsInstance10(SHWSystem, { each: true }),
5875
+ ValidateNested10({ each: true }),
5873
5876
  IsOptional43(),
5874
5877
  Expose43({ name: "shws" })
5875
5878
  ], _ModelEnergyProperties.prototype, "shws", 2);
@@ -5898,15 +5901,15 @@ __decorateClass([
5898
5901
  __decorateClass([
5899
5902
  IsArray14(),
5900
5903
  Type43(() => ScheduleTypeLimit),
5901
- IsInstance11(ScheduleTypeLimit, { each: true }),
5902
- ValidateNested11({ each: true }),
5904
+ IsInstance10(ScheduleTypeLimit, { each: true }),
5905
+ ValidateNested10({ each: true }),
5903
5906
  IsOptional43(),
5904
5907
  Expose43({ name: "schedule_type_limits" })
5905
5908
  ], _ModelEnergyProperties.prototype, "scheduleTypeLimits", 2);
5906
5909
  var ModelEnergyProperties = _ModelEnergyProperties;
5907
5910
 
5908
5911
  // src/models/ModelRadianceProperties.ts
5909
- import { IsString as IsString44, IsOptional as IsOptional44, Matches as Matches43, IsInstance as IsInstance12, ValidateNested as ValidateNested12, IsArray as IsArray15, validate as validate44 } from "class-validator";
5912
+ import { IsString as IsString44, IsOptional as IsOptional44, Matches as Matches43, IsInstance as IsInstance11, ValidateNested as ValidateNested11, IsArray as IsArray15, validate as validate44 } from "class-validator";
5910
5913
  import { Type as Type44, instanceToPlain as instanceToPlain44, Expose as Expose44, Transform as Transform44 } from "class-transformer";
5911
5914
  import { BSDF } from "honeybee-schema";
5912
5915
  import { Glass } from "honeybee-schema";
@@ -6631,8 +6634,8 @@ __decorateClass([
6631
6634
  ], _ModelRadianceProperties.prototype, "type", 2);
6632
6635
  __decorateClass([
6633
6636
  Type44(() => GlobalModifierSet),
6634
- IsInstance12(GlobalModifierSet),
6635
- ValidateNested12(),
6637
+ IsInstance11(GlobalModifierSet),
6638
+ ValidateNested11(),
6636
6639
  IsOptional44(),
6637
6640
  Expose44({ name: "global_modifier_set" })
6638
6641
  ], _ModelRadianceProperties.prototype, "globalModifierSet", 2);
@@ -6736,29 +6739,29 @@ __decorateClass([
6736
6739
  ], _ModelProperties.prototype, "type", 2);
6737
6740
  __decorateClass([
6738
6741
  Type45(() => ModelEnergyProperties),
6739
- IsInstance13(ModelEnergyProperties),
6740
- ValidateNested13(),
6742
+ IsInstance12(ModelEnergyProperties),
6743
+ ValidateNested12(),
6741
6744
  IsOptional45(),
6742
6745
  Expose45({ name: "energy" })
6743
6746
  ], _ModelProperties.prototype, "energy", 2);
6744
6747
  __decorateClass([
6745
6748
  Type45(() => ModelRadianceProperties),
6746
- IsInstance13(ModelRadianceProperties),
6747
- ValidateNested13(),
6749
+ IsInstance12(ModelRadianceProperties),
6750
+ ValidateNested12(),
6748
6751
  IsOptional45(),
6749
6752
  Expose45({ name: "radiance" })
6750
6753
  ], _ModelProperties.prototype, "radiance", 2);
6751
6754
  __decorateClass([
6752
6755
  Type45(() => ModelDoe2Properties),
6753
- IsInstance13(ModelDoe2Properties),
6754
- ValidateNested13(),
6756
+ IsInstance12(ModelDoe2Properties),
6757
+ ValidateNested12(),
6755
6758
  IsOptional45(),
6756
6759
  Expose45({ name: "doe2" })
6757
6760
  ], _ModelProperties.prototype, "doe2", 2);
6758
6761
  __decorateClass([
6759
6762
  Type45(() => ModelComparisonProperties),
6760
- IsInstance13(ModelComparisonProperties),
6761
- ValidateNested13(),
6763
+ IsInstance12(ModelComparisonProperties),
6764
+ ValidateNested12(),
6762
6765
  IsOptional45(),
6763
6766
  Expose45({ name: "comparison" })
6764
6767
  ], _ModelProperties.prototype, "comparison", 2);
@@ -6852,8 +6855,8 @@ var _Model = class _Model extends IDdBaseModel5 {
6852
6855
  };
6853
6856
  __decorateClass([
6854
6857
  Type46(() => ModelProperties),
6855
- IsInstance14(ModelProperties),
6856
- ValidateNested14(),
6858
+ IsInstance13(ModelProperties),
6859
+ ValidateNested13(),
6857
6860
  IsDefined21(),
6858
6861
  Expose46({ name: "properties" })
6859
6862
  ], _Model.prototype, "properties", 2);
@@ -6874,16 +6877,16 @@ __decorateClass([
6874
6877
  __decorateClass([
6875
6878
  IsArray16(),
6876
6879
  Type46(() => Building),
6877
- IsInstance14(Building, { each: true }),
6878
- ValidateNested14({ each: true }),
6880
+ IsInstance13(Building, { each: true }),
6881
+ ValidateNested13({ each: true }),
6879
6882
  IsOptional46(),
6880
6883
  Expose46({ name: "buildings" })
6881
6884
  ], _Model.prototype, "buildings", 2);
6882
6885
  __decorateClass([
6883
6886
  IsArray16(),
6884
6887
  Type46(() => ContextShade),
6885
- IsInstance14(ContextShade, { each: true }),
6886
- ValidateNested14({ each: true }),
6888
+ IsInstance13(ContextShade, { each: true }),
6889
+ ValidateNested13({ each: true }),
6887
6890
  IsOptional46(),
6888
6891
  Expose46({ name: "context_shades" })
6889
6892
  ], _Model.prototype, "contextShades", 2);