@e-trias/woonplan 1.3.85 → 1.3.86

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