@e-trias/woonplan 1.3.73 → 1.3.75

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