@e-trias/woonplan 1.2.57 → 1.2.59

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