@e-trias/woonplan 1.1.72 → 1.1.74

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/types.d.ts CHANGED
@@ -1,1329 +1,1329 @@
1
- export interface IContact{
2
- id?: string | null
3
- firstname?: string
4
- infix?: string | null
5
- lastname?: string
6
- active?: boolean
7
- email?: string
8
- username?: string
9
- postcode?: string
10
- phone?: string
11
- mobile?: string
12
- houseno?: number
13
- extension?: string
14
- password?: string
15
- securityroleid?: string | null
16
- companyid?: string | null
17
- areaactioncollectionid?: string | null
18
- questionairelocked?: boolean
19
- wantsnewsletter?: boolean
20
- coordinates?:string
21
- streetname?:string
22
- city?:string
23
- simpleid?:number
24
- salutation?: string
25
- pvid?: string
26
- fullname?: string
27
- vve ?: boolean
28
- renter ?: boolean
29
- files ?: IContactFile[]
30
- }
31
- export interface IPartner{
32
- name : string
33
- id : string
34
- }
35
-
36
- export interface Advice{
37
- id:string | null;
38
- userdataid:string;
39
- status:string;
40
- usage:string
41
- adviceinfo:string
42
- advicedusage:string
43
- userinput:string
44
- advicedinput:string
45
- advicedstates:string
46
- workerresult:string
47
- calculatedmeasures:string
48
- }
49
-
50
- export interface EtriasDBContact{
51
- id:string | null;
52
- email:string;
53
- username:string;
54
- password:string;
55
- securityroleid:string | null;
56
- companyid:string | null;
57
- }
58
-
59
- export interface ISecurityRole{
60
- id:string;
61
- name:string;
62
- deleted:boolean;
63
- }
64
-
65
- export interface Article{
66
- id:string;
67
- title:string;
68
- body: string;
69
- }
70
- export interface ILogged{
71
- id: string;
72
- name:string;
73
- deleted:boolean;
74
- sortorder:number;
75
- createdate:Date
76
- }
77
-
78
- export interface SignupForm{
79
- salutation:string;
80
- firstname:string;
81
- infix:string;
82
- lastname:string;
83
- postcode:string;
84
- housenumber:number;
85
- extension:string;
86
- phone:string;
87
- mobile:string;
88
- email:string;
89
- password:string;
90
- password_repeat:string;
91
- conditions:boolean;
92
- areaactionid: string;
93
- partnerid: string;
94
- areaactioncollectionid:string;
95
- }
96
-
97
- export interface CIASignupForm extends SignupForm{}
98
- export interface MWASignupForm extends SignupForm{}
99
-
100
- export interface SignupFormResponse{
101
- status: string;
102
- statuscode: number;
103
- title?: string;
104
- contact?:IContact;
105
- }
106
- export interface CIASignupFormResponse extends SignupFormResponse{}
107
- export interface MWASignupFormResponse extends SignupFormResponse{}
108
-
109
- export interface IUserdata{
110
- id:string;
111
- sourceid:string | null
112
- contactid?:string | null
113
- maxpanels?:number
114
- openstairs?:boolean
115
- openkitchen?:boolean
116
- floorheating?:boolean
117
- occupants?:number
118
- showerprofile?:number
119
- cookingprofile?:number
120
- draftprofile?:number
121
- maxinvestment?:number
122
- cooksongas?:boolean
123
- source?:string
124
- buildyear?:number
125
- surface?:number
126
- usage ?: string
127
- wetspotswalls ?: string
128
- diyconstruction ?: boolean
129
- circularconstruction ?: boolean
130
- renovationconstruction ?: boolean
131
- allowwallinsideinsulation ?: boolean
132
- protectedstatus ?: string
133
-
134
- flatroofshouldberedone ?: boolean
135
- sloperoofshouldberedone ?: boolean
136
- shouldceilingbepaneled ?: boolean
137
- allowlowerceiling ?: string
138
- housetemplateid ?: string
139
- housetypeid ?: string
140
-
141
- leftwallinmothermodel ?: string
142
- orientationid ?: string
143
-
144
- houselevelamount ?: number
145
- roofshapeid ?:string
146
- finishedquestionsets ?: string
147
- userdatahousewishes ?: IUserdatahousewish[]
148
-
149
- }
150
-
151
- export interface IAnnualreport{
152
- id : string
153
- amount ?: string
154
- type ?: string
155
- year ?: string
156
- occupants ?: string
157
- userdataid ?:string
158
- }
159
- export interface IAveragecalcdata{
160
- id : string
161
- amount ?: string
162
- occupants ?: string
163
- profile ?: string
164
- averagecalcdatatype ?: IAveragecalcdatatype
165
- averagecalcdatatypeid ?: string
166
- }
167
-
168
- export interface IAveragecalcdatatype{
169
- id : string
170
- averagecalcdatas ?: IAveragecalcdata[]
171
- }
172
-
173
- export interface IOrientation extends ILogged{
174
-
175
- }
176
-
177
-
178
-
179
- export enum Housetypename {
180
- terraced = "terraced-middle",
181
- terracedright = "terraced-right" ,
182
- terracedleft = "terraced-left" ,
183
- semidetachedleft = "semi-detached-left",
184
- semidetachedright = "semi-detached-right" ,
185
- detached = "detached"
186
- }
187
-
188
- export type IHousetemplateCalculationDataPerHousetype = {
189
- [key in Housetypename] : number
190
- }
191
-
192
- export interface IHousetype{
193
- id : string
194
- deleted : boolean
195
- name : string
196
- }
197
-
198
- export interface IHousetemplateCalculationData{
199
- windowenergylosses : IHousetemplateCalculationDataPerHousetype
200
- windowaverageus : IHousetemplateCalculationDataPerHousetype
201
- coldbridges : IHousetemplateCalculationDataPerHousetype
202
- perimeter : IHousetemplateCalculationDataPerHousetype
203
- wallenergylosses : IHousetemplateCalculationDataPerHousetype
204
- roofenergylosses : IHousetemplateCalculationDataPerHousetype
205
- floorenergylosses : IHousetemplateCalculationDataPerHousetype
206
- windowsurfaces : IHousetemplateCalculationDataPerHousetype
207
- wallsurfaces : IHousetemplateCalculationDataPerHousetype
208
- roofsurfaces : IHousetemplateCalculationDataPerHousetype
209
- floorsurfaces : IHousetemplateCalculationDataPerHousetype
210
- flooruninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
211
- walluninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
212
- roofuninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
213
- flooraverageus : IHousetemplateCalculationDataPerHousetype
214
- wallaverageus : IHousetemplateCalculationDataPerHousetype
215
- roofaverageus : IHousetemplateCalculationDataPerHousetype
216
- usagesurface : number
217
- graaddagenmaandmethode : number
218
- graaddagenjaarmethode : number
219
- insulatedreductionfactors : {
220
- wall : number
221
- floor : number | IHousetemplateCalculationDataPerHousetype | { u:number, factor:number }[]
222
- roof : number
223
- }
224
- }
225
-
226
- export interface IHousetemplateCalculationDataForHousetype{
227
- windowenergylosses : number
228
- windowaverageus : number
229
- coldbridges : number
230
- perimeter : number
231
- wallenergylosses : number
232
- roofenergylosses : number
233
- floorenergylosses : number
234
- windowsurfaces : number
235
- wallsurfaces : number
236
- roofsurfaces : number
237
- floorsurfaces : number
238
- flooruninsulatedreductionfactors : number
239
- walluninsulatedreductionfactors : number
240
- roofuninsulatedreductionfactors : number
241
- flooraverageus : number
242
- wallaverageus : number
243
- roofaverageus : number
244
- usagesurface : number
245
- graaddagenmaandmethode : number
246
- graaddagenjaarmethode : number
247
- insulatedreductionfactors : {
248
- wall : number
249
- floor : number | IHousetemplateCalculationDataPerHousetype | { u:number, factor:number }[]
250
- roof : number
251
- }
252
- energylossesPerm2 ?: {
253
- wall : number
254
- floor : number
255
- roof : number
256
- windowframepart : number
257
-
258
- }
259
- }
260
-
261
- export interface IHousetemplate{
262
- id ?: string | null
263
- calculationdata ?: string
264
- }
265
-
266
- export interface Solarapicall{
267
- id:string
268
- deleted:boolean
269
- name?:string
270
- sortorder?:number
271
- energyconsumption:number | null
272
- max:boolean
273
- panels:number
274
- yield:number
275
- postcode:string
276
- housenumber:number
277
- extension:string | null
278
- result:string | ZonatlasResponse | ZonatlasResult
279
- module : number
280
- }
281
-
282
- export interface Quotation{
283
- id:string
284
- expiredate:Date
285
- contractorid:string
286
- adviceid:string
287
- measuredataid?:string | null
288
- quotationrequestid:string | null
289
- investment?:number
290
- status?:string
291
- accepteddate?:Date
292
- rejectdate?:Date
293
- rejectreason?:string
294
- }
295
-
296
- export interface IFile{
297
- id:string
298
- originalfilename:string
299
- folder?:string
300
- bucket?:string
301
- }
302
- export interface QuotationFile extends IFile{
303
- quotationid?:string | null
304
- quotationrequestid?:string | null
305
- }
306
- export interface IContactFile extends IFile{
307
- contactid?:string | null
308
- category ?:string
309
- }
310
-
311
- export interface QuotationRequest{
312
- id:string
313
- measureid:string
314
- measuredataid?:string | null
315
- contractorid?:string | null
316
- adviceid:string
317
- status:string
318
- data:JSON | null
319
- files?:QuotationFile[]
320
- }
321
-
322
- export interface Collectivebuy{
323
- id:string
324
- expiredate:Date
325
- partnerid:string
326
- }
327
-
328
- export interface ISaving{
329
- amount ?: number
330
- }
331
-
332
- export interface IMeasuredata{
333
- id:string
334
- name:string
335
- deleted:boolean
336
- sortorder?:number
337
- active?:boolean
338
- displayname?:string
339
- price_m2?:number
340
- price_m?:number
341
- price_per_object?:number
342
- startamount?:number
343
- rcvalue?:number
344
- investment?:number
345
- collectivebuyid?:string | null
346
- contractorid?:string | null
347
- measureid?:string | null
348
- requiressurvey?:boolean
349
- collectivebuystatus?:"now" | "future" | "never"
350
- collectivebuyquotationpossible?:boolean
351
- g_value ?: number
352
- u_value ?: number
353
- saving ?: number
354
-
355
- insulationmethodid ?: string | null
356
- insulationlocationid ?: string | null
357
- insulationtypeid ?: string | null
358
- glasstypeid ?: string | null
359
- glasstype ?: IGlasstype
360
-
361
- spf_vw ?: number
362
- spf_ww ?: number
363
- heatingpower ?: number
364
- savings ?: ISaving[]
365
-
366
- measure ?: IMeasure
367
- panels ?: number
368
-
369
- reinvestments ?: IReinvestment[]
370
- maintenances ?: IMaintenance[]
371
-
372
- questionsetids ?: string
373
- }
374
-
375
- export interface IMaintenance{
376
- id : string
377
- investment ?: string
378
- years ?: string
379
- measuredataid ?: string
380
- }
381
-
382
- export interface IReinvestment{
383
- id : string
384
- investment ?: string
385
- years ?: string
386
- measuredataid ?: string
387
- }
388
-
389
- export interface IGlasstype{
390
- id : string
391
- deleted : boolean
392
- sortorder : number
393
- measuredatas : IMeasuredata[]
394
- gvalue : number
395
- uvalue : number
396
- }
397
-
398
- export interface IMeasuredatainterestedcontact{
399
- measuredataid:string
400
- contactid:string
401
- }
402
-
403
- export interface Text{
404
- id:string
405
- title: string
406
- body: string
407
- localeid:string
408
- partnerid:string
409
- }
410
-
411
- export interface Content{
412
- id:string
413
- fullyqualifiedaction : string
414
- subtitle?: string
415
- excerpt?: string
416
- searchbox?: string
417
- actionsbox?: string
418
- htmltitle?: string
419
- htmlkeywords?: string
420
- htmldescription?: string
421
- parentid?: string | null
422
- areaactionid?: string | null
423
- }
424
-
425
- export interface Measuretext{
426
- id:string
427
- measureid?:string | null
428
- measuredataid?:string | null
429
- excerpt?:string
430
- }
431
-
432
- export interface QuotationRequestForm{
433
- measuredataid : string
434
- measureid : string
435
- contractorid : string
436
- }
437
-
438
- export interface IAppointment {
439
- id: string
440
- status?: string
441
- start?: Date
442
- end?: Date
443
- userdataid?: string | null
444
- surveyorid?: string | null
445
- needspayment?: true | false
446
- price? : number
447
- name?: string
448
- }
449
-
450
- export interface ICreateAppointmentParams{
451
- appointmentId: string
452
- agendaId: string
453
- appointmentTypeId: string
454
- start: Date
455
- end: Date
456
- userdataId : string
457
- customerId : string
458
- }
459
-
460
- export interface IAppointmentFormParams{
461
- agendaId: number
462
- appointmentTypeId: number
463
- startDate: string
464
- endDate: string
465
- measuredataids : string[]
466
- }
467
-
468
- export interface ISettings {
469
- "2fa"?: "email"
470
- "ga-api-key"?: string
471
- "ga-code"?: string
472
- "gtm-code"?: string
473
- adviceUrl?: string
474
- cava?: ICavaSettings
475
- createProjectInPerfectview?: boolean
476
- houseScan?: boolean
477
- initialQuestionsetP?: number
478
- mollie?: { apiKey: string }
479
- municipalityManagesLandingPage?: boolean
480
- onlineAfsprakenActive?: number
481
- onlineAfsprakenAgendaId?: number
482
- onlineAfsprakenAppointmentTypeId?: number
483
- perfectview?: IPerfectviewSettings
484
- perfectviewProject?: IPerfectviewProject
485
- priceMargin?: IPriceMargin
486
- primaryPackage?: string
487
- quotationSalesContact?: string
488
- showCollectiveHeatSourceText?: boolean
489
- showPackages?: boolean
490
- startpercentagequestionaire?: number
491
- automaticMothermodelselection ?: 1 | 0
492
- automaticMothermodelAreaactionSource ?: string
493
- surfaceCalculation ?: 1 | 0
494
- solarpanelmodule ?: string
495
- notAvailableMeasures ?: string
496
- }
497
-
498
-
499
- export interface IPerfectviewSettings {
500
- ApiKey?: string
501
- DatabaseId?: string
502
- UserId?: string
503
- }
504
-
505
- export interface ICavaSettings {
506
- pvMark?: string
507
- pvMarkCategory?: string
508
- }
509
-
510
- export interface IPerfectviewProject {
511
- phase?: string
512
- type?: string
513
- }
514
-
515
- export interface IPackage {
516
- id: string
517
- name: string
518
- packagemeasures ?: IPackageMeasure[]
519
- }
520
-
521
- export interface IPackageMeasure{
522
- id : string
523
- packageid ?: string
524
- measureid ?: string
525
- step ?: number
526
- showinlist : boolean
527
- }
528
-
529
- export interface IPriceMargin {
530
- priceMarginMin?: number
531
- priceMarginMax?: number
532
- }
533
-
534
- export interface IPrice {
535
- currency: string
536
- value: number
537
- }
538
-
539
- export interface IPSPStatusUpdate {
540
- mollieid: string
541
- }
542
-
543
- export interface IPayment {
544
- id: string
545
- amount: number
546
- description: string
547
- // createdAt & updatedAt in ISO 8601 format
548
- createdAt: string
549
- updatedAt: string
550
- appointmentid?: string | null
551
- status : string
552
- mollieid: string
553
- checkoutUrl?: string
554
- }
555
-
556
- export interface IOnlineAfsprakenSettings{
557
- apiKey: string
558
- apiSecret: string
559
- appointmentTypeId: number
560
- agendaId: number
561
- }
562
-
563
-
564
- export interface IGetBookableDaysParams {
565
- userdataid: string,
566
- ResourceId?: string,
567
- StartDate: string // YYYY-MM-DD
568
- EndDate: string // YYYY-MM-DD
569
- settings?:IOnlineAfsprakenSettings
570
- }
571
-
572
- export interface IGetBookableTimesParams {
573
- Date: string // YYYY-MM-DD
574
- userdataid: string,
575
- ResourceId?: string,
576
- EndDate?: string // YYYY-MM-DD
577
- settings?:IOnlineAfsprakenSettings
578
- }
579
-
580
- export interface IBookableday{
581
- Date: string;
582
- Month:number
583
- Day:number
584
- Year?:number
585
- JSDate?:Date
586
- UTCDate?: string
587
- }
588
-
589
-
590
- export interface IBookabletime{
591
- Date: string;
592
- StartTime: string,
593
- LabelTime: string
594
- EndTime: string,
595
- Timestamp: number,
596
- JSDateStart?:Date
597
- JSDateEnd?:Date
598
- UTCDateStart?: string
599
- UTCDateEnd?: string
600
- }
601
-
602
-
603
-
604
- export interface IBagData {
605
- coordinates: number[]
606
- buildyear: number
607
- streetname: string
608
- city: string
609
- surface:number
610
- }
611
-
612
- export interface IWssProject{
613
- id : string
614
- name : string
615
- }
616
- export interface IWssAddress{
617
- id : string
618
- postcode : string
619
- housenumber : number
620
- extension : string
621
- projectid : string
622
- tags : string[]
623
- }
624
- export interface IWssTag{
625
- id : string
626
-
627
- }
628
-
629
- export interface IHouseobject{
630
- deleted ?: boolean
631
- id ?: string
632
- sortorder ?: number
633
- surface ?: number
634
- measuredatas ?: IMeasuredata[]
635
- }
636
-
637
- export interface IHouselevel{
638
- id : string
639
- deleted : boolean
640
- sortorder : number
641
- userdataid ?: string | null
642
- heated : boolean
643
- walkable: boolean
644
- used: boolean
645
- haskitchenorlivingroom: boolean
646
- heatinghours : number
647
- }
648
-
649
- export interface IHouse{
650
- windowframeparts : IWindowframepart[],
651
- floors : IFloor[],
652
- walls : IWall[],
653
- roofs : IRoof[],
654
- houselevels : IHouselevel[]
655
- }
656
-
657
- export interface IAbstractHouseObjectType{
658
- deleted ?: boolean
659
- id ?: string
660
- sortorder ?: number
661
- }
662
-
663
- export interface IFloortype extends IAbstractHouseObjectType{
664
- lambda ?: number
665
- rcvalue ?: number
666
- }
667
-
668
- export interface IRooftype extends IAbstractHouseObjectType{
669
- }
670
-
671
- export interface IWalltype extends IAbstractHouseObjectType{
672
- }
673
-
674
- export interface ICrawlspace{
675
- deleted ?: boolean
676
- id ?: string | null
677
- sortorder ?: number
678
- accessible ?: boolean
679
- pumpable ?: boolean
680
- cluttered ?: boolean
681
- height ?: number
682
- wet ?: string
683
-
684
- crawlspacesinfloor ?: ICrawlspaceinfloor[]
685
-
686
- }
687
- export interface ICrawlspaceinfloor{
688
- deleted ?: boolean
689
- id ?: string | null
690
- sortorder ?: number
691
- floorid ?: string | null
692
- crawlspaceid ?: string
693
- surface ?: number
694
- }
695
- export interface IFloorinroom{
696
- deleted ?: boolean
697
- id ?: string | null
698
- sortorder ?: number
699
- floorid ?: string
700
- roomid ?: string
701
- surface ?: number
702
- room ?: IRoom
703
- }
704
-
705
- export interface IFloor extends IHouseobject{
706
- floortypeid ?: string | null
707
- floortype ?: IFloortype
708
- crawlspaces ?: ICrawlspace[]
709
- historic ?: boolean
710
- woodneedsreplacing ?: string
711
- woodandbeamsneedsreplacing ?: string
712
- flatbottom ?: boolean
713
- crawlspacesinfloor ?: ICrawlspaceinfloor[]
714
- basementhasceiling ?: boolean
715
- basementunderneath ?: boolean
716
- rcvalue ?: number
717
- floorinrooms ?: IFloorinroom[]
718
- }
719
-
720
-
721
- export interface ISide{
722
- name : string
723
- deleted : boolean
724
- id : string
725
- sortorder : number
726
- }
727
-
728
- export interface IWall extends IHouseobject{
729
- shadowpercentage ?: number
730
- angle ?: number
731
- side ?: ISide
732
- sideid ?: string | null
733
- walltypeid ?: string | null
734
- walltype ?: IWalltype
735
- insulationonownrisk ?: boolean
736
- wallfinishid ?: string | null
737
- protectedstatus ?: string
738
- aircavity ?: boolean
739
- rcvalue ?: number
740
- thicknesscavity ?: number
741
- housetypeid ?: string | null
742
- }
743
-
744
- export interface IRoom extends IHouseobject{
745
- houselevel ?: IHouselevel
746
- roofs ?: IRoof[]
747
- windowframes ?: IWindowframe[]
748
- floorinrooms ?: IFloorinroom[]
749
- heated : boolean
750
- walkable : boolean
751
- accessible : boolean
752
- isattic : boolean
753
- used : boolean
754
-
755
- }
756
-
757
- export interface IRoof extends IHouseobject{
758
- shadowpercentage ?: number
759
- angle ?: number
760
- rooftypeid ?: string | null
761
- rooftype ?: IRooftype
762
- slope ?: boolean
763
- ridgeheight ?: number
764
- ceilingboarded ?: boolean
765
- roofingid ?: string | null
766
- sideid ?: string | null
767
- side ?: ISide
768
- rcvalue ?: number
769
- housetypeid ?: string | null
770
-
771
- roomid ?: string | null
772
- room ?: IRoom
773
-
774
- hasknieschot ?: boolean
775
- knieschotbacksideaccessible ?: boolean
776
- knieschotenoughspace ?: boolean
777
- knieschotrunningmeters ?: number
778
- buildyear ?: number | null
779
- protectedstatus ?: string | null
780
- protectedstatusside ?: string | null
781
- roofplanelocation ?: string | null
782
- roofboardingthickness ?: number
783
- beamsheight ?: number
784
- flat_edgeheight ?: number
785
- flat_edgerunningmeters ?: number
786
- flat_opgaandegevelheight ?: number
787
- hellend_opgaandegevelheight ?: number
788
- hellend_lokettenrunningmeters ?: number
789
- flat_voetloodrunningmeters ?: number
790
-
791
-
792
-
793
- }
794
- export interface IWindowframe extends IHouseobject{
795
- userdataid ?: string | null
796
- userdata ?: IUserdata
797
- wall ?: IWall
798
- sideid ?: string | null
799
- side ?: ISide
800
- wallid ?: string | null
801
- roomid ?: string | null
802
- houselevelid ?: string | null
803
- windowframetypeid ?: string | null
804
- windowframetype ?: IWindowframetype
805
- width : number
806
- height : number
807
- needreplacing ?: boolean
808
- housetypeid ?: string | null
809
-
810
- room ?: IRoom
811
- }
812
-
813
- export interface IWindowframepart extends IHouseobject{
814
- framewidth ?: number
815
- frameheight ?: number
816
- glasswidth ?: number
817
- glassheight ?: number
818
- leftcasinglength ?: number
819
- rightcasinglength ?: number
820
- bottomstoollength ?: number
821
- topstoollength ?: number
822
- shadowpercentage ?: number
823
-
824
- windowframeparttypeid ?: string | null
825
- windowframeid ?: string | null
826
- windowframe ?: IWindowframe
827
- windowframetype ?: IWindowframetype
828
- side ?: ISide
829
- }
830
-
831
- export interface IWindowframetype extends IAbstractHouseObjectType{
832
- uvalue ?: number
833
- }
834
-
835
- export interface IRule{
836
- id : string
837
- energylossid ?: string | null
838
- floortypeid ?: string | null
839
- glasstypeid ?: string | null
840
- roofingid ?: string | null
841
- roofshapeid ?: string | null
842
- rooftypeid ?: string | null
843
- wallfinishid ?: string | null
844
- walltypeid ?: string | null
845
- windowframeparttypeid ?: string | null
846
- packageid ?: string | null
847
- rulesetid ?: string | null
848
- ruletypeid ?: string | null
849
- measuredataid ?: string | null
850
- targetMeasureid ?: string | null
851
- gasfreeoptionid ?: string | null
852
- measuretypeid ?: string | null
853
- insulationlocationid ?: string | null
854
- insulationmethodid ?: string | null
855
- insulationtypeid ?: string | null
856
-
857
- field ?: string
858
- operator ?: string
859
- value ?: string
860
- }
861
-
862
-
863
- export interface IGasfreeoption{
864
- id : string
865
- name : string
866
- deleted : boolean
867
- sortorder : number
868
- riskfactor : number
869
- gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
870
- }
871
- export interface IGasfreeoptionmeasure{
872
- id : string
873
- name : string
874
- deleted : boolean
875
- sortorder : number
876
- measureid : string
877
- gasfreeoptionid : string
878
- gasfreeoption ?: IGasfreeoption
879
- }
880
-
881
-
882
- export interface IMeasure {
883
- id : string
884
- gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
885
- measuredatas ?: IMeasuredata[]
886
- measuretypeid ?: string | null
887
- measuretype ?: IMeasuretype
888
- logged : ILogged
889
- }
890
-
891
-
892
- export interface IMeasuretype{
893
- id : string
894
- measures ?: IMeasure[]
895
- logged : ILogged
896
- }
897
-
898
-
899
-
900
- export interface ZonatlasAddress {
901
- add_on: string
902
- addition: string
903
- city: string
904
- country: string
905
- hid: number
906
- lat: number
907
- lon: number
908
- municipality: string
909
- number: number
910
- postal: string
911
- project: string
912
- spc_id: number
913
- spc_key: string
914
- street: string
915
- }
916
- export interface ZonatlasBagdata {
917
- building_add_on: string | null,
918
- building_addition: string | null,
919
- building_area: number,
920
- building_function: string
921
- building_number: number,
922
- building_postcode: string
923
- building_status: string
924
- id_nummeraanduiding: string
925
- id_openbareruimte: string
926
- id_plaats: string
927
- id_verblijfsobject: string
928
- pand_building_year: number
929
- pand_status: string
930
- }
931
-
932
- export interface ZonatlasCalculationParamaters{
933
- harging_station: boolean
934
- costs_insurance: number
935
- costs_other: number
936
- costs_service: number
937
- degradation:number
938
- eeg_umlage: any | null,
939
- emobility: boolean,
940
- energy_consumption: number,
941
- energy_price:number
942
- energy_price_increase: number
943
- feed_in_rate_kwh: number
944
- inflation: number
945
- load_profile: boolean,
946
- scaffold_factor: number
947
- scaffold_price_increase: number
948
- solar_thermal: boolean,
949
- storage: boolean,
950
- storage_information: { kwh_brutto: number }
951
- subsidy_per_kwp: number
952
- system_loss: number
953
- }
954
-
955
- export interface ZonatlasData {
956
- autarky: number
957
- building_area: number
958
- co2_savings: number
959
- cost_charging_station: number
960
- cost: number
961
- cost_charging_station_excl_vat: number
962
- cost_excl_vat: number
963
- cost_pv_excl_vat: number
964
- cost_pv: number
965
- cost_storage_excl_vat: number
966
- cost_storage: number
967
- forecasted_years: number
968
- energy_consumption: number
969
- global_mean_barely_suited: number
970
- global_mean_suited: number
971
- global_mean_well_suited: number
972
- kwp: number
973
- max_energy: number
974
- max_energy_barely_suited: number
975
- max_energy_suited: number
976
- max_energy_well_suited: number
977
- max_kwp: number
978
- max_kwp_barely_suited: number
979
- max_kwp_suited: number
980
- max_kwp_well_suited: number
981
- max_panels: number
982
- months_until_payback: number
983
- number_of_panels: number
984
- own_consumption: number
985
- percent_roi: number
986
- profit: number
987
- pv_area_barely_suited: number
988
- pv_area_suited: number
989
- pv_area_well_suited: number
990
- st_area_suited: number
991
- st_area_well_suited: number
992
- st_max_area: number
993
- st_max_kwhpa_flat: number
994
- st_max_kwhpa_vacuum: number
995
- st_max_number_of_panels: number
996
- street: string
997
- subsidy_one_time: number
998
- suitability: string
999
- suitability_st: string
1000
- total_income: number
1001
- total_plant_roof_area: number
1002
- total_plant_surface: number
1003
- yearly_income: number
1004
- yearly_yield: number
1005
- years_until_payed_back: number
1006
- }
1007
-
1008
- export interface ZonatlasMapLayer {
1009
- name: string
1010
- url: string
1011
- }
1012
-
1013
- export interface ZonatlasModule {
1014
- Wp: number,
1015
- cost_per_kwp: number,
1016
- height: number,
1017
- ident: number | null,
1018
- name: string,
1019
- size:number,
1020
- width: number
1021
- }
1022
-
1023
- export interface ZonatlasPlantData{
1024
- estimated_yield:number,
1025
- kwp: number,
1026
- module: ZonatlasModule,
1027
- number_of_modules: number,
1028
- orientation: number,
1029
- roof_id: number,
1030
- scaffold: boolean,
1031
- tilt: number
1032
- }
1033
-
1034
- export interface ZonatlasPlant{
1035
- data: ZonatlasPlantData,
1036
- mp: string
1037
- type: string
1038
- }
1039
-
1040
- export interface ZonatlasRequest {
1041
- add_on: string
1042
- addition: string
1043
- api_type: string
1044
- auth: string
1045
- moduleplacer: boolean
1046
- number: string
1047
- postal: string
1048
-
1049
- }
1050
-
1051
-
1052
- export interface ZonatlasResult{
1053
- address : ZonatlasAddress
1054
- bagdata : ZonatlasBagdata[]
1055
- buildingwkt : string
1056
- calculation_parameters : ZonatlasCalculationParamaters
1057
- data : ZonatlasData
1058
- href : string
1059
- individual_data : any
1060
- map_layers : ZonatlasMapLayer[]
1061
- monuments : {
1062
- monument_areas: [],
1063
- national_monuments: []
1064
- }
1065
- plants : ZonatlasPlant[],
1066
- images : {
1067
- radiation : string,
1068
- radiation_large:string,
1069
- roofs : string,
1070
- roofs_large:string
1071
- }
1072
- }
1073
-
1074
- export interface ZonatlasResponse {
1075
- request : ZonatlasRequest
1076
- results : ZonatlasResult[]
1077
- }
1078
-
1079
-
1080
- export interface EnergyOutput{
1081
- output : number
1082
- }
1083
- export interface EnergyInput{
1084
- input : number
1085
- }
1086
-
1087
- export interface EnergyIO extends EnergyOutput, EnergyInput{}
1088
-
1089
- export interface EntityEnergyIO extends EnergyIO{
1090
- id : string
1091
- }
1092
-
1093
- export interface EnergyIOState{
1094
- floors : EntityEnergyIO[]
1095
- walls : EntityEnergyIO[]
1096
- roofs : EntityEnergyIO[]
1097
- windowframeparts : EntityEnergyIO[]
1098
- coldbridges : EnergyIO
1099
- perimeter: EnergyIO
1100
- draft: EnergyIO
1101
- ventilation: EnergyIO
1102
- internal: EnergyOutput
1103
- }
1104
-
1105
-
1106
-
1107
- export type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs" | "houselevels"
1108
- type IHouseMap = Map< IHouseObjectName , IHouseObjectWithMeasuredatas[]>
1109
-
1110
- export interface IHouseObjectWithMeasuredatas extends IHouseobject{
1111
- measuredatas : IMeasuredata[]
1112
- }
1113
-
1114
- export interface IAnsweroption{
1115
- id : string
1116
- questionid ?: string | null
1117
-
1118
- }
1119
-
1120
- export interface IUseranswer{
1121
- id : string
1122
- intakeid ?: string | null
1123
- value ?: string
1124
- answeroptionid ?: string | null
1125
- answeroption ?: IAnsweroption
1126
-
1127
- }
1128
-
1129
- export interface IAreaactioncollection extends ILogged{
1130
- userdataid ?: string
1131
- areaactionid ?: string
1132
- }
1133
- export interface IAreaaction extends ILogged{
1134
- settings ?: ISettings
1135
- hostname ?: string
1136
- pvmark ?: string
1137
- }
1138
-
1139
- export interface IHomeSettings{
1140
- floor_insulationtype ?: string
1141
- floor_insulationlocation ?: string
1142
- floor_insulationmethod ?: string
1143
- floor_rcValue ?: number
1144
- floor_floortypeid ?: string
1145
- wall_insulationtype ?: string
1146
- wall_insulationlocation ?: string
1147
- wall_insulationmethod ?: string
1148
- wall_rcValue ?: number
1149
- wall_walltypeid ?: string
1150
- wall_rcValue_uninsulated ?: number
1151
- wall_thickness ?: string
1152
- wall_aircavity ?: boolean
1153
- roof_insulationtype ?: string
1154
- roof_insulationlocation ?: string
1155
- roof_insulationmethod ?: string
1156
- roof_rcValue ?: number
1157
- roof_rooftypeid ?: string
1158
- roof_roofingid ?: string
1159
- glass_glasstype ?: string
1160
- draftprofile ?: "draftprofile-1" | "draftprofile-2" | "draftprofile-3" | "draftprofile-4"
1161
- }
1162
-
1163
- export interface IDefaulthomesettings{
1164
- settings ?: IHomeSettings
1165
- yearmin ?: number
1166
- yearmax ?: number
1167
- }
1168
-
1169
-
1170
- export interface IHousewish{
1171
- name : string
1172
- deleted : boolean
1173
- sortorder : number
1174
- userdatahousewishes ?: IUserdatahousewish[]
1175
- housewishgroup ?: IHousewishgroup
1176
- housewishgroupid ?: string | null
1177
- }
1178
-
1179
-
1180
- export interface IHousewishgroup{
1181
- name : string
1182
- deleted : boolean
1183
- sortorder : number
1184
- housewishes ?: IHousewish[]
1185
- }
1186
-
1187
-
1188
- export interface IUserdatahousewish{
1189
- name : string
1190
- deleted : boolean
1191
- sortorder : number
1192
- housewish ?: IHousewish
1193
- userdata ?: IUserdata
1194
- housewishid ?: string | null
1195
- userdataid ?: string | null
1196
- score ?: number
1197
- }
1198
-
1199
-
1200
-
1201
- interface IEnergyconsumption{
1202
- water : number
1203
- electricity : number
1204
- heatnetwork : number
1205
- gas : number
1206
- }
1207
-
1208
- interface IEnergyDistribution{
1209
- heating : number
1210
- warmwater : number
1211
- household : number
1212
- cooking : number
1213
- shower : number
1214
- }
1215
-
1216
-
1217
-
1218
-
1219
- interface IUsage{
1220
- consumption : IEnergyconsumption
1221
- distribution : IEnergyDistribution
1222
- energyfactor : number
1223
- m3gasToKwhFactor : number
1224
- cooksongas : boolean
1225
- calculatedEnergyUse : number
1226
- }
1227
-
1228
- interface ICosts{
1229
- id : string
1230
- gasstandingcharge ?: number
1231
- gasprice ?: number
1232
- gaspriceincrease ?: number
1233
- heatnetworkstandingcharge ?: number
1234
- heatnetworkprice ?: number
1235
- heatnetworkpriceincrease ?: number
1236
- electricitystandingcharge ?: number
1237
- electricityprice ?: number
1238
- electricitysellbackprice ?: number
1239
- electricitypriceincrease ?: number
1240
- waterprice ?: number
1241
- waterpriceincrease ?: number
1242
- inflation ?: number
1243
- gasm3tokwhfactor ?: number
1244
- interest ?: number
1245
- settings ?: JSON
1246
- userdataid ?: string
1247
- }
1248
-
1249
- export interface ICustomAdviceCombination{
1250
- insulation : {
1251
- [index:string] : string | null | undefined
1252
- }
1253
- draft : string | null | undefined
1254
- ventilation : string | null | undefined
1255
- gasfreeoption : string | null | undefined
1256
- solar : {
1257
- household : string | null | undefined
1258
- gasfree : string | null | undefined
1259
- }
1260
- }
1261
-
1262
-
1263
-
1264
-
1265
- export interface HouseObjectSettings{
1266
- floor : number | IHousetemplateCalculationDataPerHousetype | { u: number; factor: number; }[]
1267
- wall : number
1268
- windowframepart : number
1269
- roof : number
1270
- }
1271
-
1272
- type IOperation = "multiplication" | "division"
1273
-
1274
-
1275
- type Orientation = "z" | "z/w" | "w" | "n/w" | "n" | "n/o" | "o" | "z/o"
1276
-
1277
- export interface ITemperaturecalcdata extends ILogged{
1278
- savingsinenergyfactor: string | null
1279
- returnpercentagefactor: string | null,
1280
- paybackfactor: string | null
1281
- saving1: string | null
1282
- saving2: string | null
1283
- rc1: string | null
1284
- rc2: string | null
1285
- vereffening: string | null
1286
- operation: IOperation | null
1287
- openstairs: boolean | null
1288
- floorheating: boolean | null
1289
- measureid: string | null
1290
- roomheated: boolean | null
1291
- househasonehouselevel: boolean | null
1292
- noexistingmeasure: boolean | null
1293
- }
1294
-
1295
-
1296
- export type DraftProfile = 1 | 2 | 3 | 4
1297
- export type DraftFactor = number
1298
-
1299
- export interface DraftProfileSetting{
1300
- profile : DraftProfile
1301
- factor : DraftFactor
1302
- default ?:boolean
1303
- }
1304
-
1305
- export interface Uninsulatedenergylosses extends HouseObjectSettings{
1306
- }
1307
-
1308
- export interface Uninsulatedu extends HouseObjectSettings{
1309
- }
1310
-
1311
- export interface Reductionfactors extends HouseObjectSettings{
1312
- }
1313
- export interface HouseContructionParams{
1314
- surface:number
1315
- coldbridgesenergyloss:number | null
1316
- graaddagenjaarmethode:number | null
1317
- graaddagenmaandmethode:number | null
1318
- draftprofile:DraftProfile | null
1319
- perimeterenergyloss:number | null
1320
- uninsulatedenergylosses : Uninsulatedenergylosses
1321
- uninsulatedu : Uninsulatedu
1322
- uninsulatedreductionfactors : Reductionfactors
1323
- insulatedreductionfactors : Reductionfactors
1324
- openstairs : boolean
1325
- floorheating : boolean
1326
- househasonehouselevel : boolean,
1327
- temperaturecalcdatas ?:ITemperaturecalcdata[]
1328
- frontorientation ?: Orientation
1329
- }
1
+ export interface IContact{
2
+ id?: string | null
3
+ firstname?: string
4
+ infix?: string | null
5
+ lastname?: string
6
+ active?: boolean
7
+ email?: string
8
+ username?: string
9
+ postcode?: string
10
+ phone?: string
11
+ mobile?: string
12
+ houseno?: number
13
+ extension?: string
14
+ password?: string
15
+ securityroleid?: string | null
16
+ companyid?: string | null
17
+ areaactioncollectionid?: string | null
18
+ questionairelocked?: boolean
19
+ wantsnewsletter?: boolean
20
+ coordinates?:string
21
+ streetname?:string
22
+ city?:string
23
+ simpleid?:number
24
+ salutation?: string
25
+ pvid?: string
26
+ fullname?: string
27
+ vve ?: boolean
28
+ renter ?: boolean
29
+ files ?: IContactFile[]
30
+ }
31
+ export interface IPartner{
32
+ name : string
33
+ id : string
34
+ }
35
+
36
+ export interface Advice{
37
+ id:string | null;
38
+ userdataid:string;
39
+ status:string;
40
+ usage:string
41
+ adviceinfo:string
42
+ advicedusage:string
43
+ userinput:string
44
+ advicedinput:string
45
+ advicedstates:string
46
+ workerresult:string
47
+ calculatedmeasures:string
48
+ }
49
+
50
+ export interface EtriasDBContact{
51
+ id:string | null;
52
+ email:string;
53
+ username:string;
54
+ password:string;
55
+ securityroleid:string | null;
56
+ companyid:string | null;
57
+ }
58
+
59
+ export interface ISecurityRole{
60
+ id:string;
61
+ name:string;
62
+ deleted:boolean;
63
+ }
64
+
65
+ export interface Article{
66
+ id:string;
67
+ title:string;
68
+ body: string;
69
+ }
70
+ export interface ILogged{
71
+ id: string;
72
+ name:string;
73
+ deleted:boolean;
74
+ sortorder:number;
75
+ createdate:Date
76
+ }
77
+
78
+ export interface SignupForm{
79
+ salutation:string;
80
+ firstname:string;
81
+ infix:string;
82
+ lastname:string;
83
+ postcode:string;
84
+ housenumber:number;
85
+ extension:string;
86
+ phone:string;
87
+ mobile:string;
88
+ email:string;
89
+ password:string;
90
+ password_repeat:string;
91
+ conditions:boolean;
92
+ areaactionid: string;
93
+ partnerid: string;
94
+ areaactioncollectionid:string;
95
+ }
96
+
97
+ export interface CIASignupForm extends SignupForm{}
98
+ export interface MWASignupForm extends SignupForm{}
99
+
100
+ export interface SignupFormResponse{
101
+ status: string;
102
+ statuscode: number;
103
+ title?: string;
104
+ contact?:IContact;
105
+ }
106
+ export interface CIASignupFormResponse extends SignupFormResponse{}
107
+ export interface MWASignupFormResponse extends SignupFormResponse{}
108
+
109
+ export interface IUserdata{
110
+ id:string;
111
+ sourceid:string | null
112
+ contactid?:string | null
113
+ maxpanels?:number
114
+ openstairs?:boolean
115
+ openkitchen?:boolean
116
+ floorheating?:boolean
117
+ occupants?:number
118
+ showerprofile?:number
119
+ cookingprofile?:number
120
+ draftprofile?:number
121
+ maxinvestment?:number
122
+ cooksongas?:boolean
123
+ source?:string
124
+ buildyear?:number
125
+ surface?:number
126
+ usage ?: string
127
+ wetspotswalls ?: string
128
+ diyconstruction ?: boolean
129
+ circularconstruction ?: boolean
130
+ renovationconstruction ?: boolean
131
+ allowwallinsideinsulation ?: boolean
132
+ protectedstatus ?: string
133
+
134
+ flatroofshouldberedone ?: boolean
135
+ sloperoofshouldberedone ?: boolean
136
+ shouldceilingbepaneled ?: boolean
137
+ allowlowerceiling ?: string
138
+ housetemplateid ?: string
139
+ housetypeid ?: string
140
+
141
+ leftwallinmothermodel ?: string
142
+ orientationid ?: string
143
+
144
+ houselevelamount ?: number
145
+ roofshapeid ?:string
146
+ finishedquestionsets ?: string
147
+ userdatahousewishes ?: IUserdatahousewish[]
148
+
149
+ }
150
+
151
+ export interface IAnnualreport{
152
+ id : string
153
+ amount ?: string
154
+ type ?: string
155
+ year ?: string
156
+ occupants ?: string
157
+ userdataid ?:string
158
+ }
159
+ export interface IAveragecalcdata{
160
+ id : string
161
+ amount ?: string
162
+ occupants ?: string
163
+ profile ?: string
164
+ averagecalcdatatype ?: IAveragecalcdatatype
165
+ averagecalcdatatypeid ?: string
166
+ }
167
+
168
+ export interface IAveragecalcdatatype{
169
+ id : string
170
+ averagecalcdatas ?: IAveragecalcdata[]
171
+ }
172
+
173
+ export interface IOrientation extends ILogged{
174
+
175
+ }
176
+
177
+
178
+
179
+ export enum Housetypename {
180
+ terraced = "terraced-middle",
181
+ terracedright = "terraced-right" ,
182
+ terracedleft = "terraced-left" ,
183
+ semidetachedleft = "semi-detached-left",
184
+ semidetachedright = "semi-detached-right" ,
185
+ detached = "detached"
186
+ }
187
+
188
+ export type IHousetemplateCalculationDataPerHousetype = {
189
+ [key in Housetypename] : number
190
+ }
191
+
192
+ export interface IHousetype{
193
+ id : string
194
+ deleted : boolean
195
+ name : string
196
+ }
197
+
198
+ export interface IHousetemplateCalculationData{
199
+ windowenergylosses : IHousetemplateCalculationDataPerHousetype
200
+ windowaverageus : IHousetemplateCalculationDataPerHousetype
201
+ coldbridges : IHousetemplateCalculationDataPerHousetype
202
+ perimeter : IHousetemplateCalculationDataPerHousetype
203
+ wallenergylosses : IHousetemplateCalculationDataPerHousetype
204
+ roofenergylosses : IHousetemplateCalculationDataPerHousetype
205
+ floorenergylosses : IHousetemplateCalculationDataPerHousetype
206
+ windowsurfaces : IHousetemplateCalculationDataPerHousetype
207
+ wallsurfaces : IHousetemplateCalculationDataPerHousetype
208
+ roofsurfaces : IHousetemplateCalculationDataPerHousetype
209
+ floorsurfaces : IHousetemplateCalculationDataPerHousetype
210
+ flooruninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
211
+ walluninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
212
+ roofuninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
213
+ flooraverageus : IHousetemplateCalculationDataPerHousetype
214
+ wallaverageus : IHousetemplateCalculationDataPerHousetype
215
+ roofaverageus : IHousetemplateCalculationDataPerHousetype
216
+ usagesurface : number
217
+ graaddagenmaandmethode : number
218
+ graaddagenjaarmethode : number
219
+ insulatedreductionfactors : {
220
+ wall : number
221
+ floor : number | IHousetemplateCalculationDataPerHousetype | { u:number, factor:number }[]
222
+ roof : number
223
+ }
224
+ }
225
+
226
+ export interface IHousetemplateCalculationDataForHousetype{
227
+ windowenergylosses : number
228
+ windowaverageus : number
229
+ coldbridges : number
230
+ perimeter : number
231
+ wallenergylosses : number
232
+ roofenergylosses : number
233
+ floorenergylosses : number
234
+ windowsurfaces : number
235
+ wallsurfaces : number
236
+ roofsurfaces : number
237
+ floorsurfaces : number
238
+ flooruninsulatedreductionfactors : number
239
+ walluninsulatedreductionfactors : number
240
+ roofuninsulatedreductionfactors : number
241
+ flooraverageus : number
242
+ wallaverageus : number
243
+ roofaverageus : number
244
+ usagesurface : number
245
+ graaddagenmaandmethode : number
246
+ graaddagenjaarmethode : number
247
+ insulatedreductionfactors : {
248
+ wall : number
249
+ floor : number | IHousetemplateCalculationDataPerHousetype | { u:number, factor:number }[]
250
+ roof : number
251
+ }
252
+ energylossesPerm2 ?: {
253
+ wall : number
254
+ floor : number
255
+ roof : number
256
+ windowframepart : number
257
+
258
+ }
259
+ }
260
+
261
+ export interface IHousetemplate{
262
+ id ?: string | null
263
+ calculationdata ?: string
264
+ }
265
+
266
+ export interface Solarapicall{
267
+ id:string
268
+ deleted:boolean
269
+ name?:string
270
+ sortorder?:number
271
+ energyconsumption:number | null
272
+ max:boolean
273
+ panels:number
274
+ yield:number
275
+ postcode:string
276
+ housenumber:number
277
+ extension:string | null
278
+ result:string | ZonatlasResponse | ZonatlasResult
279
+ module : number
280
+ }
281
+
282
+ export interface Quotation{
283
+ id:string
284
+ expiredate:Date
285
+ contractorid:string
286
+ adviceid:string
287
+ measuredataid?:string | null
288
+ quotationrequestid:string | null
289
+ investment?:number
290
+ status?:string
291
+ accepteddate?:Date
292
+ rejectdate?:Date
293
+ rejectreason?:string
294
+ }
295
+
296
+ export interface IFile{
297
+ id:string
298
+ originalfilename:string
299
+ folder?:string
300
+ bucket?:string
301
+ }
302
+ export interface QuotationFile extends IFile{
303
+ quotationid?:string | null
304
+ quotationrequestid?:string | null
305
+ }
306
+ export interface IContactFile extends IFile{
307
+ contactid?:string | null
308
+ category ?:string
309
+ }
310
+
311
+ export interface QuotationRequest{
312
+ id:string
313
+ measureid:string
314
+ measuredataid?:string | null
315
+ contractorid?:string | null
316
+ adviceid:string
317
+ status:string
318
+ data:JSON | null
319
+ files?:QuotationFile[]
320
+ }
321
+
322
+ export interface Collectivebuy{
323
+ id:string
324
+ expiredate:Date
325
+ partnerid:string
326
+ }
327
+
328
+ export interface ISaving{
329
+ amount ?: number
330
+ }
331
+
332
+ export interface IMeasuredata{
333
+ id:string
334
+ name:string
335
+ deleted:boolean
336
+ sortorder?:number
337
+ active?:boolean
338
+ displayname?:string
339
+ price_m2?:number
340
+ price_m?:number
341
+ price_per_object?:number
342
+ startamount?:number
343
+ rcvalue?:number
344
+ investment?:number
345
+ collectivebuyid?:string | null
346
+ contractorid?:string | null
347
+ measureid?:string | null
348
+ requiressurvey?:boolean
349
+ collectivebuystatus?:"now" | "future" | "never"
350
+ collectivebuyquotationpossible?:boolean
351
+ g_value ?: number
352
+ u_value ?: number
353
+ saving ?: number
354
+
355
+ insulationmethodid ?: string | null
356
+ insulationlocationid ?: string | null
357
+ insulationtypeid ?: string | null
358
+ glasstypeid ?: string | null
359
+ glasstype ?: IGlasstype
360
+
361
+ spf_vw ?: number
362
+ spf_ww ?: number
363
+ heatingpower ?: number
364
+ savings ?: ISaving[]
365
+
366
+ measure ?: IMeasure
367
+ panels ?: number
368
+
369
+ reinvestments ?: IReinvestment[]
370
+ maintenances ?: IMaintenance[]
371
+
372
+ questionsetids ?: string
373
+ }
374
+
375
+ export interface IMaintenance{
376
+ id : string
377
+ investment ?: string
378
+ years ?: string
379
+ measuredataid ?: string
380
+ }
381
+
382
+ export interface IReinvestment{
383
+ id : string
384
+ investment ?: string
385
+ years ?: string
386
+ measuredataid ?: string
387
+ }
388
+
389
+ export interface IGlasstype{
390
+ id : string
391
+ deleted : boolean
392
+ sortorder : number
393
+ measuredatas : IMeasuredata[]
394
+ gvalue : number
395
+ uvalue : number
396
+ }
397
+
398
+ export interface IMeasuredatainterestedcontact{
399
+ measuredataid:string
400
+ contactid:string
401
+ }
402
+
403
+ export interface Text{
404
+ id:string
405
+ title: string
406
+ body: string
407
+ localeid?: string | null
408
+ partnerid?: string | null
409
+ }
410
+
411
+ export interface Content{
412
+ id:string
413
+ fullyqualifiedaction : string
414
+ subtitle?: string
415
+ excerpt?: string
416
+ searchbox?: string
417
+ actionsbox?: string
418
+ htmltitle?: string
419
+ htmlkeywords?: string
420
+ htmldescription?: string
421
+ parentid?: string | null
422
+ areaactionid?: string | null
423
+ }
424
+
425
+ export interface Measuretext{
426
+ id:string
427
+ measureid?:string | null
428
+ measuredataid?:string | null
429
+ excerpt?:string
430
+ }
431
+
432
+ export interface QuotationRequestForm{
433
+ measuredataid : string
434
+ measureid : string
435
+ contractorid : string
436
+ }
437
+
438
+ export interface IAppointment {
439
+ id: string
440
+ status?: string
441
+ start?: Date
442
+ end?: Date
443
+ userdataid?: string | null
444
+ surveyorid?: string | null
445
+ needspayment?: true | false
446
+ price? : number
447
+ name?: string
448
+ }
449
+
450
+ export interface ICreateAppointmentParams{
451
+ appointmentId: string
452
+ agendaId: string
453
+ appointmentTypeId: string
454
+ start: Date
455
+ end: Date
456
+ userdataId : string
457
+ customerId : string
458
+ }
459
+
460
+ export interface IAppointmentFormParams{
461
+ agendaId: number
462
+ appointmentTypeId: number
463
+ startDate: string
464
+ endDate: string
465
+ measuredataids : string[]
466
+ }
467
+
468
+ export interface ISettings {
469
+ "2fa"?: "email"
470
+ "ga-api-key"?: string
471
+ "ga-code"?: string
472
+ "gtm-code"?: string
473
+ adviceUrl?: string
474
+ cava?: ICavaSettings
475
+ createProjectInPerfectview?: boolean
476
+ houseScan?: boolean
477
+ initialQuestionsetP?: number
478
+ mollie?: { apiKey: string }
479
+ municipalityManagesLandingPage?: boolean
480
+ onlineAfsprakenActive?: number
481
+ onlineAfsprakenAgendaId?: number
482
+ onlineAfsprakenAppointmentTypeId?: number
483
+ perfectview?: IPerfectviewSettings
484
+ perfectviewProject?: IPerfectviewProject
485
+ priceMargin?: IPriceMargin
486
+ primaryPackage?: string
487
+ quotationSalesContact?: string
488
+ showCollectiveHeatSourceText?: boolean
489
+ showPackages?: boolean
490
+ startpercentagequestionaire?: number
491
+ automaticMothermodelselection ?: 1 | 0
492
+ automaticMothermodelAreaactionSource ?: string
493
+ surfaceCalculation ?: 1 | 0
494
+ solarpanelmodule ?: string
495
+ notAvailableMeasures ?: string
496
+ }
497
+
498
+
499
+ export interface IPerfectviewSettings {
500
+ ApiKey?: string
501
+ DatabaseId?: string
502
+ UserId?: string
503
+ }
504
+
505
+ export interface ICavaSettings {
506
+ pvMark?: string
507
+ pvMarkCategory?: string
508
+ }
509
+
510
+ export interface IPerfectviewProject {
511
+ phase?: string
512
+ type?: string
513
+ }
514
+
515
+ export interface IPackage {
516
+ id: string
517
+ name: string
518
+ packagemeasures ?: IPackageMeasure[]
519
+ }
520
+
521
+ export interface IPackageMeasure{
522
+ id : string
523
+ packageid ?: string
524
+ measureid ?: string
525
+ step ?: number
526
+ showinlist : boolean
527
+ }
528
+
529
+ export interface IPriceMargin {
530
+ priceMarginMin?: number
531
+ priceMarginMax?: number
532
+ }
533
+
534
+ export interface IPrice {
535
+ currency: string
536
+ value: number
537
+ }
538
+
539
+ export interface IPSPStatusUpdate {
540
+ mollieid: string
541
+ }
542
+
543
+ export interface IPayment {
544
+ id: string
545
+ amount: number
546
+ description: string
547
+ // createdAt & updatedAt in ISO 8601 format
548
+ createdAt: string
549
+ updatedAt: string
550
+ appointmentid?: string | null
551
+ status : string
552
+ mollieid: string
553
+ checkoutUrl?: string
554
+ }
555
+
556
+ export interface IOnlineAfsprakenSettings{
557
+ apiKey: string
558
+ apiSecret: string
559
+ appointmentTypeId: number
560
+ agendaId: number
561
+ }
562
+
563
+
564
+ export interface IGetBookableDaysParams {
565
+ userdataid: string,
566
+ ResourceId?: string,
567
+ StartDate: string // YYYY-MM-DD
568
+ EndDate: string // YYYY-MM-DD
569
+ settings?:IOnlineAfsprakenSettings
570
+ }
571
+
572
+ export interface IGetBookableTimesParams {
573
+ Date: string // YYYY-MM-DD
574
+ userdataid: string,
575
+ ResourceId?: string,
576
+ EndDate?: string // YYYY-MM-DD
577
+ settings?:IOnlineAfsprakenSettings
578
+ }
579
+
580
+ export interface IBookableday{
581
+ Date: string;
582
+ Month:number
583
+ Day:number
584
+ Year?:number
585
+ JSDate?:Date
586
+ UTCDate?: string
587
+ }
588
+
589
+
590
+ export interface IBookabletime{
591
+ Date: string;
592
+ StartTime: string,
593
+ LabelTime: string
594
+ EndTime: string,
595
+ Timestamp: number,
596
+ JSDateStart?:Date
597
+ JSDateEnd?:Date
598
+ UTCDateStart?: string
599
+ UTCDateEnd?: string
600
+ }
601
+
602
+
603
+
604
+ export interface IBagData {
605
+ coordinates: number[]
606
+ buildyear: number
607
+ streetname: string
608
+ city: string
609
+ surface:number
610
+ }
611
+
612
+ export interface IWssProject{
613
+ id : string
614
+ name : string
615
+ }
616
+ export interface IWssAddress{
617
+ id : string
618
+ postcode : string
619
+ housenumber : number
620
+ extension : string
621
+ projectid : string
622
+ tags : string[]
623
+ }
624
+ export interface IWssTag{
625
+ id : string
626
+
627
+ }
628
+
629
+ export interface IHouseobject{
630
+ deleted ?: boolean
631
+ id ?: string
632
+ sortorder ?: number
633
+ surface ?: number
634
+ measuredatas ?: IMeasuredata[]
635
+ }
636
+
637
+ export interface IHouselevel{
638
+ id : string
639
+ deleted : boolean
640
+ sortorder : number
641
+ userdataid ?: string | null
642
+ heated : boolean
643
+ walkable: boolean
644
+ used: boolean
645
+ haskitchenorlivingroom: boolean
646
+ heatinghours : number
647
+ }
648
+
649
+ export interface IHouse{
650
+ windowframeparts : IWindowframepart[],
651
+ floors : IFloor[],
652
+ walls : IWall[],
653
+ roofs : IRoof[],
654
+ houselevels : IHouselevel[]
655
+ }
656
+
657
+ export interface IAbstractHouseObjectType{
658
+ deleted ?: boolean
659
+ id ?: string
660
+ sortorder ?: number
661
+ }
662
+
663
+ export interface IFloortype extends IAbstractHouseObjectType{
664
+ lambda ?: number
665
+ rcvalue ?: number
666
+ }
667
+
668
+ export interface IRooftype extends IAbstractHouseObjectType{
669
+ }
670
+
671
+ export interface IWalltype extends IAbstractHouseObjectType{
672
+ }
673
+
674
+ export interface ICrawlspace{
675
+ deleted ?: boolean
676
+ id ?: string | null
677
+ sortorder ?: number
678
+ accessible ?: boolean
679
+ pumpable ?: boolean
680
+ cluttered ?: boolean
681
+ height ?: number
682
+ wet ?: string
683
+
684
+ crawlspacesinfloor ?: ICrawlspaceinfloor[]
685
+
686
+ }
687
+ export interface ICrawlspaceinfloor{
688
+ deleted ?: boolean
689
+ id ?: string | null
690
+ sortorder ?: number
691
+ floorid ?: string | null
692
+ crawlspaceid ?: string
693
+ surface ?: number
694
+ }
695
+ export interface IFloorinroom{
696
+ deleted ?: boolean
697
+ id ?: string | null
698
+ sortorder ?: number
699
+ floorid ?: string
700
+ roomid ?: string
701
+ surface ?: number
702
+ room ?: IRoom
703
+ }
704
+
705
+ export interface IFloor extends IHouseobject{
706
+ floortypeid ?: string | null
707
+ floortype ?: IFloortype
708
+ crawlspaces ?: ICrawlspace[]
709
+ historic ?: boolean
710
+ woodneedsreplacing ?: string
711
+ woodandbeamsneedsreplacing ?: string
712
+ flatbottom ?: boolean
713
+ crawlspacesinfloor ?: ICrawlspaceinfloor[]
714
+ basementhasceiling ?: boolean
715
+ basementunderneath ?: boolean
716
+ rcvalue ?: number
717
+ floorinrooms ?: IFloorinroom[]
718
+ }
719
+
720
+
721
+ export interface ISide{
722
+ name : string
723
+ deleted : boolean
724
+ id : string
725
+ sortorder : number
726
+ }
727
+
728
+ export interface IWall extends IHouseobject{
729
+ shadowpercentage ?: number
730
+ angle ?: number
731
+ side ?: ISide
732
+ sideid ?: string | null
733
+ walltypeid ?: string | null
734
+ walltype ?: IWalltype
735
+ insulationonownrisk ?: boolean
736
+ wallfinishid ?: string | null
737
+ protectedstatus ?: string
738
+ aircavity ?: boolean
739
+ rcvalue ?: number
740
+ thicknesscavity ?: number
741
+ housetypeid ?: string | null
742
+ }
743
+
744
+ export interface IRoom extends IHouseobject{
745
+ houselevel ?: IHouselevel
746
+ roofs ?: IRoof[]
747
+ windowframes ?: IWindowframe[]
748
+ floorinrooms ?: IFloorinroom[]
749
+ heated : boolean
750
+ walkable : boolean
751
+ accessible : boolean
752
+ isattic : boolean
753
+ used : boolean
754
+
755
+ }
756
+
757
+ export interface IRoof extends IHouseobject{
758
+ shadowpercentage ?: number
759
+ angle ?: number
760
+ rooftypeid ?: string | null
761
+ rooftype ?: IRooftype
762
+ slope ?: boolean
763
+ ridgeheight ?: number
764
+ ceilingboarded ?: boolean
765
+ roofingid ?: string | null
766
+ sideid ?: string | null
767
+ side ?: ISide
768
+ rcvalue ?: number
769
+ housetypeid ?: string | null
770
+
771
+ roomid ?: string | null
772
+ room ?: IRoom
773
+
774
+ hasknieschot ?: boolean
775
+ knieschotbacksideaccessible ?: boolean
776
+ knieschotenoughspace ?: boolean
777
+ knieschotrunningmeters ?: number
778
+ buildyear ?: number | null
779
+ protectedstatus ?: string | null
780
+ protectedstatusside ?: string | null
781
+ roofplanelocation ?: string | null
782
+ roofboardingthickness ?: number
783
+ beamsheight ?: number
784
+ flat_edgeheight ?: number
785
+ flat_edgerunningmeters ?: number
786
+ flat_opgaandegevelheight ?: number
787
+ hellend_opgaandegevelheight ?: number
788
+ hellend_lokettenrunningmeters ?: number
789
+ flat_voetloodrunningmeters ?: number
790
+
791
+
792
+
793
+ }
794
+ export interface IWindowframe extends IHouseobject{
795
+ userdataid ?: string | null
796
+ userdata ?: IUserdata
797
+ wall ?: IWall
798
+ sideid ?: string | null
799
+ side ?: ISide
800
+ wallid ?: string | null
801
+ roomid ?: string | null
802
+ houselevelid ?: string | null
803
+ windowframetypeid ?: string | null
804
+ windowframetype ?: IWindowframetype
805
+ width : number
806
+ height : number
807
+ needreplacing ?: boolean
808
+ housetypeid ?: string | null
809
+
810
+ room ?: IRoom
811
+ }
812
+
813
+ export interface IWindowframepart extends IHouseobject{
814
+ framewidth ?: number
815
+ frameheight ?: number
816
+ glasswidth ?: number
817
+ glassheight ?: number
818
+ leftcasinglength ?: number
819
+ rightcasinglength ?: number
820
+ bottomstoollength ?: number
821
+ topstoollength ?: number
822
+ shadowpercentage ?: number
823
+
824
+ windowframeparttypeid ?: string | null
825
+ windowframeid ?: string | null
826
+ windowframe ?: IWindowframe
827
+ windowframetype ?: IWindowframetype
828
+ side ?: ISide
829
+ }
830
+
831
+ export interface IWindowframetype extends IAbstractHouseObjectType{
832
+ uvalue ?: number
833
+ }
834
+
835
+ export interface IRule{
836
+ id : string
837
+ energylossid ?: string | null
838
+ floortypeid ?: string | null
839
+ glasstypeid ?: string | null
840
+ roofingid ?: string | null
841
+ roofshapeid ?: string | null
842
+ rooftypeid ?: string | null
843
+ wallfinishid ?: string | null
844
+ walltypeid ?: string | null
845
+ windowframeparttypeid ?: string | null
846
+ packageid ?: string | null
847
+ rulesetid ?: string | null
848
+ ruletypeid ?: string | null
849
+ measuredataid ?: string | null
850
+ targetMeasureid ?: string | null
851
+ gasfreeoptionid ?: string | null
852
+ measuretypeid ?: string | null
853
+ insulationlocationid ?: string | null
854
+ insulationmethodid ?: string | null
855
+ insulationtypeid ?: string | null
856
+
857
+ field ?: string
858
+ operator ?: string
859
+ value ?: string
860
+ }
861
+
862
+
863
+ export interface IGasfreeoption{
864
+ id : string
865
+ name : string
866
+ deleted : boolean
867
+ sortorder : number
868
+ riskfactor : number
869
+ gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
870
+ }
871
+ export interface IGasfreeoptionmeasure{
872
+ id : string
873
+ name : string
874
+ deleted : boolean
875
+ sortorder : number
876
+ measureid : string
877
+ gasfreeoptionid : string
878
+ gasfreeoption ?: IGasfreeoption
879
+ }
880
+
881
+
882
+ export interface IMeasure {
883
+ id : string
884
+ gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
885
+ measuredatas ?: IMeasuredata[]
886
+ measuretypeid ?: string | null
887
+ measuretype ?: IMeasuretype
888
+ logged : ILogged
889
+ }
890
+
891
+
892
+ export interface IMeasuretype{
893
+ id : string
894
+ measures ?: IMeasure[]
895
+ logged : ILogged
896
+ }
897
+
898
+
899
+
900
+ export interface ZonatlasAddress {
901
+ add_on: string
902
+ addition: string
903
+ city: string
904
+ country: string
905
+ hid: number
906
+ lat: number
907
+ lon: number
908
+ municipality: string
909
+ number: number
910
+ postal: string
911
+ project: string
912
+ spc_id: number
913
+ spc_key: string
914
+ street: string
915
+ }
916
+ export interface ZonatlasBagdata {
917
+ building_add_on: string | null,
918
+ building_addition: string | null,
919
+ building_area: number,
920
+ building_function: string
921
+ building_number: number,
922
+ building_postcode: string
923
+ building_status: string
924
+ id_nummeraanduiding: string
925
+ id_openbareruimte: string
926
+ id_plaats: string
927
+ id_verblijfsobject: string
928
+ pand_building_year: number
929
+ pand_status: string
930
+ }
931
+
932
+ export interface ZonatlasCalculationParamaters{
933
+ harging_station: boolean
934
+ costs_insurance: number
935
+ costs_other: number
936
+ costs_service: number
937
+ degradation:number
938
+ eeg_umlage: any | null,
939
+ emobility: boolean,
940
+ energy_consumption: number,
941
+ energy_price:number
942
+ energy_price_increase: number
943
+ feed_in_rate_kwh: number
944
+ inflation: number
945
+ load_profile: boolean,
946
+ scaffold_factor: number
947
+ scaffold_price_increase: number
948
+ solar_thermal: boolean,
949
+ storage: boolean,
950
+ storage_information: { kwh_brutto: number }
951
+ subsidy_per_kwp: number
952
+ system_loss: number
953
+ }
954
+
955
+ export interface ZonatlasData {
956
+ autarky: number
957
+ building_area: number
958
+ co2_savings: number
959
+ cost_charging_station: number
960
+ cost: number
961
+ cost_charging_station_excl_vat: number
962
+ cost_excl_vat: number
963
+ cost_pv_excl_vat: number
964
+ cost_pv: number
965
+ cost_storage_excl_vat: number
966
+ cost_storage: number
967
+ forecasted_years: number
968
+ energy_consumption: number
969
+ global_mean_barely_suited: number
970
+ global_mean_suited: number
971
+ global_mean_well_suited: number
972
+ kwp: number
973
+ max_energy: number
974
+ max_energy_barely_suited: number
975
+ max_energy_suited: number
976
+ max_energy_well_suited: number
977
+ max_kwp: number
978
+ max_kwp_barely_suited: number
979
+ max_kwp_suited: number
980
+ max_kwp_well_suited: number
981
+ max_panels: number
982
+ months_until_payback: number
983
+ number_of_panels: number
984
+ own_consumption: number
985
+ percent_roi: number
986
+ profit: number
987
+ pv_area_barely_suited: number
988
+ pv_area_suited: number
989
+ pv_area_well_suited: number
990
+ st_area_suited: number
991
+ st_area_well_suited: number
992
+ st_max_area: number
993
+ st_max_kwhpa_flat: number
994
+ st_max_kwhpa_vacuum: number
995
+ st_max_number_of_panels: number
996
+ street: string
997
+ subsidy_one_time: number
998
+ suitability: string
999
+ suitability_st: string
1000
+ total_income: number
1001
+ total_plant_roof_area: number
1002
+ total_plant_surface: number
1003
+ yearly_income: number
1004
+ yearly_yield: number
1005
+ years_until_payed_back: number
1006
+ }
1007
+
1008
+ export interface ZonatlasMapLayer {
1009
+ name: string
1010
+ url: string
1011
+ }
1012
+
1013
+ export interface ZonatlasModule {
1014
+ Wp: number,
1015
+ cost_per_kwp: number,
1016
+ height: number,
1017
+ ident: number | null,
1018
+ name: string,
1019
+ size:number,
1020
+ width: number
1021
+ }
1022
+
1023
+ export interface ZonatlasPlantData{
1024
+ estimated_yield:number,
1025
+ kwp: number,
1026
+ module: ZonatlasModule,
1027
+ number_of_modules: number,
1028
+ orientation: number,
1029
+ roof_id: number,
1030
+ scaffold: boolean,
1031
+ tilt: number
1032
+ }
1033
+
1034
+ export interface ZonatlasPlant{
1035
+ data: ZonatlasPlantData,
1036
+ mp: string
1037
+ type: string
1038
+ }
1039
+
1040
+ export interface ZonatlasRequest {
1041
+ add_on: string
1042
+ addition: string
1043
+ api_type: string
1044
+ auth: string
1045
+ moduleplacer: boolean
1046
+ number: string
1047
+ postal: string
1048
+
1049
+ }
1050
+
1051
+
1052
+ export interface ZonatlasResult{
1053
+ address : ZonatlasAddress
1054
+ bagdata : ZonatlasBagdata[]
1055
+ buildingwkt : string
1056
+ calculation_parameters : ZonatlasCalculationParamaters
1057
+ data : ZonatlasData
1058
+ href : string
1059
+ individual_data : any
1060
+ map_layers : ZonatlasMapLayer[]
1061
+ monuments : {
1062
+ monument_areas: [],
1063
+ national_monuments: []
1064
+ }
1065
+ plants : ZonatlasPlant[],
1066
+ images : {
1067
+ radiation : string,
1068
+ radiation_large:string,
1069
+ roofs : string,
1070
+ roofs_large:string
1071
+ }
1072
+ }
1073
+
1074
+ export interface ZonatlasResponse {
1075
+ request : ZonatlasRequest
1076
+ results : ZonatlasResult[]
1077
+ }
1078
+
1079
+
1080
+ export interface EnergyOutput{
1081
+ output : number
1082
+ }
1083
+ export interface EnergyInput{
1084
+ input : number
1085
+ }
1086
+
1087
+ export interface EnergyIO extends EnergyOutput, EnergyInput{}
1088
+
1089
+ export interface EntityEnergyIO extends EnergyIO{
1090
+ id : string
1091
+ }
1092
+
1093
+ export interface EnergyIOState{
1094
+ floors : EntityEnergyIO[]
1095
+ walls : EntityEnergyIO[]
1096
+ roofs : EntityEnergyIO[]
1097
+ windowframeparts : EntityEnergyIO[]
1098
+ coldbridges : EnergyIO
1099
+ perimeter: EnergyIO
1100
+ draft: EnergyIO
1101
+ ventilation: EnergyIO
1102
+ internal: EnergyOutput
1103
+ }
1104
+
1105
+
1106
+
1107
+ export type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs" | "houselevels"
1108
+ type IHouseMap = Map< IHouseObjectName , IHouseObjectWithMeasuredatas[]>
1109
+
1110
+ export interface IHouseObjectWithMeasuredatas extends IHouseobject{
1111
+ measuredatas : IMeasuredata[]
1112
+ }
1113
+
1114
+ export interface IAnsweroption{
1115
+ id : string
1116
+ questionid ?: string | null
1117
+
1118
+ }
1119
+
1120
+ export interface IUseranswer{
1121
+ id : string
1122
+ intakeid ?: string | null
1123
+ value ?: string
1124
+ answeroptionid ?: string | null
1125
+ answeroption ?: IAnsweroption
1126
+
1127
+ }
1128
+
1129
+ export interface IAreaactioncollection extends ILogged{
1130
+ userdataid ?: string
1131
+ areaactionid ?: string
1132
+ }
1133
+ export interface IAreaaction extends ILogged{
1134
+ settings ?: ISettings
1135
+ hostname ?: string
1136
+ pvmark ?: string
1137
+ }
1138
+
1139
+ export interface IHomeSettings{
1140
+ floor_insulationtype ?: string
1141
+ floor_insulationlocation ?: string
1142
+ floor_insulationmethod ?: string
1143
+ floor_rcValue ?: number
1144
+ floor_floortypeid ?: string
1145
+ wall_insulationtype ?: string
1146
+ wall_insulationlocation ?: string
1147
+ wall_insulationmethod ?: string
1148
+ wall_rcValue ?: number
1149
+ wall_walltypeid ?: string
1150
+ wall_rcValue_uninsulated ?: number
1151
+ wall_thickness ?: string
1152
+ wall_aircavity ?: boolean
1153
+ roof_insulationtype ?: string
1154
+ roof_insulationlocation ?: string
1155
+ roof_insulationmethod ?: string
1156
+ roof_rcValue ?: number
1157
+ roof_rooftypeid ?: string
1158
+ roof_roofingid ?: string
1159
+ glass_glasstype ?: string
1160
+ draftprofile ?: "draftprofile-1" | "draftprofile-2" | "draftprofile-3" | "draftprofile-4"
1161
+ }
1162
+
1163
+ export interface IDefaulthomesettings{
1164
+ settings ?: IHomeSettings
1165
+ yearmin ?: number
1166
+ yearmax ?: number
1167
+ }
1168
+
1169
+
1170
+ export interface IHousewish{
1171
+ name : string
1172
+ deleted : boolean
1173
+ sortorder : number
1174
+ userdatahousewishes ?: IUserdatahousewish[]
1175
+ housewishgroup ?: IHousewishgroup
1176
+ housewishgroupid ?: string | null
1177
+ }
1178
+
1179
+
1180
+ export interface IHousewishgroup{
1181
+ name : string
1182
+ deleted : boolean
1183
+ sortorder : number
1184
+ housewishes ?: IHousewish[]
1185
+ }
1186
+
1187
+
1188
+ export interface IUserdatahousewish{
1189
+ name : string
1190
+ deleted : boolean
1191
+ sortorder : number
1192
+ housewish ?: IHousewish
1193
+ userdata ?: IUserdata
1194
+ housewishid ?: string | null
1195
+ userdataid ?: string | null
1196
+ score ?: number
1197
+ }
1198
+
1199
+
1200
+
1201
+ interface IEnergyconsumption{
1202
+ water : number
1203
+ electricity : number
1204
+ heatnetwork : number
1205
+ gas : number
1206
+ }
1207
+
1208
+ interface IEnergyDistribution{
1209
+ heating : number
1210
+ warmwater : number
1211
+ household : number
1212
+ cooking : number
1213
+ shower : number
1214
+ }
1215
+
1216
+
1217
+
1218
+
1219
+ interface IUsage{
1220
+ consumption : IEnergyconsumption
1221
+ distribution : IEnergyDistribution
1222
+ energyfactor : number
1223
+ m3gasToKwhFactor : number
1224
+ cooksongas : boolean
1225
+ calculatedEnergyUse : number
1226
+ }
1227
+
1228
+ interface ICosts{
1229
+ id : string
1230
+ gasstandingcharge ?: number
1231
+ gasprice ?: number
1232
+ gaspriceincrease ?: number
1233
+ heatnetworkstandingcharge ?: number
1234
+ heatnetworkprice ?: number
1235
+ heatnetworkpriceincrease ?: number
1236
+ electricitystandingcharge ?: number
1237
+ electricityprice ?: number
1238
+ electricitysellbackprice ?: number
1239
+ electricitypriceincrease ?: number
1240
+ waterprice ?: number
1241
+ waterpriceincrease ?: number
1242
+ inflation ?: number
1243
+ gasm3tokwhfactor ?: number
1244
+ interest ?: number
1245
+ settings ?: JSON
1246
+ userdataid ?: string
1247
+ }
1248
+
1249
+ interface ICustomAdviceCombination{
1250
+ insulation : {
1251
+ [index:string] : string
1252
+ }
1253
+ draft : string | null
1254
+ ventilation : string | null
1255
+ gasfreeoption : string | null
1256
+ solar : {
1257
+ household : string | null
1258
+ gasfree : string | null
1259
+ }
1260
+ }
1261
+
1262
+
1263
+
1264
+
1265
+ export interface HouseObjectSettings{
1266
+ floor : number | IHousetemplateCalculationDataPerHousetype | { u: number; factor: number; }[]
1267
+ wall : number
1268
+ windowframepart : number
1269
+ roof : number
1270
+ }
1271
+
1272
+ type IOperation = "multiplication" | "division"
1273
+
1274
+
1275
+ type Orientation = "z" | "z/w" | "w" | "n/w" | "n" | "n/o" | "o" | "z/o"
1276
+
1277
+ export interface ITemperaturecalcdata extends ILogged{
1278
+ savingsinenergyfactor: string | null
1279
+ returnpercentagefactor: string | null,
1280
+ paybackfactor: string | null
1281
+ saving1: string | null
1282
+ saving2: string | null
1283
+ rc1: string | null
1284
+ rc2: string | null
1285
+ vereffening: string | null
1286
+ operation: IOperation | null
1287
+ openstairs: boolean | null
1288
+ floorheating: boolean | null
1289
+ measureid: string | null
1290
+ roomheated: boolean | null
1291
+ househasonehouselevel: boolean | null
1292
+ noexistingmeasure: boolean | null
1293
+ }
1294
+
1295
+
1296
+ export type DraftProfile = 1 | 2 | 3 | 4
1297
+ export type DraftFactor = number
1298
+
1299
+ export interface DraftProfileSetting{
1300
+ profile : DraftProfile
1301
+ factor : DraftFactor
1302
+ default ?:boolean
1303
+ }
1304
+
1305
+ export interface Uninsulatedenergylosses extends HouseObjectSettings{
1306
+ }
1307
+
1308
+ export interface Uninsulatedu extends HouseObjectSettings{
1309
+ }
1310
+
1311
+ export interface Reductionfactors extends HouseObjectSettings{
1312
+ }
1313
+ export interface HouseContructionParams{
1314
+ surface:number
1315
+ coldbridgesenergyloss:number | null
1316
+ graaddagenjaarmethode:number | null
1317
+ graaddagenmaandmethode:number | null
1318
+ draftprofile:DraftProfile | null
1319
+ perimeterenergyloss:number | null
1320
+ uninsulatedenergylosses : Uninsulatedenergylosses
1321
+ uninsulatedu : Uninsulatedu
1322
+ uninsulatedreductionfactors : Reductionfactors
1323
+ insulatedreductionfactors : Reductionfactors
1324
+ openstairs : boolean
1325
+ floorheating : boolean
1326
+ househasonehouselevel : boolean,
1327
+ temperaturecalcdatas ?:ITemperaturecalcdata[]
1328
+ frontorientation ?: Orientation
1329
+ }