@e-trias/woonplan 1.2.80 → 1.2.81

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