@e-trias/woonplan 1.2.74 → 1.2.75

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,1576 +1,1577 @@
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
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
+ sortorder ?: number
1560
+ }
1561
+
1562
+ export interface IIntake{
1563
+ id : string
1564
+ useranswers : IUseranswer[]
1565
+ }
1566
+
1567
+
1568
+ export interface IFinancingOption{
1569
+ name : string
1570
+ years : number
1571
+ interest : number
1572
+ min : number
1573
+ max : number
1574
+ title ?: string
1575
+ description ?: string
1576
+ type ?: string
1576
1577
  }