@e-trias/woonplan 1.2.73 → 1.2.74

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