dragonfly-schema 1.1502.6 → 1.1502.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +152 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +182 -68
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import "reflect-metadata";
|
|
|
36
36
|
|
|
37
37
|
// src/models/_GridParameterBase.ts
|
|
38
38
|
import { IsNumber, IsDefined, IsBoolean, IsOptional as IsOptional2, IsString as IsString2, Matches, validate as validate2 } from "class-validator";
|
|
39
|
-
import { instanceToPlain as instanceToPlain2, Expose as Expose2 } from "class-transformer";
|
|
39
|
+
import { Type as Type2, instanceToPlain as instanceToPlain2, Expose as Expose2 } from "class-transformer";
|
|
40
40
|
|
|
41
41
|
// src/deepTransform.ts
|
|
42
42
|
import { plainToInstance } from "class-transformer";
|
|
@@ -59,7 +59,7 @@ function deepTransform(cls, plain) {
|
|
|
59
59
|
|
|
60
60
|
// src/models/_OpenAPIGenBaseModel.ts
|
|
61
61
|
import { IsString, IsOptional, validate } from "class-validator";
|
|
62
|
-
import { instanceToPlain, Expose } from "class-transformer";
|
|
62
|
+
import { Type, instanceToPlain, Expose } from "class-transformer";
|
|
63
63
|
var _OpenAPIGenBaseModel = class {
|
|
64
64
|
constructor() {
|
|
65
65
|
/** A base class to use when there is no baseclass available to fall on. */
|
|
@@ -90,6 +90,7 @@ var _OpenAPIGenBaseModel = class {
|
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
92
|
__decorateClass([
|
|
93
|
+
Type(() => String),
|
|
93
94
|
IsString(),
|
|
94
95
|
IsOptional(),
|
|
95
96
|
Expose({ name: "type" })
|
|
@@ -151,16 +152,19 @@ var __GridParameterBase = class __GridParameterBase extends _OpenAPIGenBaseModel
|
|
|
151
152
|
}
|
|
152
153
|
};
|
|
153
154
|
__decorateClass([
|
|
155
|
+
Type2(() => Number),
|
|
154
156
|
IsNumber(),
|
|
155
157
|
IsDefined(),
|
|
156
158
|
Expose2({ name: "dimension" })
|
|
157
159
|
], __GridParameterBase.prototype, "dimension", 2);
|
|
158
160
|
__decorateClass([
|
|
161
|
+
Type2(() => Boolean),
|
|
159
162
|
IsBoolean(),
|
|
160
163
|
IsOptional2(),
|
|
161
164
|
Expose2({ name: "include_mesh" })
|
|
162
165
|
], __GridParameterBase.prototype, "includeMesh", 2);
|
|
163
166
|
__decorateClass([
|
|
167
|
+
Type2(() => String),
|
|
164
168
|
IsString2(),
|
|
165
169
|
IsOptional2(),
|
|
166
170
|
Matches(/^_GridParameterBase$/),
|
|
@@ -170,7 +174,7 @@ var _GridParameterBase = __GridParameterBase;
|
|
|
170
174
|
|
|
171
175
|
// src/models/_LouversBase.ts
|
|
172
176
|
import { IsNumber as IsNumber2, IsDefined as IsDefined2, IsOptional as IsOptional3, Min, Max, IsArray, IsBoolean as IsBoolean2, IsString as IsString3, Matches as Matches2, validate as validate3 } from "class-validator";
|
|
173
|
-
import { instanceToPlain as instanceToPlain3, Expose as Expose3 } from "class-transformer";
|
|
177
|
+
import { Type as Type3, instanceToPlain as instanceToPlain3, Expose as Expose3 } from "class-transformer";
|
|
174
178
|
var __LouversBase = class __LouversBase extends _OpenAPIGenBaseModel {
|
|
175
179
|
constructor() {
|
|
176
180
|
super();
|
|
@@ -241,17 +245,20 @@ var __LouversBase = class __LouversBase extends _OpenAPIGenBaseModel {
|
|
|
241
245
|
}
|
|
242
246
|
};
|
|
243
247
|
__decorateClass([
|
|
248
|
+
Type3(() => Number),
|
|
244
249
|
IsNumber2(),
|
|
245
250
|
IsDefined2(),
|
|
246
251
|
Expose3({ name: "depth" })
|
|
247
252
|
], __LouversBase.prototype, "depth", 2);
|
|
248
253
|
__decorateClass([
|
|
254
|
+
Type3(() => Number),
|
|
249
255
|
IsNumber2(),
|
|
250
256
|
IsOptional3(),
|
|
251
257
|
Min(0),
|
|
252
258
|
Expose3({ name: "offset" })
|
|
253
259
|
], __LouversBase.prototype, "offset", 2);
|
|
254
260
|
__decorateClass([
|
|
261
|
+
Type3(() => Number),
|
|
255
262
|
IsNumber2(),
|
|
256
263
|
IsOptional3(),
|
|
257
264
|
Min(-90),
|
|
@@ -260,16 +267,19 @@ __decorateClass([
|
|
|
260
267
|
], __LouversBase.prototype, "angle", 2);
|
|
261
268
|
__decorateClass([
|
|
262
269
|
IsArray(),
|
|
270
|
+
Type3(() => Number),
|
|
263
271
|
IsNumber2({}, { each: true }),
|
|
264
272
|
IsOptional3(),
|
|
265
273
|
Expose3({ name: "contour_vector" })
|
|
266
274
|
], __LouversBase.prototype, "contourVector", 2);
|
|
267
275
|
__decorateClass([
|
|
276
|
+
Type3(() => Boolean),
|
|
268
277
|
IsBoolean2(),
|
|
269
278
|
IsOptional3(),
|
|
270
279
|
Expose3({ name: "flip_start_side" })
|
|
271
280
|
], __LouversBase.prototype, "flipStartSide", 2);
|
|
272
281
|
__decorateClass([
|
|
282
|
+
Type3(() => String),
|
|
273
283
|
IsString3(),
|
|
274
284
|
IsOptional3(),
|
|
275
285
|
Matches2(/^_LouversBase$/),
|
|
@@ -279,7 +289,7 @@ var _LouversBase = __LouversBase;
|
|
|
279
289
|
|
|
280
290
|
// src/models/_WindowParameterBase.ts
|
|
281
291
|
import { IsOptional as IsOptional4, IsString as IsString4, Matches as Matches3, validate as validate4 } from "class-validator";
|
|
282
|
-
import { instanceToPlain as instanceToPlain4, Expose as Expose4 } from "class-transformer";
|
|
292
|
+
import { Type as Type4, instanceToPlain as instanceToPlain4, Expose as Expose4 } from "class-transformer";
|
|
283
293
|
var __WindowParameterBase = class __WindowParameterBase extends _OpenAPIGenBaseModel {
|
|
284
294
|
constructor() {
|
|
285
295
|
super();
|
|
@@ -334,6 +344,7 @@ __decorateClass([
|
|
|
334
344
|
Expose4({ name: "user_data" })
|
|
335
345
|
], __WindowParameterBase.prototype, "userData", 2);
|
|
336
346
|
__decorateClass([
|
|
347
|
+
Type4(() => String),
|
|
337
348
|
IsString4(),
|
|
338
349
|
IsOptional4(),
|
|
339
350
|
Matches3(/^_WindowParameterBase$/),
|
|
@@ -351,7 +362,7 @@ import { Type as Type7, instanceToPlain as instanceToPlain7, Expose as Expose7 }
|
|
|
351
362
|
|
|
352
363
|
// src/models/BuildingEnergyPropertiesAbridged.ts
|
|
353
364
|
import { IsString as IsString5, IsOptional as IsOptional5, Matches as Matches4, MinLength, MaxLength, validate as validate5 } from "class-validator";
|
|
354
|
-
import { instanceToPlain as instanceToPlain5, Expose as Expose5 } from "class-transformer";
|
|
365
|
+
import { Type as Type5, instanceToPlain as instanceToPlain5, Expose as Expose5 } from "class-transformer";
|
|
355
366
|
var _BuildingEnergyPropertiesAbridged = class _BuildingEnergyPropertiesAbridged extends _OpenAPIGenBaseModel {
|
|
356
367
|
constructor() {
|
|
357
368
|
super();
|
|
@@ -410,12 +421,14 @@ var _BuildingEnergyPropertiesAbridged = class _BuildingEnergyPropertiesAbridged
|
|
|
410
421
|
}
|
|
411
422
|
};
|
|
412
423
|
__decorateClass([
|
|
424
|
+
Type5(() => String),
|
|
413
425
|
IsString5(),
|
|
414
426
|
IsOptional5(),
|
|
415
427
|
Matches4(/^BuildingEnergyPropertiesAbridged$/),
|
|
416
428
|
Expose5({ name: "type" })
|
|
417
429
|
], _BuildingEnergyPropertiesAbridged.prototype, "type", 2);
|
|
418
430
|
__decorateClass([
|
|
431
|
+
Type5(() => String),
|
|
419
432
|
IsString5(),
|
|
420
433
|
IsOptional5(),
|
|
421
434
|
MinLength(1),
|
|
@@ -423,6 +436,7 @@ __decorateClass([
|
|
|
423
436
|
Expose5({ name: "construction_set" })
|
|
424
437
|
], _BuildingEnergyPropertiesAbridged.prototype, "constructionSet", 2);
|
|
425
438
|
__decorateClass([
|
|
439
|
+
Type5(() => String),
|
|
426
440
|
IsString5(),
|
|
427
441
|
IsOptional5(),
|
|
428
442
|
MinLength(1),
|
|
@@ -430,6 +444,7 @@ __decorateClass([
|
|
|
430
444
|
Expose5({ name: "ceiling_plenum_construction" })
|
|
431
445
|
], _BuildingEnergyPropertiesAbridged.prototype, "ceilingPlenumConstruction", 2);
|
|
432
446
|
__decorateClass([
|
|
447
|
+
Type5(() => String),
|
|
433
448
|
IsString5(),
|
|
434
449
|
IsOptional5(),
|
|
435
450
|
MinLength(1),
|
|
@@ -440,7 +455,7 @@ var BuildingEnergyPropertiesAbridged = _BuildingEnergyPropertiesAbridged;
|
|
|
440
455
|
|
|
441
456
|
// src/models/BuildingRadiancePropertiesAbridged.ts
|
|
442
457
|
import { IsString as IsString6, IsOptional as IsOptional6, Matches as Matches5, validate as validate6 } from "class-validator";
|
|
443
|
-
import { instanceToPlain as instanceToPlain6, Expose as Expose6 } from "class-transformer";
|
|
458
|
+
import { Type as Type6, instanceToPlain as instanceToPlain6, Expose as Expose6 } from "class-transformer";
|
|
444
459
|
var _BuildingRadiancePropertiesAbridged = class _BuildingRadiancePropertiesAbridged extends _OpenAPIGenBaseModel {
|
|
445
460
|
constructor() {
|
|
446
461
|
super();
|
|
@@ -491,12 +506,14 @@ var _BuildingRadiancePropertiesAbridged = class _BuildingRadiancePropertiesAbrid
|
|
|
491
506
|
}
|
|
492
507
|
};
|
|
493
508
|
__decorateClass([
|
|
509
|
+
Type6(() => String),
|
|
494
510
|
IsString6(),
|
|
495
511
|
IsOptional6(),
|
|
496
512
|
Matches5(/^BuildingRadiancePropertiesAbridged$/),
|
|
497
513
|
Expose6({ name: "type" })
|
|
498
514
|
], _BuildingRadiancePropertiesAbridged.prototype, "type", 2);
|
|
499
515
|
__decorateClass([
|
|
516
|
+
Type6(() => String),
|
|
500
517
|
IsString6(),
|
|
501
518
|
IsOptional6(),
|
|
502
519
|
Expose6({ name: "modifier_set" })
|
|
@@ -558,21 +575,22 @@ var _BuildingPropertiesAbridged = class _BuildingPropertiesAbridged extends _Ope
|
|
|
558
575
|
}
|
|
559
576
|
};
|
|
560
577
|
__decorateClass([
|
|
578
|
+
Type7(() => String),
|
|
561
579
|
IsString7(),
|
|
562
580
|
IsOptional7(),
|
|
563
581
|
Matches6(/^BuildingPropertiesAbridged$/),
|
|
564
582
|
Expose7({ name: "type" })
|
|
565
583
|
], _BuildingPropertiesAbridged.prototype, "type", 2);
|
|
566
584
|
__decorateClass([
|
|
567
|
-
IsInstance(BuildingEnergyPropertiesAbridged),
|
|
568
585
|
Type7(() => BuildingEnergyPropertiesAbridged),
|
|
586
|
+
IsInstance(BuildingEnergyPropertiesAbridged),
|
|
569
587
|
ValidateNested(),
|
|
570
588
|
IsOptional7(),
|
|
571
589
|
Expose7({ name: "energy" })
|
|
572
590
|
], _BuildingPropertiesAbridged.prototype, "energy", 2);
|
|
573
591
|
__decorateClass([
|
|
574
|
-
IsInstance(BuildingRadiancePropertiesAbridged),
|
|
575
592
|
Type7(() => BuildingRadiancePropertiesAbridged),
|
|
593
|
+
IsInstance(BuildingRadiancePropertiesAbridged),
|
|
576
594
|
ValidateNested(),
|
|
577
595
|
IsOptional7(),
|
|
578
596
|
Expose7({ name: "radiance" })
|
|
@@ -637,13 +655,14 @@ var _RoofSpecification = class _RoofSpecification extends _OpenAPIGenBaseModel {
|
|
|
637
655
|
};
|
|
638
656
|
__decorateClass([
|
|
639
657
|
IsArray2(),
|
|
640
|
-
IsInstance2(Face3D, { each: true }),
|
|
641
658
|
Type8(() => Face3D),
|
|
659
|
+
IsInstance2(Face3D, { each: true }),
|
|
642
660
|
ValidateNested2({ each: true }),
|
|
643
661
|
IsDefined3(),
|
|
644
662
|
Expose8({ name: "geometry" })
|
|
645
663
|
], _RoofSpecification.prototype, "geometry", 2);
|
|
646
664
|
__decorateClass([
|
|
665
|
+
Type8(() => String),
|
|
647
666
|
IsString8(),
|
|
648
667
|
IsOptional8(),
|
|
649
668
|
Matches7(/^RoofSpecification$/),
|
|
@@ -750,7 +769,7 @@ import { Adiabatic } from "honeybee-schema";
|
|
|
750
769
|
|
|
751
770
|
// src/models/DetailedSkylights.ts
|
|
752
771
|
import { IsArray as IsArray3, IsDefined as IsDefined4, IsString as IsString9, IsOptional as IsOptional9, Matches as Matches8, IsBoolean as IsBoolean3, validate as validate9 } from "class-validator";
|
|
753
|
-
import { instanceToPlain as instanceToPlain9, Expose as Expose9 } from "class-transformer";
|
|
772
|
+
import { Type as Type9, instanceToPlain as instanceToPlain9, Expose as Expose9 } from "class-transformer";
|
|
754
773
|
var _DetailedSkylights = class _DetailedSkylights extends _OpenAPIGenBaseModel {
|
|
755
774
|
constructor() {
|
|
756
775
|
super();
|
|
@@ -811,6 +830,7 @@ __decorateClass([
|
|
|
811
830
|
Expose9({ name: "polygons" })
|
|
812
831
|
], _DetailedSkylights.prototype, "polygons", 2);
|
|
813
832
|
__decorateClass([
|
|
833
|
+
Type9(() => String),
|
|
814
834
|
IsString9(),
|
|
815
835
|
IsOptional9(),
|
|
816
836
|
Matches8(/^DetailedSkylights$/),
|
|
@@ -818,6 +838,7 @@ __decorateClass([
|
|
|
818
838
|
], _DetailedSkylights.prototype, "type", 2);
|
|
819
839
|
__decorateClass([
|
|
820
840
|
IsArray3(),
|
|
841
|
+
Type9(() => Boolean),
|
|
821
842
|
IsBoolean3({ each: true }),
|
|
822
843
|
IsOptional9(),
|
|
823
844
|
Expose9({ name: "are_doors" })
|
|
@@ -826,7 +847,7 @@ var DetailedSkylights = _DetailedSkylights;
|
|
|
826
847
|
|
|
827
848
|
// src/models/DetailedWindows.ts
|
|
828
849
|
import { IsArray as IsArray4, IsDefined as IsDefined5, IsString as IsString10, IsOptional as IsOptional10, Matches as Matches9, IsBoolean as IsBoolean4, validate as validate10 } from "class-validator";
|
|
829
|
-
import { instanceToPlain as instanceToPlain10, Expose as Expose10 } from "class-transformer";
|
|
850
|
+
import { Type as Type10, instanceToPlain as instanceToPlain10, Expose as Expose10 } from "class-transformer";
|
|
830
851
|
var _DetailedWindows = class _DetailedWindows extends _WindowParameterBase {
|
|
831
852
|
constructor() {
|
|
832
853
|
super();
|
|
@@ -888,6 +909,7 @@ __decorateClass([
|
|
|
888
909
|
Expose10({ name: "polygons" })
|
|
889
910
|
], _DetailedWindows.prototype, "polygons", 2);
|
|
890
911
|
__decorateClass([
|
|
912
|
+
Type10(() => String),
|
|
891
913
|
IsString10(),
|
|
892
914
|
IsOptional10(),
|
|
893
915
|
Matches9(/^DetailedWindows$/),
|
|
@@ -895,6 +917,7 @@ __decorateClass([
|
|
|
895
917
|
], _DetailedWindows.prototype, "type", 2);
|
|
896
918
|
__decorateClass([
|
|
897
919
|
IsArray4(),
|
|
920
|
+
Type10(() => Boolean),
|
|
898
921
|
IsBoolean4({ each: true }),
|
|
899
922
|
IsOptional10(),
|
|
900
923
|
Expose10({ name: "are_doors" })
|
|
@@ -903,7 +926,7 @@ var DetailedWindows = _DetailedWindows;
|
|
|
903
926
|
|
|
904
927
|
// src/models/ExtrudedBorder.ts
|
|
905
928
|
import { IsNumber as IsNumber3, IsDefined as IsDefined6, IsString as IsString11, IsOptional as IsOptional11, Matches as Matches10, validate as validate11 } from "class-validator";
|
|
906
|
-
import { instanceToPlain as instanceToPlain11, Expose as Expose11 } from "class-transformer";
|
|
929
|
+
import { Type as Type11, instanceToPlain as instanceToPlain11, Expose as Expose11 } from "class-transformer";
|
|
907
930
|
var _ExtrudedBorder = class _ExtrudedBorder extends _OpenAPIGenBaseModel {
|
|
908
931
|
constructor() {
|
|
909
932
|
super();
|
|
@@ -954,11 +977,13 @@ var _ExtrudedBorder = class _ExtrudedBorder extends _OpenAPIGenBaseModel {
|
|
|
954
977
|
}
|
|
955
978
|
};
|
|
956
979
|
__decorateClass([
|
|
980
|
+
Type11(() => Number),
|
|
957
981
|
IsNumber3(),
|
|
958
982
|
IsDefined6(),
|
|
959
983
|
Expose11({ name: "depth" })
|
|
960
984
|
], _ExtrudedBorder.prototype, "depth", 2);
|
|
961
985
|
__decorateClass([
|
|
986
|
+
Type11(() => String),
|
|
962
987
|
IsString11(),
|
|
963
988
|
IsOptional11(),
|
|
964
989
|
Matches10(/^ExtrudedBorder$/),
|
|
@@ -968,7 +993,7 @@ var ExtrudedBorder = _ExtrudedBorder;
|
|
|
968
993
|
|
|
969
994
|
// src/models/GriddedSkylightArea.ts
|
|
970
995
|
import { IsNumber as IsNumber4, IsDefined as IsDefined7, IsString as IsString12, IsOptional as IsOptional12, Matches as Matches11, validate as validate12 } from "class-validator";
|
|
971
|
-
import { instanceToPlain as instanceToPlain12, Expose as Expose12 } from "class-transformer";
|
|
996
|
+
import { Type as Type12, instanceToPlain as instanceToPlain12, Expose as Expose12 } from "class-transformer";
|
|
972
997
|
import { Autocalculate } from "honeybee-schema";
|
|
973
998
|
var _GriddedSkylightArea = class _GriddedSkylightArea extends _OpenAPIGenBaseModel {
|
|
974
999
|
constructor() {
|
|
@@ -1025,11 +1050,13 @@ var _GriddedSkylightArea = class _GriddedSkylightArea extends _OpenAPIGenBaseMod
|
|
|
1025
1050
|
}
|
|
1026
1051
|
};
|
|
1027
1052
|
__decorateClass([
|
|
1053
|
+
Type12(() => Number),
|
|
1028
1054
|
IsNumber4(),
|
|
1029
1055
|
IsDefined7(),
|
|
1030
1056
|
Expose12({ name: "skylight_area" })
|
|
1031
1057
|
], _GriddedSkylightArea.prototype, "skylightArea", 2);
|
|
1032
1058
|
__decorateClass([
|
|
1059
|
+
Type12(() => String),
|
|
1033
1060
|
IsString12(),
|
|
1034
1061
|
IsOptional12(),
|
|
1035
1062
|
Matches11(/^GriddedSkylightArea$/),
|
|
@@ -1043,7 +1070,7 @@ var GriddedSkylightArea = _GriddedSkylightArea;
|
|
|
1043
1070
|
|
|
1044
1071
|
// src/models/GriddedSkylightRatio.ts
|
|
1045
1072
|
import { IsNumber as IsNumber5, IsDefined as IsDefined8, IsString as IsString13, IsOptional as IsOptional13, Matches as Matches12, validate as validate13 } from "class-validator";
|
|
1046
|
-
import { instanceToPlain as instanceToPlain13, Expose as Expose13 } from "class-transformer";
|
|
1073
|
+
import { Type as Type13, instanceToPlain as instanceToPlain13, Expose as Expose13 } from "class-transformer";
|
|
1047
1074
|
import { Autocalculate as Autocalculate2 } from "honeybee-schema";
|
|
1048
1075
|
var _GriddedSkylightRatio = class _GriddedSkylightRatio extends _OpenAPIGenBaseModel {
|
|
1049
1076
|
constructor() {
|
|
@@ -1100,11 +1127,13 @@ var _GriddedSkylightRatio = class _GriddedSkylightRatio extends _OpenAPIGenBaseM
|
|
|
1100
1127
|
}
|
|
1101
1128
|
};
|
|
1102
1129
|
__decorateClass([
|
|
1130
|
+
Type13(() => Number),
|
|
1103
1131
|
IsNumber5(),
|
|
1104
1132
|
IsDefined8(),
|
|
1105
1133
|
Expose13({ name: "skylight_ratio" })
|
|
1106
1134
|
], _GriddedSkylightRatio.prototype, "skylightRatio", 2);
|
|
1107
1135
|
__decorateClass([
|
|
1136
|
+
Type13(() => String),
|
|
1108
1137
|
IsString13(),
|
|
1109
1138
|
IsOptional13(),
|
|
1110
1139
|
Matches12(/^GriddedSkylightRatio$/),
|
|
@@ -1122,7 +1151,7 @@ import { IDdBaseModel } from "honeybee-schema";
|
|
|
1122
1151
|
|
|
1123
1152
|
// src/models/LouversByCount.ts
|
|
1124
1153
|
import { IsInt, IsDefined as IsDefined9, IsString as IsString14, IsOptional as IsOptional14, Matches as Matches13, validate as validate14 } from "class-validator";
|
|
1125
|
-
import { instanceToPlain as instanceToPlain14, Expose as Expose14 } from "class-transformer";
|
|
1154
|
+
import { Type as Type14, instanceToPlain as instanceToPlain14, Expose as Expose14 } from "class-transformer";
|
|
1126
1155
|
var _LouversByCount = class _LouversByCount extends _LouversBase {
|
|
1127
1156
|
constructor() {
|
|
1128
1157
|
super();
|
|
@@ -1178,11 +1207,13 @@ var _LouversByCount = class _LouversByCount extends _LouversBase {
|
|
|
1178
1207
|
}
|
|
1179
1208
|
};
|
|
1180
1209
|
__decorateClass([
|
|
1210
|
+
Type14(() => Number),
|
|
1181
1211
|
IsInt(),
|
|
1182
1212
|
IsDefined9(),
|
|
1183
1213
|
Expose14({ name: "louver_count" })
|
|
1184
1214
|
], _LouversByCount.prototype, "louverCount", 2);
|
|
1185
1215
|
__decorateClass([
|
|
1216
|
+
Type14(() => String),
|
|
1186
1217
|
IsString14(),
|
|
1187
1218
|
IsOptional14(),
|
|
1188
1219
|
Matches13(/^LouversByCount$/),
|
|
@@ -1192,7 +1223,7 @@ var LouversByCount = _LouversByCount;
|
|
|
1192
1223
|
|
|
1193
1224
|
// src/models/LouversByDistance.ts
|
|
1194
1225
|
import { IsNumber as IsNumber6, IsDefined as IsDefined10, IsString as IsString15, IsOptional as IsOptional15, Matches as Matches14, validate as validate15 } from "class-validator";
|
|
1195
|
-
import { instanceToPlain as instanceToPlain15, Expose as Expose15 } from "class-transformer";
|
|
1226
|
+
import { Type as Type15, instanceToPlain as instanceToPlain15, Expose as Expose15 } from "class-transformer";
|
|
1196
1227
|
var _LouversByDistance = class _LouversByDistance extends _LouversBase {
|
|
1197
1228
|
constructor() {
|
|
1198
1229
|
super();
|
|
@@ -1248,11 +1279,13 @@ var _LouversByDistance = class _LouversByDistance extends _LouversBase {
|
|
|
1248
1279
|
}
|
|
1249
1280
|
};
|
|
1250
1281
|
__decorateClass([
|
|
1282
|
+
Type15(() => Number),
|
|
1251
1283
|
IsNumber6(),
|
|
1252
1284
|
IsDefined10(),
|
|
1253
1285
|
Expose15({ name: "distance" })
|
|
1254
1286
|
], _LouversByDistance.prototype, "distance", 2);
|
|
1255
1287
|
__decorateClass([
|
|
1288
|
+
Type15(() => String),
|
|
1256
1289
|
IsString15(),
|
|
1257
1290
|
IsOptional15(),
|
|
1258
1291
|
Matches14(/^LouversByDistance$/),
|
|
@@ -1266,7 +1299,7 @@ import { Outdoors } from "honeybee-schema";
|
|
|
1266
1299
|
|
|
1267
1300
|
// src/models/Overhang.ts
|
|
1268
1301
|
import { IsNumber as IsNumber7, IsDefined as IsDefined11, IsString as IsString16, IsOptional as IsOptional16, Matches as Matches15, Min as Min2, Max as Max2, validate as validate16 } from "class-validator";
|
|
1269
|
-
import { instanceToPlain as instanceToPlain16, Expose as Expose16 } from "class-transformer";
|
|
1302
|
+
import { Type as Type16, instanceToPlain as instanceToPlain16, Expose as Expose16 } from "class-transformer";
|
|
1270
1303
|
var _Overhang = class _Overhang extends _OpenAPIGenBaseModel {
|
|
1271
1304
|
constructor() {
|
|
1272
1305
|
super();
|
|
@@ -1322,17 +1355,20 @@ var _Overhang = class _Overhang extends _OpenAPIGenBaseModel {
|
|
|
1322
1355
|
}
|
|
1323
1356
|
};
|
|
1324
1357
|
__decorateClass([
|
|
1358
|
+
Type16(() => Number),
|
|
1325
1359
|
IsNumber7(),
|
|
1326
1360
|
IsDefined11(),
|
|
1327
1361
|
Expose16({ name: "depth" })
|
|
1328
1362
|
], _Overhang.prototype, "depth", 2);
|
|
1329
1363
|
__decorateClass([
|
|
1364
|
+
Type16(() => String),
|
|
1330
1365
|
IsString16(),
|
|
1331
1366
|
IsOptional16(),
|
|
1332
1367
|
Matches15(/^Overhang$/),
|
|
1333
1368
|
Expose16({ name: "type" })
|
|
1334
1369
|
], _Overhang.prototype, "type", 2);
|
|
1335
1370
|
__decorateClass([
|
|
1371
|
+
Type16(() => Number),
|
|
1336
1372
|
IsNumber7(),
|
|
1337
1373
|
IsOptional16(),
|
|
1338
1374
|
Min2(-90),
|
|
@@ -1343,7 +1379,7 @@ var Overhang = _Overhang;
|
|
|
1343
1379
|
|
|
1344
1380
|
// src/models/RectangularWindows.ts
|
|
1345
1381
|
import { IsArray as IsArray5, IsDefined as IsDefined12, IsNumber as IsNumber8, IsString as IsString17, IsOptional as IsOptional17, Matches as Matches16, IsBoolean as IsBoolean5, validate as validate17 } from "class-validator";
|
|
1346
|
-
import { instanceToPlain as instanceToPlain17, Expose as Expose17 } from "class-transformer";
|
|
1382
|
+
import { Type as Type17, instanceToPlain as instanceToPlain17, Expose as Expose17 } from "class-transformer";
|
|
1347
1383
|
var _RectangularWindows = class _RectangularWindows extends _WindowParameterBase {
|
|
1348
1384
|
constructor() {
|
|
1349
1385
|
super();
|
|
@@ -1414,17 +1450,20 @@ __decorateClass([
|
|
|
1414
1450
|
], _RectangularWindows.prototype, "origins", 2);
|
|
1415
1451
|
__decorateClass([
|
|
1416
1452
|
IsArray5(),
|
|
1453
|
+
Type17(() => Number),
|
|
1417
1454
|
IsNumber8({}, { each: true }),
|
|
1418
1455
|
IsDefined12(),
|
|
1419
1456
|
Expose17({ name: "widths" })
|
|
1420
1457
|
], _RectangularWindows.prototype, "widths", 2);
|
|
1421
1458
|
__decorateClass([
|
|
1422
1459
|
IsArray5(),
|
|
1460
|
+
Type17(() => Number),
|
|
1423
1461
|
IsNumber8({}, { each: true }),
|
|
1424
1462
|
IsDefined12(),
|
|
1425
1463
|
Expose17({ name: "heights" })
|
|
1426
1464
|
], _RectangularWindows.prototype, "heights", 2);
|
|
1427
1465
|
__decorateClass([
|
|
1466
|
+
Type17(() => String),
|
|
1428
1467
|
IsString17(),
|
|
1429
1468
|
IsOptional17(),
|
|
1430
1469
|
Matches16(/^RectangularWindows$/),
|
|
@@ -1432,6 +1471,7 @@ __decorateClass([
|
|
|
1432
1471
|
], _RectangularWindows.prototype, "type", 2);
|
|
1433
1472
|
__decorateClass([
|
|
1434
1473
|
IsArray5(),
|
|
1474
|
+
Type17(() => Boolean),
|
|
1435
1475
|
IsBoolean5({ each: true }),
|
|
1436
1476
|
IsOptional17(),
|
|
1437
1477
|
Expose17({ name: "are_doors" })
|
|
@@ -1440,7 +1480,7 @@ var RectangularWindows = _RectangularWindows;
|
|
|
1440
1480
|
|
|
1441
1481
|
// src/models/RepeatingWindowRatio.ts
|
|
1442
1482
|
import { IsNumber as IsNumber9, IsDefined as IsDefined13, Min as Min3, IsString as IsString18, IsOptional as IsOptional18, Matches as Matches17, validate as validate18 } from "class-validator";
|
|
1443
|
-
import { instanceToPlain as instanceToPlain18, Expose as Expose18 } from "class-transformer";
|
|
1483
|
+
import { Type as Type18, instanceToPlain as instanceToPlain18, Expose as Expose18 } from "class-transformer";
|
|
1444
1484
|
var _RepeatingWindowRatio = class _RepeatingWindowRatio extends _WindowParameterBase {
|
|
1445
1485
|
constructor() {
|
|
1446
1486
|
super();
|
|
@@ -1509,33 +1549,39 @@ var _RepeatingWindowRatio = class _RepeatingWindowRatio extends _WindowParameter
|
|
|
1509
1549
|
}
|
|
1510
1550
|
};
|
|
1511
1551
|
__decorateClass([
|
|
1552
|
+
Type18(() => Number),
|
|
1512
1553
|
IsNumber9(),
|
|
1513
1554
|
IsDefined13(),
|
|
1514
1555
|
Expose18({ name: "window_ratio" })
|
|
1515
1556
|
], _RepeatingWindowRatio.prototype, "windowRatio", 2);
|
|
1516
1557
|
__decorateClass([
|
|
1558
|
+
Type18(() => Number),
|
|
1517
1559
|
IsNumber9(),
|
|
1518
1560
|
IsDefined13(),
|
|
1519
1561
|
Expose18({ name: "window_height" })
|
|
1520
1562
|
], _RepeatingWindowRatio.prototype, "windowHeight", 2);
|
|
1521
1563
|
__decorateClass([
|
|
1564
|
+
Type18(() => Number),
|
|
1522
1565
|
IsNumber9(),
|
|
1523
1566
|
IsDefined13(),
|
|
1524
1567
|
Expose18({ name: "sill_height" })
|
|
1525
1568
|
], _RepeatingWindowRatio.prototype, "sillHeight", 2);
|
|
1526
1569
|
__decorateClass([
|
|
1570
|
+
Type18(() => Number),
|
|
1527
1571
|
IsNumber9(),
|
|
1528
1572
|
IsDefined13(),
|
|
1529
1573
|
Min3(0),
|
|
1530
1574
|
Expose18({ name: "horizontal_separation" })
|
|
1531
1575
|
], _RepeatingWindowRatio.prototype, "horizontalSeparation", 2);
|
|
1532
1576
|
__decorateClass([
|
|
1577
|
+
Type18(() => String),
|
|
1533
1578
|
IsString18(),
|
|
1534
1579
|
IsOptional18(),
|
|
1535
1580
|
Matches17(/^RepeatingWindowRatio$/),
|
|
1536
1581
|
Expose18({ name: "type" })
|
|
1537
1582
|
], _RepeatingWindowRatio.prototype, "type", 2);
|
|
1538
1583
|
__decorateClass([
|
|
1584
|
+
Type18(() => Number),
|
|
1539
1585
|
IsNumber9(),
|
|
1540
1586
|
IsOptional18(),
|
|
1541
1587
|
Min3(0),
|
|
@@ -1549,11 +1595,11 @@ import { Type as Type30, instanceToPlain as instanceToPlain30, Expose as Expose3
|
|
|
1549
1595
|
|
|
1550
1596
|
// src/models/Room2DComparisonProperties.ts
|
|
1551
1597
|
import { IsString as IsString22, IsOptional as IsOptional22, Matches as Matches21, IsArray as IsArray6, validate as validate22 } from "class-validator";
|
|
1552
|
-
import { instanceToPlain as instanceToPlain22, Expose as Expose22, Transform as Transform22 } from "class-transformer";
|
|
1598
|
+
import { Type as Type22, instanceToPlain as instanceToPlain22, Expose as Expose22, Transform as Transform22 } from "class-transformer";
|
|
1553
1599
|
|
|
1554
1600
|
// src/models/SimpleWindowArea.ts
|
|
1555
1601
|
import { IsNumber as IsNumber10, IsDefined as IsDefined14, IsString as IsString19, IsOptional as IsOptional19, Matches as Matches18, IsBoolean as IsBoolean6, validate as validate19 } from "class-validator";
|
|
1556
|
-
import { instanceToPlain as instanceToPlain19, Expose as Expose19 } from "class-transformer";
|
|
1602
|
+
import { Type as Type19, instanceToPlain as instanceToPlain19, Expose as Expose19 } from "class-transformer";
|
|
1557
1603
|
var _SimpleWindowArea = class _SimpleWindowArea extends _WindowParameterBase {
|
|
1558
1604
|
constructor() {
|
|
1559
1605
|
super();
|
|
@@ -1610,17 +1656,20 @@ var _SimpleWindowArea = class _SimpleWindowArea extends _WindowParameterBase {
|
|
|
1610
1656
|
}
|
|
1611
1657
|
};
|
|
1612
1658
|
__decorateClass([
|
|
1659
|
+
Type19(() => Number),
|
|
1613
1660
|
IsNumber10(),
|
|
1614
1661
|
IsDefined14(),
|
|
1615
1662
|
Expose19({ name: "window_area" })
|
|
1616
1663
|
], _SimpleWindowArea.prototype, "windowArea", 2);
|
|
1617
1664
|
__decorateClass([
|
|
1665
|
+
Type19(() => String),
|
|
1618
1666
|
IsString19(),
|
|
1619
1667
|
IsOptional19(),
|
|
1620
1668
|
Matches18(/^SimpleWindowArea$/),
|
|
1621
1669
|
Expose19({ name: "type" })
|
|
1622
1670
|
], _SimpleWindowArea.prototype, "type", 2);
|
|
1623
1671
|
__decorateClass([
|
|
1672
|
+
Type19(() => Boolean),
|
|
1624
1673
|
IsBoolean6(),
|
|
1625
1674
|
IsOptional19(),
|
|
1626
1675
|
Expose19({ name: "rect_split" })
|
|
@@ -1629,7 +1678,7 @@ var SimpleWindowArea = _SimpleWindowArea;
|
|
|
1629
1678
|
|
|
1630
1679
|
// src/models/SimpleWindowRatio.ts
|
|
1631
1680
|
import { IsNumber as IsNumber11, IsDefined as IsDefined15, IsString as IsString20, IsOptional as IsOptional20, Matches as Matches19, IsBoolean as IsBoolean7, validate as validate20 } from "class-validator";
|
|
1632
|
-
import { instanceToPlain as instanceToPlain20, Expose as Expose20 } from "class-transformer";
|
|
1681
|
+
import { Type as Type20, instanceToPlain as instanceToPlain20, Expose as Expose20 } from "class-transformer";
|
|
1633
1682
|
var _SimpleWindowRatio = class _SimpleWindowRatio extends _WindowParameterBase {
|
|
1634
1683
|
constructor() {
|
|
1635
1684
|
super();
|
|
@@ -1686,17 +1735,20 @@ var _SimpleWindowRatio = class _SimpleWindowRatio extends _WindowParameterBase {
|
|
|
1686
1735
|
}
|
|
1687
1736
|
};
|
|
1688
1737
|
__decorateClass([
|
|
1738
|
+
Type20(() => Number),
|
|
1689
1739
|
IsNumber11(),
|
|
1690
1740
|
IsDefined15(),
|
|
1691
1741
|
Expose20({ name: "window_ratio" })
|
|
1692
1742
|
], _SimpleWindowRatio.prototype, "windowRatio", 2);
|
|
1693
1743
|
__decorateClass([
|
|
1744
|
+
Type20(() => String),
|
|
1694
1745
|
IsString20(),
|
|
1695
1746
|
IsOptional20(),
|
|
1696
1747
|
Matches19(/^SimpleWindowRatio$/),
|
|
1697
1748
|
Expose20({ name: "type" })
|
|
1698
1749
|
], _SimpleWindowRatio.prototype, "type", 2);
|
|
1699
1750
|
__decorateClass([
|
|
1751
|
+
Type20(() => Boolean),
|
|
1700
1752
|
IsBoolean7(),
|
|
1701
1753
|
IsOptional20(),
|
|
1702
1754
|
Expose20({ name: "rect_split" })
|
|
@@ -1705,7 +1757,7 @@ var SimpleWindowRatio = _SimpleWindowRatio;
|
|
|
1705
1757
|
|
|
1706
1758
|
// src/models/SingleWindow.ts
|
|
1707
1759
|
import { IsNumber as IsNumber12, IsDefined as IsDefined16, IsString as IsString21, IsOptional as IsOptional21, Matches as Matches20, validate as validate21 } from "class-validator";
|
|
1708
|
-
import { instanceToPlain as instanceToPlain21, Expose as Expose21 } from "class-transformer";
|
|
1760
|
+
import { Type as Type21, instanceToPlain as instanceToPlain21, Expose as Expose21 } from "class-transformer";
|
|
1709
1761
|
var _SingleWindow = class _SingleWindow extends _WindowParameterBase {
|
|
1710
1762
|
constructor() {
|
|
1711
1763
|
super();
|
|
@@ -1766,22 +1818,26 @@ var _SingleWindow = class _SingleWindow extends _WindowParameterBase {
|
|
|
1766
1818
|
}
|
|
1767
1819
|
};
|
|
1768
1820
|
__decorateClass([
|
|
1821
|
+
Type21(() => Number),
|
|
1769
1822
|
IsNumber12(),
|
|
1770
1823
|
IsDefined16(),
|
|
1771
1824
|
Expose21({ name: "width" })
|
|
1772
1825
|
], _SingleWindow.prototype, "width", 2);
|
|
1773
1826
|
__decorateClass([
|
|
1827
|
+
Type21(() => Number),
|
|
1774
1828
|
IsNumber12(),
|
|
1775
1829
|
IsDefined16(),
|
|
1776
1830
|
Expose21({ name: "height" })
|
|
1777
1831
|
], _SingleWindow.prototype, "height", 2);
|
|
1778
1832
|
__decorateClass([
|
|
1833
|
+
Type21(() => String),
|
|
1779
1834
|
IsString21(),
|
|
1780
1835
|
IsOptional21(),
|
|
1781
1836
|
Matches20(/^SingleWindow$/),
|
|
1782
1837
|
Expose21({ name: "type" })
|
|
1783
1838
|
], _SingleWindow.prototype, "type", 2);
|
|
1784
1839
|
__decorateClass([
|
|
1840
|
+
Type21(() => Number),
|
|
1785
1841
|
IsNumber12(),
|
|
1786
1842
|
IsOptional21(),
|
|
1787
1843
|
Expose21({ name: "sill_height" })
|
|
@@ -1851,6 +1907,7 @@ var _Room2DComparisonProperties = class _Room2DComparisonProperties extends _Ope
|
|
|
1851
1907
|
}
|
|
1852
1908
|
};
|
|
1853
1909
|
__decorateClass([
|
|
1910
|
+
Type22(() => String),
|
|
1854
1911
|
IsString22(),
|
|
1855
1912
|
IsOptional22(),
|
|
1856
1913
|
Matches21(/^Room2DComparisonProperties$/),
|
|
@@ -1897,7 +1954,7 @@ var Room2DComparisonProperties = _Room2DComparisonProperties;
|
|
|
1897
1954
|
|
|
1898
1955
|
// src/models/Room2DDoe2Properties.ts
|
|
1899
1956
|
import { IsString as IsString23, IsOptional as IsOptional23, Matches as Matches22, validate as validate23 } from "class-validator";
|
|
1900
|
-
import { instanceToPlain as instanceToPlain23, Expose as Expose23 } from "class-transformer";
|
|
1957
|
+
import { Type as Type23, instanceToPlain as instanceToPlain23, Expose as Expose23 } from "class-transformer";
|
|
1901
1958
|
import { Autocalculate as Autocalculate3 } from "honeybee-schema";
|
|
1902
1959
|
var _Room2DDoe2Properties = class _Room2DDoe2Properties extends _OpenAPIGenBaseModel {
|
|
1903
1960
|
constructor() {
|
|
@@ -1970,6 +2027,7 @@ var _Room2DDoe2Properties = class _Room2DDoe2Properties extends _OpenAPIGenBaseM
|
|
|
1970
2027
|
}
|
|
1971
2028
|
};
|
|
1972
2029
|
__decorateClass([
|
|
2030
|
+
Type23(() => String),
|
|
1973
2031
|
IsString23(),
|
|
1974
2032
|
IsOptional23(),
|
|
1975
2033
|
Matches22(/^Room2DDoe2Properties$/),
|
|
@@ -2077,12 +2135,14 @@ var _Room2DEnergyPropertiesAbridged = class _Room2DEnergyPropertiesAbridged exte
|
|
|
2077
2135
|
}
|
|
2078
2136
|
};
|
|
2079
2137
|
__decorateClass([
|
|
2138
|
+
Type24(() => String),
|
|
2080
2139
|
IsString24(),
|
|
2081
2140
|
IsOptional24(),
|
|
2082
2141
|
Matches23(/^Room2DEnergyPropertiesAbridged$/),
|
|
2083
2142
|
Expose24({ name: "type" })
|
|
2084
2143
|
], _Room2DEnergyPropertiesAbridged.prototype, "type", 2);
|
|
2085
2144
|
__decorateClass([
|
|
2145
|
+
Type24(() => String),
|
|
2086
2146
|
IsString24(),
|
|
2087
2147
|
IsOptional24(),
|
|
2088
2148
|
MinLength2(1),
|
|
@@ -2090,6 +2150,7 @@ __decorateClass([
|
|
|
2090
2150
|
Expose24({ name: "construction_set" })
|
|
2091
2151
|
], _Room2DEnergyPropertiesAbridged.prototype, "constructionSet", 2);
|
|
2092
2152
|
__decorateClass([
|
|
2153
|
+
Type24(() => String),
|
|
2093
2154
|
IsString24(),
|
|
2094
2155
|
IsOptional24(),
|
|
2095
2156
|
MinLength2(1),
|
|
@@ -2097,6 +2158,7 @@ __decorateClass([
|
|
|
2097
2158
|
Expose24({ name: "program_type" })
|
|
2098
2159
|
], _Room2DEnergyPropertiesAbridged.prototype, "programType", 2);
|
|
2099
2160
|
__decorateClass([
|
|
2161
|
+
Type24(() => String),
|
|
2100
2162
|
IsString24(),
|
|
2101
2163
|
IsOptional24(),
|
|
2102
2164
|
MinLength2(1),
|
|
@@ -2104,6 +2166,7 @@ __decorateClass([
|
|
|
2104
2166
|
Expose24({ name: "hvac" })
|
|
2105
2167
|
], _Room2DEnergyPropertiesAbridged.prototype, "hvac", 2);
|
|
2106
2168
|
__decorateClass([
|
|
2169
|
+
Type24(() => String),
|
|
2107
2170
|
IsString24(),
|
|
2108
2171
|
IsOptional24(),
|
|
2109
2172
|
MinLength2(1),
|
|
@@ -2111,23 +2174,23 @@ __decorateClass([
|
|
|
2111
2174
|
Expose24({ name: "shw" })
|
|
2112
2175
|
], _Room2DEnergyPropertiesAbridged.prototype, "shw", 2);
|
|
2113
2176
|
__decorateClass([
|
|
2114
|
-
IsInstance3(VentilationControlAbridged),
|
|
2115
2177
|
Type24(() => VentilationControlAbridged),
|
|
2178
|
+
IsInstance3(VentilationControlAbridged),
|
|
2116
2179
|
ValidateNested3(),
|
|
2117
2180
|
IsOptional24(),
|
|
2118
2181
|
Expose24({ name: "window_vent_control" })
|
|
2119
2182
|
], _Room2DEnergyPropertiesAbridged.prototype, "windowVentControl", 2);
|
|
2120
2183
|
__decorateClass([
|
|
2121
|
-
IsInstance3(VentilationOpening),
|
|
2122
2184
|
Type24(() => VentilationOpening),
|
|
2185
|
+
IsInstance3(VentilationOpening),
|
|
2123
2186
|
ValidateNested3(),
|
|
2124
2187
|
IsOptional24(),
|
|
2125
2188
|
Expose24({ name: "window_vent_opening" })
|
|
2126
2189
|
], _Room2DEnergyPropertiesAbridged.prototype, "windowVentOpening", 2);
|
|
2127
2190
|
__decorateClass([
|
|
2128
2191
|
IsArray7(),
|
|
2129
|
-
IsInstance3(ProcessAbridged, { each: true }),
|
|
2130
2192
|
Type24(() => ProcessAbridged),
|
|
2193
|
+
IsInstance3(ProcessAbridged, { each: true }),
|
|
2131
2194
|
ValidateNested3({ each: true }),
|
|
2132
2195
|
IsOptional24(),
|
|
2133
2196
|
Expose24({ name: "process_loads" })
|
|
@@ -2136,7 +2199,7 @@ var Room2DEnergyPropertiesAbridged = _Room2DEnergyPropertiesAbridged;
|
|
|
2136
2199
|
|
|
2137
2200
|
// src/models/Room2DRadiancePropertiesAbridged.ts
|
|
2138
2201
|
import { IsString as IsString29, IsOptional as IsOptional29, Matches as Matches28, IsArray as IsArray9, validate as validate29 } from "class-validator";
|
|
2139
|
-
import { instanceToPlain as instanceToPlain29, Expose as Expose29, Transform as Transform29 } from "class-transformer";
|
|
2202
|
+
import { Type as Type29, instanceToPlain as instanceToPlain29, Expose as Expose29, Transform as Transform29 } from "class-transformer";
|
|
2140
2203
|
|
|
2141
2204
|
// src/models/ExteriorApertureGridParameter.ts
|
|
2142
2205
|
import { IsString as IsString25, IsOptional as IsOptional25, Matches as Matches24, IsNumber as IsNumber13, IsEnum, validate as validate25 } from "class-validator";
|
|
@@ -2209,19 +2272,21 @@ var _ExteriorApertureGridParameter = class _ExteriorApertureGridParameter extend
|
|
|
2209
2272
|
}
|
|
2210
2273
|
};
|
|
2211
2274
|
__decorateClass([
|
|
2275
|
+
Type25(() => String),
|
|
2212
2276
|
IsString25(),
|
|
2213
2277
|
IsOptional25(),
|
|
2214
2278
|
Matches24(/^ExteriorApertureGridParameter$/),
|
|
2215
2279
|
Expose25({ name: "type" })
|
|
2216
2280
|
], _ExteriorApertureGridParameter.prototype, "type", 2);
|
|
2217
2281
|
__decorateClass([
|
|
2282
|
+
Type25(() => Number),
|
|
2218
2283
|
IsNumber13(),
|
|
2219
2284
|
IsOptional25(),
|
|
2220
2285
|
Expose25({ name: "offset" })
|
|
2221
2286
|
], _ExteriorApertureGridParameter.prototype, "offset", 2);
|
|
2222
2287
|
__decorateClass([
|
|
2223
|
-
IsEnum(ExteriorApertureType),
|
|
2224
2288
|
Type25(() => String),
|
|
2289
|
+
IsEnum(ExteriorApertureType),
|
|
2225
2290
|
IsOptional25(),
|
|
2226
2291
|
Expose25({ name: "aperture_type" })
|
|
2227
2292
|
], _ExteriorApertureGridParameter.prototype, "apertureType", 2);
|
|
@@ -2304,23 +2369,26 @@ var _ExteriorFaceGridParameter = class _ExteriorFaceGridParameter extends _GridP
|
|
|
2304
2369
|
}
|
|
2305
2370
|
};
|
|
2306
2371
|
__decorateClass([
|
|
2372
|
+
Type26(() => String),
|
|
2307
2373
|
IsString26(),
|
|
2308
2374
|
IsOptional26(),
|
|
2309
2375
|
Matches25(/^ExteriorFaceGridParameter$/),
|
|
2310
2376
|
Expose26({ name: "type" })
|
|
2311
2377
|
], _ExteriorFaceGridParameter.prototype, "type", 2);
|
|
2312
2378
|
__decorateClass([
|
|
2379
|
+
Type26(() => Number),
|
|
2313
2380
|
IsNumber14(),
|
|
2314
2381
|
IsOptional26(),
|
|
2315
2382
|
Expose26({ name: "offset" })
|
|
2316
2383
|
], _ExteriorFaceGridParameter.prototype, "offset", 2);
|
|
2317
2384
|
__decorateClass([
|
|
2318
|
-
IsEnum2(ExteriorFaceType),
|
|
2319
2385
|
Type26(() => String),
|
|
2386
|
+
IsEnum2(ExteriorFaceType),
|
|
2320
2387
|
IsOptional26(),
|
|
2321
2388
|
Expose26({ name: "face_type" })
|
|
2322
2389
|
], _ExteriorFaceGridParameter.prototype, "faceType", 2);
|
|
2323
2390
|
__decorateClass([
|
|
2391
|
+
Type26(() => Boolean),
|
|
2324
2392
|
IsBoolean8(),
|
|
2325
2393
|
IsOptional26(),
|
|
2326
2394
|
Expose26({ name: "punched_geometry" })
|
|
@@ -2329,7 +2397,7 @@ var ExteriorFaceGridParameter = _ExteriorFaceGridParameter;
|
|
|
2329
2397
|
|
|
2330
2398
|
// src/models/RoomGridParameter.ts
|
|
2331
2399
|
import { IsString as IsString27, IsOptional as IsOptional27, Matches as Matches26, IsNumber as IsNumber15, validate as validate27 } from "class-validator";
|
|
2332
|
-
import { instanceToPlain as instanceToPlain27, Expose as Expose27 } from "class-transformer";
|
|
2400
|
+
import { Type as Type27, instanceToPlain as instanceToPlain27, Expose as Expose27 } from "class-transformer";
|
|
2333
2401
|
var _RoomGridParameter = class _RoomGridParameter extends _GridParameterBase {
|
|
2334
2402
|
constructor() {
|
|
2335
2403
|
super();
|
|
@@ -2388,17 +2456,20 @@ var _RoomGridParameter = class _RoomGridParameter extends _GridParameterBase {
|
|
|
2388
2456
|
}
|
|
2389
2457
|
};
|
|
2390
2458
|
__decorateClass([
|
|
2459
|
+
Type27(() => String),
|
|
2391
2460
|
IsString27(),
|
|
2392
2461
|
IsOptional27(),
|
|
2393
2462
|
Matches26(/^RoomGridParameter$/),
|
|
2394
2463
|
Expose27({ name: "type" })
|
|
2395
2464
|
], _RoomGridParameter.prototype, "type", 2);
|
|
2396
2465
|
__decorateClass([
|
|
2466
|
+
Type27(() => Number),
|
|
2397
2467
|
IsNumber15(),
|
|
2398
2468
|
IsOptional27(),
|
|
2399
2469
|
Expose27({ name: "offset" })
|
|
2400
2470
|
], _RoomGridParameter.prototype, "offset", 2);
|
|
2401
2471
|
__decorateClass([
|
|
2472
|
+
Type27(() => Number),
|
|
2402
2473
|
IsNumber15(),
|
|
2403
2474
|
IsOptional27(),
|
|
2404
2475
|
Expose27({ name: "wall_offset" })
|
|
@@ -2407,7 +2478,7 @@ var RoomGridParameter = _RoomGridParameter;
|
|
|
2407
2478
|
|
|
2408
2479
|
// src/models/RoomRadialGridParameter.ts
|
|
2409
2480
|
import { IsInt as IsInt2, IsOptional as IsOptional28, IsArray as IsArray8, IsNumber as IsNumber16, IsString as IsString28, Matches as Matches27, validate as validate28 } from "class-validator";
|
|
2410
|
-
import { instanceToPlain as instanceToPlain28, Expose as Expose28 } from "class-transformer";
|
|
2481
|
+
import { Type as Type28, instanceToPlain as instanceToPlain28, Expose as Expose28 } from "class-transformer";
|
|
2411
2482
|
import { Autocalculate as Autocalculate4 } from "honeybee-schema";
|
|
2412
2483
|
var _RoomRadialGridParameter = class _RoomRadialGridParameter extends RoomGridParameter {
|
|
2413
2484
|
constructor() {
|
|
@@ -2473,12 +2544,14 @@ var _RoomRadialGridParameter = class _RoomRadialGridParameter extends RoomGridPa
|
|
|
2473
2544
|
}
|
|
2474
2545
|
};
|
|
2475
2546
|
__decorateClass([
|
|
2547
|
+
Type28(() => Number),
|
|
2476
2548
|
IsInt2(),
|
|
2477
2549
|
IsOptional28(),
|
|
2478
2550
|
Expose28({ name: "dir_count" })
|
|
2479
2551
|
], _RoomRadialGridParameter.prototype, "dirCount", 2);
|
|
2480
2552
|
__decorateClass([
|
|
2481
2553
|
IsArray8(),
|
|
2554
|
+
Type28(() => Number),
|
|
2482
2555
|
IsNumber16({}, { each: true }),
|
|
2483
2556
|
IsOptional28(),
|
|
2484
2557
|
Expose28({ name: "start_vector" })
|
|
@@ -2488,6 +2561,7 @@ __decorateClass([
|
|
|
2488
2561
|
Expose28({ name: "mesh_radius" })
|
|
2489
2562
|
], _RoomRadialGridParameter.prototype, "meshRadius", 2);
|
|
2490
2563
|
__decorateClass([
|
|
2564
|
+
Type28(() => String),
|
|
2491
2565
|
IsString28(),
|
|
2492
2566
|
IsOptional28(),
|
|
2493
2567
|
Matches27(/^RoomRadialGridParameter$/),
|
|
@@ -2550,12 +2624,14 @@ var _Room2DRadiancePropertiesAbridged = class _Room2DRadiancePropertiesAbridged
|
|
|
2550
2624
|
}
|
|
2551
2625
|
};
|
|
2552
2626
|
__decorateClass([
|
|
2627
|
+
Type29(() => String),
|
|
2553
2628
|
IsString29(),
|
|
2554
2629
|
IsOptional29(),
|
|
2555
2630
|
Matches28(/^Room2DRadiancePropertiesAbridged$/),
|
|
2556
2631
|
Expose29({ name: "type" })
|
|
2557
2632
|
], _Room2DRadiancePropertiesAbridged.prototype, "type", 2);
|
|
2558
2633
|
__decorateClass([
|
|
2634
|
+
Type29(() => String),
|
|
2559
2635
|
IsString29(),
|
|
2560
2636
|
IsOptional29(),
|
|
2561
2637
|
Expose29({ name: "modifier_set" })
|
|
@@ -2637,35 +2713,36 @@ var _Room2DPropertiesAbridged = class _Room2DPropertiesAbridged extends _OpenAPI
|
|
|
2637
2713
|
}
|
|
2638
2714
|
};
|
|
2639
2715
|
__decorateClass([
|
|
2716
|
+
Type30(() => String),
|
|
2640
2717
|
IsString30(),
|
|
2641
2718
|
IsOptional30(),
|
|
2642
2719
|
Matches29(/^Room2DPropertiesAbridged$/),
|
|
2643
2720
|
Expose30({ name: "type" })
|
|
2644
2721
|
], _Room2DPropertiesAbridged.prototype, "type", 2);
|
|
2645
2722
|
__decorateClass([
|
|
2646
|
-
IsInstance4(Room2DEnergyPropertiesAbridged),
|
|
2647
2723
|
Type30(() => Room2DEnergyPropertiesAbridged),
|
|
2724
|
+
IsInstance4(Room2DEnergyPropertiesAbridged),
|
|
2648
2725
|
ValidateNested4(),
|
|
2649
2726
|
IsOptional30(),
|
|
2650
2727
|
Expose30({ name: "energy" })
|
|
2651
2728
|
], _Room2DPropertiesAbridged.prototype, "energy", 2);
|
|
2652
2729
|
__decorateClass([
|
|
2653
|
-
IsInstance4(Room2DRadiancePropertiesAbridged),
|
|
2654
2730
|
Type30(() => Room2DRadiancePropertiesAbridged),
|
|
2731
|
+
IsInstance4(Room2DRadiancePropertiesAbridged),
|
|
2655
2732
|
ValidateNested4(),
|
|
2656
2733
|
IsOptional30(),
|
|
2657
2734
|
Expose30({ name: "radiance" })
|
|
2658
2735
|
], _Room2DPropertiesAbridged.prototype, "radiance", 2);
|
|
2659
2736
|
__decorateClass([
|
|
2660
|
-
IsInstance4(Room2DDoe2Properties),
|
|
2661
2737
|
Type30(() => Room2DDoe2Properties),
|
|
2738
|
+
IsInstance4(Room2DDoe2Properties),
|
|
2662
2739
|
ValidateNested4(),
|
|
2663
2740
|
IsOptional30(),
|
|
2664
2741
|
Expose30({ name: "doe2" })
|
|
2665
2742
|
], _Room2DPropertiesAbridged.prototype, "doe2", 2);
|
|
2666
2743
|
__decorateClass([
|
|
2667
|
-
IsInstance4(Room2DComparisonProperties),
|
|
2668
2744
|
Type30(() => Room2DComparisonProperties),
|
|
2745
|
+
IsInstance4(Room2DComparisonProperties),
|
|
2669
2746
|
ValidateNested4(),
|
|
2670
2747
|
IsOptional30(),
|
|
2671
2748
|
Expose30({ name: "comparison" })
|
|
@@ -2803,23 +2880,26 @@ __decorateClass([
|
|
|
2803
2880
|
Expose31({ name: "floor_boundary" })
|
|
2804
2881
|
], _Room2D.prototype, "floorBoundary", 2);
|
|
2805
2882
|
__decorateClass([
|
|
2883
|
+
Type31(() => Number),
|
|
2806
2884
|
IsNumber17(),
|
|
2807
2885
|
IsDefined17(),
|
|
2808
2886
|
Expose31({ name: "floor_height" })
|
|
2809
2887
|
], _Room2D.prototype, "floorHeight", 2);
|
|
2810
2888
|
__decorateClass([
|
|
2889
|
+
Type31(() => Number),
|
|
2811
2890
|
IsNumber17(),
|
|
2812
2891
|
IsDefined17(),
|
|
2813
2892
|
Expose31({ name: "floor_to_ceiling_height" })
|
|
2814
2893
|
], _Room2D.prototype, "floorToCeilingHeight", 2);
|
|
2815
2894
|
__decorateClass([
|
|
2816
|
-
IsInstance5(Room2DPropertiesAbridged),
|
|
2817
2895
|
Type31(() => Room2DPropertiesAbridged),
|
|
2896
|
+
IsInstance5(Room2DPropertiesAbridged),
|
|
2818
2897
|
ValidateNested5(),
|
|
2819
2898
|
IsDefined17(),
|
|
2820
2899
|
Expose31({ name: "properties" })
|
|
2821
2900
|
], _Room2D.prototype, "properties", 2);
|
|
2822
2901
|
__decorateClass([
|
|
2902
|
+
Type31(() => String),
|
|
2823
2903
|
IsString31(),
|
|
2824
2904
|
IsOptional31(),
|
|
2825
2905
|
Matches30(/^Room2D$/),
|
|
@@ -2832,38 +2912,45 @@ __decorateClass([
|
|
|
2832
2912
|
Expose31({ name: "floor_holes" })
|
|
2833
2913
|
], _Room2D.prototype, "floorHoles", 2);
|
|
2834
2914
|
__decorateClass([
|
|
2915
|
+
Type31(() => Boolean),
|
|
2835
2916
|
IsBoolean9(),
|
|
2836
2917
|
IsOptional31(),
|
|
2837
2918
|
Expose31({ name: "is_ground_contact" })
|
|
2838
2919
|
], _Room2D.prototype, "isGroundContact", 2);
|
|
2839
2920
|
__decorateClass([
|
|
2921
|
+
Type31(() => Boolean),
|
|
2840
2922
|
IsBoolean9(),
|
|
2841
2923
|
IsOptional31(),
|
|
2842
2924
|
Expose31({ name: "is_top_exposed" })
|
|
2843
2925
|
], _Room2D.prototype, "isTopExposed", 2);
|
|
2844
2926
|
__decorateClass([
|
|
2927
|
+
Type31(() => Boolean),
|
|
2845
2928
|
IsBoolean9(),
|
|
2846
2929
|
IsOptional31(),
|
|
2847
2930
|
Expose31({ name: "has_floor" })
|
|
2848
2931
|
], _Room2D.prototype, "hasFloor", 2);
|
|
2849
2932
|
__decorateClass([
|
|
2933
|
+
Type31(() => Boolean),
|
|
2850
2934
|
IsBoolean9(),
|
|
2851
2935
|
IsOptional31(),
|
|
2852
2936
|
Expose31({ name: "has_ceiling" })
|
|
2853
2937
|
], _Room2D.prototype, "hasCeiling", 2);
|
|
2854
2938
|
__decorateClass([
|
|
2939
|
+
Type31(() => Number),
|
|
2855
2940
|
IsNumber17(),
|
|
2856
2941
|
IsOptional31(),
|
|
2857
2942
|
Min4(0),
|
|
2858
2943
|
Expose31({ name: "ceiling_plenum_depth" })
|
|
2859
2944
|
], _Room2D.prototype, "ceilingPlenumDepth", 2);
|
|
2860
2945
|
__decorateClass([
|
|
2946
|
+
Type31(() => Number),
|
|
2861
2947
|
IsNumber17(),
|
|
2862
2948
|
IsOptional31(),
|
|
2863
2949
|
Min4(0),
|
|
2864
2950
|
Expose31({ name: "floor_plenum_depth" })
|
|
2865
2951
|
], _Room2D.prototype, "floorPlenumDepth", 2);
|
|
2866
2952
|
__decorateClass([
|
|
2953
|
+
Type31(() => String),
|
|
2867
2954
|
IsString31(),
|
|
2868
2955
|
IsOptional31(),
|
|
2869
2956
|
Expose31({ name: "zone" })
|
|
@@ -2909,6 +2996,7 @@ __decorateClass([
|
|
|
2909
2996
|
], _Room2D.prototype, "shadingParameters", 2);
|
|
2910
2997
|
__decorateClass([
|
|
2911
2998
|
IsArray10(),
|
|
2999
|
+
Type31(() => Boolean),
|
|
2912
3000
|
IsBoolean9({ each: true }),
|
|
2913
3001
|
IsOptional31(),
|
|
2914
3002
|
Expose31({ name: "air_boundaries" })
|
|
@@ -2932,7 +3020,7 @@ import { Type as Type34, instanceToPlain as instanceToPlain34, Expose as Expose3
|
|
|
2932
3020
|
|
|
2933
3021
|
// src/models/StoryEnergyPropertiesAbridged.ts
|
|
2934
3022
|
import { IsString as IsString32, IsOptional as IsOptional32, Matches as Matches31, MinLength as MinLength3, MaxLength as MaxLength3, validate as validate32 } from "class-validator";
|
|
2935
|
-
import { instanceToPlain as instanceToPlain32, Expose as Expose32 } from "class-transformer";
|
|
3023
|
+
import { Type as Type32, instanceToPlain as instanceToPlain32, Expose as Expose32 } from "class-transformer";
|
|
2936
3024
|
var _StoryEnergyPropertiesAbridged = class _StoryEnergyPropertiesAbridged extends _OpenAPIGenBaseModel {
|
|
2937
3025
|
constructor() {
|
|
2938
3026
|
super();
|
|
@@ -2983,12 +3071,14 @@ var _StoryEnergyPropertiesAbridged = class _StoryEnergyPropertiesAbridged extend
|
|
|
2983
3071
|
}
|
|
2984
3072
|
};
|
|
2985
3073
|
__decorateClass([
|
|
3074
|
+
Type32(() => String),
|
|
2986
3075
|
IsString32(),
|
|
2987
3076
|
IsOptional32(),
|
|
2988
3077
|
Matches31(/^StoryEnergyPropertiesAbridged$/),
|
|
2989
3078
|
Expose32({ name: "type" })
|
|
2990
3079
|
], _StoryEnergyPropertiesAbridged.prototype, "type", 2);
|
|
2991
3080
|
__decorateClass([
|
|
3081
|
+
Type32(() => String),
|
|
2992
3082
|
IsString32(),
|
|
2993
3083
|
IsOptional32(),
|
|
2994
3084
|
MinLength3(1),
|
|
@@ -2999,7 +3089,7 @@ var StoryEnergyPropertiesAbridged = _StoryEnergyPropertiesAbridged;
|
|
|
2999
3089
|
|
|
3000
3090
|
// src/models/StoryRadiancePropertiesAbridged.ts
|
|
3001
3091
|
import { IsString as IsString33, IsOptional as IsOptional33, Matches as Matches32, validate as validate33 } from "class-validator";
|
|
3002
|
-
import { instanceToPlain as instanceToPlain33, Expose as Expose33 } from "class-transformer";
|
|
3092
|
+
import { Type as Type33, instanceToPlain as instanceToPlain33, Expose as Expose33 } from "class-transformer";
|
|
3003
3093
|
var _StoryRadiancePropertiesAbridged = class _StoryRadiancePropertiesAbridged extends _OpenAPIGenBaseModel {
|
|
3004
3094
|
constructor() {
|
|
3005
3095
|
super();
|
|
@@ -3050,12 +3140,14 @@ var _StoryRadiancePropertiesAbridged = class _StoryRadiancePropertiesAbridged ex
|
|
|
3050
3140
|
}
|
|
3051
3141
|
};
|
|
3052
3142
|
__decorateClass([
|
|
3143
|
+
Type33(() => String),
|
|
3053
3144
|
IsString33(),
|
|
3054
3145
|
IsOptional33(),
|
|
3055
3146
|
Matches32(/^StoryRadiancePropertiesAbridged$/),
|
|
3056
3147
|
Expose33({ name: "type" })
|
|
3057
3148
|
], _StoryRadiancePropertiesAbridged.prototype, "type", 2);
|
|
3058
3149
|
__decorateClass([
|
|
3150
|
+
Type33(() => String),
|
|
3059
3151
|
IsString33(),
|
|
3060
3152
|
IsOptional33(),
|
|
3061
3153
|
Expose33({ name: "modifier_set" })
|
|
@@ -3117,21 +3209,22 @@ var _StoryPropertiesAbridged = class _StoryPropertiesAbridged extends _OpenAPIGe
|
|
|
3117
3209
|
}
|
|
3118
3210
|
};
|
|
3119
3211
|
__decorateClass([
|
|
3212
|
+
Type34(() => String),
|
|
3120
3213
|
IsString34(),
|
|
3121
3214
|
IsOptional34(),
|
|
3122
3215
|
Matches33(/^StoryPropertiesAbridged$/),
|
|
3123
3216
|
Expose34({ name: "type" })
|
|
3124
3217
|
], _StoryPropertiesAbridged.prototype, "type", 2);
|
|
3125
3218
|
__decorateClass([
|
|
3126
|
-
IsInstance6(StoryEnergyPropertiesAbridged),
|
|
3127
3219
|
Type34(() => StoryEnergyPropertiesAbridged),
|
|
3220
|
+
IsInstance6(StoryEnergyPropertiesAbridged),
|
|
3128
3221
|
ValidateNested6(),
|
|
3129
3222
|
IsOptional34(),
|
|
3130
3223
|
Expose34({ name: "energy" })
|
|
3131
3224
|
], _StoryPropertiesAbridged.prototype, "energy", 2);
|
|
3132
3225
|
__decorateClass([
|
|
3133
|
-
IsInstance6(StoryRadiancePropertiesAbridged),
|
|
3134
3226
|
Type34(() => StoryRadiancePropertiesAbridged),
|
|
3227
|
+
IsInstance6(StoryRadiancePropertiesAbridged),
|
|
3135
3228
|
ValidateNested6(),
|
|
3136
3229
|
IsOptional34(),
|
|
3137
3230
|
Expose34({ name: "radiance" })
|
|
@@ -3229,20 +3322,21 @@ var _Story = class _Story extends IDdBaseModel2 {
|
|
|
3229
3322
|
};
|
|
3230
3323
|
__decorateClass([
|
|
3231
3324
|
IsArray11(),
|
|
3232
|
-
IsInstance7(Room2D, { each: true }),
|
|
3233
3325
|
Type35(() => Room2D),
|
|
3326
|
+
IsInstance7(Room2D, { each: true }),
|
|
3234
3327
|
ValidateNested7({ each: true }),
|
|
3235
3328
|
IsDefined18(),
|
|
3236
3329
|
Expose35({ name: "room_2ds" })
|
|
3237
3330
|
], _Story.prototype, "room2ds", 2);
|
|
3238
3331
|
__decorateClass([
|
|
3239
|
-
IsInstance7(StoryPropertiesAbridged),
|
|
3240
3332
|
Type35(() => StoryPropertiesAbridged),
|
|
3333
|
+
IsInstance7(StoryPropertiesAbridged),
|
|
3241
3334
|
ValidateNested7(),
|
|
3242
3335
|
IsDefined18(),
|
|
3243
3336
|
Expose35({ name: "properties" })
|
|
3244
3337
|
], _Story.prototype, "properties", 2);
|
|
3245
3338
|
__decorateClass([
|
|
3339
|
+
Type35(() => String),
|
|
3246
3340
|
IsString35(),
|
|
3247
3341
|
IsOptional35(),
|
|
3248
3342
|
Matches34(/^Story$/),
|
|
@@ -3257,21 +3351,22 @@ __decorateClass([
|
|
|
3257
3351
|
Expose35({ name: "floor_height" })
|
|
3258
3352
|
], _Story.prototype, "floorHeight", 2);
|
|
3259
3353
|
__decorateClass([
|
|
3354
|
+
Type35(() => Number),
|
|
3260
3355
|
IsInt3(),
|
|
3261
3356
|
IsOptional35(),
|
|
3262
3357
|
Min5(1),
|
|
3263
3358
|
Expose35({ name: "multiplier" })
|
|
3264
3359
|
], _Story.prototype, "multiplier", 2);
|
|
3265
3360
|
__decorateClass([
|
|
3266
|
-
IsInstance7(RoofSpecification),
|
|
3267
3361
|
Type35(() => RoofSpecification),
|
|
3362
|
+
IsInstance7(RoofSpecification),
|
|
3268
3363
|
ValidateNested7(),
|
|
3269
3364
|
IsOptional35(),
|
|
3270
3365
|
Expose35({ name: "roof" })
|
|
3271
3366
|
], _Story.prototype, "roof", 2);
|
|
3272
3367
|
__decorateClass([
|
|
3273
|
-
IsEnum3(StoryType),
|
|
3274
3368
|
Type35(() => String),
|
|
3369
|
+
IsEnum3(StoryType),
|
|
3275
3370
|
IsOptional35(),
|
|
3276
3371
|
Expose35({ name: "story_type" })
|
|
3277
3372
|
], _Story.prototype, "storyType", 2);
|
|
@@ -3343,13 +3438,14 @@ var _Building = class _Building extends IDdBaseModel3 {
|
|
|
3343
3438
|
}
|
|
3344
3439
|
};
|
|
3345
3440
|
__decorateClass([
|
|
3346
|
-
IsInstance8(BuildingPropertiesAbridged),
|
|
3347
3441
|
Type36(() => BuildingPropertiesAbridged),
|
|
3442
|
+
IsInstance8(BuildingPropertiesAbridged),
|
|
3348
3443
|
ValidateNested8(),
|
|
3349
3444
|
IsDefined19(),
|
|
3350
3445
|
Expose36({ name: "properties" })
|
|
3351
3446
|
], _Building.prototype, "properties", 2);
|
|
3352
3447
|
__decorateClass([
|
|
3448
|
+
Type36(() => String),
|
|
3353
3449
|
IsString36(),
|
|
3354
3450
|
IsOptional36(),
|
|
3355
3451
|
Matches35(/^Building$/),
|
|
@@ -3357,23 +3453,23 @@ __decorateClass([
|
|
|
3357
3453
|
], _Building.prototype, "type", 2);
|
|
3358
3454
|
__decorateClass([
|
|
3359
3455
|
IsArray12(),
|
|
3360
|
-
IsInstance8(Story, { each: true }),
|
|
3361
3456
|
Type36(() => Story),
|
|
3457
|
+
IsInstance8(Story, { each: true }),
|
|
3362
3458
|
ValidateNested8({ each: true }),
|
|
3363
3459
|
IsOptional36(),
|
|
3364
3460
|
Expose36({ name: "unique_stories" })
|
|
3365
3461
|
], _Building.prototype, "uniqueStories", 2);
|
|
3366
3462
|
__decorateClass([
|
|
3367
3463
|
IsArray12(),
|
|
3368
|
-
IsInstance8(Room, { each: true }),
|
|
3369
3464
|
Type36(() => Room),
|
|
3465
|
+
IsInstance8(Room, { each: true }),
|
|
3370
3466
|
ValidateNested8({ each: true }),
|
|
3371
3467
|
IsOptional36(),
|
|
3372
3468
|
Expose36({ name: "room_3ds" })
|
|
3373
3469
|
], _Building.prototype, "room3ds", 2);
|
|
3374
3470
|
__decorateClass([
|
|
3375
|
-
IsInstance8(RoofSpecification),
|
|
3376
3471
|
Type36(() => RoofSpecification),
|
|
3472
|
+
IsInstance8(RoofSpecification),
|
|
3377
3473
|
ValidateNested8(),
|
|
3378
3474
|
IsOptional36(),
|
|
3379
3475
|
Expose36({ name: "roof" })
|
|
@@ -3390,7 +3486,7 @@ import { Type as Type39, instanceToPlain as instanceToPlain39, Expose as Expose3
|
|
|
3390
3486
|
|
|
3391
3487
|
// src/models/ContextShadeEnergyPropertiesAbridged.ts
|
|
3392
3488
|
import { IsString as IsString37, IsOptional as IsOptional37, Matches as Matches36, MinLength as MinLength4, MaxLength as MaxLength4, validate as validate37 } from "class-validator";
|
|
3393
|
-
import { instanceToPlain as instanceToPlain37, Expose as Expose37 } from "class-transformer";
|
|
3489
|
+
import { Type as Type37, instanceToPlain as instanceToPlain37, Expose as Expose37 } from "class-transformer";
|
|
3394
3490
|
var _ContextShadeEnergyPropertiesAbridged = class _ContextShadeEnergyPropertiesAbridged extends _OpenAPIGenBaseModel {
|
|
3395
3491
|
constructor() {
|
|
3396
3492
|
super();
|
|
@@ -3445,12 +3541,14 @@ var _ContextShadeEnergyPropertiesAbridged = class _ContextShadeEnergyPropertiesA
|
|
|
3445
3541
|
}
|
|
3446
3542
|
};
|
|
3447
3543
|
__decorateClass([
|
|
3544
|
+
Type37(() => String),
|
|
3448
3545
|
IsString37(),
|
|
3449
3546
|
IsOptional37(),
|
|
3450
3547
|
Matches36(/^ContextShadeEnergyPropertiesAbridged$/),
|
|
3451
3548
|
Expose37({ name: "type" })
|
|
3452
3549
|
], _ContextShadeEnergyPropertiesAbridged.prototype, "type", 2);
|
|
3453
3550
|
__decorateClass([
|
|
3551
|
+
Type37(() => String),
|
|
3454
3552
|
IsString37(),
|
|
3455
3553
|
IsOptional37(),
|
|
3456
3554
|
MinLength4(1),
|
|
@@ -3458,6 +3556,7 @@ __decorateClass([
|
|
|
3458
3556
|
Expose37({ name: "construction" })
|
|
3459
3557
|
], _ContextShadeEnergyPropertiesAbridged.prototype, "construction", 2);
|
|
3460
3558
|
__decorateClass([
|
|
3559
|
+
Type37(() => String),
|
|
3461
3560
|
IsString37(),
|
|
3462
3561
|
IsOptional37(),
|
|
3463
3562
|
MinLength4(1),
|
|
@@ -3468,7 +3567,7 @@ var ContextShadeEnergyPropertiesAbridged = _ContextShadeEnergyPropertiesAbridged
|
|
|
3468
3567
|
|
|
3469
3568
|
// src/models/ContextShadeRadiancePropertiesAbridged.ts
|
|
3470
3569
|
import { IsString as IsString38, IsOptional as IsOptional38, Matches as Matches37, validate as validate38 } from "class-validator";
|
|
3471
|
-
import { instanceToPlain as instanceToPlain38, Expose as Expose38 } from "class-transformer";
|
|
3570
|
+
import { Type as Type38, instanceToPlain as instanceToPlain38, Expose as Expose38 } from "class-transformer";
|
|
3472
3571
|
var _ContextShadeRadiancePropertiesAbridged = class _ContextShadeRadiancePropertiesAbridged extends _OpenAPIGenBaseModel {
|
|
3473
3572
|
constructor() {
|
|
3474
3573
|
super();
|
|
@@ -3519,12 +3618,14 @@ var _ContextShadeRadiancePropertiesAbridged = class _ContextShadeRadiancePropert
|
|
|
3519
3618
|
}
|
|
3520
3619
|
};
|
|
3521
3620
|
__decorateClass([
|
|
3621
|
+
Type38(() => String),
|
|
3522
3622
|
IsString38(),
|
|
3523
3623
|
IsOptional38(),
|
|
3524
3624
|
Matches37(/^ContextShadeRadiancePropertiesAbridged$/),
|
|
3525
3625
|
Expose38({ name: "type" })
|
|
3526
3626
|
], _ContextShadeRadiancePropertiesAbridged.prototype, "type", 2);
|
|
3527
3627
|
__decorateClass([
|
|
3628
|
+
Type38(() => String),
|
|
3528
3629
|
IsString38(),
|
|
3529
3630
|
IsOptional38(),
|
|
3530
3631
|
Expose38({ name: "modifier" })
|
|
@@ -3586,21 +3687,22 @@ var _ContextShadePropertiesAbridged = class _ContextShadePropertiesAbridged exte
|
|
|
3586
3687
|
}
|
|
3587
3688
|
};
|
|
3588
3689
|
__decorateClass([
|
|
3690
|
+
Type39(() => String),
|
|
3589
3691
|
IsString39(),
|
|
3590
3692
|
IsOptional39(),
|
|
3591
3693
|
Matches38(/^ContextShadePropertiesAbridged$/),
|
|
3592
3694
|
Expose39({ name: "type" })
|
|
3593
3695
|
], _ContextShadePropertiesAbridged.prototype, "type", 2);
|
|
3594
3696
|
__decorateClass([
|
|
3595
|
-
IsInstance9(ContextShadeEnergyPropertiesAbridged),
|
|
3596
3697
|
Type39(() => ContextShadeEnergyPropertiesAbridged),
|
|
3698
|
+
IsInstance9(ContextShadeEnergyPropertiesAbridged),
|
|
3597
3699
|
ValidateNested9(),
|
|
3598
3700
|
IsOptional39(),
|
|
3599
3701
|
Expose39({ name: "energy" })
|
|
3600
3702
|
], _ContextShadePropertiesAbridged.prototype, "energy", 2);
|
|
3601
3703
|
__decorateClass([
|
|
3602
|
-
IsInstance9(ContextShadeRadiancePropertiesAbridged),
|
|
3603
3704
|
Type39(() => ContextShadeRadiancePropertiesAbridged),
|
|
3705
|
+
IsInstance9(ContextShadeRadiancePropertiesAbridged),
|
|
3604
3706
|
ValidateNested9(),
|
|
3605
3707
|
IsOptional39(),
|
|
3606
3708
|
Expose39({ name: "radiance" })
|
|
@@ -3683,19 +3785,21 @@ __decorateClass([
|
|
|
3683
3785
|
}))
|
|
3684
3786
|
], _ContextShade.prototype, "geometry", 2);
|
|
3685
3787
|
__decorateClass([
|
|
3686
|
-
IsInstance10(ContextShadePropertiesAbridged),
|
|
3687
3788
|
Type40(() => ContextShadePropertiesAbridged),
|
|
3789
|
+
IsInstance10(ContextShadePropertiesAbridged),
|
|
3688
3790
|
ValidateNested10(),
|
|
3689
3791
|
IsDefined20(),
|
|
3690
3792
|
Expose40({ name: "properties" })
|
|
3691
3793
|
], _ContextShade.prototype, "properties", 2);
|
|
3692
3794
|
__decorateClass([
|
|
3795
|
+
Type40(() => String),
|
|
3693
3796
|
IsString40(),
|
|
3694
3797
|
IsOptional40(),
|
|
3695
3798
|
Matches39(/^ContextShade$/),
|
|
3696
3799
|
Expose40({ name: "type" })
|
|
3697
3800
|
], _ContextShade.prototype, "type", 2);
|
|
3698
3801
|
__decorateClass([
|
|
3802
|
+
Type40(() => Boolean),
|
|
3699
3803
|
IsBoolean10(),
|
|
3700
3804
|
IsOptional40(),
|
|
3701
3805
|
Expose40({ name: "is_detached" })
|
|
@@ -3713,7 +3817,7 @@ import { Type as Type45, instanceToPlain as instanceToPlain45, Expose as Expose4
|
|
|
3713
3817
|
|
|
3714
3818
|
// src/models/ModelComparisonProperties.ts
|
|
3715
3819
|
import { IsString as IsString41, IsOptional as IsOptional41, Matches as Matches40, validate as validate41 } from "class-validator";
|
|
3716
|
-
import { instanceToPlain as instanceToPlain41, Expose as Expose41 } from "class-transformer";
|
|
3820
|
+
import { Type as Type41, instanceToPlain as instanceToPlain41, Expose as Expose41 } from "class-transformer";
|
|
3717
3821
|
var _ModelComparisonProperties = class _ModelComparisonProperties extends _OpenAPIGenBaseModel {
|
|
3718
3822
|
constructor() {
|
|
3719
3823
|
super();
|
|
@@ -3760,6 +3864,7 @@ var _ModelComparisonProperties = class _ModelComparisonProperties extends _OpenA
|
|
|
3760
3864
|
}
|
|
3761
3865
|
};
|
|
3762
3866
|
__decorateClass([
|
|
3867
|
+
Type41(() => String),
|
|
3763
3868
|
IsString41(),
|
|
3764
3869
|
IsOptional41(),
|
|
3765
3870
|
Matches40(/^ModelComparisonProperties$/),
|
|
@@ -3769,7 +3874,7 @@ var ModelComparisonProperties = _ModelComparisonProperties;
|
|
|
3769
3874
|
|
|
3770
3875
|
// src/models/ModelDoe2Properties.ts
|
|
3771
3876
|
import { IsString as IsString42, IsOptional as IsOptional42, Matches as Matches41, validate as validate42 } from "class-validator";
|
|
3772
|
-
import { instanceToPlain as instanceToPlain42, Expose as Expose42 } from "class-transformer";
|
|
3877
|
+
import { Type as Type42, instanceToPlain as instanceToPlain42, Expose as Expose42 } from "class-transformer";
|
|
3773
3878
|
var _ModelDoe2Properties = class _ModelDoe2Properties extends _OpenAPIGenBaseModel {
|
|
3774
3879
|
constructor() {
|
|
3775
3880
|
super();
|
|
@@ -3816,6 +3921,7 @@ var _ModelDoe2Properties = class _ModelDoe2Properties extends _OpenAPIGenBaseMod
|
|
|
3816
3921
|
}
|
|
3817
3922
|
};
|
|
3818
3923
|
__decorateClass([
|
|
3924
|
+
Type42(() => String),
|
|
3819
3925
|
IsString42(),
|
|
3820
3926
|
IsOptional42(),
|
|
3821
3927
|
Matches41(/^ModelDoe2Properties$/),
|
|
@@ -5674,14 +5780,15 @@ var _ModelEnergyProperties = class _ModelEnergyProperties extends _OpenAPIGenBas
|
|
|
5674
5780
|
}
|
|
5675
5781
|
};
|
|
5676
5782
|
__decorateClass([
|
|
5783
|
+
Type43(() => String),
|
|
5677
5784
|
IsString43(),
|
|
5678
5785
|
IsOptional43(),
|
|
5679
5786
|
Matches42(/^ModelEnergyProperties$/),
|
|
5680
5787
|
Expose43({ name: "type" })
|
|
5681
5788
|
], _ModelEnergyProperties.prototype, "type", 2);
|
|
5682
5789
|
__decorateClass([
|
|
5683
|
-
IsInstance11(GlobalConstructionSet),
|
|
5684
5790
|
Type43(() => GlobalConstructionSet),
|
|
5791
|
+
IsInstance11(GlobalConstructionSet),
|
|
5685
5792
|
ValidateNested11(),
|
|
5686
5793
|
IsOptional43(),
|
|
5687
5794
|
Expose43({ name: "global_construction_set" })
|
|
@@ -5760,8 +5867,8 @@ __decorateClass([
|
|
|
5760
5867
|
], _ModelEnergyProperties.prototype, "hvacs", 2);
|
|
5761
5868
|
__decorateClass([
|
|
5762
5869
|
IsArray14(),
|
|
5763
|
-
IsInstance11(SHWSystem, { each: true }),
|
|
5764
5870
|
Type43(() => SHWSystem),
|
|
5871
|
+
IsInstance11(SHWSystem, { each: true }),
|
|
5765
5872
|
ValidateNested11({ each: true }),
|
|
5766
5873
|
IsOptional43(),
|
|
5767
5874
|
Expose43({ name: "shws" })
|
|
@@ -5790,8 +5897,8 @@ __decorateClass([
|
|
|
5790
5897
|
], _ModelEnergyProperties.prototype, "schedules", 2);
|
|
5791
5898
|
__decorateClass([
|
|
5792
5899
|
IsArray14(),
|
|
5793
|
-
IsInstance11(ScheduleTypeLimit, { each: true }),
|
|
5794
5900
|
Type43(() => ScheduleTypeLimit),
|
|
5901
|
+
IsInstance11(ScheduleTypeLimit, { each: true }),
|
|
5795
5902
|
ValidateNested11({ each: true }),
|
|
5796
5903
|
IsOptional43(),
|
|
5797
5904
|
Expose43({ name: "schedule_type_limits" })
|
|
@@ -6516,14 +6623,15 @@ var _ModelRadianceProperties = class _ModelRadianceProperties extends _OpenAPIGe
|
|
|
6516
6623
|
}
|
|
6517
6624
|
};
|
|
6518
6625
|
__decorateClass([
|
|
6626
|
+
Type44(() => String),
|
|
6519
6627
|
IsString44(),
|
|
6520
6628
|
IsOptional44(),
|
|
6521
6629
|
Matches43(/^ModelRadianceProperties$/),
|
|
6522
6630
|
Expose44({ name: "type" })
|
|
6523
6631
|
], _ModelRadianceProperties.prototype, "type", 2);
|
|
6524
6632
|
__decorateClass([
|
|
6525
|
-
IsInstance12(GlobalModifierSet),
|
|
6526
6633
|
Type44(() => GlobalModifierSet),
|
|
6634
|
+
IsInstance12(GlobalModifierSet),
|
|
6527
6635
|
ValidateNested12(),
|
|
6528
6636
|
IsOptional44(),
|
|
6529
6637
|
Expose44({ name: "global_modifier_set" })
|
|
@@ -6620,35 +6728,36 @@ var _ModelProperties = class _ModelProperties extends _OpenAPIGenBaseModel {
|
|
|
6620
6728
|
}
|
|
6621
6729
|
};
|
|
6622
6730
|
__decorateClass([
|
|
6731
|
+
Type45(() => String),
|
|
6623
6732
|
IsString45(),
|
|
6624
6733
|
IsOptional45(),
|
|
6625
6734
|
Matches44(/^ModelProperties$/),
|
|
6626
6735
|
Expose45({ name: "type" })
|
|
6627
6736
|
], _ModelProperties.prototype, "type", 2);
|
|
6628
6737
|
__decorateClass([
|
|
6629
|
-
IsInstance13(ModelEnergyProperties),
|
|
6630
6738
|
Type45(() => ModelEnergyProperties),
|
|
6739
|
+
IsInstance13(ModelEnergyProperties),
|
|
6631
6740
|
ValidateNested13(),
|
|
6632
6741
|
IsOptional45(),
|
|
6633
6742
|
Expose45({ name: "energy" })
|
|
6634
6743
|
], _ModelProperties.prototype, "energy", 2);
|
|
6635
6744
|
__decorateClass([
|
|
6636
|
-
IsInstance13(ModelRadianceProperties),
|
|
6637
6745
|
Type45(() => ModelRadianceProperties),
|
|
6746
|
+
IsInstance13(ModelRadianceProperties),
|
|
6638
6747
|
ValidateNested13(),
|
|
6639
6748
|
IsOptional45(),
|
|
6640
6749
|
Expose45({ name: "radiance" })
|
|
6641
6750
|
], _ModelProperties.prototype, "radiance", 2);
|
|
6642
6751
|
__decorateClass([
|
|
6643
|
-
IsInstance13(ModelDoe2Properties),
|
|
6644
6752
|
Type45(() => ModelDoe2Properties),
|
|
6753
|
+
IsInstance13(ModelDoe2Properties),
|
|
6645
6754
|
ValidateNested13(),
|
|
6646
6755
|
IsOptional45(),
|
|
6647
6756
|
Expose45({ name: "doe2" })
|
|
6648
6757
|
], _ModelProperties.prototype, "doe2", 2);
|
|
6649
6758
|
__decorateClass([
|
|
6650
|
-
IsInstance13(ModelComparisonProperties),
|
|
6651
6759
|
Type45(() => ModelComparisonProperties),
|
|
6760
|
+
IsInstance13(ModelComparisonProperties),
|
|
6652
6761
|
ValidateNested13(),
|
|
6653
6762
|
IsOptional45(),
|
|
6654
6763
|
Expose45({ name: "comparison" })
|
|
@@ -6742,19 +6851,21 @@ var _Model = class _Model extends IDdBaseModel5 {
|
|
|
6742
6851
|
}
|
|
6743
6852
|
};
|
|
6744
6853
|
__decorateClass([
|
|
6745
|
-
IsInstance14(ModelProperties),
|
|
6746
6854
|
Type46(() => ModelProperties),
|
|
6855
|
+
IsInstance14(ModelProperties),
|
|
6747
6856
|
ValidateNested14(),
|
|
6748
6857
|
IsDefined21(),
|
|
6749
6858
|
Expose46({ name: "properties" })
|
|
6750
6859
|
], _Model.prototype, "properties", 2);
|
|
6751
6860
|
__decorateClass([
|
|
6861
|
+
Type46(() => String),
|
|
6752
6862
|
IsString46(),
|
|
6753
6863
|
IsOptional46(),
|
|
6754
6864
|
Matches45(/^Model$/),
|
|
6755
6865
|
Expose46({ name: "type" })
|
|
6756
6866
|
], _Model.prototype, "type", 2);
|
|
6757
6867
|
__decorateClass([
|
|
6868
|
+
Type46(() => String),
|
|
6758
6869
|
IsString46(),
|
|
6759
6870
|
IsOptional46(),
|
|
6760
6871
|
Matches45(/([0-9]+)\.([0-9]+)\.([0-9]+)/),
|
|
@@ -6762,33 +6873,35 @@ __decorateClass([
|
|
|
6762
6873
|
], _Model.prototype, "version", 2);
|
|
6763
6874
|
__decorateClass([
|
|
6764
6875
|
IsArray16(),
|
|
6765
|
-
IsInstance14(Building, { each: true }),
|
|
6766
6876
|
Type46(() => Building),
|
|
6877
|
+
IsInstance14(Building, { each: true }),
|
|
6767
6878
|
ValidateNested14({ each: true }),
|
|
6768
6879
|
IsOptional46(),
|
|
6769
6880
|
Expose46({ name: "buildings" })
|
|
6770
6881
|
], _Model.prototype, "buildings", 2);
|
|
6771
6882
|
__decorateClass([
|
|
6772
6883
|
IsArray16(),
|
|
6773
|
-
IsInstance14(ContextShade, { each: true }),
|
|
6774
6884
|
Type46(() => ContextShade),
|
|
6885
|
+
IsInstance14(ContextShade, { each: true }),
|
|
6775
6886
|
ValidateNested14({ each: true }),
|
|
6776
6887
|
IsOptional46(),
|
|
6777
6888
|
Expose46({ name: "context_shades" })
|
|
6778
6889
|
], _Model.prototype, "contextShades", 2);
|
|
6779
6890
|
__decorateClass([
|
|
6780
|
-
IsEnum4(Units),
|
|
6781
6891
|
Type46(() => String),
|
|
6892
|
+
IsEnum4(Units),
|
|
6782
6893
|
IsOptional46(),
|
|
6783
6894
|
Expose46({ name: "units" })
|
|
6784
6895
|
], _Model.prototype, "units", 2);
|
|
6785
6896
|
__decorateClass([
|
|
6897
|
+
Type46(() => Number),
|
|
6786
6898
|
IsNumber18(),
|
|
6787
6899
|
IsOptional46(),
|
|
6788
6900
|
Min6(0),
|
|
6789
6901
|
Expose46({ name: "tolerance" })
|
|
6790
6902
|
], _Model.prototype, "tolerance", 2);
|
|
6791
6903
|
__decorateClass([
|
|
6904
|
+
Type46(() => Number),
|
|
6792
6905
|
IsNumber18(),
|
|
6793
6906
|
IsOptional46(),
|
|
6794
6907
|
Min6(0),
|
|
@@ -6796,6 +6909,7 @@ __decorateClass([
|
|
|
6796
6909
|
], _Model.prototype, "angleTolerance", 2);
|
|
6797
6910
|
__decorateClass([
|
|
6798
6911
|
IsArray16(),
|
|
6912
|
+
Type46(() => Number),
|
|
6799
6913
|
IsNumber18({}, { each: true }),
|
|
6800
6914
|
IsOptional46(),
|
|
6801
6915
|
Expose46({ name: "reference_vector" })
|