@e-trias/woonplan 1.2.93 → 1.2.95

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