@e-trias/woonplan 1.3.43 → 1.3.44

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