@e-trias/woonplan 1.2.60 → 1.2.62

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,1552 +1,1563 @@
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
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
+ metadata?: ILogged | null
462
+ }
463
+
464
+ export interface IMeasuretext{
465
+ id:string
466
+ measureid ?: string | null
467
+ measuredataid ?: string | null
468
+ excerpt ?: string | null
469
+ }
470
+
471
+ export interface QuotationRequestForm{
472
+ measuredataid : string
473
+ measureid : string
474
+ contractorid : string
475
+ }
476
+
477
+ export interface IAppointment {
478
+ id: string
479
+ status?: string
480
+ start?: Date
481
+ end?: Date
482
+ userdataid?: string | null
483
+ surveyorid?: string | null
484
+ needspayment?: true | false
485
+ price? : number
486
+ name?: string
487
+ }
488
+
489
+ export interface ICreateAppointmentParams{
490
+ appointmentId: string
491
+ agendaId: string
492
+ appointmentTypeId: string
493
+ start: Date
494
+ end: Date
495
+ userdataId : string
496
+ customerId : string
497
+ }
498
+
499
+ export interface IAppointmentFormParams{
500
+ agendaId: number
501
+ appointmentTypeId: number
502
+ startDate: string
503
+ endDate: string
504
+ measuredataids : string[]
505
+ }
506
+
507
+ export interface ISettings {
508
+ "2fa"?: "email"
509
+ "ga-api-key"?: string
510
+ "ga-code"?: string
511
+ "gtm-code"?: string
512
+ adviceUrl?: string
513
+ cava?: ICavaSettings
514
+ createProjectInPerfectview?: boolean
515
+ houseScan?: boolean
516
+ initialQuestionsetP?: number
517
+ mollie?: { apiKey: string }
518
+ municipalityManagesLandingPage?: boolean
519
+ onlineAfsprakenActive?: number
520
+ onlineAfsprakenAgendaId?: number
521
+ onlineAfsprakenAppointmentTypeId?: number
522
+ perfectview?: IPerfectviewSettings
523
+ perfectviewProject?: IPerfectviewProject
524
+ priceMargin?: IPriceMargin
525
+ primaryPackage?: string
526
+ quotationSalesContact?: string
527
+ showCollectiveHeatSourceText?: boolean
528
+ showPackages?: boolean
529
+ startpercentagequestionaire?: number
530
+ automaticMothermodelselection ?: 1 | 0
531
+ automaticMothermodelAreaactionSource ?: string
532
+ surfaceCalculation ?: 1 | 0
533
+ solarpanelmodule ?: string
534
+ notAvailableMeasures ?: string
535
+
536
+
537
+
538
+ municipalFinancingText ?: string
539
+ municipalFinancingTitle ?: string
540
+ municipalFinancingRepayment ?: {
541
+ municipalFinancingDefaultOption: string
542
+ municipalFinancingRepaymentYear: string,
543
+ municipalFinancingRepaymentPercentage: string
544
+ }
545
+ municipalFinancingCalculation ?: {
546
+ municipalFinancingCalculationMax: string
547
+ municipalFinancingCalculationMin: string
548
+ }
549
+ ISDESubsidyUrl ?: string
550
+ hasISDESubsidy ?: string
551
+ ISDESubsidyCalculation ?: {
552
+ ISDESubsidyCalculationMax: string
553
+ ISDESubsidyCalculationMin: string
554
+ }
555
+ ISDESubsidyTitle ?: string
556
+ }
557
+
558
+
559
+
560
+ export interface IPerfectviewSettings {
561
+ ApiKey?: string
562
+ DatabaseId?: string
563
+ UserId?: string
564
+ }
565
+
566
+ export interface ICavaSettings {
567
+ pvMark?: string
568
+ pvMarkCategory?: string
569
+ }
570
+
571
+ export interface IPerfectviewProject {
572
+ phase?: string
573
+ type?: string
574
+ }
575
+
576
+ export interface IPackage {
577
+ id: string
578
+ name ?: string
579
+ packagemeasures ?: IPackageMeasure[]
580
+ }
581
+
582
+ export interface IPackageMeasure{
583
+ id : string
584
+ packageid ?: string
585
+ measureid ?: string
586
+ step ?: number
587
+ showinlist : boolean
588
+ package ?: IPackage
589
+ measure ?: IMeasure
590
+ }
591
+
592
+ export interface IPriceMargin {
593
+ priceMarginMin?: number
594
+ priceMarginMax?: number
595
+ }
596
+
597
+ export interface IPrice {
598
+ currency: string
599
+ value: number
600
+ }
601
+
602
+ export interface IPSPStatusUpdate {
603
+ mollieid: string
604
+ }
605
+
606
+ export interface IPayment {
607
+ id: string
608
+ amount: number
609
+ description: string
610
+ // createdAt & updatedAt in ISO 8601 format
611
+ createdAt: string
612
+ updatedAt: string
613
+ appointmentid?: string | null
614
+ status : string
615
+ mollieid: string
616
+ checkoutUrl?: string
617
+ }
618
+
619
+ export interface IOnlineAfsprakenSettings{
620
+ apiKey: string
621
+ apiSecret: string
622
+ appointmentTypeId: number
623
+ agendaId: number
624
+ }
625
+
626
+
627
+ export interface IGetBookableDaysParams {
628
+ userdataid: string,
629
+ ResourceId?: string,
630
+ StartDate: string // YYYY-MM-DD
631
+ EndDate: string // YYYY-MM-DD
632
+ settings?:IOnlineAfsprakenSettings
633
+ }
634
+
635
+ export interface IGetBookableTimesParams {
636
+ Date: string // YYYY-MM-DD
637
+ userdataid: string,
638
+ ResourceId?: string,
639
+ EndDate?: string // YYYY-MM-DD
640
+ settings?:IOnlineAfsprakenSettings
641
+ }
642
+
643
+ export interface IBookableday{
644
+ Date: string;
645
+ Month:number
646
+ Day:number
647
+ Year?:number
648
+ JSDate?:Date
649
+ UTCDate?: string
650
+ }
651
+
652
+
653
+ export interface IBookabletime{
654
+ Date: string;
655
+ StartTime: string,
656
+ LabelTime: string
657
+ EndTime: string,
658
+ Timestamp: number,
659
+ JSDateStart?:Date
660
+ JSDateEnd?:Date
661
+ UTCDateStart?: string
662
+ UTCDateEnd?: string
663
+ }
664
+
665
+
666
+
667
+ export interface IBagData {
668
+ coordinates: number[]
669
+ buildyear: number
670
+ streetname: string
671
+ city: string
672
+ surface:number
673
+ }
674
+
675
+ export interface IWssProject{
676
+ id : string
677
+ name : string
678
+ }
679
+ export interface IWssAddress{
680
+ id : string
681
+ postcode : string
682
+ housenumber : number
683
+ extension : string
684
+ projectid : string
685
+ tags : string[]
686
+ }
687
+ export interface IWssTag{
688
+ id : string
689
+
690
+ }
691
+
692
+ export interface IHouseobject{
693
+ deleted ?: boolean
694
+ id ?: string
695
+ sortorder ?: number
696
+ surface ?: number
697
+ measuredatas ?: IMeasuredata[]
698
+ rcvalue ?: number
699
+ u_value ?: number
700
+ }
701
+
702
+ export interface IHouselevel{
703
+ id : string
704
+ deleted : boolean
705
+ sortorder : number
706
+ userdataid ?: string | null
707
+ heated : boolean
708
+ walkable: boolean
709
+ used: boolean
710
+ haskitchenorlivingroom: boolean
711
+ heatinghours : number
712
+ }
713
+
714
+ export interface IHouse{
715
+ windowframeparts : IWindowframepart[],
716
+ floors : IFloor[],
717
+ walls : IWall[],
718
+ roofs : IRoof[],
719
+ houselevels : IHouselevel[]
720
+ }
721
+
722
+ export interface IAbstractHouseObjectType{
723
+ deleted ?: boolean
724
+ id ?: string
725
+ sortorder ?: number
726
+ name ?: string
727
+ }
728
+
729
+ export interface IFloortype extends IAbstractHouseObjectType{
730
+ lambda ?: number
731
+ rcvalue ?: number
732
+ }
733
+
734
+ export interface IRooftype extends IAbstractHouseObjectType{
735
+ }
736
+
737
+ export interface IWalltype extends IAbstractHouseObjectType{
738
+ }
739
+
740
+
741
+ export interface IWindowframeparttype extends IAbstractHouseObjectType{
742
+ }
743
+
744
+ export interface IWallfinish{
745
+ deleted ?: boolean
746
+ id ?: string
747
+ sortorder ?: number
748
+ name ?: string
749
+ }
750
+ export interface IRoofing{
751
+ deleted ?: boolean
752
+ id ?: string
753
+ sortorder ?: number
754
+ name ?: string
755
+ roofs ?: IRoof[]
756
+ }
757
+
758
+ export interface ICrawlspace{
759
+ deleted ?: boolean
760
+ id ?: string | null
761
+ sortorder ?: number
762
+ accessible ?: boolean
763
+ pumpable ?: boolean
764
+ cluttered ?: boolean
765
+ height ?: number
766
+ wet ?: string
767
+
768
+ crawlspacesinfloor ?: ICrawlspaceinfloor[]
769
+
770
+ }
771
+ export interface ICrawlspaceinfloor{
772
+ deleted ?: boolean
773
+ id ?: string | null
774
+ sortorder ?: number
775
+ floorid ?: string | null
776
+ crawlspaceid ?: string
777
+ surface ?: number
778
+ }
779
+ export interface IFloorinroom{
780
+ deleted ?: boolean
781
+ id ?: string | null
782
+ sortorder ?: number
783
+ floorid ?: string
784
+ roomid ?: string
785
+ surface ?: number
786
+ room ?: IRoom
787
+ }
788
+
789
+ export interface IFloor extends IHouseobject{
790
+ floortypeid ?: string | null
791
+ floortype ?: IFloortype
792
+ crawlspaces ?: ICrawlspace[]
793
+ historic ?: boolean
794
+ woodneedsreplacing ?: string
795
+ woodandbeamsneedsreplacing ?: string
796
+ flatbottom ?: boolean
797
+ crawlspacesinfloor ?: ICrawlspaceinfloor[]
798
+ basementhasceiling ?: boolean
799
+ basementunderneath ?: boolean
800
+ rcvalue ?: number
801
+ floorinrooms ?: IFloorinroom[]
802
+ }
803
+
804
+
805
+ export interface ISide{
806
+ name : string
807
+ deleted : boolean
808
+ id : string
809
+ sortorder : number
810
+ }
811
+
812
+ export interface IWall extends IHouseobject{
813
+ shadowpercentage ?: number
814
+ angle ?: number
815
+ side ?: ISide
816
+ sideid ?: string | null
817
+ walltypeid ?: string | null
818
+ walltype ?: IWalltype
819
+ insulationonownrisk ?: boolean
820
+ wallfinishid ?: string | null
821
+ wallfinish ?: IWallfinish
822
+ protectedstatus ?: string
823
+ aircavity ?: boolean
824
+ rcvalue ?: number
825
+ thicknesscavity ?: number
826
+ housetypeid ?: string | null
827
+ grosssurface ?: number
828
+
829
+ monumentaloutside ?: boolean
830
+ monumentalinside ?: boolean
831
+
832
+ }
833
+
834
+ export interface IRoom extends IHouseobject{
835
+ houselevel ?: IHouselevel
836
+ roofs ?: IRoof[]
837
+ windowframes ?: IWindowframe[]
838
+ floorinrooms ?: IFloorinroom[]
839
+ heated : boolean
840
+ walkable : boolean
841
+ accessible : boolean
842
+ isattic : boolean
843
+ used : boolean
844
+
845
+ }
846
+
847
+ export interface IRoof extends IHouseobject{
848
+ shadowpercentage ?: number
849
+ angle ?: number
850
+ rooftypeid ?: string | null
851
+ rooftype ?: IRooftype
852
+ slope ?: boolean
853
+ ridgeheight ?: number
854
+ ceilingboarded ?: boolean
855
+ roofingid ?: string | null
856
+ roofing ?: IRoofing
857
+ sideid ?: string | null
858
+ side ?: ISide
859
+ rcvalue ?: number
860
+ housetypeid ?: string | null
861
+
862
+ roomid ?: string | null
863
+ room ?: IRoom
864
+
865
+ hasknieschot ?: boolean
866
+ knieschotbacksideaccessible ?: boolean
867
+ knieschotenoughspace ?: boolean
868
+ knieschotrunningmeters ?: number
869
+ buildyear ?: number | null
870
+ protectedstatus ?: string | null
871
+ protectedstatusside ?: string | null
872
+ roofplanelocation ?: string | null
873
+ roofboardingthickness ?: number
874
+ beamsheight ?: number
875
+ flat_edgeheight ?: number
876
+ flat_edgerunningmeters ?: number
877
+ flat_opgaandegevelheight ?: number
878
+ hellend_opgaandegevelheight ?: number
879
+ hellend_lokettenrunningmeters ?: number
880
+ flat_voetloodrunningmeters ?: number
881
+
882
+
883
+
884
+ }
885
+ export interface IWindowframe extends IHouseobject{
886
+ userdataid ?: string | null
887
+ userdata ?: IUserdata
888
+ wall ?: IWall
889
+ sideid ?: string | null
890
+ side ?: ISide
891
+ wallid ?: string | null
892
+ roomid ?: string | null
893
+ houselevelid ?: string | null
894
+ windowframetypeid ?: string | null
895
+ windowframetype ?: IWindowframetype
896
+ width : number
897
+ height : number
898
+ needreplacing ?: boolean
899
+ housetypeid ?: string | null
900
+
901
+ room ?: IRoom
902
+ }
903
+
904
+ export interface IWindowframepart extends IHouseobject{
905
+ framewidth ?: number
906
+ frameheight ?: number
907
+ glasswidth ?: number
908
+ glassheight ?: number
909
+ leftcasinglength ?: number
910
+ rightcasinglength ?: number
911
+ bottomstoollength ?: number
912
+ topstoollength ?: number
913
+ shadowpercentage ?: number
914
+
915
+ windowframeparttypeid ?: string | null
916
+ windowframeid ?: string | null
917
+ windowframe ?: IWindowframe
918
+ windowframetype ?: IWindowframetype
919
+ side ?: ISide
920
+ }
921
+
922
+ export interface IWindowframetype extends IAbstractHouseObjectType{
923
+ uvalue ?: number
924
+ }
925
+
926
+ export interface IRule{
927
+ id : string
928
+ energylossid ?: string | null
929
+ floortypeid ?: string | null
930
+ glasstypeid ?: string | null
931
+ roofingid ?: string | null
932
+ roofshapeid ?: string | null
933
+ rooftypeid ?: string | null
934
+ wallfinishid ?: string | null
935
+ walltypeid ?: string | null
936
+ windowframeparttypeid ?: string | null
937
+ packageid ?: string | null
938
+ rulesetid ?: string | null
939
+ ruletypeid ?: string | null
940
+ measuredataid ?: string | null
941
+ targetMeasureid ?: string | null
942
+ gasfreeoptionid ?: string | null
943
+ measuretypeid ?: string | null
944
+ insulationlocationid ?: string | null
945
+ insulationmethodid ?: string | null
946
+ insulationtypeid ?: string | null
947
+
948
+ field ?: string
949
+ operator ?: string
950
+ value ?: string
951
+ }
952
+
953
+
954
+ export interface IGasfreeoption{
955
+ id : string
956
+ name : string
957
+ deleted : boolean
958
+ sortorder : number
959
+ riskfactor : number
960
+ gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
961
+ measures ?: IMeasure[]
962
+ }
963
+ export interface IGasfreeoptionmeasure{
964
+ id : string
965
+ name : string
966
+ deleted : boolean
967
+ sortorder : number
968
+ measureid : string
969
+ gasfreeoptionid : string
970
+ gasfreeoption ?: IGasfreeoption
971
+ }
972
+
973
+
974
+ export interface IMeasure {
975
+ id : string
976
+ gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
977
+ measuredatas ?: IMeasuredata[]
978
+ measuretypeid ?: string | null
979
+ measuretype ?: IMeasuretype
980
+ logged : ILogged
981
+
982
+ insulationmethods ?: IInsulationmethod[]
983
+ insulationtypes ?: IInsulationtype[]
984
+ insulationlocations ?: IInsulationlocation[]
985
+ }
986
+
987
+
988
+ export interface IMeasuretype{
989
+ id : string
990
+ measures ?: IMeasure[]
991
+ logged : ILogged
992
+ }
993
+
994
+
995
+
996
+ export interface ZonatlasAddress {
997
+ add_on: string
998
+ addition: string
999
+ city: string
1000
+ country: string
1001
+ hid: number
1002
+ lat: number
1003
+ lon: number
1004
+ municipality: string
1005
+ number: number
1006
+ postal: string
1007
+ project: string
1008
+ spc_id: number
1009
+ spc_key: string
1010
+ street: string
1011
+ }
1012
+ export interface ZonatlasBagdata {
1013
+ building_add_on: string | null,
1014
+ building_addition: string | null,
1015
+ building_area: number,
1016
+ building_function: string
1017
+ building_number: number,
1018
+ building_postcode: string
1019
+ building_status: string
1020
+ id_nummeraanduiding: string
1021
+ id_openbareruimte: string
1022
+ id_plaats: string
1023
+ id_verblijfsobject: string
1024
+ pand_building_year: number
1025
+ pand_status: string
1026
+ }
1027
+
1028
+ export interface ZonatlasCalculationParamaters{
1029
+ harging_station: boolean
1030
+ costs_insurance: number
1031
+ costs_other: number
1032
+ costs_service: number
1033
+ degradation:number
1034
+ eeg_umlage: any | null,
1035
+ emobility: boolean,
1036
+ energy_consumption: number,
1037
+ energy_price:number
1038
+ energy_price_increase: number
1039
+ feed_in_rate_kwh: number
1040
+ inflation: number
1041
+ load_profile: boolean,
1042
+ scaffold_factor: number
1043
+ scaffold_price_increase: number
1044
+ solar_thermal: boolean,
1045
+ storage: boolean,
1046
+ storage_information: { kwh_brutto: number }
1047
+ subsidy_per_kwp: number
1048
+ system_loss: number
1049
+ }
1050
+
1051
+ export interface ZonatlasData {
1052
+ autarky: number
1053
+ building_area: number
1054
+ co2_savings: number
1055
+ cost_charging_station: number
1056
+ cost: number
1057
+ cost_charging_station_excl_vat: number
1058
+ cost_excl_vat: number
1059
+ cost_pv_excl_vat: number
1060
+ cost_pv: number
1061
+ cost_storage_excl_vat: number
1062
+ cost_storage: number
1063
+ forecasted_years: number
1064
+ energy_consumption: number
1065
+ global_mean_barely_suited: number
1066
+ global_mean_suited: number
1067
+ global_mean_well_suited: number
1068
+ kwp: number
1069
+ max_energy: number
1070
+ max_energy_barely_suited: number
1071
+ max_energy_suited: number
1072
+ max_energy_well_suited: number
1073
+ max_kwp: number
1074
+ max_kwp_barely_suited: number
1075
+ max_kwp_suited: number
1076
+ max_kwp_well_suited: number
1077
+ max_panels: number
1078
+ months_until_payback: number
1079
+ number_of_panels: number
1080
+ own_consumption: number
1081
+ percent_roi: number
1082
+ profit: number
1083
+ pv_area_barely_suited: number
1084
+ pv_area_suited: number
1085
+ pv_area_well_suited: number
1086
+ st_area_suited: number
1087
+ st_area_well_suited: number
1088
+ st_max_area: number
1089
+ st_max_kwhpa_flat: number
1090
+ st_max_kwhpa_vacuum: number
1091
+ st_max_number_of_panels: number
1092
+ street: string
1093
+ subsidy_one_time: number
1094
+ suitability: string
1095
+ suitability_st: string
1096
+ total_income: number
1097
+ total_plant_roof_area: number
1098
+ total_plant_surface: number
1099
+ yearly_income: number
1100
+ yearly_yield: number
1101
+ years_until_payed_back: number
1102
+ }
1103
+
1104
+ export interface ZonatlasMapLayer {
1105
+ name: string
1106
+ url: string
1107
+ }
1108
+
1109
+ export interface ZonatlasModule {
1110
+ Wp: number,
1111
+ cost_per_kwp: number,
1112
+ height: number,
1113
+ ident: number | null,
1114
+ name: string,
1115
+ size:number,
1116
+ width: number
1117
+ }
1118
+
1119
+ export interface ZonatlasPlantData{
1120
+ estimated_yield:number,
1121
+ kwp: number,
1122
+ module: ZonatlasModule,
1123
+ number_of_modules: number,
1124
+ orientation: number,
1125
+ roof_id: number,
1126
+ scaffold: boolean,
1127
+ tilt: number
1128
+ }
1129
+
1130
+ export interface ZonatlasPlant{
1131
+ data: ZonatlasPlantData,
1132
+ mp: string
1133
+ type: string
1134
+ }
1135
+
1136
+ export interface ZonatlasRequest {
1137
+ add_on: string
1138
+ addition: string
1139
+ api_type: string
1140
+ auth: string
1141
+ moduleplacer: boolean
1142
+ number: string
1143
+ postal: string
1144
+
1145
+ }
1146
+
1147
+
1148
+ export interface ZonatlasResult{
1149
+ address : ZonatlasAddress
1150
+ bagdata : ZonatlasBagdata[]
1151
+ buildingwkt : string
1152
+ calculation_parameters : ZonatlasCalculationParamaters
1153
+ data : ZonatlasData
1154
+ href : string
1155
+ individual_data : any
1156
+ map_layers : ZonatlasMapLayer[]
1157
+ monuments : {
1158
+ monument_areas: [],
1159
+ national_monuments: []
1160
+ }
1161
+ plants : ZonatlasPlant[],
1162
+ images : {
1163
+ radiation : string,
1164
+ radiation_large:string,
1165
+ roofs : string,
1166
+ roofs_large:string
1167
+ }
1168
+ }
1169
+
1170
+ export interface ZonatlasResponse {
1171
+ request : ZonatlasRequest
1172
+ results : ZonatlasResult[]
1173
+ }
1174
+
1175
+
1176
+ export interface EnergyOutput{
1177
+ output : number
1178
+ }
1179
+ export interface EnergyInput{
1180
+ input : number
1181
+ }
1182
+
1183
+ export interface EnergyIO extends EnergyOutput, EnergyInput{}
1184
+
1185
+ export interface EntityEnergyIO extends EnergyIO{
1186
+ id : string
1187
+ u : number
1188
+ }
1189
+
1190
+ export interface EnergyIOState{
1191
+ floors : EntityEnergyIO[]
1192
+ walls : EntityEnergyIO[]
1193
+ roofs : EntityEnergyIO[]
1194
+ windowframeparts : EntityEnergyIO[]
1195
+ coldbridges : EnergyIO
1196
+ perimeter: EnergyIO
1197
+ draft: EnergyIO
1198
+ ventilation: EnergyIO
1199
+ internal: EnergyOutput
1200
+ }
1201
+
1202
+
1203
+
1204
+ export type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs" | "houselevels" | "solar" | "installations"| "ventilation"| "draft"
1205
+ type IHouseMap = Map< IHouseObjectName , IHouseObjectWithMeasuredatas[]>
1206
+
1207
+ export interface IHouseObjectWithMeasuredatas extends IHouseobject{
1208
+ measuredatas : IMeasuredata[]
1209
+ }
1210
+
1211
+
1212
+ export interface IUseranswer{
1213
+ id : string
1214
+ intakeid ?: string | null
1215
+ value ?: string
1216
+ answeroptionid ?: string | null
1217
+ answeroption ?: IAnsweroption
1218
+ question ?: IQuestion
1219
+
1220
+ }
1221
+
1222
+ export interface IAreaactioncollection extends ILogged{
1223
+ userdataid ?: string
1224
+ areaactionid ?: string
1225
+ housetemplateid ?: string
1226
+ }
1227
+ export interface IAreaaction extends ILogged{
1228
+ settings ?: ISettings
1229
+ hostname ?: string
1230
+ pvmark ?: string
1231
+ partnerid ?: string
1232
+
1233
+ }
1234
+
1235
+ export interface IQuestionsetSettings{
1236
+ id: string,
1237
+ name: string,
1238
+ rule: string,
1239
+ initial: boolean,
1240
+ adminonly: boolean,
1241
+ questionset ?: string,
1242
+ questionsets ?: IQuestionsetSettings[],
1243
+ editable_after_finish: boolean
1244
+ }
1245
+
1246
+ export interface IHomeSettings{
1247
+ floor_insulationtype ?: string
1248
+ floor_insulationlocation ?: string
1249
+ floor_insulationmethod ?: string
1250
+ floor_rcValue ?: number
1251
+ floor_floortypeid ?: string
1252
+ wall_insulationtype ?: string
1253
+ wall_insulationlocation ?: string
1254
+ wall_insulationmethod ?: string
1255
+ wall_rcValue ?: number
1256
+ wall_walltypeid ?: string
1257
+ wall_rcValue_uninsulated ?: number
1258
+ wall_thickness ?: string
1259
+ wall_aircavity ?: boolean
1260
+ roof_insulationtype ?: string
1261
+ roof_insulationlocation ?: string
1262
+ roof_insulationmethod ?: string
1263
+ roof_rcValue ?: number
1264
+ roof_rooftypeid ?: string
1265
+ roof_roofingid ?: string
1266
+ glass_glasstype ?: string
1267
+ draftprofile ?: "draftprofile-1" | "draftprofile-2" | "draftprofile-3" | "draftprofile-4"
1268
+ }
1269
+
1270
+ export interface IDefaulthomesettings{
1271
+ settings ?: IHomeSettings
1272
+ yearmin ?: number
1273
+ yearmax ?: number
1274
+ }
1275
+
1276
+
1277
+ export interface IHousewish{
1278
+ name : string
1279
+ deleted : boolean
1280
+ sortorder : number
1281
+ userdatahousewishes ?: IUserdatahousewish[]
1282
+ housewishgroup ?: IHousewishgroup
1283
+ housewishgroupid ?: string | null
1284
+ }
1285
+
1286
+
1287
+ export interface IHousewishgroup{
1288
+ name : string
1289
+ deleted : boolean
1290
+ sortorder : number
1291
+ housewishes ?: IHousewish[]
1292
+ }
1293
+
1294
+
1295
+ export interface IUserdatahousewish{
1296
+ name : string
1297
+ deleted : boolean
1298
+ sortorder : number
1299
+ housewish ?: IHousewish
1300
+ userdata ?: IUserdata
1301
+ housewishid ?: string | null
1302
+ userdataid ?: string | null
1303
+ score ?: number
1304
+ }
1305
+
1306
+
1307
+
1308
+ interface IEnergyconsumption{
1309
+ water : number
1310
+ electricity : number
1311
+ heatnetwork : number
1312
+ gas : number
1313
+ }
1314
+
1315
+ interface IEnergyDistribution{
1316
+ heating : number
1317
+ warmwater : number
1318
+ household : number
1319
+ cooking : number
1320
+ shower : number
1321
+ }
1322
+
1323
+
1324
+
1325
+
1326
+ interface IUsage{
1327
+ consumption : IEnergyconsumption
1328
+ distribution : IEnergyDistribution
1329
+ energyfactor : number
1330
+ m3gasToKwhFactor : number
1331
+ cooksongas : boolean
1332
+ calculatedEnergyUse : number
1333
+ appliance ?: {
1334
+ gassaved : number
1335
+ extraelectricity : number
1336
+ }
1337
+ heatingpower ?: number
1338
+ solargenerated ?: number
1339
+ }
1340
+
1341
+ interface ICosts{
1342
+ id : string
1343
+ gasstandingcharge ?: number
1344
+ gasprice ?: number
1345
+ gaspriceincrease ?: number
1346
+ heatnetworkstandingcharge ?: number
1347
+ heatnetworkprice ?: number
1348
+ heatnetworkpriceincrease ?: number
1349
+ electricitystandingcharge ?: number
1350
+ electricityprice ?: number
1351
+ electricitysellbackprice ?: number
1352
+ electricitypriceincrease ?: number
1353
+ waterprice ?: number
1354
+ waterpriceincrease ?: number
1355
+ inflation ?: number
1356
+ gasm3tokwhfactor ?: number
1357
+ interest ?: number
1358
+ settings ?: JSON
1359
+ userdataid ?: string
1360
+ }
1361
+
1362
+ export interface ICustomAdviceCombination{
1363
+ insulation : {
1364
+ [index:string] : string | null | undefined
1365
+ }
1366
+ draft : string | null | undefined
1367
+ ventilation : string | null | undefined
1368
+ gasfreeoption : string | null | undefined
1369
+ solar : {
1370
+ household : string | null | undefined
1371
+ gasfree : string | null | undefined
1372
+ }
1373
+ years ?: number
1374
+ loans ?: IPreferredFinancingOption[]
1375
+ }
1376
+
1377
+ export interface IPreferredFinancingOption{
1378
+ name : string
1379
+ amount : number
1380
+ interest : number
1381
+ years : number
1382
+ }
1383
+
1384
+
1385
+
1386
+ export interface HouseObjectSettings{
1387
+ floor : number | IHousetemplateCalculationDataPerHousetype | { u: number; factor: number; }[]
1388
+ wall : number
1389
+ windowframepart : number
1390
+ roof : number
1391
+ }
1392
+
1393
+ type IOperation = "multiplication" | "division"
1394
+
1395
+
1396
+ type Orientation = "z" | "z/w" | "w" | "n/w" | "n" | "n/o" | "o" | "z/o"
1397
+
1398
+ export interface ITemperaturecalcdata extends ILogged{
1399
+ savingsinenergyfactor: string | null
1400
+ returnpercentagefactor: string | null,
1401
+ paybackfactor: string | null
1402
+ saving1: string | null
1403
+ saving2: string | null
1404
+ rc1: string | null
1405
+ rc2: string | null
1406
+ vereffening: string | null
1407
+ operation: IOperation | null
1408
+ openstairs: boolean | null
1409
+ floorheating: boolean | null
1410
+ measureid: string | null
1411
+ roomheated: boolean | null
1412
+ househasonehouselevel: boolean | null
1413
+ noexistingmeasure: boolean | null
1414
+ }
1415
+
1416
+
1417
+ export type DraftProfile = 1 | 2 | 3 | 4
1418
+ export type DraftFactor = number
1419
+
1420
+ export interface DraftProfileSetting{
1421
+ profile : DraftProfile
1422
+ factor : DraftFactor
1423
+ default ?:boolean
1424
+ }
1425
+
1426
+ export interface Uninsulatedenergylosses extends HouseObjectSettings{
1427
+ }
1428
+
1429
+ export interface Uninsulatedu extends HouseObjectSettings{
1430
+ }
1431
+
1432
+ export interface Reductionfactors extends HouseObjectSettings{
1433
+ }
1434
+ export interface HouseContructionParams{
1435
+ surface:number
1436
+ coldbridgesenergyloss:number | null
1437
+ graaddagenjaarmethode:number | null
1438
+ graaddagenmaandmethode:number | null
1439
+ draftprofile:DraftProfile | null
1440
+ perimeterenergyloss:number | null
1441
+ uninsulatedenergylosses : Uninsulatedenergylosses
1442
+ uninsulatedu : Uninsulatedu
1443
+ uninsulatedreductionfactors : Reductionfactors
1444
+ insulatedreductionfactors : Reductionfactors
1445
+ openstairs : boolean
1446
+ floorheating : boolean
1447
+ househasonehouselevel : boolean,
1448
+ temperaturecalcdatas ?:ITemperaturecalcdata[]
1449
+ frontorientation ?: Orientation
1450
+ }
1451
+
1452
+
1453
+ export interface IAbstractInsulation{
1454
+ id : string
1455
+ name : string
1456
+ deleted : boolean
1457
+ sortorder : number
1458
+ measures ?: IMeasure[]
1459
+ measuredatas ?: IMeasuredata[]
1460
+ }
1461
+
1462
+ export interface IInsulationmethod extends IAbstractInsulation{
1463
+ }
1464
+ export interface IInsulationlocation extends IAbstractInsulation{
1465
+ }
1466
+ export interface IInsulationtype extends IAbstractInsulation{
1467
+ lambda ?: number | null
1468
+ rcvalue ?: number | null
1469
+ }
1470
+
1471
+ export interface IAppliedMeasure{
1472
+ id : string
1473
+ investment : number
1474
+ measureid : string
1475
+ measuretype : string
1476
+ name : string
1477
+ reinvestments ?: {
1478
+ investment : string
1479
+ years : string
1480
+ }[]
1481
+ maintenances ?: {
1482
+ investment : string
1483
+ years : string
1484
+ }[]
1485
+ }
1486
+
1487
+
1488
+ interface IAnnualreportSave{
1489
+ year : number,
1490
+ type : string,
1491
+ amount : number
1492
+ delete ?: boolean
1493
+ }
1494
+
1495
+
1496
+ export interface IQuestionset{
1497
+ id : string
1498
+ collectionid ?: string
1499
+ questions ?: IQuestion[]
1500
+ name: string
1501
+ }
1502
+
1503
+ export interface IQuestion{
1504
+ sortorder: number;
1505
+ informationtext: string | null;
1506
+ informationimage: string | null;
1507
+ min: number | null;
1508
+ max: number | null;
1509
+ step: number | null;
1510
+ placeholder: string | null;
1511
+ questiontype: IQuestiontype | null;
1512
+ image: string | null;
1513
+ answeroptions: IAnsweroption[];
1514
+ body: string | null;
1515
+ posttext: string | null;
1516
+ id: string;
1517
+ status: string;
1518
+ name: string;
1519
+ useranswers: IUseranswer[]
1520
+ active : boolean;
1521
+ error?: {
1522
+ [index:string] : any
1523
+ }
1524
+ required?:boolean
1525
+ viewing:boolean
1526
+ shortname : string | null
1527
+ }
1528
+
1529
+ export interface IQuestiontype{
1530
+ name: string;
1531
+ id: string;
1532
+ }
1533
+ export interface IAnsweroption{
1534
+ selected: boolean;
1535
+ informationtext: string | null;
1536
+ name: string;
1537
+ informationimage: string | null;
1538
+ image: string | null;
1539
+ hasinput: boolean;
1540
+ id: string;
1541
+ value: string | null;
1542
+ placeholder?: string
1543
+ min?:number
1544
+ max?:number
1545
+ step?:number
1546
+ questionid : string
1547
+ }
1548
+
1549
+ export interface IIntake{
1550
+ id : string
1551
+ useranswers : IUseranswer[]
1552
+ }
1553
+
1554
+
1555
+ export interface IFinancingOption{
1556
+ name : string
1557
+ years : number
1558
+ interest : number
1559
+ min : number
1560
+ max : number
1561
+ title ?: string
1562
+ description ?: string
1552
1563
  }