@e-trias/woonplan 1.3.36 → 1.3.37

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