@e-trias/woonplan 1.3.64 → 1.3.65

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