@e-trias/woonplan 1.3.65 → 1.3.66

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