@e-trias/woonplan 1.3.34 → 1.3.35

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