@e-trias/woonplan 1.3.150 → 1.3.152

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