@e-trias/woonplan 1.3.154 → 1.3.155

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