@e-trias/woonplan 1.3.71 → 1.3.73

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