@e-trias/woonplan 1.2.93 → 1.2.94

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