@e-trias/woonplan 1.3.99 → 1.3.102

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