@e-trias/woonplan 1.3.174 → 1.3.176

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,2285 +1,2293 @@
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
- securityrole ?: ISecurityRole
16
- securityroleid?: string | null
17
- companyid?: string | null
18
- areaactionid?: string | null
19
- areaactioncollectionid ?: string | null
20
- questionairelocked?: boolean
21
- wantsnewsletter?: boolean
22
- coordinates?:string
23
- streetname?:string
24
- city?:string
25
- simpleid?:number
26
- salutation?: string
27
- crmid?: string
28
- fullname?: string
29
- vve ?: boolean
30
- renter ?: boolean
31
- files ?: IContactFile[]
32
- notes ?: INote[]
33
- lastlogindate?: Date
34
- tags?: ITag
35
- logged?: ILogged
36
- legacy ?: boolean
37
- locale ?: ILocale
38
- localeid ?: string
39
- weatherstationid ?: string
40
- }
41
- export interface INote{
42
- id?: string | null
43
- text ?: string
44
- contactid ?: string
45
- logged ?: ILogged
46
- }
47
-
48
- export interface ICompany extends ILogged {
49
- logo?: string
50
- senderemail?: string
51
- website?: string
52
- }
53
-
54
- export interface IPartner extends ICompany {
55
- termsandconditions?: string
56
- measuredatas?: IMeasuredata[]
57
- texts?: IText[]
58
- areaactions?: IAreaaction[]
59
- packages?: IPackage[]
60
- questionsets?: IQuestionset[]
61
- settings?: ISettings
62
- abbreviatedname?: string
63
- collectivebuys?: ICollectivebuy[]
64
- }
65
-
66
- export interface ICollectivebuy {
67
- id?: string
68
- partnerid?: string
69
- }
70
-
71
- export interface IContractor extends ICompany{
72
- }
73
-
74
- export interface IAdvice{
75
- id:string | null;
76
- userdataid ?: string;
77
- status?:string;
78
- usage?:string
79
- adviceinfo?:string
80
- advicedusage?:string
81
- userinput?:string
82
- advicedinput?:string
83
- advicedstates?:string
84
- workerresult?:string
85
- calculatedmeasures?:string
86
- logged ?: ILogged
87
- }
88
-
89
- export interface EtriasDBContact{
90
- id:string | null;
91
- email:string;
92
- username:string;
93
- password:string;
94
- securityroleid:string | null;
95
- companyid:string | null;
96
- }
97
-
98
- export interface ISecurityRole{
99
- id:string;
100
- name:string;
101
- deleted:boolean;
102
- menulist ?: string
103
- }
104
-
105
- export interface Article{
106
- id:string;
107
- title:string;
108
- body: string;
109
- }
110
- export interface ILogged{
111
- id: string;
112
- name:string;
113
- deleted:boolean;
114
- sortorder:number;
115
- createdate:Date
116
- createcontact ?: IContact
117
- translations ?: ITranslation[]
118
- }
119
-
120
- // used in etriasdb
121
- export interface ITranslation{
122
- id : string
123
- deleted : boolean
124
- sortorder : number
125
- fields ?: string
126
- locale ?: ILocale
127
- localeid ?: string
128
- logged ?: ILogged
129
- loggedid ?: string
130
- }
131
-
132
- // used in woonplan
133
- export interface ISitelabelTranslation{
134
- id : string
135
- name : string
136
- deleted : boolean
137
- sortorder : number
138
- locale ?: ILocale
139
- localeid ?: string
140
- sitelabel ?: ISitelabel
141
- sitelabelid ?: string
142
- partnerid ?: string
143
- }
144
-
145
-
146
- export interface ISitelabel{
147
- id : string
148
- deleted : boolean
149
- name : string
150
- sortorder : number
151
- translations ?: ISitelabelTranslation[]
152
- }
153
-
154
-
155
- export interface ILocale{
156
- id : string
157
- name : string
158
- code ?: string
159
- translations ?: ITranslation[] | ISitelabelTranslation[]
160
- language ?: ILanguage
161
- languageid ?: string
162
- country ?: ICountry
163
- countryid ?: string
164
- contacts ?: IContact[]
165
- }
166
-
167
- export interface ICountry{
168
- id : string
169
- option : IOption
170
- iso2 : string
171
- iso3 : string
172
- locales ?: ILocale[]
173
- }
174
-
175
- export interface ILanguage{
176
- id : string
177
- option : IOption
178
- iso2 : string
179
- iso3 : string
180
- locales ?: ILocale[]
181
- }
182
-
183
-
184
-
185
- export interface IOption{
186
- id : string
187
- name : string
188
- deleted : boolean
189
- sortorder : number
190
- }
191
-
192
- export interface ILog{
193
- id : string
194
- name : string
195
- deleted : boolean
196
- sortorder : number
197
- savedstate ?: string
198
- dd : Date
199
- ip ?: string
200
- note ?: string
201
- attachment ?: string
202
- entityid ?: string
203
- logactionid ?: string
204
- contactid ?: string
205
- }
206
-
207
- export interface SignupForm{
208
- salutation:string;
209
- firstname:string;
210
- infix:string;
211
- lastname:string;
212
- postcode:string;
213
- housenumber:number;
214
- extension:string;
215
- phone:string;
216
- mobile:string;
217
- email:string;
218
- password:string;
219
- password_repeat:string;
220
- conditions:boolean;
221
- areaactionid: string;
222
- partnerid: string;
223
- areaactioncollectionid:string;
224
- }
225
-
226
- export interface CIASignupForm extends SignupForm{}
227
- export interface MWASignupForm extends SignupForm{}
228
-
229
- export interface SignupFormResponse{
230
- status: string;
231
- statuscode: number;
232
- title?: string;
233
- contact?:IContact;
234
- }
235
- export interface CIASignupFormResponse extends SignupFormResponse{}
236
- export interface MWASignupFormResponse extends SignupFormResponse{}
237
-
238
- export interface IUserdata{
239
- id:string;
240
- sourceid:string | null
241
- contactid?:string | null
242
- maxpanels?:number
243
- openstairs?:boolean
244
- openkitchen?:boolean
245
- floorheating?:boolean
246
- occupants?:number
247
- showerprofile?:number
248
- cookingprofile?:number
249
- draftprofile?:number
250
- maxinvestment?:number
251
- cooksongas?:boolean
252
- source?:string
253
- buildyear?:number
254
- surface?:number
255
- usage ?: string
256
- wetspotswalls ?: string
257
- diyconstruction ?: boolean
258
- circularconstruction ?: boolean
259
- renovationconstruction ?: boolean
260
- allowwallinsideinsulation ?: boolean
261
- protectedstatus ?: string
262
-
263
- flatroofshouldberedone ?: boolean
264
- sloperoofshouldberedone ?: boolean
265
- shouldceilingbepaneled ?: boolean
266
- allowlowerceiling ?: string
267
- housetemplateid ?: string
268
- housetypeid ?: string
269
-
270
- leftwallinmothermodel ?: string
271
- orientationid ?: string
272
-
273
- houselevelamount ?: number
274
- roofshapeid ?:string
275
- finishedquestionsets ?: string
276
- userdatahousewishes ?: IUserdatahousewish[]
277
- mothermodelid ?: string
278
-
279
- preferessoundinsulating ?: boolean
280
- forcerecalculation ?: boolean | null
281
-
282
- experimentalfunctions ?: JSON
283
- advicepreferences ?: IAdvicepreferences
284
- }
285
-
286
- export interface IAdvicepreferences{
287
- replaceheatingfuel ?: Fuel[]
288
- }
289
-
290
- export interface IAnnualreport{
291
- id : string
292
- amount ?: string
293
- type ?: string
294
- year ?: string
295
- occupants ?: string
296
- userdataid ?:string
297
- }
298
- export interface IAveragecalcdata{
299
- id : string
300
- amount ?: string
301
- occupants ?: string
302
- profile ?: string
303
- averagecalcdatatype ?: IAveragecalcdatatype
304
- averagecalcdatatypeid ?: string
305
- }
306
-
307
- export interface IAveragecalcdatatype{
308
- id : string
309
- averagecalcdatas ?: IAveragecalcdata[]
310
- }
311
-
312
- export interface IOrientation{
313
- logged ?: ILogged
314
- name : string
315
- id : string
316
- }
317
-
318
-
319
-
320
- export enum Housetypename {
321
- terraced = "terraced-middle",
322
- terracedright = "terraced-right" ,
323
- terracedleft = "terraced-left" ,
324
- semidetachedleft = "semi-detached-left",
325
- semidetachedright = "semi-detached-right" ,
326
- detached = "detached"
327
- }
328
-
329
- export type IHousetemplateCalculationDataPerHousetype = {
330
- [key in Housetypename] : number
331
- }
332
-
333
- export interface IHousetype{
334
- id : string
335
- deleted : boolean
336
- name : string
337
- }
338
-
339
- export interface IHousetemplateCalculationData{
340
- windowenergylosses : IHousetemplateCalculationDataPerHousetype
341
- windowaverageus : IHousetemplateCalculationDataPerHousetype
342
- coldbridges : IHousetemplateCalculationDataPerHousetype
343
- perimeter : IHousetemplateCalculationDataPerHousetype
344
- wallenergylosses : IHousetemplateCalculationDataPerHousetype
345
- roofenergylosses : IHousetemplateCalculationDataPerHousetype
346
- floorenergylosses : IHousetemplateCalculationDataPerHousetype
347
- windowsurfaces : IHousetemplateCalculationDataPerHousetype
348
- wallsurfaces : IHousetemplateCalculationDataPerHousetype
349
- roofsurfaces : IHousetemplateCalculationDataPerHousetype
350
- floorsurfaces : IHousetemplateCalculationDataPerHousetype
351
- flooruninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
352
- walluninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
353
- roofuninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
354
- flooraverageus : IHousetemplateCalculationDataPerHousetype
355
- wallaverageus : IHousetemplateCalculationDataPerHousetype
356
- roofaverageus : IHousetemplateCalculationDataPerHousetype
357
- usagesurface : number
358
- graaddagenmaandmethode : number
359
- graaddagenjaarmethode : number
360
- insulatedreductionfactors : {
361
- wall : number
362
- floor : number | IHousetemplateCalculationDataPerHousetype | { u:number, factor:number }[]
363
- roof : number
364
- }
365
- }
366
-
367
- export interface IHousetemplateCalculationDataForHousetype{
368
- windowenergylosses : number
369
- windowaverageus : number
370
- coldbridges : number
371
- perimeter : number
372
- wallenergylosses : number
373
- roofenergylosses : number
374
- floorenergylosses : number
375
- windowsurfaces : number
376
- wallsurfaces : number
377
- roofsurfaces : number
378
- floorsurfaces : number
379
- flooruninsulatedreductionfactors : number
380
- walluninsulatedreductionfactors : number
381
- roofuninsulatedreductionfactors : number
382
- flooraverageus : number
383
- wallaverageus : number
384
- roofaverageus : number
385
- usagesurface : number
386
- graaddagenmaandmethode : number
387
- graaddagenjaarmethode : number
388
- insulatedreductionfactors : {
389
- wall : number
390
- floor : number | IHousetemplateCalculationDataPerHousetype | { u:number, factor:number }[]
391
- roof : number
392
- }
393
- energylossesPerm2 ?: {
394
- wall : number
395
- floor : number
396
- roof : number
397
- windowframepart : number
398
-
399
- }
400
- }
401
-
402
- export interface IHousetemplate{
403
- id ?: string | null
404
- calculationdata ?: string
405
- }
406
-
407
- export interface ISolarApicall{
408
- id:string
409
- deleted:boolean
410
- name?:string
411
- sortorder?:number
412
- energyconsumption:number | null
413
- max:boolean
414
- panels:number
415
- yield:number
416
- postcode:string
417
- housenumber:number
418
- extension:string | null
419
- result:string | ISolarApiResponse | ISolarApiResult
420
- module : number
421
- }
422
-
423
- export interface Quotation{
424
- id:string
425
- expiredate:Date
426
- contractorid:string
427
- adviceid:string
428
- measuredataid?:string | null
429
- quotationrequestid:string | null
430
- investment?:number
431
- status?:string
432
- accepteddate?:Date
433
- rejectdate?:Date
434
- rejectreason?:string
435
- }
436
-
437
- export interface IFile{
438
- id:string
439
- originalfilename:string
440
- folder?:string
441
- bucket?:string
442
- logged ?: ILogged
443
- }
444
- export interface QuotationFile extends IFile{
445
- quotationid?:string | null
446
- quotationrequestid?:string | null
447
- }
448
- export interface IContactFile extends IFile{
449
- contactid?:string | null
450
- category ?:string
451
- }
452
-
453
- export interface QuotationRequest{
454
- id:string
455
- measureid:string
456
- measuredataid?:string | null
457
- contractorid?:string | null
458
- adviceid:string
459
- status:string
460
- data:JSON | null
461
- files?:QuotationFile[]
462
- logged ?: ILogged
463
- canceldate ?: Date
464
- }
465
-
466
- export interface Collectivebuy{
467
- id:string
468
- expiredate:Date
469
- partnerid:string
470
- }
471
-
472
- export interface ISaving{
473
- amount ?: number
474
- }
475
-
476
- export interface IMeasuredata{
477
- id:string
478
- name:string
479
- deleted:boolean
480
- sortorder?:number
481
- active?:boolean
482
- displayname?:string
483
- price_m2?:number
484
- price_m?:number
485
- price_per_object?:number
486
- startamount?:number
487
- rcvalue?:number
488
- investment?:number
489
- savingsfactor?:number
490
- collectivebuyid?:string | null
491
- contractorid?:string | null
492
- measureid?:string | null
493
- requiressurvey?:boolean
494
- collectivebuystatus?:"now" | "future" | "never"
495
- collectivebuyquotationpossible?:boolean
496
- g_value ?: number
497
- u_value ?: number
498
- saving ?: number
499
- wp ?: number
500
- soundinsulating ?: boolean
501
- circularconstruction ?: boolean
502
- renovationconstruction ?: boolean
503
- diyconstruction ?: boolean
504
-
505
- insulationmethod ?: IInsulationmethod
506
- insulationtype ?: IInsulationtype
507
- insulationlocation ?: IInsulationlocation
508
-
509
- insulationmethodid ?: string | null
510
- insulationlocationid ?: string | null
511
- insulationtypeid ?: string | null
512
- glasstypeid ?: string | null
513
- glasstype ?: IGlasstype
514
-
515
- spf_vw ?: number
516
- spf_ww ?: number
517
- heatingpower ?: number
518
- savings ?: ISaving[]
519
-
520
- measure ?: IMeasure
521
- panels ?: number
522
-
523
- reinvestments ?: IReinvestment[]
524
- maintenances ?: IMaintenance[]
525
-
526
- questionsetids ?: string
527
-
528
- thickness ?: number
529
-
530
- floorid ?: string | null
531
- wallid ?: string | null
532
- roofid ?: string | null
533
- windowframepartid ?: string | null
534
- partnerid ?: string
535
- v2 ?: boolean
536
- electricitycost ?: number
537
- isde_amount ?: number
538
- }
539
-
540
- export interface IMaintenance{
541
- id : string
542
- investment ?: string
543
- years ?: string
544
- measuredataid ?: string
545
- }
546
-
547
- export interface IReinvestment{
548
- id : string
549
- investment ?: string
550
- years ?: string
551
- measuredataid ?: string
552
- }
553
-
554
- export interface IGlasstype{
555
- id : string
556
- deleted : boolean
557
- hidden : boolean
558
- maximumbuildyear : number
559
- sortorder : number
560
- measuredatas ?: IMeasuredata[]
561
- gvalue : number
562
- uvalue : number
563
- name : string
564
- image ?: string | null
565
- }
566
-
567
- export interface IMeasuredatainterestedcontact{
568
- measuredataid:string
569
- contactid:string
570
- }
571
-
572
- export interface IText{
573
- id:string
574
- title: string | null
575
- body: string | null
576
- localeid?: string | null
577
- partnerid?: string | null
578
- }
579
-
580
- export interface IContent{
581
- id:string
582
- fullyqualifiedaction : string | null
583
- subtitle?: string | null
584
- excerpt?: string | null
585
- searchbox?: string | null
586
- actionsbox?: string | null
587
- htmltitle?: string | null
588
- htmlkeywords?: string | null
589
- htmldescription?: string | null
590
- link?: string | null
591
- parentid?: string | null
592
- areaactionid?: string | null
593
- contentimages?: IContentimage[] | null
594
- }
595
-
596
- export interface IContentimage {
597
- id: string
598
- name?: string | null
599
- deleted?: boolean | null
600
- sortorder?: number | null
601
- contentitem?: IContent | null
602
- image?: IImage | null
603
- }
604
-
605
- export interface IImage {
606
- id: string
607
- path?: string | null
608
- alt?: string | null
609
- description?: string | null
610
- originalname?: string | null
611
- contentimages?: IContentimage[] | null
612
- metadata?: ILogged | null
613
- }
614
-
615
- export interface IMeasuretext{
616
- id:string
617
- measureid ?: string | null
618
- measuredataid ?: string | null
619
- excerpt ?: string | null
620
- }
621
-
622
- export interface QuotationRequestForm{
623
- measuredataid : string
624
- measureid : string
625
- contractorid : string
626
- }
627
-
628
- export interface IAppointment{
629
- id: string
630
- status?: string
631
- start?: Date
632
- end?: Date
633
- userdataid?: string | null
634
- surveyorid?: string | null
635
- needspayment?: true | false
636
- price? : number
637
- name?: string
638
- }
639
-
640
- export interface ICreateAppointmentParams{
641
- appointmentId: string
642
- agendaId: string
643
- appointmentTypeId: string
644
- start: Date
645
- end: Date
646
- userdataId : string
647
- customerId : string
648
- }
649
-
650
- export interface IAppointmentFormParams{
651
- agendaId: number
652
- appointmentTypeId: number
653
- startDate: string
654
- endDate: string
655
- measuredataids : string[]
656
- }
657
-
658
- export interface ISettings {
659
- "2fa"?: "email"
660
- "ga-api-key"?: string
661
- "ga-code"?: string
662
- "gtm-code"?: string
663
- adviceUrl?: string
664
- cava?: ICavaSettings
665
- createProjectInPerfectview?: boolean
666
- houseScan?: {
667
- houseScan ?: '1' | '0'
668
- }
669
- customSubsidyActive ?: '1' | '0'
670
- customSubsidyUrl ?: string
671
- customSubsidyText ?: string
672
- customSubsidyEmail ?: string
673
- customSubsidyPhone ?: string
674
- customSubsidyTitle ?: string
675
- customSubsidyCalculationMax ?: string
676
- customSubsidyCalculationMin ?: string
677
- initialQuestionsetP?: number
678
- showNewsletterOptIn?: boolean
679
- mailchimp?: IMailchimpSettings
680
- pipedrive?: { apiKey: string }
681
- pipedriveActivity?: {
682
- initialDoneState: boolean
683
- subject: string
684
- type: number | string
685
- }
686
- pipedrivePersonFields?:{
687
- pipedrivePersonFieldName: string
688
- pipedrivePersonFieldMapping: string
689
- }
690
- pipedriveDealFields?:{
691
- pipedriveDealFieldName: string
692
- pipedriveDealFieldMapping: string
693
- }
694
- mollie?: { apiKey: string }
695
- municipalityManagesLandingPage?: boolean
696
- onlineAfsprakenActive?: number
697
- onlineAfsprakenAgendaId?: number
698
- onlineAfsprakenAppointmentTypeId?: number
699
- perfectview?: IPerfectviewSettings
700
- perfectviewProject?: IPerfectviewProject
701
- priceMargin?: IPriceMargin
702
- primaryPackage?: string
703
- quotationSalesContact?: string
704
- showCollectiveHeatSourceText?: boolean
705
- showPackages?: boolean
706
- startpercentagequestionaire?: number
707
- automaticMothermodelselection ?: 1 | 0
708
- automaticMothermodelAreaactionSource ?: string
709
- surfaceCalculation ?: 1 | 0
710
- solarpanelmodule ?: string
711
- notAvailableMeasures ?: string
712
- canChangeSoundInsulating ?: "1" | "0"
713
- canChangeDIYInsulating ?: "1" | "0"
714
-
715
- municipalFinancingText ?: string
716
- municipalFinancingTitle ?: string
717
- municipalFinancingUrl ?: string
718
- municipalFinancingRepayment ?: {
719
- municipalFinancingDefaultOption: string
720
- municipalFinancingRepaymentYear: string,
721
- municipalFinancingRepaymentPercentage: string
722
- }
723
- municipalFinancingCalculation ?: {
724
- municipalFinancingCalculationMax: string
725
- municipalFinancingCalculationMin: string
726
- }
727
-
728
-
729
- hasISDESubsidy ?: string
730
- ISDESubsidyUrl ?: string
731
- ISDESubsidyCalculation ?: {
732
- ISDESubsidyCalculationMax: string
733
- ISDESubsidyCalculationMin: string
734
- }
735
- ISDESubsidyTitle ?: string
736
- ISDESubsidyText ?: string
737
-
738
-
739
- hasMunicipalSubsidy?: string
740
- municipalSubsidyUrl?: string
741
- municipalSubsidyCalculation?: {
742
- municipalSubsidyCalculationMin: string
743
- municipalSubsidyCalculationMax: string
744
- }
745
- municipalSubsidyTitle?: string
746
- municipalSubsidyText?: string
747
-
748
-
749
- hasNationalFinancing ?: string
750
- 'buildyear-gt-1995-quotations-contractor' ?: string
751
- 'buildyear-lte-1995-quotations-contractor' ?: string
752
- gamification ?: "1" | "0"
753
- showQuotationReadon ? : "1" | "0"
754
- isVve ? : "1" | "0"
755
- allowedMunicipalities ?: string
756
- iframemode ?: "1" | "0"
757
- hideprintbtn ?: "1" | "0"
758
- showuinsteadofrc ?: "1" | "0"
759
- hideMenuItems?: {
760
- "my-home"?: boolean | "1" | "0"
761
- "my-advice"?: boolean | "1" | "0"
762
- "advice-and-support"?: boolean | "1" | "0"
763
- "measures"?: boolean | "1" | "0"
764
- "quotations"?: boolean | "1" | "0"
765
- "faq"?: boolean | "1" | "0"
766
- "about-us"?: boolean | "1" | "0"
767
- "contact"?: boolean | "1" | "0"
768
- }
769
- powerbi ?: string
770
- myhouseeditor ?: "1" | "0"
771
- skipFirstQuestionnaire ?: "1" | "0"
772
- showContrastSwitch ?: "1" | "0"
773
- showTextZoomSwitch ?: "1" | "0"
774
-
775
- heatNetworkTemperature ?: string
776
-
777
- colors?: IColors
778
- backgrounds?: string[]
779
- favicon?: string
780
-
781
- powerbiapi ?: {
782
- reportid ?: string,
783
- datasetid ?: string
784
- }
785
-
786
- dontsendemailaftersignup ?: '1' | '0'
787
- }
788
-
789
- export interface IColors {
790
- [key:string] : string
791
- }
792
-
793
- export interface IMailchimpSettings {
794
- apiKey?: string
795
- audienceId?: string
796
- }
797
-
798
-
799
- export interface IPerfectviewSettings {
800
- ApiKey?: string
801
- DatabaseId?: string
802
- UserId?: string
803
- }
804
-
805
- export interface ICavaSettings {
806
- pvMark?: string
807
- pvMarkCategory?: string
808
- }
809
-
810
- export interface IPerfectviewProject {
811
- phase?: string
812
- type?: string
813
- }
814
-
815
- export interface IPackage {
816
- id: string
817
- name ?: string
818
- packagemeasures ?: IPackageMeasure[]
819
- }
820
-
821
- export interface IPackageMeasure{
822
- id : string
823
- packageid ?: string
824
- measureid ?: string
825
- step ?: number
826
- showinlist : boolean
827
- package ?: IPackage
828
- measure ?: IMeasure
829
- }
830
-
831
- export interface IPriceMargin {
832
- priceMarginMin?: number
833
- priceMarginMax?: number
834
- }
835
-
836
- export interface IPrice {
837
- currency: string
838
- value: string
839
- }
840
-
841
- export interface IPSPStatusUpdate {
842
- mollieid: string
843
- }
844
-
845
-
846
- export interface IPayment {
847
- id: string,
848
- deleted: boolean,
849
- mollieid: string,
850
- price: IPrice
851
- description: string,
852
- createdat: string,
853
- updatedat: string,
854
- status: string,
855
- appointmentid?: string,
856
- checkouturl?: string
857
- subscriptionid ?: string
858
- }
859
-
860
- export interface IOnlineAfsprakenSettings{
861
- apiKey: string
862
- apiSecret: string
863
- appointmentTypeId: number
864
- agendaId: number
865
- }
866
-
867
-
868
- export interface IGetBookableDaysParams {
869
- userdataid: string,
870
- ResourceId?: string,
871
- StartDate: string // YYYY-MM-DD
872
- EndDate: string // YYYY-MM-DD
873
- settings?:IOnlineAfsprakenSettings
874
- }
875
-
876
- export interface IGetBookableTimesParams {
877
- Date: string // YYYY-MM-DD
878
- userdataid: string,
879
- ResourceId?: string,
880
- EndDate?: string // YYYY-MM-DD
881
- settings?:IOnlineAfsprakenSettings
882
- }
883
-
884
- export interface IBookableday{
885
- Date: string;
886
- Month:number
887
- Day:number
888
- Year?:number
889
- JSDate?:Date
890
- UTCDate?: string
891
- }
892
-
893
-
894
- export interface IBookabletime{
895
- Date: string;
896
- StartTime: string,
897
- LabelTime: string
898
- EndTime: string,
899
- Timestamp: number,
900
- JSDateStart?:Date
901
- JSDateEnd?:Date
902
- UTCDateStart?: string
903
- UTCDateEnd?: string
904
- }
905
-
906
-
907
-
908
- export interface IBagData {
909
- coordinates: number[]
910
- buildyear: number
911
- streetname: string
912
- city: string
913
- surface:number
914
- }
915
-
916
- export interface IWssProject{
917
- id : string
918
- name : string
919
- }
920
- export interface IWssAddress{
921
- id : string
922
- postcode : string
923
- housenumber : number
924
- extension : string
925
- projectid : string
926
- tags : string[]
927
- }
928
- export interface IWssTag{
929
- id : string
930
-
931
- }
932
-
933
- export interface IHouseobject{
934
- deleted ?: boolean
935
- id ?: string
936
- name ?: string
937
- sortorder ?: number
938
- surface ?: number
939
- measuredatas ?: IMeasuredata[]
940
- rcvalue ?: number
941
- u_value ?: number
942
- }
943
-
944
- export interface IHouselevel{
945
- id : string
946
- deleted : boolean
947
- sortorder : number
948
- userdataid ?: string | null
949
- heated : boolean
950
- walkable: boolean
951
- used: boolean
952
- haskitchenorlivingroom: boolean
953
- heatinghours : number
954
- averagetemp ?: number
955
- maxovertemp ?: number
956
- }
957
-
958
- export interface IHouse{
959
- windowframeparts : IWindowframepart[],
960
- floors : IFloor[],
961
- walls : IWall[],
962
- roofs : IRoof[],
963
- houselevels : IHouselevel[]
964
- }
965
-
966
- export interface IAbstractHouseObjectType{
967
- deleted ?: boolean
968
- id ?: string
969
- sortorder ?: number
970
- name ?: string
971
- }
972
-
973
- export interface IFloortype extends IAbstractHouseObjectType{
974
- lambda ?: number
975
- rcvalue ?: number
976
- image ?: string | null
977
- }
978
-
979
- export interface IRooftype extends IAbstractHouseObjectType{
980
- image ?: string | null
981
- }
982
-
983
- export interface IWalltype extends IAbstractHouseObjectType{
984
- image ?: string
985
- }
986
-
987
-
988
- export interface IWindowframeparttype extends IAbstractHouseObjectType{
989
- }
990
-
991
- export interface IWallfinish{
992
- deleted ?: boolean
993
- id ?: string
994
- sortorder ?: number
995
- name ?: string
996
- image ?: string | null
997
- }
998
- export interface IRoofshape{
999
- deleted ?: boolean
1000
- id ?: string
1001
- sortorder ?: number
1002
- name ?: string
1003
- }
1004
-
1005
- export interface IRoofing{
1006
- deleted ?: boolean
1007
- id ?: string
1008
- sortorder ?: number
1009
- name ?: string
1010
- roofs ?: IRoof[]
1011
- image ?: string | null
1012
- }
1013
-
1014
- export interface ICrawlspace{
1015
- deleted ?: boolean
1016
- id ?: string | null
1017
- sortorder ?: number
1018
- accessible ?: boolean
1019
- pumpable ?: boolean
1020
- cluttered ?: boolean
1021
- height ?: number
1022
- wet ?: string | null
1023
- houselevelid ?: string | null
1024
-
1025
- crawlspacesinfloor ?: ICrawlspaceinfloor[]
1026
-
1027
- }
1028
- export interface ICrawlspaceinfloor{
1029
- deleted ?: boolean
1030
- id ?: string | null
1031
- sortorder ?: number
1032
- floorid ?: string | null
1033
- crawlspaceid ?: string
1034
- surface ?: number
1035
- }
1036
- export interface IFloorinroom{
1037
- deleted ?: boolean
1038
- id ?: string | null
1039
- sortorder ?: number
1040
- floorid ?: string
1041
- roomid ?: string
1042
- surface ?: number
1043
- room ?: IRoom
1044
- }
1045
-
1046
- export interface IFloor extends IHouseobject{
1047
- floortypeid ?: string | null
1048
- floortype ?: IFloortype
1049
- crawlspaces ?: ICrawlspace[]
1050
- historic ?: boolean
1051
- woodneedsreplacing ?: string
1052
- woodandbeamsneedsreplacing ?: string
1053
- flatbottom ?: boolean
1054
- crawlspacesinfloor ?: ICrawlspaceinfloor[]
1055
- basementhasceiling ?: boolean
1056
- basementunderneath ?: boolean
1057
- rcvalue ?: number
1058
- floorinrooms ?: IFloorinroom[]
1059
- allowcarpetingtoberemoved ?: boolean
1060
- preferredcarpeting ?: string
1061
-
1062
- annexid ?: string
1063
- annex ?: IAnnex
1064
-
1065
- houselevelid ?: string
1066
- }
1067
-
1068
-
1069
- export interface ISide{
1070
- name : string
1071
- deleted : boolean
1072
- id : string
1073
- sortorder : number
1074
- }
1075
-
1076
- export interface IWall extends IHouseobject{
1077
- shadowpercentage ?: number
1078
- angle ?: number
1079
- side ?: ISide
1080
- sideid ?: string | null
1081
- walltypeid ?: string | null
1082
- walltype ?: IWalltype
1083
- insulationonownrisk ?: boolean
1084
- wallfinishid ?: string | null
1085
- wallfinish ?: IWallfinish
1086
- protectedstatus ?: string
1087
- aircavity ?: boolean
1088
- rcvalue ?: number
1089
- thicknesscavity ?: number
1090
- housetypeid ?: string | null
1091
- grosssurface ?: number
1092
-
1093
- monumentaloutside ?: boolean
1094
- monumentalinside ?: boolean
1095
-
1096
- annexid ?: string
1097
- annex ?: IAnnex
1098
-
1099
- }
1100
-
1101
- export interface IRoom extends IHouseobject{
1102
- houselevel ?: IHouselevel
1103
- houselevelid ?: string
1104
- roofs ?: IRoof[]
1105
- windowframes ?: IWindowframe[]
1106
- floorinrooms ?: IFloorinroom[]
1107
- heated : boolean
1108
- walkable : boolean
1109
- accessible : boolean
1110
- isattic : boolean
1111
- used : boolean
1112
-
1113
- }
1114
-
1115
- export interface IRoof extends IHouseobject{
1116
- shadowpercentage ?: number
1117
- angle ?: number
1118
- rooftypeid ?: string | null
1119
- rooftype ?: IRooftype
1120
- slope ?: boolean
1121
- ridgeheight ?: number
1122
- ceilingboarded ?: boolean
1123
- roofingid ?: string | null
1124
- roofing ?: IRoofing
1125
- sideid ?: string | null
1126
- side ?: ISide
1127
- rcvalue ?: number
1128
- housetypeid ?: string | null
1129
-
1130
- roomid ?: string | null
1131
- room ?: IRoom
1132
-
1133
- hasknieschot ?: boolean
1134
- knieschotbacksideaccessible ?: boolean
1135
- knieschotenoughspace ?: boolean
1136
- knieschotrunningmeters ?: number
1137
- buildyear ?: number | null
1138
- protectedstatus ?: string | null
1139
- protectedstatusside ?: string | null
1140
- roofplanelocation ?: string | null
1141
- roofboardingthickness ?: number
1142
- beamsheight ?: number
1143
- flat_edgeheight ?: number
1144
- flat_edgerunningmeters ?: number
1145
- flat_opgaandegevelheight ?: number
1146
- hellend_opgaandegevelheight ?: number
1147
- hellend_lokettenrunningmeters ?: number
1148
- flat_voetloodrunningmeters ?: number
1149
-
1150
- replaceroofsheathing ?: boolean
1151
- replaceraftersorjoists ?: boolean
1152
-
1153
- annexid ?: string
1154
- annex ?: IAnnex
1155
- }
1156
-
1157
- export interface IWindowframe extends IHouseobject{
1158
- userdataid ?: string | null
1159
- userdata ?: IUserdata
1160
- wall ?: IWall
1161
- sideid ?: string | null
1162
- side ?: ISide
1163
- wallid ?: string | null
1164
- roomid ?: string | null
1165
- houselevelid ?: string | null
1166
- windowframetypeid ?: string | null
1167
- windowframetype ?: IWindowframetype
1168
- width : number
1169
- height : number
1170
- needreplacing ?: boolean
1171
- housetypeid ?: string | null
1172
-
1173
- room ?: IRoom
1174
- }
1175
-
1176
- export interface IWindowframepart extends IHouseobject{
1177
- framewidth ?: number
1178
- frameheight ?: number
1179
- glasswidth ?: number
1180
- glassheight ?: number
1181
- leftcasinglength ?: number
1182
- rightcasinglength ?: number
1183
- bottomstoollength ?: number
1184
- topstoollength ?: number
1185
- shadowpercentage ?: number
1186
-
1187
- windowframeparttypeid ?: string | null
1188
- windowframeid ?: string | null
1189
- windowframe ?: IWindowframe
1190
- windowframetype ?: IWindowframetype
1191
- side ?: ISide
1192
- }
1193
-
1194
- export interface IWindowframetype extends IAbstractHouseObjectType{
1195
- uvalue ?: number
1196
- }
1197
-
1198
- export interface IRule{
1199
- id : string
1200
- energylossid ?: string | null
1201
- floortypeid ?: string | null
1202
- glasstypeid ?: string | null
1203
- roofingid ?: string | null
1204
- roofshapeid ?: string | null
1205
- rooftypeid ?: string | null
1206
- wallfinishid ?: string | null
1207
- walltypeid ?: string | null
1208
- windowframeparttypeid ?: string | null
1209
- packageid ?: string | null
1210
- rulesetid ?: string | null
1211
- ruletypeid ?: string | null
1212
- measuredataid ?: string | null
1213
- targetMeasureid ?: string | null
1214
- gasfreeoptionid ?: string | null
1215
- measuretypeid ?: string | null
1216
- insulationlocationid ?: string | null
1217
- insulationmethodid ?: string | null
1218
- insulationtypeid ?: string | null
1219
- ventilationsystemtypeid ?: string | null
1220
- field ?: string
1221
- operator ?: string
1222
- value ?: string
1223
- }
1224
-
1225
-
1226
- export interface IGasfreeoption{
1227
- id : string
1228
- name : string
1229
- deleted : boolean
1230
- sortorder : number
1231
- riskfactor : number
1232
- gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
1233
- measures ?: IMeasure[]
1234
- }
1235
- export interface IGasfreeoptionmeasure{
1236
- id : string
1237
- name : string
1238
- deleted : boolean
1239
- sortorder : number
1240
- measureid : string
1241
- gasfreeoptionid : string
1242
- gasfreeoption ?: IGasfreeoption
1243
- }
1244
-
1245
-
1246
- export interface IMeasure {
1247
- id : string
1248
- gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
1249
- measuredatas ?: IMeasuredata[]
1250
- measuretypeid ?: string | null
1251
- measuretype ?: IMeasuretype
1252
- logged : ILogged
1253
-
1254
- insulationmethods ?: IInsulationmethod[]
1255
- insulationtypes ?: IInsulationtype[]
1256
- insulationlocations ?: IInsulationlocation[]
1257
- rejected ?: {
1258
- measuredata : IMeasuredata,
1259
- reasons : string[]
1260
- }[]
1261
- }
1262
-
1263
-
1264
- export interface IMeasuretype{
1265
- id : string
1266
- measures ?: IMeasure[]
1267
- logged : ILogged
1268
- }
1269
-
1270
-
1271
-
1272
- export interface ISolarApiAddress {
1273
- add_on: string
1274
- addition: string
1275
- city: string
1276
- country: string
1277
- hid: number
1278
- lat: number
1279
- lon: number
1280
- municipality: string
1281
- number: number
1282
- postal: string
1283
- project: string
1284
- spc_id: number
1285
- spc_key: string
1286
- street: string
1287
- }
1288
- export interface ISolarApiBagdata {
1289
- building_add_on: string | null,
1290
- building_addition: string | null,
1291
- building_area: number,
1292
- building_function: string
1293
- building_number: number,
1294
- building_postcode: string
1295
- building_status: string
1296
- id_nummeraanduiding: string
1297
- id_openbareruimte: string
1298
- id_plaats: string
1299
- id_verblijfsobject: string
1300
- pand_building_year: number
1301
- pand_status: string
1302
- }
1303
-
1304
- export interface ISolarApiCalculationParamaters{
1305
- harging_station: boolean
1306
- costs_insurance: number
1307
- costs_other: number
1308
- costs_service: number
1309
- degradation:number
1310
- eeg_umlage: any | null,
1311
- emobility: boolean,
1312
- energy_consumption: number,
1313
- energy_price:number
1314
- energy_price_increase: number
1315
- feed_in_rate_kwh: number
1316
- inflation: number
1317
- load_profile: boolean,
1318
- scaffold_factor: number
1319
- scaffold_price_increase: number
1320
- solar_thermal: boolean,
1321
- storage: boolean,
1322
- storage_information: { kwh_brutto: number }
1323
- subsidy_per_kwp: number
1324
- system_loss: number
1325
- }
1326
-
1327
- export interface ISolarApiData {
1328
- autarky: number
1329
- building_area: number
1330
- co2_savings: number
1331
- cost_charging_station: number
1332
- cost: number
1333
- cost_charging_station_excl_vat: number
1334
- cost_excl_vat: number
1335
- cost_pv_excl_vat: number
1336
- cost_pv: number
1337
- cost_storage_excl_vat: number
1338
- cost_storage: number
1339
- forecasted_years: number
1340
- energy_consumption: number
1341
- global_mean_barely_suited: number
1342
- global_mean_suited: number
1343
- global_mean_well_suited: number
1344
- kwp: number
1345
- max_energy: number
1346
- max_energy_barely_suited: number
1347
- max_energy_suited: number
1348
- max_energy_well_suited: number
1349
- max_kwp: number
1350
- max_kwp_barely_suited: number
1351
- max_kwp_suited: number
1352
- max_kwp_well_suited: number
1353
- max_panels: number
1354
- months_until_payback: number
1355
- number_of_panels: number
1356
- own_consumption: number
1357
- percent_roi: number
1358
- profit: number
1359
- pv_area_barely_suited: number
1360
- pv_area_suited: number
1361
- pv_area_well_suited: number
1362
- st_area_suited: number
1363
- st_area_well_suited: number
1364
- st_max_area: number
1365
- st_max_kwhpa_flat: number
1366
- st_max_kwhpa_vacuum: number
1367
- st_max_number_of_panels: number
1368
- street: string
1369
- subsidy_one_time: number
1370
- suitability: string
1371
- suitability_st: string
1372
- total_income: number
1373
- total_plant_roof_area: number
1374
- total_plant_surface: number
1375
- yearly_income: number
1376
- yearly_yield: number
1377
- years_until_payed_back: number
1378
- }
1379
-
1380
- export interface ISolarApiMapLayer {
1381
- name: string
1382
- url: string
1383
- }
1384
-
1385
- export interface ISolarApiModule {
1386
- Wp: number,
1387
- cost_per_kwp: number,
1388
- height: number,
1389
- ident: number | null,
1390
- name: string,
1391
- size:number,
1392
- width: number
1393
- module_id : number
1394
- }
1395
-
1396
- export interface ISolarApiPlantData{
1397
- estimated_yield:number,
1398
- kwp: number,
1399
- module: ISolarApiModule,
1400
- number_of_modules: number,
1401
- orientation: number,
1402
- roof_id: number,
1403
- scaffold: boolean,
1404
- tilt: number
1405
- }
1406
-
1407
- export interface ISolarApiPlant{
1408
- data: ISolarApiPlantData,
1409
- mp: string
1410
- type: string
1411
- }
1412
-
1413
- export interface ISolarApiRequest {
1414
- add_on: string
1415
- addition: string
1416
- api_type: string
1417
- auth: string
1418
- moduleplacer: boolean
1419
- number: string
1420
- postal: string
1421
-
1422
- }
1423
-
1424
- export interface ISolarApiPendingResult{
1425
- building_area : number
1426
- building_geom : string
1427
- building_hid : number
1428
- building_project : boolean
1429
- buildings_in_queue : number
1430
- est_absolute_calculation_time_building : number
1431
- est_finish_time : string
1432
- requested_time : string
1433
- servertime : string
1434
- status : number
1435
- status_word : string
1436
- }
1437
-
1438
- export interface ISolarApiResult{
1439
- address : ISolarApiAddress
1440
- bagdata : ISolarApiBagdata[]
1441
- buildingwkt : string
1442
- calculation_parameters : ISolarApiCalculationParamaters
1443
- data : ISolarApiData
1444
- href : string
1445
- individual_data : any
1446
- map_layers : ISolarApiMapLayer[]
1447
- monuments : {
1448
- monument_areas: [],
1449
- national_monuments: []
1450
- }
1451
- plants : ISolarApiPlant[],
1452
- images : {
1453
- radiation : string,
1454
- radiation_large:string,
1455
- roofs : string,
1456
- roofs_large:string
1457
- }
1458
- }
1459
-
1460
- export interface ISolarApiResponse {
1461
- request : ISolarApiRequest
1462
- results : ISolarApiResult[]
1463
- }
1464
-
1465
-
1466
- export interface EnergyOutput{
1467
- output : number
1468
- }
1469
- export interface EnergyInput{
1470
- input : number
1471
- }
1472
-
1473
- export interface EnergyIO extends EnergyOutput, EnergyInput{}
1474
-
1475
- export interface EntityEnergyIO extends EnergyIO{
1476
- id : string
1477
- u : number
1478
- }
1479
- export interface EntityEnergyIOExtended extends EnergyIO{
1480
- id : string
1481
- u : number
1482
- generatedoutput : number
1483
- reductionfactor ?: number
1484
- }
1485
-
1486
- export interface EnergyIOState{
1487
- floors : EntityEnergyIO[]
1488
- walls : EntityEnergyIO[]
1489
- roofs : EntityEnergyIO[]
1490
- windowframeparts : EntityEnergyIO[]
1491
- coldbridges : EnergyIO
1492
- perimeter: EnergyIO
1493
- draft: EnergyIO
1494
- ventilation: EnergyIO
1495
- }
1496
-
1497
- export interface EnergyIOStateExtended extends EnergyIOState{
1498
- floors : EntityEnergyIOExtended[]
1499
- walls : EntityEnergyIOExtended[]
1500
- roofs : EntityEnergyIOExtended[]
1501
- windowframeparts : EntityEnergyIOExtended[]
1502
- }
1503
-
1504
-
1505
-
1506
- export type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs" | "houselevels" | "solar" | "installations"| "ventilation"| "draft" | "existing"
1507
- type IHouseMap = Map< IHouseObjectName , IHouseObjectWithMeasuredatas[]>
1508
-
1509
- export interface IHouseObjectWithMeasuredatas extends IHouseobject{
1510
- measuredatas : IMeasuredata[]
1511
- }
1512
-
1513
-
1514
- export interface IUseranswer{
1515
- id : string
1516
- intakeid ?: string | null
1517
- value ?: string
1518
- answeroptionid ?: string | null
1519
- answeroption ?: IAnsweroption
1520
- question ?: IQuestion
1521
-
1522
- }
1523
-
1524
- export interface IAreaactioncollection extends ILogged{
1525
- userdataid ?: string
1526
- areaactionid ?: string
1527
- housetemplateid ?: string
1528
- }
1529
- export interface IAreaaction extends ILogged{
1530
- settings ?: ISettings
1531
- hostname ?: string
1532
- pvmark ?: string
1533
- partnerid ?: string
1534
- logo ?: string
1535
- questionsets ?: IQuestionsetSettings[]
1536
- htmltitle ?: string
1537
- senderemail?: string
1538
- subscriptionplanid ?: string
1539
- localeid ?: string
1540
- locale ?: ILocale
1541
- }
1542
-
1543
- export interface IQuestionsetSettings{
1544
- id: string,
1545
- name: string,
1546
- rule: string,
1547
- initial: boolean,
1548
- adminonly: boolean,
1549
- questionset ?: string,
1550
- questionsets ?: IQuestionsetSettings[],
1551
- editable_after_finish: boolean
1552
- }
1553
-
1554
- export interface IHomeSettings{
1555
- floor_insulationtype ?: string
1556
- floor_insulationlocation ?: string
1557
- floor_insulationmethod ?: string
1558
- floor_rcValue ?: number
1559
- floor_floortypeid ?: string
1560
- wall_insulationtype ?: string
1561
- wall_insulationlocation ?: string
1562
- wall_insulationmethod ?: string
1563
- wall_rcValue ?: number
1564
- wall_walltypeid ?: string
1565
- wall_rcValue_uninsulated ?: number
1566
- wall_thickness ?: string
1567
- wall_aircavity ?: boolean
1568
- roof_insulationtype ?: string
1569
- roof_insulationlocation ?: string
1570
- roof_insulationmethod ?: string
1571
- roof_rcValue ?: number
1572
- roof_rooftypeid ?: string
1573
- roof_roofingid ?: string
1574
- glass_glasstype ?: string
1575
- draftprofile ?: "draftprofile-1" | "draftprofile-2" | "draftprofile-3" | "draftprofile-4"
1576
- }
1577
-
1578
- export interface IDefaulthomesettings{
1579
- settings ?: IHomeSettings
1580
- yearmin ?: number
1581
- yearmax ?: number
1582
- }
1583
-
1584
-
1585
- export interface IHousewish{
1586
- name : string
1587
- deleted : boolean
1588
- sortorder : number
1589
- userdatahousewishes ?: IUserdatahousewish[]
1590
- housewishgroup ?: IHousewishgroup
1591
- housewishgroupid ?: string | null
1592
- }
1593
-
1594
-
1595
- export interface IHousewishgroup{
1596
- name : string
1597
- deleted : boolean
1598
- sortorder : number
1599
- housewishes ?: IHousewish[]
1600
- }
1601
-
1602
-
1603
- export interface IUserdatahousewish{
1604
- name : string
1605
- deleted : boolean
1606
- sortorder : number
1607
- housewish ?: IHousewish
1608
- userdata ?: IUserdata
1609
- housewishid ?: string | null
1610
- userdataid ?: string | null
1611
- score ?: number
1612
- }
1613
-
1614
-
1615
-
1616
-
1617
- type Fuel = "gas" | "electricity" | "heatnetwork" | "wood" | "oil" | "pellets"
1618
-
1619
- type FuelDistribution = {
1620
- [k in Fuel]: number
1621
- }
1622
-
1623
-
1624
- interface IEnergyconsumption extends FuelDistribution{
1625
- water : number
1626
- }
1627
-
1628
- interface IEnergyDistribution{
1629
- heating : number
1630
- warmwater : number
1631
- household : number
1632
- cooking : number
1633
- }
1634
-
1635
- interface IUsage{
1636
- consumption : IEnergyconsumption
1637
- distribution : IEnergyDistribution
1638
- energyfactor : number
1639
- m3gasToKwhFactor : number
1640
- cooksongas : boolean
1641
- calculatedEnergyUse : number
1642
- appliance ?: {
1643
- gassaved : number
1644
- extraelectricity : number
1645
- }
1646
- heatingpower ?: number
1647
- solargenerated ?: number
1648
- heatingSource ?: string
1649
- warmwaterSource ?: string
1650
- existingAppliances ?: {
1651
- heatingfuel ?: Fuel | null
1652
- warmwaterfuel ?: Fuel | null
1653
- cookingfuel ?: Fuel | null
1654
- name ?: string
1655
- savingsfactor ?: number
1656
- }[]
1657
- }
1658
- interface IUsageExtended extends IUsage{
1659
- energystreams : {
1660
- warmwater : {
1661
- calculated ?: FuelDistribution,
1662
- actual : FuelDistribution
1663
- }
1664
- heating : {
1665
- calculated ?: FuelDistribution,
1666
- actual : FuelDistribution
1667
- }
1668
- cooking : {
1669
- calculated ?: FuelDistribution,
1670
- actual : FuelDistribution
1671
- }
1672
- household : {
1673
- calculated ?: FuelDistribution,
1674
- actual : FuelDistribution
1675
- }
1676
- },
1677
- applianceextras ?: FuelDistribution,
1678
- appliancesavings ?: FuelDistribution,
1679
- }
1680
-
1681
- interface ICosts{
1682
- id : string
1683
- gasstandingcharge ?: number
1684
- gasprice ?: number
1685
- gaspriceincrease ?: number
1686
- heatnetworkstandingcharge ?: number
1687
- heatnetworkprice ?: number
1688
- heatnetworkpriceincrease ?: number
1689
- electricitystandingcharge ?: number
1690
- electricityprice ?: number
1691
- electricitysellbackprice ?: number
1692
- electricitypriceincrease ?: number
1693
- waterprice ?: number
1694
- waterpriceincrease ?: number
1695
- inflation ?: number
1696
- gasm3tokwhfactor ?: number
1697
- interest ?: number
1698
- settings ?: JSON
1699
- userdataid ?: string
1700
- oilprice ?: number
1701
- oilpriceincrease ?: number
1702
- woodprice ?: number
1703
- woodpriceincrease ?: number
1704
- pelletsprice ?: number
1705
- pelletspriceincrease ?: number
1706
- }
1707
-
1708
- export interface ICustomAdviceCombination{
1709
- insulation : {
1710
- [index:string] : string | null | undefined
1711
- }
1712
- draft : string | null | undefined
1713
- ventilation : string | null | undefined
1714
- gasfreeoption : string | null | undefined
1715
- solar : {
1716
- household : string | null | undefined
1717
- gasfree : string | null | undefined
1718
- }
1719
- years ?: number
1720
- loans ?: IPreferredFinancingOption[]
1721
- }
1722
-
1723
- export interface IPreferredFinancingOption{
1724
- name : string
1725
- amount : number
1726
- interest : number
1727
- years : number
1728
- }
1729
-
1730
-
1731
-
1732
- export interface HouseObjectSettings{
1733
- floor : number | IHousetemplateCalculationDataPerHousetype | { u: number; factor: number; }[]
1734
- wall : number
1735
- windowframepart : number
1736
- roof : number
1737
- }
1738
-
1739
- type IOperation = "multiplication" | "division"
1740
-
1741
-
1742
- type Orientation = "z" | "z/w" | "w" | "n/w" | "n" | "n/o" | "o" | "z/o"
1743
-
1744
- export interface ITemperaturecalcdata{
1745
- logged : ILogged
1746
- savingsinenergyfactor ?: string | null
1747
- returnpercentagefactor ?: string | null,
1748
- paybackfactor ?: string | null
1749
- saving1 ?: string | null
1750
- saving2 ?: string | null
1751
- rc1 ?: string | null
1752
- rc2 ?: string | null
1753
- vereffening ?: string | null
1754
- operation ?: IOperation | null
1755
- openstairs ?: boolean | null
1756
- floorheating ?: boolean | null
1757
- measureid ?: string | null
1758
- roomheated ?: boolean | null
1759
- househasonehouselevel ?: boolean | null
1760
- noexistingmeasure ?: boolean | null
1761
- }
1762
-
1763
-
1764
- export type DraftProfile = 1 | 2 | 3 | 4
1765
- export type DraftFactor = number
1766
-
1767
- export interface DraftProfileSetting{
1768
- profile : DraftProfile
1769
- factor : DraftFactor
1770
- default ?:boolean
1771
- }
1772
-
1773
- export interface Uninsulatedenergylosses extends HouseObjectSettings{
1774
- }
1775
-
1776
- export interface Uninsulatedu extends HouseObjectSettings{
1777
- }
1778
-
1779
- export interface Reductionfactors extends HouseObjectSettings{
1780
- }
1781
- export interface HouseContructionParams{
1782
- surface:number
1783
- coldbridgesenergyloss:number | null
1784
- graaddagenjaarmethode:number | null
1785
- graaddagenmaandmethode:number | null
1786
- draftprofile:DraftProfile | null
1787
- perimeterenergyloss:number | null
1788
- uninsulatedenergylosses : Uninsulatedenergylosses
1789
- uninsulatedu : Uninsulatedu
1790
- uninsulatedreductionfactors : Reductionfactors
1791
- insulatedreductionfactors : Reductionfactors
1792
- openstairs : boolean
1793
- floorheating : boolean
1794
- househasonehouselevel : boolean,
1795
- temperaturecalcdatas ?:ITemperaturecalcdata[]
1796
- frontorientation ?: Orientation
1797
- housetype ?: string
1798
- }
1799
-
1800
-
1801
- export interface IAbstractInsulation{
1802
- id : string
1803
- name : string
1804
- deleted : boolean
1805
- sortorder : number
1806
- measures ?: IMeasure[]
1807
- measuredatas ?: IMeasuredata[]
1808
- }
1809
-
1810
- export interface IInsulationmethod extends IAbstractInsulation{
1811
- insulationtypes ?: IInsulationtype[]
1812
- image ?: string | null
1813
- walltypes ?: IWalltype[]
1814
- floortypes ?: IFloortype[]
1815
- }
1816
- export interface IInsulationlocation extends IAbstractInsulation{
1817
- rooftypeinsulationlocations ?: {
1818
- rooftypeid: string
1819
- }[]
1820
- insulationtypes ?: IInsulationtype[]
1821
- image ?: string | null
1822
- }
1823
- export interface IInsulationtype extends IAbstractInsulation{
1824
- lambda ?: number | null
1825
- rcvalue ?: number | null
1826
- insulationmethods ?: IInsulationmethod[]
1827
- insulationlocations ?: IInsulationlocation[]
1828
- image ?: string | null
1829
- walltypes ?: IWalltype[]
1830
- floortypes ?: IFloortype[]
1831
- rooftypes ?: IRooftype[]
1832
- }
1833
-
1834
- export interface IAppliedMeasure{
1835
- id : string
1836
- investment : number
1837
- measureid : string
1838
- measuretype : string
1839
- name : string
1840
- reinvestments ?: {
1841
- investment : string
1842
- years : string
1843
- }[]
1844
- maintenances ?: {
1845
- investment : string
1846
- years : string
1847
- }[]
1848
- }
1849
-
1850
-
1851
- interface IAnnualreportSave{
1852
- year : number,
1853
- type : string,
1854
- amount : number
1855
- delete ?: boolean
1856
- }
1857
-
1858
-
1859
- export interface IQuestionset{
1860
- id : string
1861
- collectionid ?: string
1862
- questions ?: IQuestion[]
1863
- name: string
1864
- }
1865
-
1866
- export interface IQuestion{
1867
- sortorder: number;
1868
- informationtext: string | null;
1869
- informationimage: string | null;
1870
- min: number | null;
1871
- max: number | null;
1872
- step: number | null;
1873
- placeholder: string | null;
1874
- questiontype: IQuestiontype | null;
1875
- image: string | null;
1876
- answeroptions: IAnsweroption[];
1877
- body: string | null;
1878
- posttext: string | null;
1879
- id: string;
1880
- status: string;
1881
- name: string;
1882
- useranswers: IUseranswer[]
1883
- active : boolean;
1884
- error?: {
1885
- [index:string] : any
1886
- }
1887
- required?:boolean
1888
- viewing:boolean
1889
- shortname : string | null
1890
- logged ?: ILogged
1891
- }
1892
-
1893
- export interface IQuestiontype{
1894
- name: string;
1895
- id: string;
1896
- }
1897
- export interface IAnsweroption{
1898
- selected: boolean;
1899
- informationtext: string | null;
1900
- name: string;
1901
- informationimage: string | null;
1902
- image: string | null;
1903
- hasinput: boolean;
1904
- id: string;
1905
- value: string | null;
1906
- placeholder?: string
1907
- min?:number
1908
- max?:number
1909
- step?:number
1910
- questionid : string
1911
- sortorder ?: number
1912
- logged ?: ILogged
1913
- }
1914
-
1915
- export interface IIntake{
1916
- id : string
1917
- useranswers : IUseranswer[]
1918
- }
1919
-
1920
-
1921
- export interface IFinancingOption{
1922
- name : string
1923
- years : number
1924
- interest : number
1925
- min : number
1926
- max : number
1927
- title ?: string
1928
- description ?: string
1929
- type ?: string
1930
- link ?: string
1931
- autoapplied ?: boolean
1932
- }
1933
- export interface IManufacturer extends ICompany{
1934
- appliances ?: IAppliance[]
1935
- ventilationsystems ?: IVentilationsystem[]
1936
- }
1937
-
1938
- export interface IAppliancetype{
1939
- name : string
1940
- id : string
1941
- deleted : boolean
1942
- sortorder : number
1943
- appliances ?: IAppliance[]
1944
- }
1945
-
1946
- export interface IVentilationsystemtype{
1947
- name : string
1948
- id : string
1949
- deleted : boolean
1950
- sortorder : number
1951
- ventilationsystems ?: IVentilationsystem[]
1952
- electricitycost ?: number
1953
- }
1954
-
1955
- export interface IHeatingappliancetype{
1956
- name : string
1957
- id : string
1958
- deleted : boolean
1959
- sortorder : number
1960
- heatingappliances ?: IHeatingappliance[]
1961
- }
1962
- export interface IWaterheatertype{
1963
- name : string
1964
- id : string
1965
- deleted : boolean
1966
- sortorder : number
1967
- waterheaters ?: IWaterheater[]
1968
- }
1969
-
1970
- export interface IWaterheaterCwclass{
1971
- name : string
1972
- deleted : boolean
1973
- sortorder : number
1974
- waterheaters ?: IWaterheater[]
1975
- }
1976
-
1977
- export interface IAppliance{
1978
- name : string
1979
- id : string
1980
- deleted : boolean
1981
- sortorder : number
1982
- userdataid ?: string
1983
- userdata ?: IUserdata
1984
- manufacturerid ?: string
1985
- manufacturer ?: IManufacturer
1986
- appliancetypeid ?: string
1987
- appliancetype ?: IAppliancetype
1988
- buildyear : number
1989
- needsreplacing : boolean
1990
- othermanufacturer ?: string
1991
-
1992
- heatingappliance ?: IHeatingappliance
1993
-
1994
- connectedtoheating ?: boolean
1995
- connectedtowarmwater ?: boolean
1996
- amount ?: number
1997
- }
1998
- export interface IVentilationsystem{
1999
- name : string
2000
- id : string
2001
- deleted : boolean
2002
- sortorder : number
2003
- userdataid ?: string
2004
- userdata ?: IUserdata
2005
- manufacturerid ?: string
2006
- manufacturer ?: IManufacturer
2007
- ventilationsystemtypeid ?: string
2008
- ventilationsystemtype ?: IVentilationsystemtype
2009
- buildyear : number
2010
- needsreplacing : boolean
2011
- othermanufacturer ?: string
2012
- }
2013
-
2014
- export interface IHeatingappliance{
2015
- heatingappliancetypeid ?: string
2016
- heatingappliancetype ?: IHeatingappliancetype
2017
- }
2018
-
2019
- export interface IWaterheater{
2020
- appliance : IAppliance
2021
- waterheatertypeid ?: string
2022
- waterheatertype ?: IWaterheatertype
2023
- waterheatercwclassid ?: string
2024
- waterheatercwclass ?: IWaterheaterCwclass
2025
-
2026
- }
2027
-
2028
- export interface ITag{
2029
- logged ?: ILogged
2030
- tagpostcodes ?: ITagpostcode[]
2031
- contacts ?: IContact[]
2032
- }
2033
-
2034
- export interface ITagpostcode{
2035
- logged ?: ILogged
2036
- tag ?: ITag
2037
- tagid ?: string
2038
- postcode ?: string
2039
- housenumber ?: string
2040
- extension ?: string
2041
- }
2042
-
2043
-
2044
- export interface IContactTag{
2045
- tag ?: ITag
2046
- tagid ?: string
2047
- contactid ?: string
2048
- contact ?: IContact
2049
- }
2050
-
2051
- export interface IQuestionnaireTag{
2052
- id : string
2053
- logged ?: ILogged
2054
- type ?: string
2055
- tagdependencies ?: IQuestionnaireTagDependency[]
2056
- }
2057
-
2058
- export interface IQuestionnaireTagDependency{
2059
- tag ?: IQuestionnaireTag
2060
- tagid ?: string
2061
- answeroption ?: IAnsweroption
2062
- answeroptionid ?: string
2063
- question ?: IQuestion
2064
- questionid ?: string
2065
- value ?: string
2066
- operator ?: string
2067
- }
2068
-
2069
-
2070
- export interface IAddress {
2071
- openbareRuimteNaam: string
2072
- korteNaam: string
2073
- huisnummer: number
2074
- postcode: string
2075
- woonplaatsNaam: string
2076
- nummeraanduidingIdentificatie: string
2077
- openbareRuimteIdentificatie: string
2078
- woonplaatsIdentificatie: string
2079
- adresseerbaarObjectIdentificatie: string
2080
- pandIdentificaties: string[]
2081
- }
2082
- export interface IAddressUitgebreid extends IAddress{
2083
-
2084
- typeAdresseerbaarObject: string,
2085
- adresseerbaarObjectGeometrie: {
2086
- punt: {
2087
- type : string,
2088
- coordinates : number[]
2089
- }
2090
- },
2091
- adresseerbaarObjectStatus: string
2092
- gebruiksdoelen: string[]
2093
- oppervlakte: number
2094
- oorspronkelijkBouwjaar: string[]
2095
- woonplaatsid : string
2096
- huisnummertoevoeging ?: string | number
2097
- huisletter ?: string
2098
- }
2099
-
2100
- export interface IBagData {
2101
- coordinates: number[]
2102
- buildyear: number
2103
- streetname: string
2104
- city: string
2105
- surface: number
2106
- input: IBAGPayload
2107
- woonplaatsid : string
2108
- extension ?: string | number
2109
- municipality ?: string
2110
- }
2111
-
2112
- export interface IBAGPayload {
2113
- postcode?: string
2114
- huisnummer?: number
2115
- exacteMatch?: boolean
2116
- huisnummertoevoeging?: string
2117
- huisletter?: string
2118
- }
2119
-
2120
-
2121
- export interface IAnnex{
2122
- id : string
2123
- logged ?: ILogged
2124
- userdataid ?: string
2125
- annexsides ?: IAnnexside[]
2126
- annextemplate ?: IAnnextemplate
2127
- annextemplateid ?: string
2128
- floors ?: IFloor[]
2129
- roofs ?: IRoof[]
2130
- walls ?: IWall[]
2131
- buildyear ?: number
2132
- shouldceilingbepaneled ?: boolean
2133
- }
2134
-
2135
- export interface IAnnexside{
2136
- deleted : boolean
2137
- id : string
2138
- sortorder : number
2139
- annexid ?: string
2140
- annex ?: IAnnex
2141
- annextemplateid ?: string
2142
- annextemplate ?: IAnnextemplate
2143
- attachedtohouse : boolean
2144
- attachedtoneighbour : boolean
2145
- width : number
2146
- height : number
2147
- deviationtopleft ?: number | null
2148
- deviationbottomright ?: number | null
2149
- sideno : number
2150
- }
2151
-
2152
- export interface IAnnextemplate{
2153
- id : string
2154
- logged ?: ILogged
2155
- userdataid ?: string
2156
- annexes ?: IAnnex[]
2157
- annexsides ?: IAnnexside[]
2158
- nr ?: number
2159
- surfacefloor ?: number
2160
- surfacewall ?: number
2161
- surfaceroof ?: number
2162
- percentageglassleft ?: number
2163
- percentageglassright ?: number
2164
- percentageglassback ?: number
2165
- percentageglassfront ?: number
2166
- wallreductionleft ?: number
2167
- wallreductionright ?: number
2168
- wallreductionback ?: number
2169
- wallreductionfront ?: number
2170
- floorunattachedfactor : number
2171
- }
2172
-
2173
-
2174
- export interface ISubscriptionplan{
2175
- id : string
2176
- logged ?: ILogged
2177
- partnerid ?: string
2178
- price : number
2179
- subscriptionplantype ?: ISubscriptionplantype
2180
- subscriptionplantypeid ?: string
2181
- subscriptions ?: ISubscription[]
2182
- vouchercodes ?: IVouchercode[]
2183
-
2184
- }
2185
- export interface ISubscription{
2186
- id : string
2187
- logged ?: ILogged
2188
- subscriptionplan ?: ISubscriptionplan
2189
- subscriptionplanid ?: string
2190
- contactid ?: string
2191
- vouchercodes ?: IVouchercode[]
2192
- }
2193
- export interface ISubscriptionplantype{
2194
- id : string
2195
- logged ?: ILogged
2196
- subscriptionplans ?: ISubscriptionplan[]
2197
- }
2198
-
2199
- export interface IVouchercode{
2200
- logged ?: ILogged
2201
- subscriptionid ?: string
2202
- subscriptionplanid ?: string
2203
- subscription ?: ISubscription
2204
- subscriptionplan ?: ISubscriptionplan
2205
- }
2206
-
2207
- export interface IExistingInsulationOnContactCreate{
2208
- rd ?: number
2209
- insulationtypeid ?: string
2210
- insulationmethodid ?: string
2211
- }
2212
- export interface IExitingHouseobjectsOnContactCreate{
2213
- floor ?: {
2214
- insulation ?: IExistingInsulationOnContactCreate
2215
- floortypeid ?: string,
2216
- }
2217
- roof ?: {
2218
- insulation ?: IExistingInsulationOnContactCreate
2219
- rooftypeid ?: string,
2220
- }
2221
- wall ?: {
2222
- insulation ?: IExistingInsulationOnContactCreate
2223
- walltypeid ?: string,
2224
- },
2225
- glass ?: {
2226
- houselevel : number,
2227
- glasstypeid ?: string,
2228
- windowframetypeid ?: string
2229
- }[]
2230
- }
2231
-
2232
- export interface IClimateMonth{
2233
- temperaturesInCelsius : {
2234
- sky : number
2235
- outside : number
2236
- ground : number
2237
- }
2238
- insolationInKwhPerm2 : {
2239
- n : number
2240
- w : number
2241
- e : number
2242
- s : number
2243
- horizontal : number
2244
- }
2245
- dayNightDivisionInPercentages : {
2246
- day : number
2247
- night : number
2248
- }
2249
- }
2250
-
2251
-
2252
- export interface IClimateYear{
2253
- months : {
2254
- "1" : IClimateMonth
2255
- "2" : IClimateMonth
2256
- "3" : IClimateMonth
2257
- "4" : IClimateMonth
2258
- "5" : IClimateMonth
2259
- "6" : IClimateMonth
2260
- "7" : IClimateMonth
2261
- "8" : IClimateMonth
2262
- "9" : IClimateMonth
2263
- "10" : IClimateMonth
2264
- "11" : IClimateMonth
2265
- "12" : IClimateMonth
2266
- }
2267
- }
2268
-
2269
- export interface IWeatherStation{
2270
- id : string
2271
- logged ?: ILogged
2272
- lat : number
2273
- long : number
2274
- height ?: number
2275
- climateyear ?: JSON
2276
- }
2277
-
2278
-
2279
-
2280
- type UserStateKeys = 'housebuild' | 'housecreationparams' | 'ventilationsystems' | 'calculationdata' | 'costs' | 'currentstate' | 'appliances' | 'usage' | 'floors' | 'walls' | 'windowframeparts' | 'installations' | 'existing' | 'draft' | 'ventilation' | 'solar' | 'usagecosts' | 'windowframes' | 'houselevels' | 'rooms' | 'contact' | 'userdata' | 'roofs'
2281
- type UserState = {
2282
- [k in UserStateKeys] : string
2283
- }
2284
-
2285
-
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
+ securityrole ?: ISecurityRole
16
+ securityroleid?: string | null
17
+ companyid?: string | null
18
+ areaactionid?: string | null
19
+ areaactioncollectionid ?: string | null
20
+ questionairelocked?: boolean
21
+ wantsnewsletter?: boolean
22
+ coordinates?:string
23
+ streetname?:string
24
+ city?:string
25
+ simpleid?:number
26
+ salutation?: string
27
+ crmid?: string
28
+ fullname?: string
29
+ vve ?: boolean
30
+ renter ?: boolean
31
+ files ?: IContactFile[]
32
+ notes ?: INote[]
33
+ lastlogindate?: Date
34
+ tags?: ITag
35
+ logged?: ILogged
36
+ legacy ?: boolean
37
+ locale ?: ILocale
38
+ localeid ?: string
39
+ weatherstationid ?: string
40
+ }
41
+ export interface INote{
42
+ id?: string | null
43
+ text ?: string
44
+ contactid ?: string
45
+ logged ?: ILogged
46
+ }
47
+
48
+ export interface ICompany extends ILogged {
49
+ logo?: string
50
+ senderemail?: string
51
+ website?: string
52
+ }
53
+
54
+ export interface IPartner extends ICompany {
55
+ termsandconditions?: string
56
+ measuredatas?: IMeasuredata[]
57
+ texts?: IText[]
58
+ areaactions?: IAreaaction[]
59
+ packages?: IPackage[]
60
+ questionsets?: IQuestionset[]
61
+ settings?: ISettings
62
+ abbreviatedname?: string
63
+ collectivebuys?: ICollectivebuy[]
64
+ }
65
+
66
+ export interface ICollectivebuy {
67
+ id?: string
68
+ partnerid?: string
69
+ }
70
+
71
+ export interface IContractor extends ICompany{
72
+ }
73
+
74
+ export interface IAdvice{
75
+ id:string | null;
76
+ userdataid ?: string;
77
+ status?:string;
78
+ usage?:string
79
+ adviceinfo?:string
80
+ advicedusage?:string
81
+ userinput?:string
82
+ advicedinput?:string
83
+ advicedstates?:string
84
+ workerresult?:string
85
+ calculatedmeasures?:string
86
+ logged ?: ILogged
87
+ }
88
+
89
+ export interface EtriasDBContact{
90
+ id:string | null;
91
+ email:string;
92
+ username:string;
93
+ password:string;
94
+ securityroleid:string | null;
95
+ companyid:string | null;
96
+ }
97
+
98
+ export interface ISecurityRole{
99
+ id:string;
100
+ name:string;
101
+ deleted:boolean;
102
+ menulist ?: string
103
+ }
104
+
105
+ export interface Article{
106
+ id:string;
107
+ title:string;
108
+ body: string;
109
+ }
110
+ export interface ILogged{
111
+ id: string;
112
+ name:string;
113
+ deleted:boolean;
114
+ sortorder:number;
115
+ createdate:Date
116
+ createcontact ?: IContact
117
+ translations ?: ITranslation[]
118
+ }
119
+
120
+ // used in etriasdb
121
+ export interface ITranslation{
122
+ id : string
123
+ deleted : boolean
124
+ sortorder : number
125
+ fields ?: string
126
+ locale ?: ILocale
127
+ localeid ?: string
128
+ logged ?: ILogged
129
+ loggedid ?: string
130
+ }
131
+
132
+ // used in woonplan
133
+ export interface ISitelabelTranslation{
134
+ id : string
135
+ name : string
136
+ deleted : boolean
137
+ sortorder : number
138
+ locale ?: ILocale
139
+ localeid ?: string
140
+ sitelabel ?: ISitelabel
141
+ sitelabelid ?: string
142
+ partnerid ?: string
143
+ }
144
+
145
+
146
+ export interface ISitelabel{
147
+ id : string
148
+ deleted : boolean
149
+ name : string
150
+ sortorder : number
151
+ translations ?: ISitelabelTranslation[]
152
+ }
153
+
154
+
155
+ export interface ILocale{
156
+ id : string
157
+ name : string
158
+ code ?: string
159
+ translations ?: ITranslation[] | ISitelabelTranslation[]
160
+ language ?: ILanguage
161
+ languageid ?: string
162
+ country ?: ICountry
163
+ countryid ?: string
164
+ contacts ?: IContact[]
165
+ }
166
+
167
+ export interface ICountry{
168
+ id : string
169
+ option : IOption
170
+ iso2 : string
171
+ iso3 : string
172
+ locales ?: ILocale[]
173
+ }
174
+
175
+ export interface ILanguage{
176
+ id : string
177
+ option : IOption
178
+ iso2 : string
179
+ iso3 : string
180
+ locales ?: ILocale[]
181
+ }
182
+
183
+
184
+
185
+ export interface IOption{
186
+ id : string
187
+ name : string
188
+ deleted : boolean
189
+ sortorder : number
190
+ }
191
+
192
+ export interface ILog{
193
+ id : string
194
+ name : string
195
+ deleted : boolean
196
+ sortorder : number
197
+ savedstate ?: string
198
+ dd : Date
199
+ ip ?: string
200
+ note ?: string
201
+ attachment ?: string
202
+ entityid ?: string
203
+ logactionid ?: string
204
+ contactid ?: string
205
+ }
206
+
207
+ export interface SignupForm{
208
+ salutation:string;
209
+ firstname:string;
210
+ infix:string;
211
+ lastname:string;
212
+ postcode:string;
213
+ housenumber:number;
214
+ extension:string;
215
+ phone:string;
216
+ mobile:string;
217
+ email:string;
218
+ password:string;
219
+ password_repeat:string;
220
+ conditions:boolean;
221
+ areaactionid: string;
222
+ partnerid: string;
223
+ areaactioncollectionid:string;
224
+ }
225
+
226
+ export interface CIASignupForm extends SignupForm{}
227
+ export interface MWASignupForm extends SignupForm{}
228
+
229
+ export interface SignupFormResponse{
230
+ status: string;
231
+ statuscode: number;
232
+ title?: string;
233
+ contact?:IContact;
234
+ }
235
+ export interface CIASignupFormResponse extends SignupFormResponse{}
236
+ export interface MWASignupFormResponse extends SignupFormResponse{}
237
+
238
+ export interface IUserdata{
239
+ id:string;
240
+ sourceid:string | null
241
+ contactid?:string | null
242
+ maxpanels?:number
243
+ openstairs?:boolean
244
+ openkitchen?:boolean
245
+ floorheating?:boolean
246
+ occupants?:number
247
+ showerprofile?:number
248
+ cookingprofile?:number
249
+ draftprofile?:number
250
+ maxinvestment?:number
251
+ cooksongas?:boolean
252
+ source?:string
253
+ buildyear?:number
254
+ surface?:number
255
+ usage ?: string
256
+ wetspotswalls ?: string
257
+ diyconstruction ?: boolean
258
+ circularconstruction ?: boolean
259
+ renovationconstruction ?: boolean
260
+ allowwallinsideinsulation ?: boolean
261
+ protectedstatus ?: string
262
+
263
+ flatroofshouldberedone ?: boolean
264
+ sloperoofshouldberedone ?: boolean
265
+ shouldceilingbepaneled ?: boolean
266
+ allowlowerceiling ?: string
267
+ housetemplateid ?: string
268
+ housetypeid ?: string
269
+
270
+ leftwallinmothermodel ?: string
271
+ orientationid ?: string
272
+
273
+ houselevelamount ?: number
274
+ roofshapeid ?:string
275
+ finishedquestionsets ?: string
276
+ userdatahousewishes ?: IUserdatahousewish[]
277
+ mothermodelid ?: string
278
+
279
+ preferessoundinsulating ?: boolean
280
+ forcerecalculation ?: boolean | null
281
+
282
+ experimentalfunctions ?: JSON
283
+ advicepreferences ?: IAdvicepreferences
284
+ }
285
+
286
+ export interface IAdvicepreferences{
287
+ replaceheatingfuel ?: Fuel[]
288
+ }
289
+
290
+ export interface IAnnualreport{
291
+ id : string
292
+ amount ?: string
293
+ type ?: string
294
+ year ?: string
295
+ occupants ?: string
296
+ userdataid ?:string
297
+ }
298
+ export interface IAveragecalcdata{
299
+ id : string
300
+ amount ?: string
301
+ occupants ?: string
302
+ profile ?: string
303
+ averagecalcdatatype ?: IAveragecalcdatatype
304
+ averagecalcdatatypeid ?: string
305
+ }
306
+
307
+ export interface IAveragecalcdatatype{
308
+ id : string
309
+ averagecalcdatas ?: IAveragecalcdata[]
310
+ }
311
+
312
+ export interface IOrientation{
313
+ logged ?: ILogged
314
+ name : string
315
+ id : string
316
+ }
317
+
318
+
319
+
320
+ export enum Housetypename {
321
+ terraced = "terraced-middle",
322
+ terracedright = "terraced-right" ,
323
+ terracedleft = "terraced-left" ,
324
+ semidetachedleft = "semi-detached-left",
325
+ semidetachedright = "semi-detached-right" ,
326
+ detached = "detached"
327
+ }
328
+
329
+ export type IHousetemplateCalculationDataPerHousetype = {
330
+ [key in Housetypename] : number
331
+ }
332
+
333
+ export interface IHousetype{
334
+ id : string
335
+ deleted : boolean
336
+ name : string
337
+ }
338
+
339
+ export interface IHousetemplateCalculationData{
340
+ windowenergylosses : IHousetemplateCalculationDataPerHousetype
341
+ windowaverageus : IHousetemplateCalculationDataPerHousetype
342
+ coldbridges : IHousetemplateCalculationDataPerHousetype
343
+ perimeter : IHousetemplateCalculationDataPerHousetype
344
+ wallenergylosses : IHousetemplateCalculationDataPerHousetype
345
+ roofenergylosses : IHousetemplateCalculationDataPerHousetype
346
+ floorenergylosses : IHousetemplateCalculationDataPerHousetype
347
+ windowsurfaces : IHousetemplateCalculationDataPerHousetype
348
+ wallsurfaces : IHousetemplateCalculationDataPerHousetype
349
+ roofsurfaces : IHousetemplateCalculationDataPerHousetype
350
+ floorsurfaces : IHousetemplateCalculationDataPerHousetype
351
+ flooruninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
352
+ walluninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
353
+ roofuninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
354
+ flooraverageus : IHousetemplateCalculationDataPerHousetype
355
+ wallaverageus : IHousetemplateCalculationDataPerHousetype
356
+ roofaverageus : IHousetemplateCalculationDataPerHousetype
357
+ usagesurface : number
358
+ graaddagenmaandmethode : number
359
+ graaddagenjaarmethode : number
360
+ insulatedreductionfactors : {
361
+ wall : number
362
+ floor : number | IHousetemplateCalculationDataPerHousetype | { u:number, factor:number }[]
363
+ roof : number
364
+ }
365
+ }
366
+
367
+ export interface IHousetemplateCalculationDataForHousetype{
368
+ windowenergylosses : number
369
+ windowaverageus : number
370
+ coldbridges : number
371
+ perimeter : number
372
+ wallenergylosses : number
373
+ roofenergylosses : number
374
+ floorenergylosses : number
375
+ windowsurfaces : number
376
+ wallsurfaces : number
377
+ roofsurfaces : number
378
+ floorsurfaces : number
379
+ flooruninsulatedreductionfactors : number
380
+ walluninsulatedreductionfactors : number
381
+ roofuninsulatedreductionfactors : number
382
+ flooraverageus : number
383
+ wallaverageus : number
384
+ roofaverageus : number
385
+ usagesurface : number
386
+ graaddagenmaandmethode : number
387
+ graaddagenjaarmethode : number
388
+ insulatedreductionfactors : {
389
+ wall : number
390
+ floor : number | IHousetemplateCalculationDataPerHousetype | { u:number, factor:number }[]
391
+ roof : number
392
+ }
393
+ energylossesPerm2 ?: {
394
+ wall : number
395
+ floor : number
396
+ roof : number
397
+ windowframepart : number
398
+
399
+ }
400
+ }
401
+
402
+ export interface IHousetemplate{
403
+ id ?: string | null
404
+ calculationdata ?: string
405
+ }
406
+
407
+ export interface ISolarApicall{
408
+ id:string
409
+ deleted:boolean
410
+ name?:string
411
+ sortorder?:number
412
+ energyconsumption:number | null
413
+ max:boolean
414
+ panels:number
415
+ yield:number
416
+ postcode:string
417
+ housenumber:number
418
+ extension:string | null
419
+ result:string | ISolarApiResponse | ISolarApiResult
420
+ module : number
421
+ }
422
+
423
+ export interface Quotation{
424
+ id:string
425
+ expiredate:Date
426
+ contractorid:string
427
+ adviceid:string
428
+ measuredataid?:string | null
429
+ quotationrequestid:string | null
430
+ investment?:number
431
+ status?:string
432
+ accepteddate?:Date
433
+ rejectdate?:Date
434
+ rejectreason?:string
435
+ }
436
+
437
+ export interface IFile{
438
+ id:string
439
+ originalfilename:string
440
+ folder?:string
441
+ bucket?:string
442
+ logged ?: ILogged
443
+ }
444
+ export interface QuotationFile extends IFile{
445
+ quotationid?:string | null
446
+ quotationrequestid?:string | null
447
+ }
448
+ export interface IContactFile extends IFile{
449
+ contactid?:string | null
450
+ category ?:string
451
+ }
452
+
453
+ export interface QuotationRequest{
454
+ id:string
455
+ measureid:string
456
+ measuredataid?:string | null
457
+ contractorid?:string | null
458
+ adviceid:string
459
+ status:string
460
+ data:JSON | null
461
+ files?:QuotationFile[]
462
+ logged ?: ILogged
463
+ canceldate ?: Date
464
+ }
465
+
466
+ export interface Collectivebuy{
467
+ id:string
468
+ expiredate:Date
469
+ partnerid:string
470
+ }
471
+
472
+ export interface ISaving{
473
+ amount ?: number
474
+ }
475
+
476
+ export interface IMeasuredata{
477
+ id:string
478
+ name:string
479
+ deleted:boolean
480
+ sortorder?:number
481
+ active?:boolean
482
+ displayname?:string
483
+ price_m2?:number
484
+ price_m?:number
485
+ price_per_object?:number
486
+ startamount?:number
487
+ rcvalue?:number
488
+ investment?:number
489
+ savingsfactor?:number
490
+ collectivebuyid?:string | null
491
+ contractorid?:string | null
492
+ measureid?:string | null
493
+ requiressurvey?:boolean
494
+ collectivebuystatus?:"now" | "future" | "never"
495
+ collectivebuyquotationpossible?:boolean
496
+ g_value ?: number
497
+ u_value ?: number
498
+ saving ?: number
499
+ wp ?: number
500
+ soundinsulating ?: boolean
501
+ circularconstruction ?: boolean
502
+ renovationconstruction ?: boolean
503
+ diyconstruction ?: boolean
504
+
505
+ insulationmethod ?: IInsulationmethod
506
+ insulationtype ?: IInsulationtype
507
+ insulationlocation ?: IInsulationlocation
508
+
509
+ insulationmethodid ?: string | null
510
+ insulationlocationid ?: string | null
511
+ insulationtypeid ?: string | null
512
+ glasstypeid ?: string | null
513
+ glasstype ?: IGlasstype
514
+
515
+ spf_vw ?: number
516
+ spf_ww ?: number
517
+ heatingpower ?: number
518
+ savings ?: ISaving[]
519
+
520
+ measure ?: IMeasure
521
+ panels ?: number
522
+
523
+ reinvestments ?: IReinvestment[]
524
+ maintenances ?: IMaintenance[]
525
+
526
+ questionsetids ?: string
527
+
528
+ thickness ?: number
529
+
530
+ floorid ?: string | null
531
+ wallid ?: string | null
532
+ roofid ?: string | null
533
+ windowframepartid ?: string | null
534
+ partnerid ?: string
535
+ v2 ?: boolean
536
+ electricitycost ?: number
537
+ isde_amount ?: number
538
+ }
539
+
540
+ export interface IMaintenance{
541
+ id : string
542
+ investment ?: string
543
+ years ?: string
544
+ measuredataid ?: string
545
+ }
546
+
547
+ export interface IReinvestment{
548
+ id : string
549
+ investment ?: string
550
+ years ?: string
551
+ measuredataid ?: string
552
+ }
553
+
554
+ export interface IGlasstype{
555
+ id : string
556
+ deleted : boolean
557
+ hidden : boolean
558
+ maximumbuildyear : number
559
+ sortorder : number
560
+ measuredatas ?: IMeasuredata[]
561
+ gvalue : number
562
+ uvalue : number
563
+ name : string
564
+ image ?: string | null
565
+ }
566
+
567
+ export interface IMeasuredatainterestedcontact{
568
+ measuredataid:string
569
+ contactid:string
570
+ }
571
+
572
+ export interface IText{
573
+ id:string
574
+ title: string | null
575
+ body: string | null
576
+ localeid?: string | null
577
+ partnerid?: string | null
578
+ }
579
+
580
+ export interface IContent{
581
+ id:string
582
+ fullyqualifiedaction : string | null
583
+ subtitle?: string | null
584
+ excerpt?: string | null
585
+ searchbox?: string | null
586
+ actionsbox?: string | null
587
+ htmltitle?: string | null
588
+ htmlkeywords?: string | null
589
+ htmldescription?: string | null
590
+ link?: string | null
591
+ parentid?: string | null
592
+ areaactionid?: string | null
593
+ contentimages?: IContentimage[] | null
594
+ }
595
+
596
+ export interface IContentimage {
597
+ id: string
598
+ name?: string | null
599
+ deleted?: boolean | null
600
+ sortorder?: number | null
601
+ contentitem?: IContent | null
602
+ image?: IImage | null
603
+ }
604
+
605
+ export interface IImage {
606
+ id: string
607
+ path?: string | null
608
+ alt?: string | null
609
+ description?: string | null
610
+ originalname?: string | null
611
+ contentimages?: IContentimage[] | null
612
+ metadata?: ILogged | null
613
+ }
614
+
615
+ export interface IMeasuretext{
616
+ id:string
617
+ measureid ?: string | null
618
+ measuredataid ?: string | null
619
+ excerpt ?: string | null
620
+ }
621
+
622
+ export interface QuotationRequestForm{
623
+ measuredataid : string
624
+ measureid : string
625
+ contractorid : string
626
+ }
627
+
628
+ export interface IAppointment{
629
+ id: string
630
+ status?: string
631
+ start?: Date
632
+ end?: Date
633
+ userdataid?: string | null
634
+ surveyorid?: string | null
635
+ needspayment?: true | false
636
+ price? : number
637
+ name?: string
638
+ }
639
+
640
+ export interface ICreateAppointmentParams{
641
+ appointmentId: string
642
+ agendaId: string
643
+ appointmentTypeId: string
644
+ start: Date
645
+ end: Date
646
+ userdataId : string
647
+ customerId : string
648
+ }
649
+
650
+ export interface IAppointmentFormParams{
651
+ agendaId: number
652
+ appointmentTypeId: number
653
+ startDate: string
654
+ endDate: string
655
+ measuredataids : string[]
656
+ }
657
+
658
+ export interface ISettings {
659
+ "2fa"?: "email"
660
+ "ga-api-key"?: string
661
+ "ga-code"?: string
662
+ "gtm-code"?: string
663
+ adviceUrl?: string
664
+ cava?: ICavaSettings
665
+ createProjectInPerfectview?: boolean
666
+ houseScan?: {
667
+ houseScan ?: '1' | '0'
668
+ }
669
+ customSubsidyActive ?: '1' | '0'
670
+ customSubsidyUrl ?: string
671
+ customSubsidyText ?: string
672
+ customSubsidyEmail ?: string
673
+ customSubsidyPhone ?: string
674
+ customSubsidyTitle ?: string
675
+ customSubsidyCalculationMax ?: string
676
+ customSubsidyCalculationMin ?: string
677
+ initialQuestionsetP?: number
678
+ showNewsletterOptIn?: boolean
679
+ mailchimp?: IMailchimpSettings
680
+ pipedrive?: { apiKey: string }
681
+ pipedriveActivity?: {
682
+ initialDoneState: boolean
683
+ subject: string
684
+ type: number | string
685
+ }
686
+ pipedrivePersonFields?:{
687
+ pipedrivePersonFieldName: string
688
+ pipedrivePersonFieldMapping: string
689
+ }
690
+ pipedriveDealFields?:{
691
+ pipedriveDealFieldName: string
692
+ pipedriveDealFieldMapping: string
693
+ }
694
+ mollie?: { apiKey: string }
695
+ municipalityManagesLandingPage?: boolean
696
+ onlineAfsprakenActive?: number
697
+ onlineAfsprakenAgendaId?: number
698
+ onlineAfsprakenAppointmentTypeId?: number
699
+ perfectview?: IPerfectviewSettings
700
+ perfectviewProject?: IPerfectviewProject
701
+ priceMargin?: IPriceMargin
702
+ primaryPackage?: string
703
+ quotationSalesContact?: string
704
+ showCollectiveHeatSourceText?: boolean
705
+ showPackages?: boolean
706
+ startpercentagequestionaire?: number
707
+ automaticMothermodelselection ?: 1 | 0
708
+ automaticMothermodelAreaactionSource ?: string
709
+ surfaceCalculation ?: 1 | 0
710
+ solarpanelmodule ?: string
711
+ notAvailableMeasures ?: string
712
+ canChangeSoundInsulating ?: "1" | "0"
713
+ canChangeDIYInsulating ?: "1" | "0"
714
+
715
+ municipalFinancingText ?: string
716
+ municipalFinancingTitle ?: string
717
+ municipalFinancingUrl ?: string
718
+ municipalFinancingRepayment ?: {
719
+ municipalFinancingDefaultOption: string
720
+ municipalFinancingRepaymentYear: string,
721
+ municipalFinancingRepaymentPercentage: string
722
+ }
723
+ municipalFinancingCalculation ?: {
724
+ municipalFinancingCalculationMax: string
725
+ municipalFinancingCalculationMin: string
726
+ }
727
+
728
+
729
+ hasISDESubsidy ?: string
730
+ ISDESubsidyUrl ?: string
731
+ ISDESubsidyCalculation ?: {
732
+ ISDESubsidyCalculationMax: string
733
+ ISDESubsidyCalculationMin: string
734
+ }
735
+ ISDESubsidyTitle ?: string
736
+ ISDESubsidyText ?: string
737
+
738
+
739
+ hasMunicipalSubsidy?: string
740
+ municipalSubsidyUrl?: string
741
+ municipalSubsidyCalculation?: {
742
+ municipalSubsidyCalculationMin: string
743
+ municipalSubsidyCalculationMax: string
744
+ }
745
+ municipalSubsidyTitle?: string
746
+ municipalSubsidyText?: string
747
+
748
+
749
+ hasNationalFinancing ?: string
750
+ 'buildyear-gt-1995-quotations-contractor' ?: string
751
+ 'buildyear-lte-1995-quotations-contractor' ?: string
752
+ gamification ?: "1" | "0"
753
+ showQuotationReadon ? : "1" | "0"
754
+ isVve ? : "1" | "0"
755
+ allowedMunicipalities ?: string
756
+ iframemode ?: "1" | "0"
757
+ hideprintbtn ?: "1" | "0"
758
+ showuinsteadofrc ?: "1" | "0"
759
+ hideMenuItems?: {
760
+ "my-home"?: boolean | "1" | "0"
761
+ "my-advice"?: boolean | "1" | "0"
762
+ "advice-and-support"?: boolean | "1" | "0"
763
+ "measures"?: boolean | "1" | "0"
764
+ "quotations"?: boolean | "1" | "0"
765
+ "faq"?: boolean | "1" | "0"
766
+ "about-us"?: boolean | "1" | "0"
767
+ "contact"?: boolean | "1" | "0"
768
+ }
769
+ powerbi ?: string
770
+ myhouseeditor ?: "1" | "0"
771
+ skipFirstQuestionnaire ?: "1" | "0"
772
+ showContrastSwitch ?: "1" | "0"
773
+ showTextZoomSwitch ?: "1" | "0"
774
+
775
+ heatNetworkTemperature ?: string
776
+
777
+ colors?: IColors
778
+ backgrounds?: string[]
779
+ favicon?: string
780
+
781
+ powerbiapi ?: {
782
+ reportid ?: string,
783
+ datasetid ?: string
784
+ }
785
+
786
+ dontsendemailaftersignup ?: '1' | '0'
787
+ }
788
+
789
+ export interface IColors {
790
+ [key:string] : string
791
+ }
792
+
793
+ export interface IMailchimpSettings {
794
+ apiKey?: string
795
+ audienceId?: string
796
+ }
797
+
798
+
799
+ export interface IPerfectviewSettings {
800
+ ApiKey?: string
801
+ DatabaseId?: string
802
+ UserId?: string
803
+ }
804
+
805
+ export interface ICavaSettings {
806
+ pvMark?: string
807
+ pvMarkCategory?: string
808
+ }
809
+
810
+ export interface IPerfectviewProject {
811
+ phase?: string
812
+ type?: string
813
+ }
814
+
815
+ export interface IPackage {
816
+ id: string
817
+ name ?: string
818
+ packagemeasures ?: IPackageMeasure[]
819
+ }
820
+
821
+ export interface IPackageMeasure{
822
+ id : string
823
+ packageid ?: string
824
+ measureid ?: string
825
+ step ?: number
826
+ showinlist : boolean
827
+ package ?: IPackage
828
+ measure ?: IMeasure
829
+ }
830
+
831
+ export interface IPriceMargin {
832
+ priceMarginMin?: number
833
+ priceMarginMax?: number
834
+ }
835
+
836
+ export interface IPrice {
837
+ currency: string
838
+ value: string
839
+ }
840
+
841
+ export interface IPSPStatusUpdate {
842
+ mollieid: string
843
+ }
844
+
845
+
846
+ export interface IPayment {
847
+ id: string,
848
+ deleted: boolean,
849
+ mollieid: string,
850
+ price: IPrice
851
+ description: string,
852
+ createdat: string,
853
+ updatedat: string,
854
+ status: string,
855
+ appointmentid?: string,
856
+ checkouturl?: string
857
+ subscriptionid ?: string
858
+ }
859
+
860
+ export interface IOnlineAfsprakenSettings{
861
+ apiKey: string
862
+ apiSecret: string
863
+ appointmentTypeId: number
864
+ agendaId: number
865
+ }
866
+
867
+
868
+ export interface IGetBookableDaysParams {
869
+ userdataid: string,
870
+ ResourceId?: string,
871
+ StartDate: string // YYYY-MM-DD
872
+ EndDate: string // YYYY-MM-DD
873
+ settings?:IOnlineAfsprakenSettings
874
+ }
875
+
876
+ export interface IGetBookableTimesParams {
877
+ Date: string // YYYY-MM-DD
878
+ userdataid: string,
879
+ ResourceId?: string,
880
+ EndDate?: string // YYYY-MM-DD
881
+ settings?:IOnlineAfsprakenSettings
882
+ }
883
+
884
+ export interface IBookableday{
885
+ Date: string;
886
+ Month:number
887
+ Day:number
888
+ Year?:number
889
+ JSDate?:Date
890
+ UTCDate?: string
891
+ }
892
+
893
+
894
+ export interface IBookabletime{
895
+ Date: string;
896
+ StartTime: string,
897
+ LabelTime: string
898
+ EndTime: string,
899
+ Timestamp: number,
900
+ JSDateStart?:Date
901
+ JSDateEnd?:Date
902
+ UTCDateStart?: string
903
+ UTCDateEnd?: string
904
+ }
905
+
906
+
907
+
908
+ export interface IBagData {
909
+ coordinates: number[]
910
+ buildyear: number
911
+ streetname: string
912
+ city: string
913
+ surface:number
914
+ }
915
+
916
+ export interface IWssProject{
917
+ id : string
918
+ name : string
919
+ }
920
+ export interface IWssAddress{
921
+ id : string
922
+ postcode : string
923
+ housenumber : number
924
+ extension : string
925
+ projectid : string
926
+ tags : string[]
927
+ }
928
+ export interface IWssTag{
929
+ id : string
930
+
931
+ }
932
+
933
+ export interface IHouseobject{
934
+ deleted ?: boolean
935
+ id ?: string
936
+ name ?: string
937
+ sortorder ?: number
938
+ surface ?: number
939
+ measuredatas ?: IMeasuredata[]
940
+ rcvalue ?: number
941
+ u_value ?: number
942
+ }
943
+
944
+ export interface IHouselevel{
945
+ id : string
946
+ deleted : boolean
947
+ sortorder : number
948
+ userdataid ?: string | null
949
+ heated : boolean
950
+ walkable: boolean
951
+ used: boolean
952
+ haskitchenorlivingroom: boolean
953
+ heatinghours : number
954
+ averagetemp ?: number
955
+ maxovertemp ?: number
956
+ }
957
+
958
+ export interface IHouse{
959
+ windowframeparts : IWindowframepart[],
960
+ floors : IFloor[],
961
+ walls : IWall[],
962
+ roofs : IRoof[],
963
+ houselevels : IHouselevel[]
964
+ }
965
+
966
+ export interface IAbstractHouseObjectType{
967
+ deleted ?: boolean
968
+ id ?: string
969
+ sortorder ?: number
970
+ name ?: string
971
+ }
972
+
973
+ export interface IFloortype extends IAbstractHouseObjectType{
974
+ lambda ?: number
975
+ rcvalue ?: number
976
+ image ?: string | null
977
+ }
978
+
979
+ export interface IRooftype extends IAbstractHouseObjectType{
980
+ image ?: string | null
981
+ }
982
+
983
+ export interface IWalltype extends IAbstractHouseObjectType{
984
+ image ?: string
985
+ }
986
+
987
+
988
+ export interface IWindowframeparttype extends IAbstractHouseObjectType{
989
+ }
990
+
991
+ export interface IWallfinish{
992
+ deleted ?: boolean
993
+ id ?: string
994
+ sortorder ?: number
995
+ name ?: string
996
+ image ?: string | null
997
+ }
998
+ export interface IRoofshape{
999
+ deleted ?: boolean
1000
+ id ?: string
1001
+ sortorder ?: number
1002
+ name ?: string
1003
+ }
1004
+
1005
+ export interface IRoofing{
1006
+ deleted ?: boolean
1007
+ id ?: string
1008
+ sortorder ?: number
1009
+ name ?: string
1010
+ roofs ?: IRoof[]
1011
+ image ?: string | null
1012
+ }
1013
+
1014
+ export interface ICrawlspace{
1015
+ deleted ?: boolean
1016
+ id ?: string | null
1017
+ sortorder ?: number
1018
+ accessible ?: boolean
1019
+ pumpable ?: boolean
1020
+ cluttered ?: boolean
1021
+ height ?: number
1022
+ wet ?: string | null
1023
+ houselevelid ?: string | null
1024
+
1025
+ crawlspacesinfloor ?: ICrawlspaceinfloor[]
1026
+
1027
+ }
1028
+ export interface ICrawlspaceinfloor{
1029
+ deleted ?: boolean
1030
+ id ?: string | null
1031
+ sortorder ?: number
1032
+ floorid ?: string | null
1033
+ crawlspaceid ?: string
1034
+ surface ?: number
1035
+ }
1036
+ export interface IFloorinroom{
1037
+ deleted ?: boolean
1038
+ id ?: string | null
1039
+ sortorder ?: number
1040
+ floorid ?: string
1041
+ roomid ?: string
1042
+ surface ?: number
1043
+ room ?: IRoom
1044
+ }
1045
+
1046
+ export interface IFloor extends IHouseobject{
1047
+ floortypeid ?: string | null
1048
+ floortype ?: IFloortype
1049
+ crawlspaces ?: ICrawlspace[]
1050
+ historic ?: boolean
1051
+ woodneedsreplacing ?: string
1052
+ woodandbeamsneedsreplacing ?: string
1053
+ flatbottom ?: boolean
1054
+ crawlspacesinfloor ?: ICrawlspaceinfloor[]
1055
+ basementhasceiling ?: boolean
1056
+ basementunderneath ?: boolean
1057
+ rcvalue ?: number
1058
+ floorinrooms ?: IFloorinroom[]
1059
+ allowcarpetingtoberemoved ?: boolean
1060
+ preferredcarpeting ?: string
1061
+
1062
+ annexid ?: string
1063
+ annex ?: IAnnex
1064
+
1065
+ houselevelid ?: string
1066
+ }
1067
+
1068
+
1069
+ export interface ISide{
1070
+ name : string
1071
+ deleted : boolean
1072
+ id : string
1073
+ sortorder : number
1074
+ }
1075
+
1076
+ export interface IWall extends IHouseobject{
1077
+ shadowpercentage ?: number
1078
+ angle ?: number
1079
+ side ?: ISide
1080
+ sideid ?: string | null
1081
+ walltypeid ?: string | null
1082
+ walltype ?: IWalltype
1083
+ insulationonownrisk ?: boolean
1084
+ wallfinishid ?: string | null
1085
+ wallfinish ?: IWallfinish
1086
+ protectedstatus ?: string
1087
+ aircavity ?: boolean
1088
+ rcvalue ?: number
1089
+ thicknesscavity ?: number
1090
+ housetypeid ?: string | null
1091
+ grosssurface ?: number
1092
+
1093
+ monumentaloutside ?: boolean
1094
+ monumentalinside ?: boolean
1095
+
1096
+ annexid ?: string
1097
+ annex ?: IAnnex
1098
+
1099
+ }
1100
+
1101
+ export interface IRoom extends IHouseobject{
1102
+ houselevel ?: IHouselevel
1103
+ houselevelid ?: string
1104
+ roofs ?: IRoof[]
1105
+ windowframes ?: IWindowframe[]
1106
+ floorinrooms ?: IFloorinroom[]
1107
+ heated : boolean
1108
+ walkable : boolean
1109
+ accessible : boolean
1110
+ isattic : boolean
1111
+ used : boolean
1112
+
1113
+ }
1114
+
1115
+ export interface IRoof extends IHouseobject{
1116
+ shadowpercentage ?: number
1117
+ angle ?: number
1118
+ rooftypeid ?: string | null
1119
+ rooftype ?: IRooftype
1120
+ slope ?: boolean
1121
+ ridgeheight ?: number
1122
+ ceilingboarded ?: boolean
1123
+ roofingid ?: string | null
1124
+ roofing ?: IRoofing
1125
+ sideid ?: string | null
1126
+ side ?: ISide
1127
+ rcvalue ?: number
1128
+ housetypeid ?: string | null
1129
+
1130
+ roomid ?: string | null
1131
+ room ?: IRoom
1132
+
1133
+ hasknieschot ?: boolean
1134
+ knieschotbacksideaccessible ?: boolean
1135
+ knieschotenoughspace ?: boolean
1136
+ knieschotrunningmeters ?: number
1137
+ buildyear ?: number | null
1138
+ protectedstatus ?: string | null
1139
+ protectedstatusside ?: string | null
1140
+ roofplanelocation ?: string | null
1141
+ roofboardingthickness ?: number
1142
+ beamsheight ?: number
1143
+ flat_edgeheight ?: number
1144
+ flat_edgerunningmeters ?: number
1145
+ flat_opgaandegevelheight ?: number
1146
+ hellend_opgaandegevelheight ?: number
1147
+ hellend_lokettenrunningmeters ?: number
1148
+ flat_voetloodrunningmeters ?: number
1149
+
1150
+ replaceroofsheathing ?: boolean
1151
+ replaceraftersorjoists ?: boolean
1152
+
1153
+ annexid ?: string
1154
+ annex ?: IAnnex
1155
+ }
1156
+
1157
+ export interface IWindowframe extends IHouseobject{
1158
+ userdataid ?: string | null
1159
+ userdata ?: IUserdata
1160
+ wall ?: IWall
1161
+ sideid ?: string | null
1162
+ side ?: ISide
1163
+ wallid ?: string | null
1164
+ roomid ?: string | null
1165
+ houselevelid ?: string | null
1166
+ windowframetypeid ?: string | null
1167
+ windowframetype ?: IWindowframetype
1168
+ width : number
1169
+ height : number
1170
+ needreplacing ?: boolean
1171
+ housetypeid ?: string | null
1172
+
1173
+ room ?: IRoom
1174
+ }
1175
+
1176
+ export interface IWindowframepart extends IHouseobject{
1177
+ framewidth ?: number
1178
+ frameheight ?: number
1179
+ glasswidth ?: number
1180
+ glassheight ?: number
1181
+ leftcasinglength ?: number
1182
+ rightcasinglength ?: number
1183
+ bottomstoollength ?: number
1184
+ topstoollength ?: number
1185
+ shadowpercentage ?: number
1186
+
1187
+ windowframeparttypeid ?: string | null
1188
+ windowframeid ?: string | null
1189
+ windowframe ?: IWindowframe
1190
+ windowframetype ?: IWindowframetype
1191
+ side ?: ISide
1192
+ }
1193
+
1194
+ export interface IWindowframetype extends IAbstractHouseObjectType{
1195
+ uvalue ?: number
1196
+ }
1197
+
1198
+ export interface IRule{
1199
+ id : string
1200
+ energylossid ?: string | null
1201
+ floortypeid ?: string | null
1202
+ glasstypeid ?: string | null
1203
+ roofingid ?: string | null
1204
+ roofshapeid ?: string | null
1205
+ rooftypeid ?: string | null
1206
+ wallfinishid ?: string | null
1207
+ walltypeid ?: string | null
1208
+ windowframeparttypeid ?: string | null
1209
+ packageid ?: string | null
1210
+ rulesetid ?: string | null
1211
+ ruletypeid ?: string | null
1212
+ measuredataid ?: string | null
1213
+ targetMeasureid ?: string | null
1214
+ gasfreeoptionid ?: string | null
1215
+ measuretypeid ?: string | null
1216
+ insulationlocationid ?: string | null
1217
+ insulationmethodid ?: string | null
1218
+ insulationtypeid ?: string | null
1219
+ ventilationsystemtypeid ?: string | null
1220
+ field ?: string
1221
+ operator ?: string
1222
+ value ?: string
1223
+ }
1224
+
1225
+
1226
+ export interface IGasfreeoption{
1227
+ id : string
1228
+ name : string
1229
+ deleted : boolean
1230
+ sortorder : number
1231
+ riskfactor : number
1232
+ gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
1233
+ measures ?: IMeasure[]
1234
+ }
1235
+ export interface IGasfreeoptionmeasure{
1236
+ id : string
1237
+ name : string
1238
+ deleted : boolean
1239
+ sortorder : number
1240
+ measureid : string
1241
+ gasfreeoptionid : string
1242
+ gasfreeoption ?: IGasfreeoption
1243
+ }
1244
+
1245
+
1246
+ export interface IMeasure {
1247
+ id : string
1248
+ gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
1249
+ measuredatas ?: IMeasuredata[]
1250
+ measuretypeid ?: string | null
1251
+ measuretype ?: IMeasuretype
1252
+ logged : ILogged
1253
+
1254
+ insulationmethods ?: IInsulationmethod[]
1255
+ insulationtypes ?: IInsulationtype[]
1256
+ insulationlocations ?: IInsulationlocation[]
1257
+ rejected ?: {
1258
+ measuredata : IMeasuredata,
1259
+ reasons : string[]
1260
+ }[]
1261
+ }
1262
+
1263
+
1264
+ export interface IMeasuretype{
1265
+ id : string
1266
+ measures ?: IMeasure[]
1267
+ logged : ILogged
1268
+ }
1269
+
1270
+
1271
+
1272
+ export interface ISolarApiAddress {
1273
+ add_on: string
1274
+ addition: string
1275
+ city: string
1276
+ country: string
1277
+ hid: number
1278
+ lat: number
1279
+ lon: number
1280
+ municipality: string
1281
+ number: number
1282
+ postal: string
1283
+ project: string
1284
+ spc_id: number
1285
+ spc_key: string
1286
+ street: string
1287
+ }
1288
+ export interface ISolarApiBagdata {
1289
+ building_add_on: string | null,
1290
+ building_addition: string | null,
1291
+ building_area: number,
1292
+ building_function: string
1293
+ building_number: number,
1294
+ building_postcode: string
1295
+ building_status: string
1296
+ id_nummeraanduiding: string
1297
+ id_openbareruimte: string
1298
+ id_plaats: string
1299
+ id_verblijfsobject: string
1300
+ pand_building_year: number
1301
+ pand_status: string
1302
+ }
1303
+
1304
+ export interface ISolarApiCalculationParamaters{
1305
+ harging_station: boolean
1306
+ costs_insurance: number
1307
+ costs_other: number
1308
+ costs_service: number
1309
+ degradation:number
1310
+ eeg_umlage: any | null,
1311
+ emobility: boolean,
1312
+ energy_consumption: number,
1313
+ energy_price:number
1314
+ energy_price_increase: number
1315
+ feed_in_rate_kwh: number
1316
+ inflation: number
1317
+ load_profile: boolean,
1318
+ scaffold_factor: number
1319
+ scaffold_price_increase: number
1320
+ solar_thermal: boolean,
1321
+ storage: boolean,
1322
+ storage_information: { kwh_brutto: number }
1323
+ subsidy_per_kwp: number
1324
+ system_loss: number
1325
+ }
1326
+
1327
+ export interface ISolarApiData {
1328
+ autarky: number
1329
+ building_area: number
1330
+ co2_savings: number
1331
+ cost_charging_station: number
1332
+ cost: number
1333
+ cost_charging_station_excl_vat: number
1334
+ cost_excl_vat: number
1335
+ cost_pv_excl_vat: number
1336
+ cost_pv: number
1337
+ cost_storage_excl_vat: number
1338
+ cost_storage: number
1339
+ forecasted_years: number
1340
+ energy_consumption: number
1341
+ global_mean_barely_suited: number
1342
+ global_mean_suited: number
1343
+ global_mean_well_suited: number
1344
+ kwp: number
1345
+ max_energy: number
1346
+ max_energy_barely_suited: number
1347
+ max_energy_suited: number
1348
+ max_energy_well_suited: number
1349
+ max_kwp: number
1350
+ max_kwp_barely_suited: number
1351
+ max_kwp_suited: number
1352
+ max_kwp_well_suited: number
1353
+ max_panels: number
1354
+ months_until_payback: number
1355
+ number_of_panels: number
1356
+ own_consumption: number
1357
+ percent_roi: number
1358
+ profit: number
1359
+ pv_area_barely_suited: number
1360
+ pv_area_suited: number
1361
+ pv_area_well_suited: number
1362
+ st_area_suited: number
1363
+ st_area_well_suited: number
1364
+ st_max_area: number
1365
+ st_max_kwhpa_flat: number
1366
+ st_max_kwhpa_vacuum: number
1367
+ st_max_number_of_panels: number
1368
+ street: string
1369
+ subsidy_one_time: number
1370
+ suitability: string
1371
+ suitability_st: string
1372
+ total_income: number
1373
+ total_plant_roof_area: number
1374
+ total_plant_surface: number
1375
+ yearly_income: number
1376
+ yearly_yield: number
1377
+ years_until_payed_back: number
1378
+ }
1379
+
1380
+ export interface ISolarApiMapLayer {
1381
+ name: string
1382
+ url: string
1383
+ }
1384
+
1385
+ export interface ISolarApiModule {
1386
+ Wp: number,
1387
+ cost_per_kwp: number,
1388
+ height: number,
1389
+ ident: number | null,
1390
+ name: string,
1391
+ size:number,
1392
+ width: number
1393
+ module_id : number
1394
+ }
1395
+
1396
+ export interface ISolarApiPlantData{
1397
+ estimated_yield:number,
1398
+ kwp: number,
1399
+ module: ISolarApiModule,
1400
+ number_of_modules: number,
1401
+ orientation: number,
1402
+ roof_id: number,
1403
+ scaffold: boolean,
1404
+ tilt: number
1405
+ }
1406
+
1407
+ export interface ISolarApiPlant{
1408
+ data: ISolarApiPlantData,
1409
+ mp: string
1410
+ type: string
1411
+ }
1412
+
1413
+ export interface ISolarApiRequest {
1414
+ add_on: string
1415
+ addition: string
1416
+ api_type: string
1417
+ auth: string
1418
+ moduleplacer: boolean
1419
+ number: string
1420
+ postal: string
1421
+
1422
+ }
1423
+
1424
+ export interface ISolarApiPendingResult{
1425
+ building_area : number
1426
+ building_geom : string
1427
+ building_hid : number
1428
+ building_project : boolean
1429
+ buildings_in_queue : number
1430
+ est_absolute_calculation_time_building : number
1431
+ est_finish_time : string
1432
+ requested_time : string
1433
+ servertime : string
1434
+ status : number
1435
+ status_word : string
1436
+ }
1437
+
1438
+ export interface ISolarApiResult{
1439
+ address : ISolarApiAddress
1440
+ bagdata : ISolarApiBagdata[]
1441
+ buildingwkt : string
1442
+ calculation_parameters : ISolarApiCalculationParamaters
1443
+ data : ISolarApiData
1444
+ href : string
1445
+ individual_data : any
1446
+ map_layers : ISolarApiMapLayer[]
1447
+ monuments : {
1448
+ monument_areas: [],
1449
+ national_monuments: []
1450
+ }
1451
+ plants : ISolarApiPlant[],
1452
+ images : {
1453
+ radiation : string,
1454
+ radiation_large:string,
1455
+ roofs : string,
1456
+ roofs_large:string
1457
+ }
1458
+ }
1459
+
1460
+ export interface ISolarApiResponse {
1461
+ request : ISolarApiRequest
1462
+ results : ISolarApiResult[]
1463
+ }
1464
+
1465
+
1466
+ export interface EnergyOutput{
1467
+ output : number
1468
+ }
1469
+ export interface EnergyInput{
1470
+ input : number
1471
+ }
1472
+
1473
+ export interface EnergyIO extends EnergyOutput, EnergyInput{}
1474
+
1475
+ export interface EntityEnergyIO extends EnergyIO{
1476
+ id : string
1477
+ u : number
1478
+ }
1479
+ export interface EntityEnergyIOExtended extends EnergyIO{
1480
+ id : string
1481
+ u : number
1482
+ generatedoutput : number
1483
+ reductionfactor ?: number
1484
+ }
1485
+
1486
+ export interface EnergyIOState{
1487
+ floors : EntityEnergyIO[]
1488
+ walls : EntityEnergyIO[]
1489
+ roofs : EntityEnergyIO[]
1490
+ windowframeparts : EntityEnergyIO[]
1491
+ coldbridges : EnergyIO
1492
+ perimeter: EnergyIO
1493
+ draft: EnergyIO
1494
+ ventilation: EnergyIO
1495
+ }
1496
+
1497
+ export interface EnergyIOStateExtended extends EnergyIOState{
1498
+ floors : EntityEnergyIOExtended[]
1499
+ walls : EntityEnergyIOExtended[]
1500
+ roofs : EntityEnergyIOExtended[]
1501
+ windowframeparts : EntityEnergyIOExtended[]
1502
+ }
1503
+
1504
+
1505
+
1506
+ export type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs" | "houselevels" | "solar" | "installations"| "ventilation"| "draft" | "existing"
1507
+ type IHouseMap = Map< IHouseObjectName , IHouseObjectWithMeasuredatas[]>
1508
+
1509
+ export interface IHouseObjectWithMeasuredatas extends IHouseobject{
1510
+ measuredatas : IMeasuredata[]
1511
+ }
1512
+
1513
+
1514
+ export interface IUseranswer{
1515
+ id : string
1516
+ intakeid ?: string | null
1517
+ value ?: string
1518
+ answeroptionid ?: string | null
1519
+ answeroption ?: IAnsweroption
1520
+ question ?: IQuestion
1521
+
1522
+ }
1523
+
1524
+ export interface IAreaactioncollection extends ILogged{
1525
+ userdataid ?: string
1526
+ areaactionid ?: string
1527
+ housetemplateid ?: string
1528
+ }
1529
+ export interface IAreaaction extends ILogged{
1530
+ settings ?: ISettings
1531
+ hostname ?: string
1532
+ pvmark ?: string
1533
+ partnerid ?: string
1534
+ logo ?: string
1535
+ questionsets ?: IQuestionsetSettings[]
1536
+ htmltitle ?: string
1537
+ senderemail?: string
1538
+ subscriptionplanid ?: string
1539
+ localeid ?: string
1540
+ locale ?: ILocale
1541
+ }
1542
+
1543
+ export interface IQuestionsetSettings{
1544
+ id: string,
1545
+ name: string,
1546
+ rule: string,
1547
+ initial: boolean,
1548
+ adminonly: boolean,
1549
+ questionset ?: string,
1550
+ questionsets ?: IQuestionsetSettings[],
1551
+ editable_after_finish: boolean
1552
+ }
1553
+
1554
+ export interface IHomeSettings{
1555
+ floor_insulationtype ?: string
1556
+ floor_insulationlocation ?: string
1557
+ floor_insulationmethod ?: string
1558
+ floor_rcValue ?: number
1559
+ floor_floortypeid ?: string
1560
+ wall_insulationtype ?: string
1561
+ wall_insulationlocation ?: string
1562
+ wall_insulationmethod ?: string
1563
+ wall_rcValue ?: number
1564
+ wall_walltypeid ?: string
1565
+ wall_rcValue_uninsulated ?: number
1566
+ wall_thickness ?: string
1567
+ wall_aircavity ?: boolean
1568
+ roof_insulationtype ?: string
1569
+ roof_insulationlocation ?: string
1570
+ roof_insulationmethod ?: string
1571
+ roof_rcValue ?: number
1572
+ roof_rooftypeid ?: string
1573
+ roof_roofingid ?: string
1574
+ glass_glasstype ?: string
1575
+ draftprofile ?: "draftprofile-1" | "draftprofile-2" | "draftprofile-3" | "draftprofile-4"
1576
+ }
1577
+
1578
+ export interface IDefaulthomesettings{
1579
+ settings ?: IHomeSettings
1580
+ yearmin ?: number
1581
+ yearmax ?: number
1582
+ }
1583
+
1584
+
1585
+ export interface IHousewish{
1586
+ name : string
1587
+ deleted : boolean
1588
+ sortorder : number
1589
+ userdatahousewishes ?: IUserdatahousewish[]
1590
+ housewishgroup ?: IHousewishgroup
1591
+ housewishgroupid ?: string | null
1592
+ }
1593
+
1594
+
1595
+ export interface IHousewishgroup{
1596
+ name : string
1597
+ deleted : boolean
1598
+ sortorder : number
1599
+ housewishes ?: IHousewish[]
1600
+ }
1601
+
1602
+
1603
+ export interface IUserdatahousewish{
1604
+ name : string
1605
+ deleted : boolean
1606
+ sortorder : number
1607
+ housewish ?: IHousewish
1608
+ userdata ?: IUserdata
1609
+ housewishid ?: string | null
1610
+ userdataid ?: string | null
1611
+ score ?: number
1612
+ }
1613
+
1614
+
1615
+
1616
+
1617
+ type Fuel = "gas" | "electricity" | "heatnetwork" | "wood" | "oil" | "pellets"
1618
+
1619
+ type FuelDistribution = {
1620
+ [k in Fuel]: number
1621
+ }
1622
+
1623
+
1624
+ interface IEnergyconsumption extends FuelDistribution{
1625
+ water : number
1626
+ }
1627
+
1628
+ interface IEnergyDistribution{
1629
+ heating : number
1630
+ warmwater : number
1631
+ household : number
1632
+ cooking : number
1633
+ }
1634
+
1635
+ interface IUsage{
1636
+ consumption : IEnergyconsumption
1637
+ distribution : IEnergyDistribution
1638
+ energyfactor : number
1639
+ m3gasToKwhFactor : number
1640
+ cooksongas : boolean
1641
+ calculatedEnergyUse : number
1642
+ appliance ?: {
1643
+ gassaved : number
1644
+ extraelectricity : number
1645
+ }
1646
+ heatingpower ?: number
1647
+ solargenerated ?: number
1648
+ heatingSource ?: string
1649
+ warmwaterSource ?: string
1650
+ existingAppliances ?: {
1651
+ heatingfuel ?: Fuel | null
1652
+ warmwaterfuel ?: Fuel | null
1653
+ cookingfuel ?: Fuel | null
1654
+ name ?: string
1655
+ savingsfactor ?: number
1656
+ }[]
1657
+ }
1658
+ interface IUsageExtended extends IUsage{
1659
+ energystreams : {
1660
+ warmwater : {
1661
+ calculated ?: FuelDistribution,
1662
+ actual : FuelDistribution
1663
+ }
1664
+ heating : {
1665
+ calculated ?: FuelDistribution,
1666
+ actual : FuelDistribution
1667
+ }
1668
+ cooking : {
1669
+ calculated ?: FuelDistribution,
1670
+ actual : FuelDistribution
1671
+ }
1672
+ household : {
1673
+ calculated ?: FuelDistribution,
1674
+ actual : FuelDistribution
1675
+ }
1676
+ },
1677
+ applianceextras ?: FuelDistribution,
1678
+ appliancesavings ?: FuelDistribution,
1679
+ }
1680
+
1681
+ interface ICosts{
1682
+ id : string
1683
+ gasstandingcharge ?: number
1684
+ gasprice ?: number
1685
+ gaspriceincrease ?: number
1686
+ heatnetworkstandingcharge ?: number
1687
+ heatnetworkprice ?: number
1688
+ heatnetworkpriceincrease ?: number
1689
+ electricitystandingcharge ?: number
1690
+ electricityprice ?: number
1691
+ electricitysellbackprice ?: number
1692
+ electricitypriceincrease ?: number
1693
+ waterprice ?: number
1694
+ waterpriceincrease ?: number
1695
+ inflation ?: number
1696
+ gasm3tokwhfactor ?: number
1697
+ interest ?: number
1698
+ settings ?: JSON
1699
+ userdataid ?: string
1700
+ oilprice ?: number
1701
+ oilpriceincrease ?: number
1702
+ woodprice ?: number
1703
+ woodpriceincrease ?: number
1704
+ pelletsprice ?: number
1705
+ pelletspriceincrease ?: number
1706
+ }
1707
+
1708
+ export interface ICustomAdviceCombination{
1709
+ insulation : {
1710
+ [index:string] : string | null | undefined
1711
+ }
1712
+ draft : string | null | undefined
1713
+ ventilation : string | null | undefined
1714
+ gasfreeoption : string | null | undefined
1715
+ solar : {
1716
+ household : string | null | undefined
1717
+ gasfree : string | null | undefined
1718
+ }
1719
+ years ?: number
1720
+ loans ?: IPreferredFinancingOption[]
1721
+ }
1722
+
1723
+ export interface IPreferredFinancingOption{
1724
+ name : string
1725
+ amount : number
1726
+ interest : number
1727
+ years : number
1728
+ }
1729
+
1730
+
1731
+
1732
+ export interface HouseObjectSettings{
1733
+ floor : number | IHousetemplateCalculationDataPerHousetype | { u: number; factor: number; }[]
1734
+ wall : number
1735
+ windowframepart : number
1736
+ roof : number
1737
+ }
1738
+
1739
+ type IOperation = "multiplication" | "division"
1740
+
1741
+
1742
+ type Orientation = "z" | "z/w" | "w" | "n/w" | "n" | "n/o" | "o" | "z/o"
1743
+
1744
+ export interface ITemperaturecalcdata{
1745
+ logged : ILogged
1746
+ savingsinenergyfactor ?: string | null
1747
+ returnpercentagefactor ?: string | null,
1748
+ paybackfactor ?: string | null
1749
+ saving1 ?: string | null
1750
+ saving2 ?: string | null
1751
+ rc1 ?: string | null
1752
+ rc2 ?: string | null
1753
+ vereffening ?: string | null
1754
+ operation ?: IOperation | null
1755
+ openstairs ?: boolean | null
1756
+ floorheating ?: boolean | null
1757
+ measureid ?: string | null
1758
+ roomheated ?: boolean | null
1759
+ househasonehouselevel ?: boolean | null
1760
+ noexistingmeasure ?: boolean | null
1761
+ }
1762
+
1763
+
1764
+ export type DraftProfile = 1 | 2 | 3 | 4
1765
+ export type DraftFactor = number
1766
+
1767
+ export interface DraftProfileSetting{
1768
+ profile : DraftProfile
1769
+ factor : DraftFactor
1770
+ default ?:boolean
1771
+ }
1772
+
1773
+ export interface Uninsulatedenergylosses extends HouseObjectSettings{
1774
+ }
1775
+
1776
+ export interface Uninsulatedu extends HouseObjectSettings{
1777
+ }
1778
+
1779
+ export interface Reductionfactors extends HouseObjectSettings{
1780
+ }
1781
+ export interface HouseContructionParams{
1782
+ surface:number
1783
+ coldbridgesenergyloss:number | null
1784
+ graaddagenjaarmethode:number | null
1785
+ graaddagenmaandmethode:number | null
1786
+ draftprofile:DraftProfile | null
1787
+ perimeterenergyloss:number | null
1788
+ uninsulatedenergylosses : Uninsulatedenergylosses
1789
+ uninsulatedu : Uninsulatedu
1790
+ uninsulatedreductionfactors : Reductionfactors
1791
+ insulatedreductionfactors : Reductionfactors
1792
+ openstairs : boolean
1793
+ floorheating : boolean
1794
+ househasonehouselevel : boolean,
1795
+ temperaturecalcdatas ?:ITemperaturecalcdata[]
1796
+ frontorientation ?: Orientation
1797
+ housetype ?: string
1798
+ }
1799
+
1800
+
1801
+ export interface IAbstractInsulation{
1802
+ id : string
1803
+ name : string
1804
+ deleted : boolean
1805
+ sortorder : number
1806
+ measures ?: IMeasure[]
1807
+ measuredatas ?: IMeasuredata[]
1808
+ }
1809
+
1810
+ export interface IInsulationmethod extends IAbstractInsulation{
1811
+ insulationtypes ?: IInsulationtype[]
1812
+ image ?: string | null
1813
+ walltypes ?: IWalltype[]
1814
+ floortypes ?: IFloortype[]
1815
+ }
1816
+ export interface IInsulationlocation extends IAbstractInsulation{
1817
+ rooftypeinsulationlocations ?: {
1818
+ rooftypeid: string
1819
+ }[]
1820
+ insulationtypes ?: IInsulationtype[]
1821
+ image ?: string | null
1822
+ }
1823
+ export interface IInsulationtype extends IAbstractInsulation{
1824
+ lambda ?: number | null
1825
+ rcvalue ?: number | null
1826
+ insulationmethods ?: IInsulationmethod[]
1827
+ insulationlocations ?: IInsulationlocation[]
1828
+ image ?: string | null
1829
+ walltypes ?: IWalltype[]
1830
+ floortypes ?: IFloortype[]
1831
+ rooftypes ?: IRooftype[]
1832
+ }
1833
+
1834
+ export interface IAppliedMeasure{
1835
+ id : string
1836
+ investment : number
1837
+ measureid : string
1838
+ measuretype : string
1839
+ name : string
1840
+ reinvestments ?: {
1841
+ investment : string
1842
+ years : string
1843
+ }[]
1844
+ maintenances ?: {
1845
+ investment : string
1846
+ years : string
1847
+ }[]
1848
+ }
1849
+
1850
+
1851
+ interface IAnnualreportSave{
1852
+ year : number,
1853
+ type : string,
1854
+ amount : number
1855
+ delete ?: boolean
1856
+ }
1857
+
1858
+
1859
+ export interface IQuestionset{
1860
+ id : string
1861
+ collectionid ?: string
1862
+ questions ?: IQuestion[]
1863
+ name: string
1864
+ }
1865
+
1866
+ export interface IQuestion{
1867
+ sortorder: number;
1868
+ informationtext: string | null;
1869
+ informationimage: string | null;
1870
+ min: number | null;
1871
+ max: number | null;
1872
+ step: number | null;
1873
+ placeholder: string | null;
1874
+ questiontype: IQuestiontype | null;
1875
+ image: string | null;
1876
+ answeroptions: IAnsweroption[];
1877
+ body: string | null;
1878
+ posttext: string | null;
1879
+ id: string;
1880
+ status: string;
1881
+ name: string;
1882
+ useranswers: IUseranswer[]
1883
+ active : boolean;
1884
+ error?: {
1885
+ [index:string] : any
1886
+ }
1887
+ required?:boolean
1888
+ viewing:boolean
1889
+ shortname : string | null
1890
+ logged ?: ILogged
1891
+ }
1892
+
1893
+ export interface IQuestiontype{
1894
+ name: string;
1895
+ id: string;
1896
+ }
1897
+ export interface IAnsweroption{
1898
+ selected: boolean;
1899
+ informationtext: string | null;
1900
+ name: string;
1901
+ informationimage: string | null;
1902
+ image: string | null;
1903
+ hasinput: boolean;
1904
+ id: string;
1905
+ value: string | null;
1906
+ placeholder?: string
1907
+ min?:number
1908
+ max?:number
1909
+ step?:number
1910
+ questionid : string
1911
+ sortorder ?: number
1912
+ logged ?: ILogged
1913
+ }
1914
+
1915
+ export interface IIntake{
1916
+ id : string
1917
+ useranswers : IUseranswer[]
1918
+ }
1919
+
1920
+
1921
+ export interface IFinancingOption{
1922
+ name : string
1923
+ years : number
1924
+ interest : number
1925
+ min : number
1926
+ max : number
1927
+ title ?: string
1928
+ description ?: string
1929
+ type ?: string
1930
+ link ?: string
1931
+ autoapplied ?: boolean
1932
+ }
1933
+ export interface IManufacturer extends ICompany{
1934
+ appliances ?: IAppliance[]
1935
+ ventilationsystems ?: IVentilationsystem[]
1936
+ }
1937
+
1938
+ export interface IAppliancetype{
1939
+ name : string
1940
+ id : string
1941
+ deleted : boolean
1942
+ sortorder : number
1943
+ appliances ?: IAppliance[]
1944
+ }
1945
+
1946
+ export interface IVentilationsystemtype{
1947
+ name : string
1948
+ id : string
1949
+ deleted : boolean
1950
+ sortorder : number
1951
+ ventilationsystems ?: IVentilationsystem[]
1952
+ electricitycost ?: number
1953
+ }
1954
+
1955
+ export interface IHeatingappliancetype{
1956
+ name : string
1957
+ id : string
1958
+ deleted : boolean
1959
+ sortorder : number
1960
+ heatingappliances ?: IHeatingappliance[]
1961
+ }
1962
+ export interface IWaterheatertype{
1963
+ name : string
1964
+ id : string
1965
+ deleted : boolean
1966
+ sortorder : number
1967
+ waterheaters ?: IWaterheater[]
1968
+ }
1969
+
1970
+ export interface IWaterheaterCwclass{
1971
+ name : string
1972
+ deleted : boolean
1973
+ sortorder : number
1974
+ waterheaters ?: IWaterheater[]
1975
+ }
1976
+
1977
+ export interface IAppliance{
1978
+ name : string
1979
+ id : string
1980
+ deleted : boolean
1981
+ sortorder : number
1982
+ userdataid ?: string
1983
+ userdata ?: IUserdata
1984
+ manufacturerid ?: string
1985
+ manufacturer ?: IManufacturer
1986
+ appliancetypeid ?: string
1987
+ appliancetype ?: IAppliancetype
1988
+ buildyear : number
1989
+ needsreplacing : boolean
1990
+ othermanufacturer ?: string
1991
+
1992
+ heatingappliance ?: IHeatingappliance
1993
+
1994
+ connectedtoheating ?: boolean
1995
+ connectedtowarmwater ?: boolean
1996
+ amount ?: number
1997
+ }
1998
+ export interface IVentilationsystem{
1999
+ name : string
2000
+ id : string
2001
+ deleted : boolean
2002
+ sortorder : number
2003
+ userdataid ?: string
2004
+ userdata ?: IUserdata
2005
+ manufacturerid ?: string
2006
+ manufacturer ?: IManufacturer
2007
+ ventilationsystemtypeid ?: string
2008
+ ventilationsystemtype ?: IVentilationsystemtype
2009
+ buildyear : number
2010
+ needsreplacing : boolean
2011
+ othermanufacturer ?: string
2012
+ }
2013
+
2014
+ export interface IHeatingappliance{
2015
+ heatingappliancetypeid ?: string
2016
+ heatingappliancetype ?: IHeatingappliancetype
2017
+ }
2018
+
2019
+ export interface IWaterheater{
2020
+ appliance : IAppliance
2021
+ waterheatertypeid ?: string
2022
+ waterheatertype ?: IWaterheatertype
2023
+ waterheatercwclassid ?: string
2024
+ waterheatercwclass ?: IWaterheaterCwclass
2025
+
2026
+ }
2027
+
2028
+ export interface ITag{
2029
+ logged ?: ILogged
2030
+ tagpostcodes ?: ITagpostcode[]
2031
+ contacts ?: IContact[]
2032
+ }
2033
+
2034
+ export interface ITagpostcode{
2035
+ logged ?: ILogged
2036
+ tag ?: ITag
2037
+ tagid ?: string
2038
+ postcode ?: string
2039
+ housenumber ?: string
2040
+ extension ?: string
2041
+ }
2042
+
2043
+
2044
+ export interface IContactTag{
2045
+ tag ?: ITag
2046
+ tagid ?: string
2047
+ contactid ?: string
2048
+ contact ?: IContact
2049
+ }
2050
+
2051
+ export interface IQuestionnaireTag{
2052
+ id : string
2053
+ logged ?: ILogged
2054
+ type ?: string
2055
+ tagdependencies ?: IQuestionnaireTagDependency[]
2056
+ }
2057
+
2058
+ export interface IQuestionnaireTagDependency{
2059
+ tag ?: IQuestionnaireTag
2060
+ tagid ?: string
2061
+ answeroption ?: IAnsweroption
2062
+ answeroptionid ?: string
2063
+ question ?: IQuestion
2064
+ questionid ?: string
2065
+ value ?: string
2066
+ operator ?: string
2067
+ }
2068
+
2069
+
2070
+ export interface IAddress {
2071
+ openbareRuimteNaam: string
2072
+ korteNaam: string
2073
+ huisnummer: number
2074
+ postcode: string
2075
+ woonplaatsNaam: string
2076
+ nummeraanduidingIdentificatie: string
2077
+ openbareRuimteIdentificatie: string
2078
+ woonplaatsIdentificatie: string
2079
+ adresseerbaarObjectIdentificatie: string
2080
+ pandIdentificaties: string[]
2081
+ }
2082
+ export interface IAddressUitgebreid extends IAddress{
2083
+
2084
+ typeAdresseerbaarObject: string,
2085
+ adresseerbaarObjectGeometrie: {
2086
+ punt: {
2087
+ type : string,
2088
+ coordinates : number[]
2089
+ }
2090
+ },
2091
+ adresseerbaarObjectStatus: string
2092
+ gebruiksdoelen: string[]
2093
+ oppervlakte: number
2094
+ oorspronkelijkBouwjaar: string[]
2095
+ woonplaatsid : string
2096
+ huisnummertoevoeging ?: string | number
2097
+ huisletter ?: string
2098
+ }
2099
+
2100
+ export interface IBagData {
2101
+ coordinates: number[]
2102
+ buildyear: number
2103
+ streetname: string
2104
+ city: string
2105
+ surface: number
2106
+ input: IBAGPayload
2107
+ woonplaatsid : string
2108
+ extension ?: string | number
2109
+ municipality ?: string
2110
+ }
2111
+
2112
+ export interface IBAGPayload {
2113
+ postcode?: string
2114
+ huisnummer?: number
2115
+ exacteMatch?: boolean
2116
+ huisnummertoevoeging?: string
2117
+ huisletter?: string
2118
+ }
2119
+
2120
+
2121
+ export interface IAnnex{
2122
+ id : string
2123
+ logged ?: ILogged
2124
+ userdataid ?: string
2125
+ annexsides ?: IAnnexside[]
2126
+ annextemplate ?: IAnnextemplate
2127
+ annextemplateid ?: string
2128
+ floors ?: IFloor[]
2129
+ roofs ?: IRoof[]
2130
+ walls ?: IWall[]
2131
+ buildyear ?: number
2132
+ shouldceilingbepaneled ?: boolean
2133
+ }
2134
+
2135
+ export interface IAnnexside{
2136
+ deleted : boolean
2137
+ id : string
2138
+ sortorder : number
2139
+ annexid ?: string
2140
+ annex ?: IAnnex
2141
+ annextemplateid ?: string
2142
+ annextemplate ?: IAnnextemplate
2143
+ attachedtohouse : boolean
2144
+ attachedtoneighbour : boolean
2145
+ width : number
2146
+ height : number
2147
+ deviationtopleft ?: number | null
2148
+ deviationbottomright ?: number | null
2149
+ sideno : number
2150
+ }
2151
+
2152
+ export interface IAnnextemplate{
2153
+ id : string
2154
+ logged ?: ILogged
2155
+ userdataid ?: string
2156
+ annexes ?: IAnnex[]
2157
+ annexsides ?: IAnnexside[]
2158
+ nr ?: number
2159
+ surfacefloor ?: number
2160
+ surfacewall ?: number
2161
+ surfaceroof ?: number
2162
+ percentageglassleft ?: number
2163
+ percentageglassright ?: number
2164
+ percentageglassback ?: number
2165
+ percentageglassfront ?: number
2166
+ wallreductionleft ?: number
2167
+ wallreductionright ?: number
2168
+ wallreductionback ?: number
2169
+ wallreductionfront ?: number
2170
+ floorunattachedfactor : number
2171
+ }
2172
+
2173
+
2174
+ export interface ISubscriptionplan{
2175
+ id : string
2176
+ logged ?: ILogged
2177
+ partnerid ?: string
2178
+ price : number
2179
+ subscriptionplantype ?: ISubscriptionplantype
2180
+ subscriptionplantypeid ?: string
2181
+ subscriptions ?: ISubscription[]
2182
+ vouchercodes ?: IVouchercode[]
2183
+
2184
+ }
2185
+ export interface ISubscription{
2186
+ id : string
2187
+ logged ?: ILogged
2188
+ subscriptionplan ?: ISubscriptionplan
2189
+ subscriptionplanid ?: string
2190
+ contactid ?: string
2191
+ vouchercodes ?: IVouchercode[]
2192
+ }
2193
+ export interface ISubscriptionplantype{
2194
+ id : string
2195
+ logged ?: ILogged
2196
+ subscriptionplans ?: ISubscriptionplan[]
2197
+ }
2198
+
2199
+ export interface IVouchercode{
2200
+ logged ?: ILogged
2201
+ subscriptionid ?: string
2202
+ subscriptionplanid ?: string
2203
+ subscription ?: ISubscription
2204
+ subscriptionplan ?: ISubscriptionplan
2205
+ }
2206
+
2207
+ export interface IExistingInsulationOnContactCreate{
2208
+ rd ?: number
2209
+ insulationtypeid ?: string
2210
+ insulationmethodid ?: string
2211
+ }
2212
+ export interface IExitingHouseobjectsOnContactCreate{
2213
+ floor ?: {
2214
+ insulation ?: IExistingInsulationOnContactCreate
2215
+ floortypeid ?: string,
2216
+ }
2217
+ roof ?: {
2218
+ insulation ?: IExistingInsulationOnContactCreate
2219
+ rooftypeid ?: string,
2220
+ }
2221
+ wall ?: {
2222
+ insulation ?: IExistingInsulationOnContactCreate
2223
+ walltypeid ?: string,
2224
+ },
2225
+ glass ?: {
2226
+ houselevel : number,
2227
+ glasstypeid ?: string,
2228
+ windowframetypeid ?: string
2229
+ }[]
2230
+ }
2231
+
2232
+ export interface IClimateMonth{
2233
+ temperaturesInCelsius : {
2234
+ sky : number
2235
+ outside : number
2236
+ ground : number
2237
+ }
2238
+ insolationInKwhPerm2 : {
2239
+ n : number
2240
+ w : number
2241
+ e : number
2242
+ s : number
2243
+ horizontal : number
2244
+ }
2245
+ dayNightDivisionInPercentages : {
2246
+ day : number
2247
+ night : number
2248
+ }
2249
+ }
2250
+
2251
+
2252
+ export interface IClimateYear{
2253
+ months : {
2254
+ "1" : IClimateMonth
2255
+ "2" : IClimateMonth
2256
+ "3" : IClimateMonth
2257
+ "4" : IClimateMonth
2258
+ "5" : IClimateMonth
2259
+ "6" : IClimateMonth
2260
+ "7" : IClimateMonth
2261
+ "8" : IClimateMonth
2262
+ "9" : IClimateMonth
2263
+ "10" : IClimateMonth
2264
+ "11" : IClimateMonth
2265
+ "12" : IClimateMonth
2266
+ }
2267
+ }
2268
+
2269
+ export interface IWeatherStation{
2270
+ id : string
2271
+ logged ?: ILogged
2272
+ lat : number
2273
+ long : number
2274
+ height ?: number
2275
+ climateyear ?: JSON
2276
+ }
2277
+
2278
+
2279
+
2280
+ type UserStateKeys = 'housebuild' | 'housecreationparams' | 'ventilationsystems' | 'calculationdata' | 'costs' | 'currentstate' | 'appliances' | 'usage' | 'floors' | 'walls' | 'windowframeparts' | 'installations' | 'existing' | 'draft' | 'ventilation' | 'solar' | 'usagecosts' | 'windowframes' | 'houselevels' | 'rooms' | 'contact' | 'userdata' | 'roofs'
2281
+ type UserState = {
2282
+ [k in UserStateKeys] : string
2283
+ }
2284
+
2285
+ export interface IEnergyLabel {
2286
+ name ?: string
2287
+ id : string
2288
+ deleted : boolean
2289
+ sortorder : number
2290
+ countryid ?: string
2291
+ threshold ?: number
2292
+ }
2293
+