@e-trias/woonplan 1.0.45 → 1.0.48
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 +177 -1
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ export interface Solarapicall{
|
|
|
133
133
|
postcode:string
|
|
134
134
|
housenumber:number
|
|
135
135
|
extension:string | null
|
|
136
|
-
result:string
|
|
136
|
+
result:string | ZonatlasResponse
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
export interface Quotation{
|
|
@@ -476,6 +476,7 @@ export interface IFloor extends IHouseobject{
|
|
|
476
476
|
flatbottom ?: boolean
|
|
477
477
|
crawlspacesinfloor ?: ICrawlspaceinfloor[]
|
|
478
478
|
basementhasceiling ?: boolean
|
|
479
|
+
basementunderneath ?: boolean
|
|
479
480
|
}
|
|
480
481
|
|
|
481
482
|
|
|
@@ -561,4 +562,179 @@ export interface IRule{
|
|
|
561
562
|
field ?: string
|
|
562
563
|
operator ?: string
|
|
563
564
|
value ?: string
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
interface ZonatlasAddress {
|
|
570
|
+
add_on: string
|
|
571
|
+
addition: string
|
|
572
|
+
city: string
|
|
573
|
+
country: string
|
|
574
|
+
hid: number
|
|
575
|
+
lat: number
|
|
576
|
+
lon: number
|
|
577
|
+
municipality: string
|
|
578
|
+
number: number
|
|
579
|
+
postal: string
|
|
580
|
+
project: string
|
|
581
|
+
spc_id: number
|
|
582
|
+
spc_key: string
|
|
583
|
+
street: string
|
|
584
|
+
}
|
|
585
|
+
interface ZonatlasBagdata {
|
|
586
|
+
building_add_on: string | null,
|
|
587
|
+
building_addition: string | null,
|
|
588
|
+
building_area: number,
|
|
589
|
+
building_function: string
|
|
590
|
+
building_number: number,
|
|
591
|
+
building_postcode: string
|
|
592
|
+
building_status: string
|
|
593
|
+
id_nummeraanduiding: string
|
|
594
|
+
id_openbareruimte: string
|
|
595
|
+
id_plaats: string
|
|
596
|
+
id_verblijfsobject: string
|
|
597
|
+
pand_building_year: number
|
|
598
|
+
pand_status: string
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
interface ZonatlasCalculationParamaters{
|
|
602
|
+
harging_station: boolean
|
|
603
|
+
costs_insurance: number
|
|
604
|
+
costs_other: number
|
|
605
|
+
costs_service: number
|
|
606
|
+
degradation:number
|
|
607
|
+
eeg_umlage: any | null,
|
|
608
|
+
emobility: boolean,
|
|
609
|
+
energy_consumption: number,
|
|
610
|
+
energy_price:number
|
|
611
|
+
energy_price_increase: number
|
|
612
|
+
feed_in_rate_kwh: number
|
|
613
|
+
inflation: number
|
|
614
|
+
load_profile: boolean,
|
|
615
|
+
scaffold_factor: number
|
|
616
|
+
scaffold_price_increase: number
|
|
617
|
+
solar_thermal: boolean,
|
|
618
|
+
storage: boolean,
|
|
619
|
+
storage_information: { kwh_brutto: number }
|
|
620
|
+
subsidy_per_kwp: number
|
|
621
|
+
system_loss: number
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
interface ZonatlasData {
|
|
625
|
+
autarky: number
|
|
626
|
+
building_area: number
|
|
627
|
+
co2_savings: number
|
|
628
|
+
cost_charging_station: number
|
|
629
|
+
cost: number
|
|
630
|
+
cost_charging_station_excl_vat: number
|
|
631
|
+
cost_excl_vat: number
|
|
632
|
+
cost_pv_excl_vat: number
|
|
633
|
+
cost_pv: number
|
|
634
|
+
cost_storage_excl_vat: number
|
|
635
|
+
cost_storage: number
|
|
636
|
+
forecasted_years: number
|
|
637
|
+
energy_consumption: number
|
|
638
|
+
global_mean_barely_suited: number
|
|
639
|
+
global_mean_suited: number
|
|
640
|
+
global_mean_well_suited: number
|
|
641
|
+
kwp: number
|
|
642
|
+
max_energy: number
|
|
643
|
+
max_energy_barely_suited: number
|
|
644
|
+
max_energy_suited: number
|
|
645
|
+
max_energy_well_suited: number
|
|
646
|
+
max_kwp: number
|
|
647
|
+
max_kwp_barely_suited: number
|
|
648
|
+
max_kwp_suited: number
|
|
649
|
+
max_kwp_well_suited: number
|
|
650
|
+
max_panels: number
|
|
651
|
+
months_until_payback: number
|
|
652
|
+
number_of_panels: number
|
|
653
|
+
own_consumption: number
|
|
654
|
+
percent_roi: number
|
|
655
|
+
profit: number
|
|
656
|
+
pv_area_barely_suited: number
|
|
657
|
+
pv_area_suited: number
|
|
658
|
+
pv_area_well_suited: number
|
|
659
|
+
st_area_suited: number
|
|
660
|
+
st_area_well_suited: number
|
|
661
|
+
st_max_area: number
|
|
662
|
+
st_max_kwhpa_flat: number
|
|
663
|
+
st_max_kwhpa_vacuum: number
|
|
664
|
+
st_max_number_of_panels: number
|
|
665
|
+
street: string
|
|
666
|
+
subsidy_one_time: number
|
|
667
|
+
suitability: string
|
|
668
|
+
suitability_st: string
|
|
669
|
+
total_income: number
|
|
670
|
+
total_plant_roof_area: number
|
|
671
|
+
total_plant_surface: number
|
|
672
|
+
yearly_income: number
|
|
673
|
+
yearly_yield: number
|
|
674
|
+
years_until_payed_back: number
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
interface ZonatlasMapLayer {
|
|
678
|
+
name: string
|
|
679
|
+
url: string
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
interface ZonatlasModule {
|
|
683
|
+
Wp: number,
|
|
684
|
+
cost_per_kwp: number,
|
|
685
|
+
height: number,
|
|
686
|
+
ident: number | null,
|
|
687
|
+
name: string,
|
|
688
|
+
size:number,
|
|
689
|
+
width: number
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
interface ZonatlasPlantData{
|
|
693
|
+
estimated_yield:number,
|
|
694
|
+
kwp: number,
|
|
695
|
+
module: ZonatlasModule,
|
|
696
|
+
number_of_modules: number,
|
|
697
|
+
orientation: number,
|
|
698
|
+
roof_id: number,
|
|
699
|
+
scaffold: boolean,
|
|
700
|
+
tilt: number
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
interface ZonatlasPlant{
|
|
704
|
+
data: ZonatlasPlantData,
|
|
705
|
+
mp: string
|
|
706
|
+
type: string
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
interface ZonatlasRequest {
|
|
710
|
+
add_on: string
|
|
711
|
+
addition: string
|
|
712
|
+
api_type: string
|
|
713
|
+
auth: string
|
|
714
|
+
moduleplacer: boolean
|
|
715
|
+
number: string
|
|
716
|
+
postal: string
|
|
717
|
+
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
interface ZonatlasResult{
|
|
722
|
+
address : ZonatlasAddress
|
|
723
|
+
bagdata : ZonatlasBagdata[]
|
|
724
|
+
buildingwkt : string
|
|
725
|
+
calculation_parameters : ZonatlasCalculationParamaters
|
|
726
|
+
data : ZonatlasData
|
|
727
|
+
href : string
|
|
728
|
+
individual_data : any
|
|
729
|
+
map_layers : ZonatlasMapLayer[]
|
|
730
|
+
monuments : {
|
|
731
|
+
monument_areas: [],
|
|
732
|
+
national_monuments: []
|
|
733
|
+
}
|
|
734
|
+
plants : ZonatlasPlant[]
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
interface ZonatlasResponse {
|
|
738
|
+
request : ZonatlasRequest
|
|
739
|
+
results : ZonatlasResult[]
|
|
564
740
|
}
|