@e-trias/woonplan 1.3.95 → 1.3.97

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,1972 +1,1972 @@
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
-
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
- walltypeinsulationmethods ?: {
1621
- walltypeid: string
1622
- }[]
1623
- }
1624
- export interface IInsulationlocation extends IAbstractInsulation{
1625
- rooftypeinsulationlocations ?: {
1626
- rooftypeid: string
1627
- }[]
1628
- insulationtypes ?: IInsulationtype[]
1629
- image ?: string | null
1630
- }
1631
- export interface IInsulationtype extends IAbstractInsulation{
1632
- lambda ?: number | null
1633
- rcvalue ?: number | null
1634
- insulationmethods ?: IInsulationmethod[]
1635
- insulationlocations ?: IInsulationlocation[]
1636
- image ?: string | null
1637
- }
1638
-
1639
- export interface IAppliedMeasure{
1640
- id : string
1641
- investment : number
1642
- measureid : string
1643
- measuretype : string
1644
- name : string
1645
- reinvestments ?: {
1646
- investment : string
1647
- years : string
1648
- }[]
1649
- maintenances ?: {
1650
- investment : string
1651
- years : string
1652
- }[]
1653
- }
1654
-
1655
-
1656
- interface IAnnualreportSave{
1657
- year : number,
1658
- type : string,
1659
- amount : number
1660
- delete ?: boolean
1661
- }
1662
-
1663
-
1664
- export interface IQuestionset{
1665
- id : string
1666
- collectionid ?: string
1667
- questions ?: IQuestion[]
1668
- name: string
1669
- }
1670
-
1671
- export interface IQuestion{
1672
- sortorder: number;
1673
- informationtext: string | null;
1674
- informationimage: string | null;
1675
- min: number | null;
1676
- max: number | null;
1677
- step: number | null;
1678
- placeholder: string | null;
1679
- questiontype: IQuestiontype | null;
1680
- image: string | null;
1681
- answeroptions: IAnsweroption[];
1682
- body: string | null;
1683
- posttext: string | null;
1684
- id: string;
1685
- status: string;
1686
- name: string;
1687
- useranswers: IUseranswer[]
1688
- active : boolean;
1689
- error?: {
1690
- [index:string] : any
1691
- }
1692
- required?:boolean
1693
- viewing:boolean
1694
- shortname : string | null
1695
- logged ?: ILogged
1696
- }
1697
-
1698
- export interface IQuestiontype{
1699
- name: string;
1700
- id: string;
1701
- }
1702
- export interface IAnsweroption{
1703
- selected: boolean;
1704
- informationtext: string | null;
1705
- name: string;
1706
- informationimage: string | null;
1707
- image: string | null;
1708
- hasinput: boolean;
1709
- id: string;
1710
- value: string | null;
1711
- placeholder?: string
1712
- min?:number
1713
- max?:number
1714
- step?:number
1715
- questionid : string
1716
- sortorder ?: number
1717
- logged ?: ILogged
1718
- }
1719
-
1720
- export interface IIntake{
1721
- id : string
1722
- useranswers : IUseranswer[]
1723
- }
1724
-
1725
-
1726
- export interface IFinancingOption{
1727
- name : string
1728
- years : number
1729
- interest : number
1730
- min : number
1731
- max : number
1732
- title ?: string
1733
- description ?: string
1734
- type ?: string
1735
- link ?: string
1736
- }
1737
- export interface IManufacturer extends ICompany{
1738
- appliances ?: IAppliance[]
1739
- ventilationsystems ?: IVentilationsystem[]
1740
- }
1741
-
1742
- export interface IAppliancetype{
1743
- name : string
1744
- id : string
1745
- deleted : boolean
1746
- sortorder : number
1747
- appliances ?: IAppliance[]
1748
- }
1749
-
1750
- export interface IVentilationsystemtype{
1751
- name : string
1752
- id : string
1753
- deleted : boolean
1754
- sortorder : number
1755
- ventilationsystems ?: IVentilationsystem[]
1756
- electricitycost ?: number
1757
- }
1758
-
1759
- export interface IHeatingappliancetype{
1760
- name : string
1761
- id : string
1762
- deleted : boolean
1763
- sortorder : number
1764
- heatingappliances ?: IHeatingappliance[]
1765
- }
1766
- export interface IWaterheatertype{
1767
- name : string
1768
- id : string
1769
- deleted : boolean
1770
- sortorder : number
1771
- waterheaters ?: IWaterheater[]
1772
- }
1773
-
1774
- export interface IWaterheaterCwclass{
1775
- name : string
1776
- deleted : boolean
1777
- sortorder : number
1778
- waterheaters ?: IWaterheater[]
1779
- }
1780
-
1781
- export interface IAppliance{
1782
- name : string
1783
- id : string
1784
- deleted : boolean
1785
- sortorder : number
1786
- userdataid ?: string
1787
- userdata ?: IUserdata
1788
- manufacturerid ?: string
1789
- manufacturer ?: IManufacturer
1790
- appliancetypeid ?: string
1791
- appliancetype ?: IAppliancetype
1792
- buildyear : number
1793
- needsreplacing : boolean
1794
- othermanufacturer ?: string
1795
-
1796
- heatingappliance ?: IHeatingappliance
1797
- }
1798
- export interface IVentilationsystem{
1799
- name : string
1800
- id : string
1801
- deleted : boolean
1802
- sortorder : number
1803
- userdataid ?: string
1804
- userdata ?: IUserdata
1805
- manufacturerid ?: string
1806
- manufacturer ?: IManufacturer
1807
- ventilationsystemtypeid ?: string
1808
- ventilationsystemtype ?: IVentilationsystemtype
1809
- buildyear : number
1810
- needsreplacing : boolean
1811
- othermanufacturer ?: string
1812
- }
1813
-
1814
- export interface IHeatingappliance{
1815
- heatingappliancetypeid ?: string
1816
- heatingappliancetype ?: IHeatingappliancetype
1817
- }
1818
-
1819
- export interface IWaterheater{
1820
- appliance : IAppliance
1821
- waterheatertypeid ?: string
1822
- waterheatertype ?: IWaterheatertype
1823
- waterheatercwclassid ?: string
1824
- waterheatercwclass ?: IWaterheaterCwclass
1825
-
1826
- }
1827
-
1828
- export interface ITag{
1829
- logged ?: ILogged
1830
- tagpostcodes ?: ITagpostcode[]
1831
- contacts ?: IContact[]
1832
- }
1833
-
1834
- export interface ITagpostcode{
1835
- logged ?: ILogged
1836
- tag ?: ITag
1837
- tagid ?: string
1838
- postcode ?: string
1839
- housenumber ?: string
1840
- extension ?: string
1841
- }
1842
-
1843
-
1844
- export interface IContactTag{
1845
- tag ?: ITag
1846
- tagid ?: string
1847
- contactid ?: string
1848
- contact ?: IContact
1849
- }
1850
-
1851
- export interface IQuestionnaireTag{
1852
- id : string
1853
- logged ?: ILogged
1854
- type ?: string
1855
- tagdependencies ?: IQuestionnaireTagDependency[]
1856
- }
1857
-
1858
- export interface IQuestionnaireTagDependency{
1859
- tag ?: IQuestionnaireTag
1860
- tagid ?: string
1861
- answeroption ?: IAnsweroption
1862
- answeroptionid ?: string
1863
- question ?: IQuestion
1864
- questionid ?: string
1865
- value ?: string
1866
- operator ?: string
1867
- }
1868
-
1869
-
1870
- export interface IAddress {
1871
- openbareRuimteNaam: string
1872
- korteNaam: string
1873
- huisnummer: number
1874
- postcode: string
1875
- woonplaatsNaam: string
1876
- nummeraanduidingIdentificatie: string
1877
- openbareRuimteIdentificatie: string
1878
- woonplaatsIdentificatie: string
1879
- adresseerbaarObjectIdentificatie: string
1880
- pandIdentificaties: string[]
1881
- }
1882
- export interface IAddressUitgebreid extends IAddress{
1883
-
1884
- typeAdresseerbaarObject: string,
1885
- adresseerbaarObjectGeometrie: {
1886
- punt: {
1887
- type : string,
1888
- coordinates : number[]
1889
- }
1890
- },
1891
- adresseerbaarObjectStatus: string
1892
- gebruiksdoelen: string[]
1893
- oppervlakte: number
1894
- oorspronkelijkBouwjaar: string[]
1895
- woonplaatsid : string
1896
- huisnummertoevoeging ?: string | number
1897
- huisletter ?: string
1898
- }
1899
-
1900
- export interface IBagData {
1901
- coordinates: number[]
1902
- buildyear: number
1903
- streetname: string
1904
- city: string
1905
- surface: number
1906
- input: IBAGPayload
1907
- woonplaatsid : string
1908
- extension ?: string | number
1909
- municipality ?: string
1910
- }
1911
-
1912
- export interface IBAGPayload {
1913
- postcode?: string
1914
- huisnummer?: number
1915
- exacteMatch?: boolean
1916
- huisnummertoevoeging?: string
1917
- huisletter?: string
1918
- }
1919
-
1920
-
1921
- export interface IAnnex{
1922
- id : string
1923
- logged ?: ILogged
1924
- userdataid ?: string
1925
- annexsides ?: IAnnexside[]
1926
- annextemplate ?: IAnnextemplate
1927
- annextemplateid ?: string
1928
- floors ?: IFloor[]
1929
- roofs ?: IRoof[]
1930
- walls ?: IWall[]
1931
- buildyear ?: number
1932
- shouldceilingbepaneled ?: boolean
1933
- }
1934
-
1935
- export interface IAnnexside{
1936
- deleted : boolean
1937
- id : string
1938
- sortorder : number
1939
- annexid ?: string
1940
- annex ?: IAnnex
1941
- annextemplateid ?: string
1942
- annextemplate ?: IAnnextemplate
1943
- attachedtohouse : boolean
1944
- attachedtoneighbour : boolean
1945
- width : number
1946
- height : number
1947
- deviationtopleft ?: number | null
1948
- deviationbottomright ?: number | null
1949
- sideno : number
1950
- }
1951
-
1952
- export interface IAnnextemplate{
1953
- id : string
1954
- logged ?: ILogged
1955
- userdataid ?: string
1956
- annexes ?: IAnnex[]
1957
- annexsides ?: IAnnexside[]
1958
- nr ?: number
1959
- surfacefloor ?: number
1960
- surfacewall ?: number
1961
- surfaceroof ?: number
1962
- percentageglassleft ?: number
1963
- percentageglassright ?: number
1964
- percentageglassback ?: number
1965
- percentageglassfront ?: number
1966
- wallreductionleft ?: number
1967
- wallreductionright ?: number
1968
- wallreductionback ?: number
1969
- wallreductionfront ?: number
1970
- floorunattachedfactor : number
1971
- }
1972
-
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
+
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 ?: {
1621
+ walltypeid: string
1622
+ }[]
1623
+ }
1624
+ export interface IInsulationlocation extends IAbstractInsulation{
1625
+ rooftypeinsulationlocations ?: {
1626
+ rooftypeid: string
1627
+ }[]
1628
+ insulationtypes ?: IInsulationtype[]
1629
+ image ?: string | null
1630
+ }
1631
+ export interface IInsulationtype extends IAbstractInsulation{
1632
+ lambda ?: number | null
1633
+ rcvalue ?: number | null
1634
+ insulationmethods ?: IInsulationmethod[]
1635
+ insulationlocations ?: IInsulationlocation[]
1636
+ image ?: string | null
1637
+ }
1638
+
1639
+ export interface IAppliedMeasure{
1640
+ id : string
1641
+ investment : number
1642
+ measureid : string
1643
+ measuretype : string
1644
+ name : string
1645
+ reinvestments ?: {
1646
+ investment : string
1647
+ years : string
1648
+ }[]
1649
+ maintenances ?: {
1650
+ investment : string
1651
+ years : string
1652
+ }[]
1653
+ }
1654
+
1655
+
1656
+ interface IAnnualreportSave{
1657
+ year : number,
1658
+ type : string,
1659
+ amount : number
1660
+ delete ?: boolean
1661
+ }
1662
+
1663
+
1664
+ export interface IQuestionset{
1665
+ id : string
1666
+ collectionid ?: string
1667
+ questions ?: IQuestion[]
1668
+ name: string
1669
+ }
1670
+
1671
+ export interface IQuestion{
1672
+ sortorder: number;
1673
+ informationtext: string | null;
1674
+ informationimage: string | null;
1675
+ min: number | null;
1676
+ max: number | null;
1677
+ step: number | null;
1678
+ placeholder: string | null;
1679
+ questiontype: IQuestiontype | null;
1680
+ image: string | null;
1681
+ answeroptions: IAnsweroption[];
1682
+ body: string | null;
1683
+ posttext: string | null;
1684
+ id: string;
1685
+ status: string;
1686
+ name: string;
1687
+ useranswers: IUseranswer[]
1688
+ active : boolean;
1689
+ error?: {
1690
+ [index:string] : any
1691
+ }
1692
+ required?:boolean
1693
+ viewing:boolean
1694
+ shortname : string | null
1695
+ logged ?: ILogged
1696
+ }
1697
+
1698
+ export interface IQuestiontype{
1699
+ name: string;
1700
+ id: string;
1701
+ }
1702
+ export interface IAnsweroption{
1703
+ selected: boolean;
1704
+ informationtext: string | null;
1705
+ name: string;
1706
+ informationimage: string | null;
1707
+ image: string | null;
1708
+ hasinput: boolean;
1709
+ id: string;
1710
+ value: string | null;
1711
+ placeholder?: string
1712
+ min?:number
1713
+ max?:number
1714
+ step?:number
1715
+ questionid : string
1716
+ sortorder ?: number
1717
+ logged ?: ILogged
1718
+ }
1719
+
1720
+ export interface IIntake{
1721
+ id : string
1722
+ useranswers : IUseranswer[]
1723
+ }
1724
+
1725
+
1726
+ export interface IFinancingOption{
1727
+ name : string
1728
+ years : number
1729
+ interest : number
1730
+ min : number
1731
+ max : number
1732
+ title ?: string
1733
+ description ?: string
1734
+ type ?: string
1735
+ link ?: string
1736
+ }
1737
+ export interface IManufacturer extends ICompany{
1738
+ appliances ?: IAppliance[]
1739
+ ventilationsystems ?: IVentilationsystem[]
1740
+ }
1741
+
1742
+ export interface IAppliancetype{
1743
+ name : string
1744
+ id : string
1745
+ deleted : boolean
1746
+ sortorder : number
1747
+ appliances ?: IAppliance[]
1748
+ }
1749
+
1750
+ export interface IVentilationsystemtype{
1751
+ name : string
1752
+ id : string
1753
+ deleted : boolean
1754
+ sortorder : number
1755
+ ventilationsystems ?: IVentilationsystem[]
1756
+ electricitycost ?: number
1757
+ }
1758
+
1759
+ export interface IHeatingappliancetype{
1760
+ name : string
1761
+ id : string
1762
+ deleted : boolean
1763
+ sortorder : number
1764
+ heatingappliances ?: IHeatingappliance[]
1765
+ }
1766
+ export interface IWaterheatertype{
1767
+ name : string
1768
+ id : string
1769
+ deleted : boolean
1770
+ sortorder : number
1771
+ waterheaters ?: IWaterheater[]
1772
+ }
1773
+
1774
+ export interface IWaterheaterCwclass{
1775
+ name : string
1776
+ deleted : boolean
1777
+ sortorder : number
1778
+ waterheaters ?: IWaterheater[]
1779
+ }
1780
+
1781
+ export interface IAppliance{
1782
+ name : string
1783
+ id : string
1784
+ deleted : boolean
1785
+ sortorder : number
1786
+ userdataid ?: string
1787
+ userdata ?: IUserdata
1788
+ manufacturerid ?: string
1789
+ manufacturer ?: IManufacturer
1790
+ appliancetypeid ?: string
1791
+ appliancetype ?: IAppliancetype
1792
+ buildyear : number
1793
+ needsreplacing : boolean
1794
+ othermanufacturer ?: string
1795
+
1796
+ heatingappliance ?: IHeatingappliance
1797
+ }
1798
+ export interface IVentilationsystem{
1799
+ name : string
1800
+ id : string
1801
+ deleted : boolean
1802
+ sortorder : number
1803
+ userdataid ?: string
1804
+ userdata ?: IUserdata
1805
+ manufacturerid ?: string
1806
+ manufacturer ?: IManufacturer
1807
+ ventilationsystemtypeid ?: string
1808
+ ventilationsystemtype ?: IVentilationsystemtype
1809
+ buildyear : number
1810
+ needsreplacing : boolean
1811
+ othermanufacturer ?: string
1812
+ }
1813
+
1814
+ export interface IHeatingappliance{
1815
+ heatingappliancetypeid ?: string
1816
+ heatingappliancetype ?: IHeatingappliancetype
1817
+ }
1818
+
1819
+ export interface IWaterheater{
1820
+ appliance : IAppliance
1821
+ waterheatertypeid ?: string
1822
+ waterheatertype ?: IWaterheatertype
1823
+ waterheatercwclassid ?: string
1824
+ waterheatercwclass ?: IWaterheaterCwclass
1825
+
1826
+ }
1827
+
1828
+ export interface ITag{
1829
+ logged ?: ILogged
1830
+ tagpostcodes ?: ITagpostcode[]
1831
+ contacts ?: IContact[]
1832
+ }
1833
+
1834
+ export interface ITagpostcode{
1835
+ logged ?: ILogged
1836
+ tag ?: ITag
1837
+ tagid ?: string
1838
+ postcode ?: string
1839
+ housenumber ?: string
1840
+ extension ?: string
1841
+ }
1842
+
1843
+
1844
+ export interface IContactTag{
1845
+ tag ?: ITag
1846
+ tagid ?: string
1847
+ contactid ?: string
1848
+ contact ?: IContact
1849
+ }
1850
+
1851
+ export interface IQuestionnaireTag{
1852
+ id : string
1853
+ logged ?: ILogged
1854
+ type ?: string
1855
+ tagdependencies ?: IQuestionnaireTagDependency[]
1856
+ }
1857
+
1858
+ export interface IQuestionnaireTagDependency{
1859
+ tag ?: IQuestionnaireTag
1860
+ tagid ?: string
1861
+ answeroption ?: IAnsweroption
1862
+ answeroptionid ?: string
1863
+ question ?: IQuestion
1864
+ questionid ?: string
1865
+ value ?: string
1866
+ operator ?: string
1867
+ }
1868
+
1869
+
1870
+ export interface IAddress {
1871
+ openbareRuimteNaam: string
1872
+ korteNaam: string
1873
+ huisnummer: number
1874
+ postcode: string
1875
+ woonplaatsNaam: string
1876
+ nummeraanduidingIdentificatie: string
1877
+ openbareRuimteIdentificatie: string
1878
+ woonplaatsIdentificatie: string
1879
+ adresseerbaarObjectIdentificatie: string
1880
+ pandIdentificaties: string[]
1881
+ }
1882
+ export interface IAddressUitgebreid extends IAddress{
1883
+
1884
+ typeAdresseerbaarObject: string,
1885
+ adresseerbaarObjectGeometrie: {
1886
+ punt: {
1887
+ type : string,
1888
+ coordinates : number[]
1889
+ }
1890
+ },
1891
+ adresseerbaarObjectStatus: string
1892
+ gebruiksdoelen: string[]
1893
+ oppervlakte: number
1894
+ oorspronkelijkBouwjaar: string[]
1895
+ woonplaatsid : string
1896
+ huisnummertoevoeging ?: string | number
1897
+ huisletter ?: string
1898
+ }
1899
+
1900
+ export interface IBagData {
1901
+ coordinates: number[]
1902
+ buildyear: number
1903
+ streetname: string
1904
+ city: string
1905
+ surface: number
1906
+ input: IBAGPayload
1907
+ woonplaatsid : string
1908
+ extension ?: string | number
1909
+ municipality ?: string
1910
+ }
1911
+
1912
+ export interface IBAGPayload {
1913
+ postcode?: string
1914
+ huisnummer?: number
1915
+ exacteMatch?: boolean
1916
+ huisnummertoevoeging?: string
1917
+ huisletter?: string
1918
+ }
1919
+
1920
+
1921
+ export interface IAnnex{
1922
+ id : string
1923
+ logged ?: ILogged
1924
+ userdataid ?: string
1925
+ annexsides ?: IAnnexside[]
1926
+ annextemplate ?: IAnnextemplate
1927
+ annextemplateid ?: string
1928
+ floors ?: IFloor[]
1929
+ roofs ?: IRoof[]
1930
+ walls ?: IWall[]
1931
+ buildyear ?: number
1932
+ shouldceilingbepaneled ?: boolean
1933
+ }
1934
+
1935
+ export interface IAnnexside{
1936
+ deleted : boolean
1937
+ id : string
1938
+ sortorder : number
1939
+ annexid ?: string
1940
+ annex ?: IAnnex
1941
+ annextemplateid ?: string
1942
+ annextemplate ?: IAnnextemplate
1943
+ attachedtohouse : boolean
1944
+ attachedtoneighbour : boolean
1945
+ width : number
1946
+ height : number
1947
+ deviationtopleft ?: number | null
1948
+ deviationbottomright ?: number | null
1949
+ sideno : number
1950
+ }
1951
+
1952
+ export interface IAnnextemplate{
1953
+ id : string
1954
+ logged ?: ILogged
1955
+ userdataid ?: string
1956
+ annexes ?: IAnnex[]
1957
+ annexsides ?: IAnnexside[]
1958
+ nr ?: number
1959
+ surfacefloor ?: number
1960
+ surfacewall ?: number
1961
+ surfaceroof ?: number
1962
+ percentageglassleft ?: number
1963
+ percentageglassright ?: number
1964
+ percentageglassback ?: number
1965
+ percentageglassfront ?: number
1966
+ wallreductionleft ?: number
1967
+ wallreductionright ?: number
1968
+ wallreductionback ?: number
1969
+ wallreductionfront ?: number
1970
+ floorunattachedfactor : number
1971
+ }
1972
+