@e-trias/woonplan 1.3.73 → 1.3.74

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,1877 +1,1878 @@
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
- }
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
+ maximumbuildyear : number
455
+ sortorder : number
456
+ measuredatas ?: IMeasuredata[]
457
+ gvalue : number
458
+ uvalue : number
459
+ name : string
460
+ image ?: string | null
461
+ }
462
+
463
+ export interface IMeasuredatainterestedcontact{
464
+ measuredataid:string
465
+ contactid:string
466
+ }
467
+
468
+ export interface IText{
469
+ id:string
470
+ title: string | null
471
+ body: string | null
472
+ localeid?: string | null
473
+ partnerid?: string | null
474
+ }
475
+
476
+ export interface IContent{
477
+ id:string
478
+ fullyqualifiedaction : string | null
479
+ subtitle?: string | null
480
+ excerpt?: string | null
481
+ searchbox?: string | null
482
+ actionsbox?: string | null
483
+ htmltitle?: string | null
484
+ htmlkeywords?: string | null
485
+ htmldescription?: string | null
486
+ link?: string | null
487
+ parentid?: string | null
488
+ areaactionid?: string | null
489
+ contentimages?: IContentimage[] | null
490
+ }
491
+
492
+ export interface IContentimage {
493
+ id: string
494
+ name?: string | null
495
+ deleted?: boolean | null
496
+ sortorder?: number | null
497
+ contentitem?: IContent | null
498
+ image?: IImage | null
499
+ }
500
+
501
+ export interface IImage {
502
+ id: string
503
+ path?: string | null
504
+ alt?: string | null
505
+ originalname?: string | null
506
+ contentimages?: IContentimage[] | null
507
+ metadata?: ILogged | null
508
+ }
509
+
510
+ export interface IMeasuretext{
511
+ id:string
512
+ measureid ?: string | null
513
+ measuredataid ?: string | null
514
+ excerpt ?: string | null
515
+ }
516
+
517
+ export interface QuotationRequestForm{
518
+ measuredataid : string
519
+ measureid : string
520
+ contractorid : string
521
+ }
522
+
523
+ export interface IAppointment {
524
+ id: string
525
+ status?: string
526
+ start?: Date
527
+ end?: Date
528
+ userdataid?: string | null
529
+ surveyorid?: string | null
530
+ needspayment?: true | false
531
+ price? : number
532
+ name?: string
533
+ }
534
+
535
+ export interface ICreateAppointmentParams{
536
+ appointmentId: string
537
+ agendaId: string
538
+ appointmentTypeId: string
539
+ start: Date
540
+ end: Date
541
+ userdataId : string
542
+ customerId : string
543
+ }
544
+
545
+ export interface IAppointmentFormParams{
546
+ agendaId: number
547
+ appointmentTypeId: number
548
+ startDate: string
549
+ endDate: string
550
+ measuredataids : string[]
551
+ }
552
+
553
+ export interface ISettings {
554
+ "2fa"?: "email"
555
+ "ga-api-key"?: string
556
+ "ga-code"?: string
557
+ "gtm-code"?: string
558
+ adviceUrl?: string
559
+ cava?: ICavaSettings
560
+ createProjectInPerfectview?: boolean
561
+ houseScan?: {
562
+ houseScan ?: '1' | '0'
563
+ }
564
+ initialQuestionsetP?: number
565
+ showNewsletterOptIn?: boolean
566
+ mailchimp?: IMailchimpSettings
567
+ pipedrive?: { apiKey: string }
568
+ pipedriveActivity?: {
569
+ initialDoneState: boolean
570
+ subject: string
571
+ type: number | string
572
+ }
573
+ pipedrivePersonFields?:{
574
+ pipedrivePersonFieldName: string
575
+ pipedrivePersonFieldMapping: string
576
+ }
577
+ pipedriveDealFields?:{
578
+ pipedriveDealFieldName: string
579
+ pipedriveDealFieldMapping: string
580
+ }
581
+ mollie?: { apiKey: string }
582
+ municipalityManagesLandingPage?: boolean
583
+ onlineAfsprakenActive?: number
584
+ onlineAfsprakenAgendaId?: number
585
+ onlineAfsprakenAppointmentTypeId?: number
586
+ perfectview?: IPerfectviewSettings
587
+ perfectviewProject?: IPerfectviewProject
588
+ priceMargin?: IPriceMargin
589
+ primaryPackage?: string
590
+ quotationSalesContact?: string
591
+ showCollectiveHeatSourceText?: boolean
592
+ showPackages?: boolean
593
+ startpercentagequestionaire?: number
594
+ automaticMothermodelselection ?: 1 | 0
595
+ automaticMothermodelAreaactionSource ?: string
596
+ surfaceCalculation ?: 1 | 0
597
+ solarpanelmodule ?: string
598
+ notAvailableMeasures ?: string
599
+ canChangeSoundInsulating ?: "1" | "0"
600
+
601
+ municipalFinancingText ?: string
602
+ municipalFinancingTitle ?: string
603
+ municipalFinancingUrl ?: string
604
+ municipalFinancingRepayment ?: {
605
+ municipalFinancingDefaultOption: string
606
+ municipalFinancingRepaymentYear: string,
607
+ municipalFinancingRepaymentPercentage: string
608
+ }
609
+ municipalFinancingCalculation ?: {
610
+ municipalFinancingCalculationMax: string
611
+ municipalFinancingCalculationMin: string
612
+ }
613
+
614
+
615
+ hasISDESubsidy ?: string
616
+ ISDESubsidyUrl ?: string
617
+ ISDESubsidyCalculation ?: {
618
+ ISDESubsidyCalculationMax: string
619
+ ISDESubsidyCalculationMin: string
620
+ }
621
+ ISDESubsidyTitle ?: string
622
+ ISDESubsidyText ?: string
623
+
624
+
625
+ hasMunicipalSubsidy?: string
626
+ municipalSubsidyUrl?: string
627
+ municipalSubsidyCalculation?: {
628
+ municipalSubsidyCalculationMin: string
629
+ municipalSubsidyCalculationMax: string
630
+ }
631
+ municipalSubsidyTitle?: string
632
+ municipalSubsidyText?: string
633
+
634
+
635
+ hasNationalFinancing ?: string
636
+ 'buildyear-gt-1995-quotations-contractor' ?: string
637
+ 'buildyear-lte-1995-quotations-contractor' ?: string
638
+ gamification ?: "1" | "0"
639
+ showQuotationReadon ? : "1" | "0"
640
+ allowedMunicipalities ?: string
641
+
642
+ hideMenuItems?: {
643
+ "my-home"?: boolean | "1" | "0"
644
+ "my-advice"?: boolean | "1" | "0"
645
+ "advice-and-support"?: boolean | "1" | "0"
646
+ "measures"?: boolean | "1" | "0"
647
+ "quotations"?: boolean | "1" | "0"
648
+ "faq"?: boolean | "1" | "0"
649
+ "about-us"?: boolean | "1" | "0"
650
+ "contact"?: boolean | "1" | "0"
651
+ }
652
+ }
653
+
654
+ export interface IMailchimpSettings {
655
+ apiKey?: string
656
+ audienceId?: string
657
+ }
658
+
659
+
660
+ export interface IPerfectviewSettings {
661
+ ApiKey?: string
662
+ DatabaseId?: string
663
+ UserId?: string
664
+ }
665
+
666
+ export interface ICavaSettings {
667
+ pvMark?: string
668
+ pvMarkCategory?: string
669
+ }
670
+
671
+ export interface IPerfectviewProject {
672
+ phase?: string
673
+ type?: string
674
+ }
675
+
676
+ export interface IPackage {
677
+ id: string
678
+ name ?: string
679
+ packagemeasures ?: IPackageMeasure[]
680
+ }
681
+
682
+ export interface IPackageMeasure{
683
+ id : string
684
+ packageid ?: string
685
+ measureid ?: string
686
+ step ?: number
687
+ showinlist : boolean
688
+ package ?: IPackage
689
+ measure ?: IMeasure
690
+ }
691
+
692
+ export interface IPriceMargin {
693
+ priceMarginMin?: number
694
+ priceMarginMax?: number
695
+ }
696
+
697
+ export interface IPrice {
698
+ currency: string
699
+ value: number
700
+ }
701
+
702
+ export interface IPSPStatusUpdate {
703
+ mollieid: string
704
+ }
705
+
706
+ export interface IPayment {
707
+ id: string
708
+ amount: number
709
+ description: string
710
+ // createdAt & updatedAt in ISO 8601 format
711
+ createdAt: string
712
+ updatedAt: string
713
+ appointmentid?: string | null
714
+ status : string
715
+ mollieid: string
716
+ checkoutUrl?: string
717
+ }
718
+
719
+ export interface IOnlineAfsprakenSettings{
720
+ apiKey: string
721
+ apiSecret: string
722
+ appointmentTypeId: number
723
+ agendaId: number
724
+ }
725
+
726
+
727
+ export interface IGetBookableDaysParams {
728
+ userdataid: string,
729
+ ResourceId?: string,
730
+ StartDate: string // YYYY-MM-DD
731
+ EndDate: string // YYYY-MM-DD
732
+ settings?:IOnlineAfsprakenSettings
733
+ }
734
+
735
+ export interface IGetBookableTimesParams {
736
+ Date: string // YYYY-MM-DD
737
+ userdataid: string,
738
+ ResourceId?: string,
739
+ EndDate?: string // YYYY-MM-DD
740
+ settings?:IOnlineAfsprakenSettings
741
+ }
742
+
743
+ export interface IBookableday{
744
+ Date: string;
745
+ Month:number
746
+ Day:number
747
+ Year?:number
748
+ JSDate?:Date
749
+ UTCDate?: string
750
+ }
751
+
752
+
753
+ export interface IBookabletime{
754
+ Date: string;
755
+ StartTime: string,
756
+ LabelTime: string
757
+ EndTime: string,
758
+ Timestamp: number,
759
+ JSDateStart?:Date
760
+ JSDateEnd?:Date
761
+ UTCDateStart?: string
762
+ UTCDateEnd?: string
763
+ }
764
+
765
+
766
+
767
+ export interface IBagData {
768
+ coordinates: number[]
769
+ buildyear: number
770
+ streetname: string
771
+ city: string
772
+ surface:number
773
+ }
774
+
775
+ export interface IWssProject{
776
+ id : string
777
+ name : string
778
+ }
779
+ export interface IWssAddress{
780
+ id : string
781
+ postcode : string
782
+ housenumber : number
783
+ extension : string
784
+ projectid : string
785
+ tags : string[]
786
+ }
787
+ export interface IWssTag{
788
+ id : string
789
+
790
+ }
791
+
792
+ export interface IHouseobject{
793
+ deleted ?: boolean
794
+ id ?: string
795
+ sortorder ?: number
796
+ surface ?: number
797
+ measuredatas ?: IMeasuredata[]
798
+ rcvalue ?: number
799
+ u_value ?: number
800
+ }
801
+
802
+ export interface IHouselevel{
803
+ id : string
804
+ deleted : boolean
805
+ sortorder : number
806
+ userdataid ?: string | null
807
+ heated : boolean
808
+ walkable: boolean
809
+ used: boolean
810
+ haskitchenorlivingroom: boolean
811
+ heatinghours : number
812
+ }
813
+
814
+ export interface IHouse{
815
+ windowframeparts : IWindowframepart[],
816
+ floors : IFloor[],
817
+ walls : IWall[],
818
+ roofs : IRoof[],
819
+ houselevels : IHouselevel[]
820
+ }
821
+
822
+ export interface IAbstractHouseObjectType{
823
+ deleted ?: boolean
824
+ id ?: string
825
+ sortorder ?: number
826
+ name ?: string
827
+ }
828
+
829
+ export interface IFloortype extends IAbstractHouseObjectType{
830
+ lambda ?: number
831
+ rcvalue ?: number
832
+ image ?: string | null
833
+ }
834
+
835
+ export interface IRooftype extends IAbstractHouseObjectType{
836
+ image ?: string | null
837
+ }
838
+
839
+ export interface IWalltype extends IAbstractHouseObjectType{
840
+ image ?: string
841
+ }
842
+
843
+
844
+ export interface IWindowframeparttype extends IAbstractHouseObjectType{
845
+ }
846
+
847
+ export interface IWallfinish{
848
+ deleted ?: boolean
849
+ id ?: string
850
+ sortorder ?: number
851
+ name ?: string
852
+ image ?: string | null
853
+ }
854
+ export interface IRoofing{
855
+ deleted ?: boolean
856
+ id ?: string
857
+ sortorder ?: number
858
+ name ?: string
859
+ roofs ?: IRoof[]
860
+ image ?: string | null
861
+ }
862
+
863
+ export interface ICrawlspace{
864
+ deleted ?: boolean
865
+ id ?: string | null
866
+ sortorder ?: number
867
+ accessible ?: boolean
868
+ pumpable ?: boolean
869
+ cluttered ?: boolean
870
+ height ?: number
871
+ wet ?: string | null
872
+ houselevelid ?: string | null
873
+
874
+ crawlspacesinfloor ?: ICrawlspaceinfloor[]
875
+
876
+ }
877
+ export interface ICrawlspaceinfloor{
878
+ deleted ?: boolean
879
+ id ?: string | null
880
+ sortorder ?: number
881
+ floorid ?: string | null
882
+ crawlspaceid ?: string
883
+ surface ?: number
884
+ }
885
+ export interface IFloorinroom{
886
+ deleted ?: boolean
887
+ id ?: string | null
888
+ sortorder ?: number
889
+ floorid ?: string
890
+ roomid ?: string
891
+ surface ?: number
892
+ room ?: IRoom
893
+ }
894
+
895
+ export interface IFloor extends IHouseobject{
896
+ floortypeid ?: string | null
897
+ floortype ?: IFloortype
898
+ crawlspaces ?: ICrawlspace[]
899
+ historic ?: boolean
900
+ woodneedsreplacing ?: string
901
+ woodandbeamsneedsreplacing ?: string
902
+ flatbottom ?: boolean
903
+ crawlspacesinfloor ?: ICrawlspaceinfloor[]
904
+ basementhasceiling ?: boolean
905
+ basementunderneath ?: boolean
906
+ rcvalue ?: number
907
+ floorinrooms ?: IFloorinroom[]
908
+ allowcarpetingtoberemoved ?: boolean
909
+ preferredcarpeting ?: string
910
+ }
911
+
912
+
913
+ export interface ISide{
914
+ name : string
915
+ deleted : boolean
916
+ id : string
917
+ sortorder : number
918
+ }
919
+
920
+ export interface IWall extends IHouseobject{
921
+ shadowpercentage ?: number
922
+ angle ?: number
923
+ side ?: ISide
924
+ sideid ?: string | null
925
+ walltypeid ?: string | null
926
+ walltype ?: IWalltype
927
+ insulationonownrisk ?: boolean
928
+ wallfinishid ?: string | null
929
+ wallfinish ?: IWallfinish
930
+ protectedstatus ?: string
931
+ aircavity ?: boolean
932
+ rcvalue ?: number
933
+ thicknesscavity ?: number
934
+ housetypeid ?: string | null
935
+ grosssurface ?: number
936
+
937
+ monumentaloutside ?: boolean
938
+ monumentalinside ?: boolean
939
+
940
+ }
941
+
942
+ export interface IRoom extends IHouseobject{
943
+ houselevel ?: IHouselevel
944
+ roofs ?: IRoof[]
945
+ windowframes ?: IWindowframe[]
946
+ floorinrooms ?: IFloorinroom[]
947
+ heated : boolean
948
+ walkable : boolean
949
+ accessible : boolean
950
+ isattic : boolean
951
+ used : boolean
952
+
953
+ }
954
+
955
+ export interface IRoof extends IHouseobject{
956
+ shadowpercentage ?: number
957
+ angle ?: number
958
+ rooftypeid ?: string | null
959
+ rooftype ?: IRooftype
960
+ slope ?: boolean
961
+ ridgeheight ?: number
962
+ ceilingboarded ?: boolean
963
+ roofingid ?: string | null
964
+ roofing ?: IRoofing
965
+ sideid ?: string | null
966
+ side ?: ISide
967
+ rcvalue ?: number
968
+ housetypeid ?: string | null
969
+
970
+ roomid ?: string | null
971
+ room ?: IRoom
972
+
973
+ hasknieschot ?: boolean
974
+ knieschotbacksideaccessible ?: boolean
975
+ knieschotenoughspace ?: boolean
976
+ knieschotrunningmeters ?: number
977
+ buildyear ?: number | null
978
+ protectedstatus ?: string | null
979
+ protectedstatusside ?: string | null
980
+ roofplanelocation ?: string | null
981
+ roofboardingthickness ?: number
982
+ beamsheight ?: number
983
+ flat_edgeheight ?: number
984
+ flat_edgerunningmeters ?: number
985
+ flat_opgaandegevelheight ?: number
986
+ hellend_opgaandegevelheight ?: number
987
+ hellend_lokettenrunningmeters ?: number
988
+ flat_voetloodrunningmeters ?: number
989
+
990
+ replaceroofsheathing ?: boolean
991
+ replaceraftersorjoists ?: boolean
992
+ }
993
+
994
+ export interface IWindowframe extends IHouseobject{
995
+ userdataid ?: string | null
996
+ userdata ?: IUserdata
997
+ wall ?: IWall
998
+ sideid ?: string | null
999
+ side ?: ISide
1000
+ wallid ?: string | null
1001
+ roomid ?: string | null
1002
+ houselevelid ?: string | null
1003
+ windowframetypeid ?: string | null
1004
+ windowframetype ?: IWindowframetype
1005
+ width : number
1006
+ height : number
1007
+ needreplacing ?: boolean
1008
+ housetypeid ?: string | null
1009
+
1010
+ room ?: IRoom
1011
+ }
1012
+
1013
+ export interface IWindowframepart extends IHouseobject{
1014
+ framewidth ?: number
1015
+ frameheight ?: number
1016
+ glasswidth ?: number
1017
+ glassheight ?: number
1018
+ leftcasinglength ?: number
1019
+ rightcasinglength ?: number
1020
+ bottomstoollength ?: number
1021
+ topstoollength ?: number
1022
+ shadowpercentage ?: number
1023
+
1024
+ windowframeparttypeid ?: string | null
1025
+ windowframeid ?: string | null
1026
+ windowframe ?: IWindowframe
1027
+ windowframetype ?: IWindowframetype
1028
+ side ?: ISide
1029
+ }
1030
+
1031
+ export interface IWindowframetype extends IAbstractHouseObjectType{
1032
+ uvalue ?: number
1033
+ }
1034
+
1035
+ export interface IRule{
1036
+ id : string
1037
+ energylossid ?: string | null
1038
+ floortypeid ?: string | null
1039
+ glasstypeid ?: string | null
1040
+ roofingid ?: string | null
1041
+ roofshapeid ?: string | null
1042
+ rooftypeid ?: string | null
1043
+ wallfinishid ?: string | null
1044
+ walltypeid ?: string | null
1045
+ windowframeparttypeid ?: string | null
1046
+ packageid ?: string | null
1047
+ rulesetid ?: string | null
1048
+ ruletypeid ?: string | null
1049
+ measuredataid ?: string | null
1050
+ targetMeasureid ?: string | null
1051
+ gasfreeoptionid ?: string | null
1052
+ measuretypeid ?: string | null
1053
+ insulationlocationid ?: string | null
1054
+ insulationmethodid ?: string | null
1055
+ insulationtypeid ?: string | null
1056
+ ventilationsystemtypeid ?: string | null
1057
+ field ?: string
1058
+ operator ?: string
1059
+ value ?: string
1060
+ }
1061
+
1062
+
1063
+ export interface IGasfreeoption{
1064
+ id : string
1065
+ name : string
1066
+ deleted : boolean
1067
+ sortorder : number
1068
+ riskfactor : number
1069
+ gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
1070
+ measures ?: IMeasure[]
1071
+ }
1072
+ export interface IGasfreeoptionmeasure{
1073
+ id : string
1074
+ name : string
1075
+ deleted : boolean
1076
+ sortorder : number
1077
+ measureid : string
1078
+ gasfreeoptionid : string
1079
+ gasfreeoption ?: IGasfreeoption
1080
+ }
1081
+
1082
+
1083
+ export interface IMeasure {
1084
+ id : string
1085
+ gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
1086
+ measuredatas ?: IMeasuredata[]
1087
+ measuretypeid ?: string | null
1088
+ measuretype ?: IMeasuretype
1089
+ logged : ILogged
1090
+
1091
+ insulationmethods ?: IInsulationmethod[]
1092
+ insulationtypes ?: IInsulationtype[]
1093
+ insulationlocations ?: IInsulationlocation[]
1094
+ rejected ?: {
1095
+ measuredata : IMeasuredata,
1096
+ reasons : string[]
1097
+ }[]
1098
+ }
1099
+
1100
+
1101
+ export interface IMeasuretype{
1102
+ id : string
1103
+ measures ?: IMeasure[]
1104
+ logged : ILogged
1105
+ }
1106
+
1107
+
1108
+
1109
+ export interface ZonatlasAddress {
1110
+ add_on: string
1111
+ addition: string
1112
+ city: string
1113
+ country: string
1114
+ hid: number
1115
+ lat: number
1116
+ lon: number
1117
+ municipality: string
1118
+ number: number
1119
+ postal: string
1120
+ project: string
1121
+ spc_id: number
1122
+ spc_key: string
1123
+ street: string
1124
+ }
1125
+ export interface ZonatlasBagdata {
1126
+ building_add_on: string | null,
1127
+ building_addition: string | null,
1128
+ building_area: number,
1129
+ building_function: string
1130
+ building_number: number,
1131
+ building_postcode: string
1132
+ building_status: string
1133
+ id_nummeraanduiding: string
1134
+ id_openbareruimte: string
1135
+ id_plaats: string
1136
+ id_verblijfsobject: string
1137
+ pand_building_year: number
1138
+ pand_status: string
1139
+ }
1140
+
1141
+ export interface ZonatlasCalculationParamaters{
1142
+ harging_station: boolean
1143
+ costs_insurance: number
1144
+ costs_other: number
1145
+ costs_service: number
1146
+ degradation:number
1147
+ eeg_umlage: any | null,
1148
+ emobility: boolean,
1149
+ energy_consumption: number,
1150
+ energy_price:number
1151
+ energy_price_increase: number
1152
+ feed_in_rate_kwh: number
1153
+ inflation: number
1154
+ load_profile: boolean,
1155
+ scaffold_factor: number
1156
+ scaffold_price_increase: number
1157
+ solar_thermal: boolean,
1158
+ storage: boolean,
1159
+ storage_information: { kwh_brutto: number }
1160
+ subsidy_per_kwp: number
1161
+ system_loss: number
1162
+ }
1163
+
1164
+ export interface ZonatlasData {
1165
+ autarky: number
1166
+ building_area: number
1167
+ co2_savings: number
1168
+ cost_charging_station: number
1169
+ cost: number
1170
+ cost_charging_station_excl_vat: number
1171
+ cost_excl_vat: number
1172
+ cost_pv_excl_vat: number
1173
+ cost_pv: number
1174
+ cost_storage_excl_vat: number
1175
+ cost_storage: number
1176
+ forecasted_years: number
1177
+ energy_consumption: number
1178
+ global_mean_barely_suited: number
1179
+ global_mean_suited: number
1180
+ global_mean_well_suited: number
1181
+ kwp: number
1182
+ max_energy: number
1183
+ max_energy_barely_suited: number
1184
+ max_energy_suited: number
1185
+ max_energy_well_suited: number
1186
+ max_kwp: number
1187
+ max_kwp_barely_suited: number
1188
+ max_kwp_suited: number
1189
+ max_kwp_well_suited: number
1190
+ max_panels: number
1191
+ months_until_payback: number
1192
+ number_of_panels: number
1193
+ own_consumption: number
1194
+ percent_roi: number
1195
+ profit: number
1196
+ pv_area_barely_suited: number
1197
+ pv_area_suited: number
1198
+ pv_area_well_suited: number
1199
+ st_area_suited: number
1200
+ st_area_well_suited: number
1201
+ st_max_area: number
1202
+ st_max_kwhpa_flat: number
1203
+ st_max_kwhpa_vacuum: number
1204
+ st_max_number_of_panels: number
1205
+ street: string
1206
+ subsidy_one_time: number
1207
+ suitability: string
1208
+ suitability_st: string
1209
+ total_income: number
1210
+ total_plant_roof_area: number
1211
+ total_plant_surface: number
1212
+ yearly_income: number
1213
+ yearly_yield: number
1214
+ years_until_payed_back: number
1215
+ }
1216
+
1217
+ export interface ZonatlasMapLayer {
1218
+ name: string
1219
+ url: string
1220
+ }
1221
+
1222
+ export interface ZonatlasModule {
1223
+ Wp: number,
1224
+ cost_per_kwp: number,
1225
+ height: number,
1226
+ ident: number | null,
1227
+ name: string,
1228
+ size:number,
1229
+ width: number
1230
+ }
1231
+
1232
+ export interface ZonatlasPlantData{
1233
+ estimated_yield:number,
1234
+ kwp: number,
1235
+ module: ZonatlasModule,
1236
+ number_of_modules: number,
1237
+ orientation: number,
1238
+ roof_id: number,
1239
+ scaffold: boolean,
1240
+ tilt: number
1241
+ }
1242
+
1243
+ export interface ZonatlasPlant{
1244
+ data: ZonatlasPlantData,
1245
+ mp: string
1246
+ type: string
1247
+ }
1248
+
1249
+ export interface ZonatlasRequest {
1250
+ add_on: string
1251
+ addition: string
1252
+ api_type: string
1253
+ auth: string
1254
+ moduleplacer: boolean
1255
+ number: string
1256
+ postal: string
1257
+
1258
+ }
1259
+
1260
+
1261
+ export interface ZonatlasResult{
1262
+ address : ZonatlasAddress
1263
+ bagdata : ZonatlasBagdata[]
1264
+ buildingwkt : string
1265
+ calculation_parameters : ZonatlasCalculationParamaters
1266
+ data : ZonatlasData
1267
+ href : string
1268
+ individual_data : any
1269
+ map_layers : ZonatlasMapLayer[]
1270
+ monuments : {
1271
+ monument_areas: [],
1272
+ national_monuments: []
1273
+ }
1274
+ plants : ZonatlasPlant[],
1275
+ images : {
1276
+ radiation : string,
1277
+ radiation_large:string,
1278
+ roofs : string,
1279
+ roofs_large:string
1280
+ }
1281
+ }
1282
+
1283
+ export interface ZonatlasResponse {
1284
+ request : ZonatlasRequest
1285
+ results : ZonatlasResult[]
1286
+ }
1287
+
1288
+
1289
+ export interface EnergyOutput{
1290
+ output : number
1291
+ }
1292
+ export interface EnergyInput{
1293
+ input : number
1294
+ }
1295
+
1296
+ export interface EnergyIO extends EnergyOutput, EnergyInput{}
1297
+
1298
+ export interface EntityEnergyIO extends EnergyIO{
1299
+ id : string
1300
+ u : number
1301
+ }
1302
+
1303
+ export interface EnergyIOState{
1304
+ floors : EntityEnergyIO[]
1305
+ walls : EntityEnergyIO[]
1306
+ roofs : EntityEnergyIO[]
1307
+ windowframeparts : EntityEnergyIO[]
1308
+ coldbridges : EnergyIO
1309
+ perimeter: EnergyIO
1310
+ draft: EnergyIO
1311
+ ventilation: EnergyIO
1312
+ internal: EnergyOutput
1313
+ }
1314
+
1315
+
1316
+
1317
+ export type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs" | "houselevels" | "solar" | "installations"| "ventilation"| "draft" | "existing"
1318
+ type IHouseMap = Map< IHouseObjectName , IHouseObjectWithMeasuredatas[]>
1319
+
1320
+ export interface IHouseObjectWithMeasuredatas extends IHouseobject{
1321
+ measuredatas : IMeasuredata[]
1322
+ }
1323
+
1324
+
1325
+ export interface IUseranswer{
1326
+ id : string
1327
+ intakeid ?: string | null
1328
+ value ?: string
1329
+ answeroptionid ?: string | null
1330
+ answeroption ?: IAnsweroption
1331
+ question ?: IQuestion
1332
+
1333
+ }
1334
+
1335
+ export interface IAreaactioncollection extends ILogged{
1336
+ userdataid ?: string
1337
+ areaactionid ?: string
1338
+ housetemplateid ?: string
1339
+ }
1340
+ export interface IAreaaction extends ILogged{
1341
+ settings ?: ISettings
1342
+ hostname ?: string
1343
+ pvmark ?: string
1344
+ partnerid ?: string
1345
+ logo ?: string
1346
+ questionsets ?: IQuestionsetSettings[]
1347
+
1348
+ }
1349
+
1350
+ export interface IQuestionsetSettings{
1351
+ id: string,
1352
+ name: string,
1353
+ rule: string,
1354
+ initial: boolean,
1355
+ adminonly: boolean,
1356
+ questionset ?: string,
1357
+ questionsets ?: IQuestionsetSettings[],
1358
+ editable_after_finish: boolean
1359
+ }
1360
+
1361
+ export interface IHomeSettings{
1362
+ floor_insulationtype ?: string
1363
+ floor_insulationlocation ?: string
1364
+ floor_insulationmethod ?: string
1365
+ floor_rcValue ?: number
1366
+ floor_floortypeid ?: string
1367
+ wall_insulationtype ?: string
1368
+ wall_insulationlocation ?: string
1369
+ wall_insulationmethod ?: string
1370
+ wall_rcValue ?: number
1371
+ wall_walltypeid ?: string
1372
+ wall_rcValue_uninsulated ?: number
1373
+ wall_thickness ?: string
1374
+ wall_aircavity ?: boolean
1375
+ roof_insulationtype ?: string
1376
+ roof_insulationlocation ?: string
1377
+ roof_insulationmethod ?: string
1378
+ roof_rcValue ?: number
1379
+ roof_rooftypeid ?: string
1380
+ roof_roofingid ?: string
1381
+ glass_glasstype ?: string
1382
+ draftprofile ?: "draftprofile-1" | "draftprofile-2" | "draftprofile-3" | "draftprofile-4"
1383
+ }
1384
+
1385
+ export interface IDefaulthomesettings{
1386
+ settings ?: IHomeSettings
1387
+ yearmin ?: number
1388
+ yearmax ?: number
1389
+ }
1390
+
1391
+
1392
+ export interface IHousewish{
1393
+ name : string
1394
+ deleted : boolean
1395
+ sortorder : number
1396
+ userdatahousewishes ?: IUserdatahousewish[]
1397
+ housewishgroup ?: IHousewishgroup
1398
+ housewishgroupid ?: string | null
1399
+ }
1400
+
1401
+
1402
+ export interface IHousewishgroup{
1403
+ name : string
1404
+ deleted : boolean
1405
+ sortorder : number
1406
+ housewishes ?: IHousewish[]
1407
+ }
1408
+
1409
+
1410
+ export interface IUserdatahousewish{
1411
+ name : string
1412
+ deleted : boolean
1413
+ sortorder : number
1414
+ housewish ?: IHousewish
1415
+ userdata ?: IUserdata
1416
+ housewishid ?: string | null
1417
+ userdataid ?: string | null
1418
+ score ?: number
1419
+ }
1420
+
1421
+
1422
+
1423
+ interface IEnergyconsumption{
1424
+ water : number
1425
+ electricity : number
1426
+ heatnetwork : number
1427
+ gas : number
1428
+ }
1429
+
1430
+ interface IEnergyDistribution{
1431
+ heating : number
1432
+ warmwater : number
1433
+ household : number
1434
+ cooking : number
1435
+ shower : number
1436
+ }
1437
+
1438
+
1439
+
1440
+
1441
+ interface IUsage{
1442
+ consumption : IEnergyconsumption
1443
+ distribution : IEnergyDistribution
1444
+ energyfactor : number
1445
+ m3gasToKwhFactor : number
1446
+ cooksongas : boolean
1447
+ calculatedEnergyUse : number
1448
+ appliance ?: {
1449
+ gassaved : number
1450
+ extraelectricity : number
1451
+ }
1452
+ heatingpower ?: number
1453
+ solargenerated ?: number
1454
+ }
1455
+
1456
+ interface ICosts{
1457
+ id : string
1458
+ gasstandingcharge ?: number
1459
+ gasprice ?: number
1460
+ gaspriceincrease ?: number
1461
+ heatnetworkstandingcharge ?: number
1462
+ heatnetworkprice ?: number
1463
+ heatnetworkpriceincrease ?: number
1464
+ electricitystandingcharge ?: number
1465
+ electricityprice ?: number
1466
+ electricitysellbackprice ?: number
1467
+ electricitypriceincrease ?: number
1468
+ waterprice ?: number
1469
+ waterpriceincrease ?: number
1470
+ inflation ?: number
1471
+ gasm3tokwhfactor ?: number
1472
+ interest ?: number
1473
+ settings ?: JSON
1474
+ userdataid ?: string
1475
+ }
1476
+
1477
+ export interface ICustomAdviceCombination{
1478
+ insulation : {
1479
+ [index:string] : string | null | undefined
1480
+ }
1481
+ draft : string | null | undefined
1482
+ ventilation : string | null | undefined
1483
+ gasfreeoption : string | null | undefined
1484
+ solar : {
1485
+ household : string | null | undefined
1486
+ gasfree : string | null | undefined
1487
+ }
1488
+ years ?: number
1489
+ loans ?: IPreferredFinancingOption[]
1490
+ }
1491
+
1492
+ export interface IPreferredFinancingOption{
1493
+ name : string
1494
+ amount : number
1495
+ interest : number
1496
+ years : number
1497
+ }
1498
+
1499
+
1500
+
1501
+ export interface HouseObjectSettings{
1502
+ floor : number | IHousetemplateCalculationDataPerHousetype | { u: number; factor: number; }[]
1503
+ wall : number
1504
+ windowframepart : number
1505
+ roof : number
1506
+ }
1507
+
1508
+ type IOperation = "multiplication" | "division"
1509
+
1510
+
1511
+ type Orientation = "z" | "z/w" | "w" | "n/w" | "n" | "n/o" | "o" | "z/o"
1512
+
1513
+ export interface ITemperaturecalcdata{
1514
+ logged : ILogged
1515
+ savingsinenergyfactor ?: string | null
1516
+ returnpercentagefactor ?: string | null,
1517
+ paybackfactor ?: string | null
1518
+ saving1 ?: string | null
1519
+ saving2 ?: string | null
1520
+ rc1 ?: string | null
1521
+ rc2 ?: string | null
1522
+ vereffening ?: string | null
1523
+ operation ?: IOperation | null
1524
+ openstairs ?: boolean | null
1525
+ floorheating ?: boolean | null
1526
+ measureid ?: string | null
1527
+ roomheated ?: boolean | null
1528
+ househasonehouselevel ?: boolean | null
1529
+ noexistingmeasure ?: boolean | null
1530
+ }
1531
+
1532
+
1533
+ export type DraftProfile = 1 | 2 | 3 | 4
1534
+ export type DraftFactor = number
1535
+
1536
+ export interface DraftProfileSetting{
1537
+ profile : DraftProfile
1538
+ factor : DraftFactor
1539
+ default ?:boolean
1540
+ }
1541
+
1542
+ export interface Uninsulatedenergylosses extends HouseObjectSettings{
1543
+ }
1544
+
1545
+ export interface Uninsulatedu extends HouseObjectSettings{
1546
+ }
1547
+
1548
+ export interface Reductionfactors extends HouseObjectSettings{
1549
+ }
1550
+ export interface HouseContructionParams{
1551
+ surface:number
1552
+ coldbridgesenergyloss:number | null
1553
+ graaddagenjaarmethode:number | null
1554
+ graaddagenmaandmethode:number | null
1555
+ draftprofile:DraftProfile | null
1556
+ perimeterenergyloss:number | null
1557
+ uninsulatedenergylosses : Uninsulatedenergylosses
1558
+ uninsulatedu : Uninsulatedu
1559
+ uninsulatedreductionfactors : Reductionfactors
1560
+ insulatedreductionfactors : Reductionfactors
1561
+ openstairs : boolean
1562
+ floorheating : boolean
1563
+ househasonehouselevel : boolean,
1564
+ temperaturecalcdatas ?:ITemperaturecalcdata[]
1565
+ frontorientation ?: Orientation
1566
+ }
1567
+
1568
+
1569
+ export interface IAbstractInsulation{
1570
+ id : string
1571
+ name : string
1572
+ deleted : boolean
1573
+ sortorder : number
1574
+ measures ?: IMeasure[]
1575
+ measuredatas ?: IMeasuredata[]
1576
+ }
1577
+
1578
+ export interface IInsulationmethod extends IAbstractInsulation{
1579
+ insulationtypes ?: IInsulationtype[]
1580
+ image ?: string | null
1581
+ walltypeinsulationmethods ?: {
1582
+ walltypeid: string
1583
+ }[]
1584
+ }
1585
+ export interface IInsulationlocation extends IAbstractInsulation{
1586
+ rooftypeinsulationlocations ?: {
1587
+ rooftypeid: string
1588
+ }[]
1589
+ insulationtypes ?: IInsulationtype[]
1590
+ image ?: string | null
1591
+ }
1592
+ export interface IInsulationtype extends IAbstractInsulation{
1593
+ lambda ?: number | null
1594
+ rcvalue ?: number | null
1595
+ insulationmethods ?: IInsulationmethod[]
1596
+ insulationlocations ?: IInsulationlocation[]
1597
+ image ?: string | null
1598
+ }
1599
+
1600
+ export interface IAppliedMeasure{
1601
+ id : string
1602
+ investment : number
1603
+ measureid : string
1604
+ measuretype : string
1605
+ name : string
1606
+ reinvestments ?: {
1607
+ investment : string
1608
+ years : string
1609
+ }[]
1610
+ maintenances ?: {
1611
+ investment : string
1612
+ years : string
1613
+ }[]
1614
+ }
1615
+
1616
+
1617
+ interface IAnnualreportSave{
1618
+ year : number,
1619
+ type : string,
1620
+ amount : number
1621
+ delete ?: boolean
1622
+ }
1623
+
1624
+
1625
+ export interface IQuestionset{
1626
+ id : string
1627
+ collectionid ?: string
1628
+ questions ?: IQuestion[]
1629
+ name: string
1630
+ }
1631
+
1632
+ export interface IQuestion{
1633
+ sortorder: number;
1634
+ informationtext: string | null;
1635
+ informationimage: string | null;
1636
+ min: number | null;
1637
+ max: number | null;
1638
+ step: number | null;
1639
+ placeholder: string | null;
1640
+ questiontype: IQuestiontype | null;
1641
+ image: string | null;
1642
+ answeroptions: IAnsweroption[];
1643
+ body: string | null;
1644
+ posttext: string | null;
1645
+ id: string;
1646
+ status: string;
1647
+ name: string;
1648
+ useranswers: IUseranswer[]
1649
+ active : boolean;
1650
+ error?: {
1651
+ [index:string] : any
1652
+ }
1653
+ required?:boolean
1654
+ viewing:boolean
1655
+ shortname : string | null
1656
+ logged ?: ILogged
1657
+ }
1658
+
1659
+ export interface IQuestiontype{
1660
+ name: string;
1661
+ id: string;
1662
+ }
1663
+ export interface IAnsweroption{
1664
+ selected: boolean;
1665
+ informationtext: string | null;
1666
+ name: string;
1667
+ informationimage: string | null;
1668
+ image: string | null;
1669
+ hasinput: boolean;
1670
+ id: string;
1671
+ value: string | null;
1672
+ placeholder?: string
1673
+ min?:number
1674
+ max?:number
1675
+ step?:number
1676
+ questionid : string
1677
+ sortorder ?: number
1678
+ logged ?: ILogged
1679
+ }
1680
+
1681
+ export interface IIntake{
1682
+ id : string
1683
+ useranswers : IUseranswer[]
1684
+ }
1685
+
1686
+
1687
+ export interface IFinancingOption{
1688
+ name : string
1689
+ years : number
1690
+ interest : number
1691
+ min : number
1692
+ max : number
1693
+ title ?: string
1694
+ description ?: string
1695
+ type ?: string
1696
+ link ?: string
1697
+ }
1698
+ export interface IManufacturer extends ICompany{
1699
+ appliances ?: IAppliance[]
1700
+ ventilationsystems ?: IVentilationsystem[]
1701
+ }
1702
+
1703
+ export interface IAppliancetype{
1704
+ name : string
1705
+ deleted : boolean
1706
+ sortorder : number
1707
+ appliances ?: IAppliance[]
1708
+ }
1709
+
1710
+ export interface IVentilationsystemtype{
1711
+ name : string
1712
+ id : string
1713
+ deleted : boolean
1714
+ sortorder : number
1715
+ ventilationsystems ?: IVentilationsystem[]
1716
+ electricitycost ?: number
1717
+ }
1718
+
1719
+ export interface IHeatingappliancetype{
1720
+ name : string
1721
+ id : string
1722
+ deleted : boolean
1723
+ sortorder : number
1724
+ heatingappliances ?: IHeatingappliance[]
1725
+ }
1726
+ export interface IWaterheatertype{
1727
+ name : string
1728
+ id : string
1729
+ deleted : boolean
1730
+ sortorder : number
1731
+ waterheaters ?: IWaterheater[]
1732
+ }
1733
+
1734
+ export interface IWaterheaterCwclass{
1735
+ name : string
1736
+ deleted : boolean
1737
+ sortorder : number
1738
+ waterheaters ?: IWaterheater[]
1739
+ }
1740
+
1741
+ export interface IAppliance{
1742
+ name : string
1743
+ id : string
1744
+ deleted : boolean
1745
+ sortorder : number
1746
+ userdataid ?: string
1747
+ userdata ?: IUserdata
1748
+ manufacturerid ?: string
1749
+ manufacturer ?: IManufacturer
1750
+ appliancetypeid ?: string
1751
+ appliancetype ?: IAppliancetype
1752
+ buildyear : number
1753
+ needsreplacing : boolean
1754
+ othermanufacturer ?: string
1755
+
1756
+ heatingappliance ?: IHeatingappliance
1757
+ }
1758
+ export interface IVentilationsystem{
1759
+ name : string
1760
+ id : string
1761
+ deleted : boolean
1762
+ sortorder : number
1763
+ userdataid ?: string
1764
+ userdata ?: IUserdata
1765
+ manufacturerid ?: string
1766
+ manufacturer ?: IManufacturer
1767
+ ventilationsystemtypeid ?: string
1768
+ ventilationsystemtype ?: IVentilationsystemtype
1769
+ buildyear : number
1770
+ needsreplacing : boolean
1771
+ othermanufacturer ?: string
1772
+ }
1773
+
1774
+ export interface IHeatingappliance{
1775
+ heatingappliancetypeid ?: string
1776
+ heatingappliancetype ?: IHeatingappliancetype
1777
+ }
1778
+
1779
+ export interface IWaterheater{
1780
+ appliance : IAppliance
1781
+ waterheatertypeid ?: string
1782
+ waterheatertype ?: IWaterheatertype
1783
+ waterheatercwclassid ?: string
1784
+ waterheatercwclass ?: IWaterheaterCwclass
1785
+
1786
+ }
1787
+
1788
+ export interface ITag{
1789
+ logged ?: ILogged
1790
+ tagpostcodes ?: ITagpostcode[]
1791
+ contacts ?: IContact[]
1792
+ }
1793
+
1794
+ export interface ITagpostcode{
1795
+ logged ?: ILogged
1796
+ tag ?: ITag
1797
+ tagid ?: string
1798
+ postcode ?: string
1799
+ housenumber ?: string
1800
+ extension ?: string
1801
+ }
1802
+
1803
+
1804
+ export interface IContactTag{
1805
+ tag ?: ITag
1806
+ tagid ?: string
1807
+ contactid ?: string
1808
+ contact ?: IContact
1809
+ }
1810
+
1811
+ export interface IQuestionnaireTag{
1812
+ id : string
1813
+ logged ?: ILogged
1814
+ type ?: string
1815
+ tagdependencies ?: IQuestionnaireTagDependency[]
1816
+ }
1817
+
1818
+ export interface IQuestionnaireTagDependency{
1819
+ tag ?: IQuestionnaireTag
1820
+ tagid ?: string
1821
+ answeroption ?: IAnsweroption
1822
+ answeroptionid ?: string
1823
+ question ?: IQuestion
1824
+ questionid ?: string
1825
+ value ?: string
1826
+ operator ?: string
1827
+ }
1828
+
1829
+
1830
+ export interface IAddress {
1831
+ openbareRuimteNaam: string
1832
+ korteNaam: string
1833
+ huisnummer: number
1834
+ postcode: string
1835
+ woonplaatsNaam: string
1836
+ nummeraanduidingIdentificatie: string
1837
+ openbareRuimteIdentificatie: string
1838
+ woonplaatsIdentificatie: string
1839
+ adresseerbaarObjectIdentificatie: string
1840
+ pandIdentificaties: string[]
1841
+ }
1842
+ export interface IAddressUitgebreid extends IAddress{
1843
+
1844
+ typeAdresseerbaarObject: string,
1845
+ adresseerbaarObjectGeometrie: {
1846
+ punt: {
1847
+ type : string,
1848
+ coordinates : number[]
1849
+ }
1850
+ },
1851
+ adresseerbaarObjectStatus: string
1852
+ gebruiksdoelen: string[]
1853
+ oppervlakte: number
1854
+ oorspronkelijkBouwjaar: string[]
1855
+ woonplaatsid : string
1856
+ huisnummertoevoeging ?: string | number
1857
+ huisletter ?: string
1858
+ }
1859
+
1860
+ export interface IBagData {
1861
+ coordinates: number[]
1862
+ buildyear: number
1863
+ streetname: string
1864
+ city: string
1865
+ surface: number
1866
+ input: IBAGPayload
1867
+ woonplaatsid : string
1868
+ extension ?: string | number
1869
+ municipality ?: string
1870
+ }
1871
+
1872
+ export interface IBAGPayload {
1873
+ postcode?: string
1874
+ huisnummer?: number
1875
+ exacteMatch?: boolean
1876
+ huisnummertoevoeging?: string
1877
+ huisletter?: string
1878
+ }