@e-trias/woonplan 1.1.26 → 1.1.28
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/package.json +1 -1
- package/types.d.ts +36 -36
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export interface MWASignupFormResponse extends SignupFormResponse{}
|
|
|
100
100
|
export interface IUserdata{
|
|
101
101
|
id:string;
|
|
102
102
|
sourceid:string | null
|
|
103
|
-
contactid
|
|
103
|
+
contactid?:string | null
|
|
104
104
|
maxpanels?:number
|
|
105
105
|
openstairs?:boolean
|
|
106
106
|
openkitchen?:boolean
|
|
@@ -137,7 +137,7 @@ export interface IUserdata{
|
|
|
137
137
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
interface IAnnualreport{
|
|
140
|
+
export interface IAnnualreport{
|
|
141
141
|
id : string
|
|
142
142
|
amount ?: string
|
|
143
143
|
type ?: string
|
|
@@ -145,7 +145,7 @@ interface IAnnualreport{
|
|
|
145
145
|
occupants ?: string
|
|
146
146
|
userdataid ?:string
|
|
147
147
|
}
|
|
148
|
-
interface IAveragecalcdata{
|
|
148
|
+
export interface IAveragecalcdata{
|
|
149
149
|
id : string
|
|
150
150
|
amount ?: string
|
|
151
151
|
occupants ?: string
|
|
@@ -154,12 +154,12 @@ interface IAveragecalcdata{
|
|
|
154
154
|
averagecalcdatatypeid ?: string
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
interface IAveragecalcdatatype{
|
|
157
|
+
export interface IAveragecalcdatatype{
|
|
158
158
|
id : string
|
|
159
159
|
averagecalcdatas ?: IAveragecalcdata[]
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
interface IOrientation extends ILogged{
|
|
162
|
+
export interface IOrientation extends ILogged{
|
|
163
163
|
|
|
164
164
|
}
|
|
165
165
|
|
|
@@ -347,7 +347,7 @@ export interface IMeasuredata{
|
|
|
347
347
|
heatingpower ?: number
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
interface IGlasstype{
|
|
350
|
+
export interface IGlasstype{
|
|
351
351
|
id : string
|
|
352
352
|
deleted : boolean
|
|
353
353
|
sortorder : number
|
|
@@ -583,7 +583,7 @@ export interface IHouseobject{
|
|
|
583
583
|
measuredatas ?: IMeasuredata[]
|
|
584
584
|
}
|
|
585
585
|
|
|
586
|
-
interface IHouselevel{
|
|
586
|
+
export interface IHouselevel{
|
|
587
587
|
id : string
|
|
588
588
|
deleted : boolean
|
|
589
589
|
sortorder : number
|
|
@@ -690,7 +690,7 @@ export interface IWall extends IHouseobject{
|
|
|
690
690
|
housetypeid ?: string | null
|
|
691
691
|
}
|
|
692
692
|
|
|
693
|
-
interface IRoom extends IHouseobject{
|
|
693
|
+
export interface IRoom extends IHouseobject{
|
|
694
694
|
houselevel ?: IHouselevel
|
|
695
695
|
roofs ?: IRoof[]
|
|
696
696
|
windowframes ?: IWindowframe[]
|
|
@@ -809,7 +809,7 @@ export interface IRule{
|
|
|
809
809
|
}
|
|
810
810
|
|
|
811
811
|
|
|
812
|
-
interface IGasfreeoption{
|
|
812
|
+
export interface IGasfreeoption{
|
|
813
813
|
id : string
|
|
814
814
|
name : string
|
|
815
815
|
deleted : boolean
|
|
@@ -817,7 +817,7 @@ interface IGasfreeoption{
|
|
|
817
817
|
riskfactor : number
|
|
818
818
|
gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
|
|
819
819
|
}
|
|
820
|
-
interface IGasfreeoptionmeasure{
|
|
820
|
+
export interface IGasfreeoptionmeasure{
|
|
821
821
|
id : string
|
|
822
822
|
name : string
|
|
823
823
|
deleted : boolean
|
|
@@ -828,7 +828,7 @@ interface IGasfreeoptionmeasure{
|
|
|
828
828
|
}
|
|
829
829
|
|
|
830
830
|
|
|
831
|
-
interface IMeasure {
|
|
831
|
+
export interface IMeasure {
|
|
832
832
|
id : string
|
|
833
833
|
gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
|
|
834
834
|
measuredatas ?: IMeasuredata[]
|
|
@@ -837,14 +837,14 @@ interface IMeasure {
|
|
|
837
837
|
}
|
|
838
838
|
|
|
839
839
|
|
|
840
|
-
interface IMeasuretype{
|
|
840
|
+
export interface IMeasuretype{
|
|
841
841
|
id : string
|
|
842
842
|
measures ?: IMeasure[]
|
|
843
843
|
}
|
|
844
844
|
|
|
845
845
|
|
|
846
846
|
|
|
847
|
-
interface ZonatlasAddress {
|
|
847
|
+
export interface ZonatlasAddress {
|
|
848
848
|
add_on: string
|
|
849
849
|
addition: string
|
|
850
850
|
city: string
|
|
@@ -860,7 +860,7 @@ interface ZonatlasAddress {
|
|
|
860
860
|
spc_key: string
|
|
861
861
|
street: string
|
|
862
862
|
}
|
|
863
|
-
interface ZonatlasBagdata {
|
|
863
|
+
export interface ZonatlasBagdata {
|
|
864
864
|
building_add_on: string | null,
|
|
865
865
|
building_addition: string | null,
|
|
866
866
|
building_area: number,
|
|
@@ -876,7 +876,7 @@ interface ZonatlasBagdata {
|
|
|
876
876
|
pand_status: string
|
|
877
877
|
}
|
|
878
878
|
|
|
879
|
-
interface ZonatlasCalculationParamaters{
|
|
879
|
+
export interface ZonatlasCalculationParamaters{
|
|
880
880
|
harging_station: boolean
|
|
881
881
|
costs_insurance: number
|
|
882
882
|
costs_other: number
|
|
@@ -899,7 +899,7 @@ interface ZonatlasCalculationParamaters{
|
|
|
899
899
|
system_loss: number
|
|
900
900
|
}
|
|
901
901
|
|
|
902
|
-
interface ZonatlasData {
|
|
902
|
+
export interface ZonatlasData {
|
|
903
903
|
autarky: number
|
|
904
904
|
building_area: number
|
|
905
905
|
co2_savings: number
|
|
@@ -952,12 +952,12 @@ interface ZonatlasData {
|
|
|
952
952
|
years_until_payed_back: number
|
|
953
953
|
}
|
|
954
954
|
|
|
955
|
-
interface ZonatlasMapLayer {
|
|
955
|
+
export interface ZonatlasMapLayer {
|
|
956
956
|
name: string
|
|
957
957
|
url: string
|
|
958
958
|
}
|
|
959
959
|
|
|
960
|
-
interface ZonatlasModule {
|
|
960
|
+
export interface ZonatlasModule {
|
|
961
961
|
Wp: number,
|
|
962
962
|
cost_per_kwp: number,
|
|
963
963
|
height: number,
|
|
@@ -967,7 +967,7 @@ interface ZonatlasModule {
|
|
|
967
967
|
width: number
|
|
968
968
|
}
|
|
969
969
|
|
|
970
|
-
interface ZonatlasPlantData{
|
|
970
|
+
export interface ZonatlasPlantData{
|
|
971
971
|
estimated_yield:number,
|
|
972
972
|
kwp: number,
|
|
973
973
|
module: ZonatlasModule,
|
|
@@ -978,13 +978,13 @@ interface ZonatlasPlantData{
|
|
|
978
978
|
tilt: number
|
|
979
979
|
}
|
|
980
980
|
|
|
981
|
-
interface ZonatlasPlant{
|
|
981
|
+
export interface ZonatlasPlant{
|
|
982
982
|
data: ZonatlasPlantData,
|
|
983
983
|
mp: string
|
|
984
984
|
type: string
|
|
985
985
|
}
|
|
986
986
|
|
|
987
|
-
interface ZonatlasRequest {
|
|
987
|
+
export interface ZonatlasRequest {
|
|
988
988
|
add_on: string
|
|
989
989
|
addition: string
|
|
990
990
|
api_type: string
|
|
@@ -996,7 +996,7 @@ interface ZonatlasRequest {
|
|
|
996
996
|
}
|
|
997
997
|
|
|
998
998
|
|
|
999
|
-
interface ZonatlasResult{
|
|
999
|
+
export interface ZonatlasResult{
|
|
1000
1000
|
address : ZonatlasAddress
|
|
1001
1001
|
bagdata : ZonatlasBagdata[]
|
|
1002
1002
|
buildingwkt : string
|
|
@@ -1018,26 +1018,26 @@ interface ZonatlasResult{
|
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
1020
|
|
|
1021
|
-
interface ZonatlasResponse {
|
|
1021
|
+
export interface ZonatlasResponse {
|
|
1022
1022
|
request : ZonatlasRequest
|
|
1023
1023
|
results : ZonatlasResult[]
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
1026
|
|
|
1027
|
-
interface EnergyOutput{
|
|
1027
|
+
export interface EnergyOutput{
|
|
1028
1028
|
output : number
|
|
1029
1029
|
}
|
|
1030
|
-
interface EnergyInput{
|
|
1030
|
+
export interface EnergyInput{
|
|
1031
1031
|
input : number
|
|
1032
1032
|
}
|
|
1033
1033
|
|
|
1034
|
-
interface EnergyIO extends EnergyOutput, EnergyInput{}
|
|
1034
|
+
export interface EnergyIO extends EnergyOutput, EnergyInput{}
|
|
1035
1035
|
|
|
1036
|
-
interface EntityEnergyIO extends EnergyIO{
|
|
1036
|
+
export interface EntityEnergyIO extends EnergyIO{
|
|
1037
1037
|
id : string
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
|
-
interface EnergyIOState{
|
|
1040
|
+
export interface EnergyIOState{
|
|
1041
1041
|
floors : EntityEnergyIO[]
|
|
1042
1042
|
walls : EntityEnergyIO[]
|
|
1043
1043
|
roofs : EntityEnergyIO[]
|
|
@@ -1051,20 +1051,20 @@ interface EnergyIOState{
|
|
|
1051
1051
|
|
|
1052
1052
|
|
|
1053
1053
|
|
|
1054
|
-
type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs" | "houselevels"
|
|
1054
|
+
export type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs" | "houselevels"
|
|
1055
1055
|
type IHouseMap = Map< IHouseObjectName , IHouseObjectWithMeasuredatas[]>
|
|
1056
1056
|
|
|
1057
|
-
interface IHouseObjectWithMeasuredatas extends IHouseobject{
|
|
1057
|
+
export interface IHouseObjectWithMeasuredatas extends IHouseobject{
|
|
1058
1058
|
measuredatas : IMeasuredata[]
|
|
1059
1059
|
}
|
|
1060
1060
|
|
|
1061
|
-
interface IAnsweroption{
|
|
1061
|
+
export interface IAnsweroption{
|
|
1062
1062
|
id : string
|
|
1063
1063
|
questionid ?: string | null
|
|
1064
1064
|
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
|
-
interface IUseranswer{
|
|
1067
|
+
export interface IUseranswer{
|
|
1068
1068
|
id : string
|
|
1069
1069
|
intakeid ?: string | null
|
|
1070
1070
|
value ?: string
|
|
@@ -1073,17 +1073,17 @@ interface IUseranswer{
|
|
|
1073
1073
|
|
|
1074
1074
|
}
|
|
1075
1075
|
|
|
1076
|
-
interface IAreaactioncollection extends ILogged{
|
|
1076
|
+
export interface IAreaactioncollection extends ILogged{
|
|
1077
1077
|
userdataid ?: string
|
|
1078
1078
|
areaactionid ?: string
|
|
1079
1079
|
}
|
|
1080
|
-
interface IAreaaction extends ILogged{
|
|
1080
|
+
export interface IAreaaction extends ILogged{
|
|
1081
1081
|
settings ?: ISettings
|
|
1082
1082
|
hostname ?: string
|
|
1083
1083
|
pvmark ?: string
|
|
1084
1084
|
}
|
|
1085
1085
|
|
|
1086
|
-
interface IHomeSettings{
|
|
1086
|
+
export interface IHomeSettings{
|
|
1087
1087
|
floor_insulationtype ?: string
|
|
1088
1088
|
floor_insulationlocation ?: string
|
|
1089
1089
|
floor_insulationmethod ?: string
|
|
@@ -1107,7 +1107,7 @@ interface IHomeSettings{
|
|
|
1107
1107
|
draftprofile ?: "draftprofile-1" | "draftprofile-2" | "draftprofile-3" | "draftprofile-4"
|
|
1108
1108
|
}
|
|
1109
1109
|
|
|
1110
|
-
interface IDefaulthomesettings{
|
|
1110
|
+
export interface IDefaulthomesettings{
|
|
1111
1111
|
settings ?: IHomeSettings
|
|
1112
1112
|
yearmin ?: number
|
|
1113
1113
|
yearmax ?: number
|