@e-trias/woonplan 1.3.134 → 1.3.136

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