@e-trias/woonplan 1.3.133 → 1.3.135

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,2113 +1,2115 @@
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
- hideMenuItems?: {
751
- "my-home"?: boolean | "1" | "0"
752
- "my-advice"?: boolean | "1" | "0"
753
- "advice-and-support"?: boolean | "1" | "0"
754
- "measures"?: boolean | "1" | "0"
755
- "quotations"?: boolean | "1" | "0"
756
- "faq"?: boolean | "1" | "0"
757
- "about-us"?: boolean | "1" | "0"
758
- "contact"?: boolean | "1" | "0"
759
- }
760
- powerbi ?: string
761
- myhouseeditor ?: "1" | "0"
762
- skipFirstQuestionnaire ?: "1" | "0"
763
- showContrastSwitch ?: "1" | "0"
764
- showTextZoomSwitch ?: "1" | "0"
765
-
766
- heatNetworkTemperature ?: string
767
- }
768
-
769
- export interface IMailchimpSettings {
770
- apiKey?: string
771
- audienceId?: string
772
- }
773
-
774
-
775
- export interface IPerfectviewSettings {
776
- ApiKey?: string
777
- DatabaseId?: string
778
- UserId?: string
779
- }
780
-
781
- export interface ICavaSettings {
782
- pvMark?: string
783
- pvMarkCategory?: string
784
- }
785
-
786
- export interface IPerfectviewProject {
787
- phase?: string
788
- type?: string
789
- }
790
-
791
- export interface IPackage {
792
- id: string
793
- name ?: string
794
- packagemeasures ?: IPackageMeasure[]
795
- }
796
-
797
- export interface IPackageMeasure{
798
- id : string
799
- packageid ?: string
800
- measureid ?: string
801
- step ?: number
802
- showinlist : boolean
803
- package ?: IPackage
804
- measure ?: IMeasure
805
- }
806
-
807
- export interface IPriceMargin {
808
- priceMarginMin?: number
809
- priceMarginMax?: number
810
- }
811
-
812
- export interface IPrice {
813
- currency: string
814
- value: string
815
- }
816
-
817
- export interface IPSPStatusUpdate {
818
- mollieid: string
819
- }
820
-
821
-
822
- export interface IPayment {
823
- id: string,
824
- deleted: boolean,
825
- mollieid: string,
826
- price: IPrice
827
- description: string,
828
- createdat: string,
829
- updatedat: string,
830
- status: string,
831
- appointmentid?: string,
832
- checkouturl?: string
833
- subscriptionid ?: string
834
- }
835
-
836
- export interface IOnlineAfsprakenSettings{
837
- apiKey: string
838
- apiSecret: string
839
- appointmentTypeId: number
840
- agendaId: number
841
- }
842
-
843
-
844
- export interface IGetBookableDaysParams {
845
- userdataid: string,
846
- ResourceId?: string,
847
- StartDate: string // YYYY-MM-DD
848
- EndDate: string // YYYY-MM-DD
849
- settings?:IOnlineAfsprakenSettings
850
- }
851
-
852
- export interface IGetBookableTimesParams {
853
- Date: string // YYYY-MM-DD
854
- userdataid: string,
855
- ResourceId?: string,
856
- EndDate?: string // YYYY-MM-DD
857
- settings?:IOnlineAfsprakenSettings
858
- }
859
-
860
- export interface IBookableday{
861
- Date: string;
862
- Month:number
863
- Day:number
864
- Year?:number
865
- JSDate?:Date
866
- UTCDate?: string
867
- }
868
-
869
-
870
- export interface IBookabletime{
871
- Date: string;
872
- StartTime: string,
873
- LabelTime: string
874
- EndTime: string,
875
- Timestamp: number,
876
- JSDateStart?:Date
877
- JSDateEnd?:Date
878
- UTCDateStart?: string
879
- UTCDateEnd?: string
880
- }
881
-
882
-
883
-
884
- export interface IBagData {
885
- coordinates: number[]
886
- buildyear: number
887
- streetname: string
888
- city: string
889
- surface:number
890
- }
891
-
892
- export interface IWssProject{
893
- id : string
894
- name : string
895
- }
896
- export interface IWssAddress{
897
- id : string
898
- postcode : string
899
- housenumber : number
900
- extension : string
901
- projectid : string
902
- tags : string[]
903
- }
904
- export interface IWssTag{
905
- id : string
906
-
907
- }
908
-
909
- export interface IHouseobject{
910
- deleted ?: boolean
911
- id ?: string
912
- name ?: string
913
- sortorder ?: number
914
- surface ?: number
915
- measuredatas ?: IMeasuredata[]
916
- rcvalue ?: number
917
- u_value ?: number
918
- }
919
-
920
- export interface IHouselevel{
921
- id : string
922
- deleted : boolean
923
- sortorder : number
924
- userdataid ?: string | null
925
- heated : boolean
926
- walkable: boolean
927
- used: boolean
928
- haskitchenorlivingroom: boolean
929
- heatinghours : number
930
- }
931
-
932
- export interface IHouse{
933
- windowframeparts : IWindowframepart[],
934
- floors : IFloor[],
935
- walls : IWall[],
936
- roofs : IRoof[],
937
- houselevels : IHouselevel[]
938
- }
939
-
940
- export interface IAbstractHouseObjectType{
941
- deleted ?: boolean
942
- id ?: string
943
- sortorder ?: number
944
- name ?: string
945
- }
946
-
947
- export interface IFloortype extends IAbstractHouseObjectType{
948
- lambda ?: number
949
- rcvalue ?: number
950
- image ?: string | null
951
- }
952
-
953
- export interface IRooftype extends IAbstractHouseObjectType{
954
- image ?: string | null
955
- }
956
-
957
- export interface IWalltype extends IAbstractHouseObjectType{
958
- image ?: string
959
- }
960
-
961
-
962
- export interface IWindowframeparttype extends IAbstractHouseObjectType{
963
- }
964
-
965
- export interface IWallfinish{
966
- deleted ?: boolean
967
- id ?: string
968
- sortorder ?: number
969
- name ?: string
970
- image ?: string | null
971
- }
972
- export interface IRoofing{
973
- deleted ?: boolean
974
- id ?: string
975
- sortorder ?: number
976
- name ?: string
977
- roofs ?: IRoof[]
978
- image ?: string | null
979
- }
980
-
981
- export interface ICrawlspace{
982
- deleted ?: boolean
983
- id ?: string | null
984
- sortorder ?: number
985
- accessible ?: boolean
986
- pumpable ?: boolean
987
- cluttered ?: boolean
988
- height ?: number
989
- wet ?: string | null
990
- houselevelid ?: string | null
991
-
992
- crawlspacesinfloor ?: ICrawlspaceinfloor[]
993
-
994
- }
995
- export interface ICrawlspaceinfloor{
996
- deleted ?: boolean
997
- id ?: string | null
998
- sortorder ?: number
999
- floorid ?: string | null
1000
- crawlspaceid ?: string
1001
- surface ?: number
1002
- }
1003
- export interface IFloorinroom{
1004
- deleted ?: boolean
1005
- id ?: string | null
1006
- sortorder ?: number
1007
- floorid ?: string
1008
- roomid ?: string
1009
- surface ?: number
1010
- room ?: IRoom
1011
- }
1012
-
1013
- export interface IFloor extends IHouseobject{
1014
- floortypeid ?: string | null
1015
- floortype ?: IFloortype
1016
- crawlspaces ?: ICrawlspace[]
1017
- historic ?: boolean
1018
- woodneedsreplacing ?: string
1019
- woodandbeamsneedsreplacing ?: string
1020
- flatbottom ?: boolean
1021
- crawlspacesinfloor ?: ICrawlspaceinfloor[]
1022
- basementhasceiling ?: boolean
1023
- basementunderneath ?: boolean
1024
- rcvalue ?: number
1025
- floorinrooms ?: IFloorinroom[]
1026
- allowcarpetingtoberemoved ?: boolean
1027
- preferredcarpeting ?: string
1028
-
1029
- annexid ?: string
1030
- annex ?: IAnnex
1031
-
1032
- houselevelid ?: string
1033
- }
1034
-
1035
-
1036
- export interface ISide{
1037
- name : string
1038
- deleted : boolean
1039
- id : string
1040
- sortorder : number
1041
- }
1042
-
1043
- export interface IWall extends IHouseobject{
1044
- shadowpercentage ?: number
1045
- angle ?: number
1046
- side ?: ISide
1047
- sideid ?: string | null
1048
- walltypeid ?: string | null
1049
- walltype ?: IWalltype
1050
- insulationonownrisk ?: boolean
1051
- wallfinishid ?: string | null
1052
- wallfinish ?: IWallfinish
1053
- protectedstatus ?: string
1054
- aircavity ?: boolean
1055
- rcvalue ?: number
1056
- thicknesscavity ?: number
1057
- housetypeid ?: string | null
1058
- grosssurface ?: number
1059
-
1060
- monumentaloutside ?: boolean
1061
- monumentalinside ?: boolean
1062
-
1063
- annexid ?: string
1064
- annex ?: IAnnex
1065
-
1066
- }
1067
-
1068
- export interface IRoom extends IHouseobject{
1069
- houselevel ?: IHouselevel
1070
- houselevelid ?: string
1071
- roofs ?: IRoof[]
1072
- windowframes ?: IWindowframe[]
1073
- floorinrooms ?: IFloorinroom[]
1074
- heated : boolean
1075
- walkable : boolean
1076
- accessible : boolean
1077
- isattic : boolean
1078
- used : boolean
1079
-
1080
- }
1081
-
1082
- export interface IRoof extends IHouseobject{
1083
- shadowpercentage ?: number
1084
- angle ?: number
1085
- rooftypeid ?: string | null
1086
- rooftype ?: IRooftype
1087
- slope ?: boolean
1088
- ridgeheight ?: number
1089
- ceilingboarded ?: boolean
1090
- roofingid ?: string | null
1091
- roofing ?: IRoofing
1092
- sideid ?: string | null
1093
- side ?: ISide
1094
- rcvalue ?: number
1095
- housetypeid ?: string | null
1096
-
1097
- roomid ?: string | null
1098
- room ?: IRoom
1099
-
1100
- hasknieschot ?: boolean
1101
- knieschotbacksideaccessible ?: boolean
1102
- knieschotenoughspace ?: boolean
1103
- knieschotrunningmeters ?: number
1104
- buildyear ?: number | null
1105
- protectedstatus ?: string | null
1106
- protectedstatusside ?: string | null
1107
- roofplanelocation ?: string | null
1108
- roofboardingthickness ?: number
1109
- beamsheight ?: number
1110
- flat_edgeheight ?: number
1111
- flat_edgerunningmeters ?: number
1112
- flat_opgaandegevelheight ?: number
1113
- hellend_opgaandegevelheight ?: number
1114
- hellend_lokettenrunningmeters ?: number
1115
- flat_voetloodrunningmeters ?: number
1116
-
1117
- replaceroofsheathing ?: boolean
1118
- replaceraftersorjoists ?: boolean
1119
-
1120
- annexid ?: string
1121
- annex ?: IAnnex
1122
- }
1123
-
1124
- export interface IWindowframe extends IHouseobject{
1125
- userdataid ?: string | null
1126
- userdata ?: IUserdata
1127
- wall ?: IWall
1128
- sideid ?: string | null
1129
- side ?: ISide
1130
- wallid ?: string | null
1131
- roomid ?: string | null
1132
- houselevelid ?: string | null
1133
- windowframetypeid ?: string | null
1134
- windowframetype ?: IWindowframetype
1135
- width : number
1136
- height : number
1137
- needreplacing ?: boolean
1138
- housetypeid ?: string | null
1139
-
1140
- room ?: IRoom
1141
- }
1142
-
1143
- export interface IWindowframepart extends IHouseobject{
1144
- framewidth ?: number
1145
- frameheight ?: number
1146
- glasswidth ?: number
1147
- glassheight ?: number
1148
- leftcasinglength ?: number
1149
- rightcasinglength ?: number
1150
- bottomstoollength ?: number
1151
- topstoollength ?: number
1152
- shadowpercentage ?: number
1153
-
1154
- windowframeparttypeid ?: string | null
1155
- windowframeid ?: string | null
1156
- windowframe ?: IWindowframe
1157
- windowframetype ?: IWindowframetype
1158
- side ?: ISide
1159
- }
1160
-
1161
- export interface IWindowframetype extends IAbstractHouseObjectType{
1162
- uvalue ?: number
1163
- }
1164
-
1165
- export interface IRule{
1166
- id : string
1167
- energylossid ?: string | null
1168
- floortypeid ?: string | null
1169
- glasstypeid ?: string | null
1170
- roofingid ?: string | null
1171
- roofshapeid ?: string | null
1172
- rooftypeid ?: string | null
1173
- wallfinishid ?: string | null
1174
- walltypeid ?: string | null
1175
- windowframeparttypeid ?: string | null
1176
- packageid ?: string | null
1177
- rulesetid ?: string | null
1178
- ruletypeid ?: string | null
1179
- measuredataid ?: string | null
1180
- targetMeasureid ?: string | null
1181
- gasfreeoptionid ?: string | null
1182
- measuretypeid ?: string | null
1183
- insulationlocationid ?: string | null
1184
- insulationmethodid ?: string | null
1185
- insulationtypeid ?: string | null
1186
- ventilationsystemtypeid ?: string | null
1187
- field ?: string
1188
- operator ?: string
1189
- value ?: string
1190
- }
1191
-
1192
-
1193
- export interface IGasfreeoption{
1194
- id : string
1195
- name : string
1196
- deleted : boolean
1197
- sortorder : number
1198
- riskfactor : number
1199
- gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
1200
- measures ?: IMeasure[]
1201
- }
1202
- export interface IGasfreeoptionmeasure{
1203
- id : string
1204
- name : string
1205
- deleted : boolean
1206
- sortorder : number
1207
- measureid : string
1208
- gasfreeoptionid : string
1209
- gasfreeoption ?: IGasfreeoption
1210
- }
1211
-
1212
-
1213
- export interface IMeasure {
1214
- id : string
1215
- gasfreeoptionmeasures ?: IGasfreeoptionmeasure[]
1216
- measuredatas ?: IMeasuredata[]
1217
- measuretypeid ?: string | null
1218
- measuretype ?: IMeasuretype
1219
- logged : ILogged
1220
-
1221
- insulationmethods ?: IInsulationmethod[]
1222
- insulationtypes ?: IInsulationtype[]
1223
- insulationlocations ?: IInsulationlocation[]
1224
- rejected ?: {
1225
- measuredata : IMeasuredata,
1226
- reasons : string[]
1227
- }[]
1228
- }
1229
-
1230
-
1231
- export interface IMeasuretype{
1232
- id : string
1233
- measures ?: IMeasure[]
1234
- logged : ILogged
1235
- }
1236
-
1237
-
1238
-
1239
- export interface ISolarApiAddress {
1240
- add_on: string
1241
- addition: string
1242
- city: string
1243
- country: string
1244
- hid: number
1245
- lat: number
1246
- lon: number
1247
- municipality: string
1248
- number: number
1249
- postal: string
1250
- project: string
1251
- spc_id: number
1252
- spc_key: string
1253
- street: string
1254
- }
1255
- export interface ISolarApiBagdata {
1256
- building_add_on: string | null,
1257
- building_addition: string | null,
1258
- building_area: number,
1259
- building_function: string
1260
- building_number: number,
1261
- building_postcode: string
1262
- building_status: string
1263
- id_nummeraanduiding: string
1264
- id_openbareruimte: string
1265
- id_plaats: string
1266
- id_verblijfsobject: string
1267
- pand_building_year: number
1268
- pand_status: string
1269
- }
1270
-
1271
- export interface ISolarApiCalculationParamaters{
1272
- harging_station: boolean
1273
- costs_insurance: number
1274
- costs_other: number
1275
- costs_service: number
1276
- degradation:number
1277
- eeg_umlage: any | null,
1278
- emobility: boolean,
1279
- energy_consumption: number,
1280
- energy_price:number
1281
- energy_price_increase: number
1282
- feed_in_rate_kwh: number
1283
- inflation: number
1284
- load_profile: boolean,
1285
- scaffold_factor: number
1286
- scaffold_price_increase: number
1287
- solar_thermal: boolean,
1288
- storage: boolean,
1289
- storage_information: { kwh_brutto: number }
1290
- subsidy_per_kwp: number
1291
- system_loss: number
1292
- }
1293
-
1294
- export interface ISolarApiData {
1295
- autarky: number
1296
- building_area: number
1297
- co2_savings: number
1298
- cost_charging_station: number
1299
- cost: number
1300
- cost_charging_station_excl_vat: number
1301
- cost_excl_vat: number
1302
- cost_pv_excl_vat: number
1303
- cost_pv: number
1304
- cost_storage_excl_vat: number
1305
- cost_storage: number
1306
- forecasted_years: number
1307
- energy_consumption: number
1308
- global_mean_barely_suited: number
1309
- global_mean_suited: number
1310
- global_mean_well_suited: number
1311
- kwp: number
1312
- max_energy: number
1313
- max_energy_barely_suited: number
1314
- max_energy_suited: number
1315
- max_energy_well_suited: number
1316
- max_kwp: number
1317
- max_kwp_barely_suited: number
1318
- max_kwp_suited: number
1319
- max_kwp_well_suited: number
1320
- max_panels: number
1321
- months_until_payback: number
1322
- number_of_panels: number
1323
- own_consumption: number
1324
- percent_roi: number
1325
- profit: number
1326
- pv_area_barely_suited: number
1327
- pv_area_suited: number
1328
- pv_area_well_suited: number
1329
- st_area_suited: number
1330
- st_area_well_suited: number
1331
- st_max_area: number
1332
- st_max_kwhpa_flat: number
1333
- st_max_kwhpa_vacuum: number
1334
- st_max_number_of_panels: number
1335
- street: string
1336
- subsidy_one_time: number
1337
- suitability: string
1338
- suitability_st: string
1339
- total_income: number
1340
- total_plant_roof_area: number
1341
- total_plant_surface: number
1342
- yearly_income: number
1343
- yearly_yield: number
1344
- years_until_payed_back: number
1345
- }
1346
-
1347
- export interface ISolarApiMapLayer {
1348
- name: string
1349
- url: string
1350
- }
1351
-
1352
- export interface ISolarApiModule {
1353
- Wp: number,
1354
- cost_per_kwp: number,
1355
- height: number,
1356
- ident: number | null,
1357
- name: string,
1358
- size:number,
1359
- width: number
1360
- module_id : number
1361
- }
1362
-
1363
- export interface ISolarApiPlantData{
1364
- estimated_yield:number,
1365
- kwp: number,
1366
- module: ISolarApiModule,
1367
- number_of_modules: number,
1368
- orientation: number,
1369
- roof_id: number,
1370
- scaffold: boolean,
1371
- tilt: number
1372
- }
1373
-
1374
- export interface ISolarApiPlant{
1375
- data: ISolarApiPlantData,
1376
- mp: string
1377
- type: string
1378
- }
1379
-
1380
- export interface ISolarApiRequest {
1381
- add_on: string
1382
- addition: string
1383
- api_type: string
1384
- auth: string
1385
- moduleplacer: boolean
1386
- number: string
1387
- postal: string
1388
-
1389
- }
1390
-
1391
- export interface ISolarApiPendingResult{
1392
- building_area : number
1393
- building_geom : string
1394
- building_hid : number
1395
- building_project : boolean
1396
- buildings_in_queue : number
1397
- est_absolute_calculation_time_building : number
1398
- est_finish_time : string
1399
- requested_time : string
1400
- servertime : string
1401
- status : number
1402
- status_word : string
1403
- }
1404
-
1405
- export interface ISolarApiResult{
1406
- address : ISolarApiAddress
1407
- bagdata : ISolarApiBagdata[]
1408
- buildingwkt : string
1409
- calculation_parameters : ISolarApiCalculationParamaters
1410
- data : ISolarApiData
1411
- href : string
1412
- individual_data : any
1413
- map_layers : ISolarApiMapLayer[]
1414
- monuments : {
1415
- monument_areas: [],
1416
- national_monuments: []
1417
- }
1418
- plants : ISolarApiPlant[],
1419
- images : {
1420
- radiation : string,
1421
- radiation_large:string,
1422
- roofs : string,
1423
- roofs_large:string
1424
- }
1425
- }
1426
-
1427
- export interface ISolarApiResponse {
1428
- request : ISolarApiRequest
1429
- results : ISolarApiResult[]
1430
- }
1431
-
1432
-
1433
- export interface EnergyOutput{
1434
- output : number
1435
- }
1436
- export interface EnergyInput{
1437
- input : number
1438
- }
1439
-
1440
- export interface EnergyIO extends EnergyOutput, EnergyInput{}
1441
-
1442
- export interface EntityEnergyIO extends EnergyIO{
1443
- id : string
1444
- u : number
1445
- }
1446
-
1447
- export interface EnergyIOState{
1448
- floors : EntityEnergyIO[]
1449
- walls : EntityEnergyIO[]
1450
- roofs : EntityEnergyIO[]
1451
- windowframeparts : EntityEnergyIO[]
1452
- coldbridges : EnergyIO
1453
- perimeter: EnergyIO
1454
- draft: EnergyIO
1455
- ventilation: EnergyIO
1456
- internal: EnergyOutput
1457
- }
1458
-
1459
-
1460
-
1461
- export type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs" | "houselevels" | "solar" | "installations"| "ventilation"| "draft" | "existing"
1462
- type IHouseMap = Map< IHouseObjectName , IHouseObjectWithMeasuredatas[]>
1463
-
1464
- export interface IHouseObjectWithMeasuredatas extends IHouseobject{
1465
- measuredatas : IMeasuredata[]
1466
- }
1467
-
1468
-
1469
- export interface IUseranswer{
1470
- id : string
1471
- intakeid ?: string | null
1472
- value ?: string
1473
- answeroptionid ?: string | null
1474
- answeroption ?: IAnsweroption
1475
- question ?: IQuestion
1476
-
1477
- }
1478
-
1479
- export interface IAreaactioncollection extends ILogged{
1480
- userdataid ?: string
1481
- areaactionid ?: string
1482
- housetemplateid ?: string
1483
- }
1484
- export interface IAreaaction extends ILogged{
1485
- settings ?: ISettings
1486
- hostname ?: string
1487
- pvmark ?: string
1488
- partnerid ?: string
1489
- logo ?: string
1490
- questionsets ?: IQuestionsetSettings[]
1491
- htmltitle ?: string
1492
- senderemail?: string
1493
- subscriptionplanid ?: string
1494
- localeid ?: string
1495
- locale ?: ILocale
1496
- }
1497
-
1498
- export interface IQuestionsetSettings{
1499
- id: string,
1500
- name: string,
1501
- rule: string,
1502
- initial: boolean,
1503
- adminonly: boolean,
1504
- questionset ?: string,
1505
- questionsets ?: IQuestionsetSettings[],
1506
- editable_after_finish: boolean
1507
- }
1508
-
1509
- export interface IHomeSettings{
1510
- floor_insulationtype ?: string
1511
- floor_insulationlocation ?: string
1512
- floor_insulationmethod ?: string
1513
- floor_rcValue ?: number
1514
- floor_floortypeid ?: string
1515
- wall_insulationtype ?: string
1516
- wall_insulationlocation ?: string
1517
- wall_insulationmethod ?: string
1518
- wall_rcValue ?: number
1519
- wall_walltypeid ?: string
1520
- wall_rcValue_uninsulated ?: number
1521
- wall_thickness ?: string
1522
- wall_aircavity ?: boolean
1523
- roof_insulationtype ?: string
1524
- roof_insulationlocation ?: string
1525
- roof_insulationmethod ?: string
1526
- roof_rcValue ?: number
1527
- roof_rooftypeid ?: string
1528
- roof_roofingid ?: string
1529
- glass_glasstype ?: string
1530
- draftprofile ?: "draftprofile-1" | "draftprofile-2" | "draftprofile-3" | "draftprofile-4"
1531
- }
1532
-
1533
- export interface IDefaulthomesettings{
1534
- settings ?: IHomeSettings
1535
- yearmin ?: number
1536
- yearmax ?: number
1537
- }
1538
-
1539
-
1540
- export interface IHousewish{
1541
- name : string
1542
- deleted : boolean
1543
- sortorder : number
1544
- userdatahousewishes ?: IUserdatahousewish[]
1545
- housewishgroup ?: IHousewishgroup
1546
- housewishgroupid ?: string | null
1547
- }
1548
-
1549
-
1550
- export interface IHousewishgroup{
1551
- name : string
1552
- deleted : boolean
1553
- sortorder : number
1554
- housewishes ?: IHousewish[]
1555
- }
1556
-
1557
-
1558
- export interface IUserdatahousewish{
1559
- name : string
1560
- deleted : boolean
1561
- sortorder : number
1562
- housewish ?: IHousewish
1563
- userdata ?: IUserdata
1564
- housewishid ?: string | null
1565
- userdataid ?: string | null
1566
- score ?: number
1567
- }
1568
-
1569
-
1570
-
1571
- interface IEnergyconsumption{
1572
- water : number
1573
- electricity : number
1574
- heatnetwork : number
1575
- gas : number
1576
- }
1577
-
1578
- interface IEnergyDistribution{
1579
- heating : number
1580
- warmwater : number
1581
- household : number
1582
- cooking : number
1583
- shower : number
1584
- }
1585
-
1586
-
1587
-
1588
-
1589
- interface IUsage{
1590
- consumption : IEnergyconsumption
1591
- distribution : IEnergyDistribution
1592
- energyfactor : number
1593
- m3gasToKwhFactor : number
1594
- cooksongas : boolean
1595
- calculatedEnergyUse : number
1596
- appliance ?: {
1597
- gassaved : number
1598
- extraelectricity : number
1599
- }
1600
- heatingpower ?: number
1601
- solargenerated ?: number
1602
- }
1603
-
1604
- interface ICosts{
1605
- id : string
1606
- gasstandingcharge ?: number
1607
- gasprice ?: number
1608
- gaspriceincrease ?: number
1609
- heatnetworkstandingcharge ?: number
1610
- heatnetworkprice ?: number
1611
- heatnetworkpriceincrease ?: number
1612
- electricitystandingcharge ?: number
1613
- electricityprice ?: number
1614
- electricitysellbackprice ?: number
1615
- electricitypriceincrease ?: number
1616
- waterprice ?: number
1617
- waterpriceincrease ?: number
1618
- inflation ?: number
1619
- gasm3tokwhfactor ?: number
1620
- interest ?: number
1621
- settings ?: JSON
1622
- userdataid ?: string
1623
- }
1624
-
1625
- export interface ICustomAdviceCombination{
1626
- insulation : {
1627
- [index:string] : string | null | undefined
1628
- }
1629
- draft : string | null | undefined
1630
- ventilation : string | null | undefined
1631
- gasfreeoption : string | null | undefined
1632
- solar : {
1633
- household : string | null | undefined
1634
- gasfree : string | null | undefined
1635
- }
1636
- years ?: number
1637
- loans ?: IPreferredFinancingOption[]
1638
- }
1639
-
1640
- export interface IPreferredFinancingOption{
1641
- name : string
1642
- amount : number
1643
- interest : number
1644
- years : number
1645
- }
1646
-
1647
-
1648
-
1649
- export interface HouseObjectSettings{
1650
- floor : number | IHousetemplateCalculationDataPerHousetype | { u: number; factor: number; }[]
1651
- wall : number
1652
- windowframepart : number
1653
- roof : number
1654
- }
1655
-
1656
- type IOperation = "multiplication" | "division"
1657
-
1658
-
1659
- type Orientation = "z" | "z/w" | "w" | "n/w" | "n" | "n/o" | "o" | "z/o"
1660
-
1661
- export interface ITemperaturecalcdata{
1662
- logged : ILogged
1663
- savingsinenergyfactor ?: string | null
1664
- returnpercentagefactor ?: string | null,
1665
- paybackfactor ?: string | null
1666
- saving1 ?: string | null
1667
- saving2 ?: string | null
1668
- rc1 ?: string | null
1669
- rc2 ?: string | null
1670
- vereffening ?: string | null
1671
- operation ?: IOperation | null
1672
- openstairs ?: boolean | null
1673
- floorheating ?: boolean | null
1674
- measureid ?: string | null
1675
- roomheated ?: boolean | null
1676
- househasonehouselevel ?: boolean | null
1677
- noexistingmeasure ?: boolean | null
1678
- }
1679
-
1680
-
1681
- export type DraftProfile = 1 | 2 | 3 | 4
1682
- export type DraftFactor = number
1683
-
1684
- export interface DraftProfileSetting{
1685
- profile : DraftProfile
1686
- factor : DraftFactor
1687
- default ?:boolean
1688
- }
1689
-
1690
- export interface Uninsulatedenergylosses extends HouseObjectSettings{
1691
- }
1692
-
1693
- export interface Uninsulatedu extends HouseObjectSettings{
1694
- }
1695
-
1696
- export interface Reductionfactors extends HouseObjectSettings{
1697
- }
1698
- export interface HouseContructionParams{
1699
- surface:number
1700
- coldbridgesenergyloss:number | null
1701
- graaddagenjaarmethode:number | null
1702
- graaddagenmaandmethode:number | null
1703
- draftprofile:DraftProfile | null
1704
- perimeterenergyloss:number | null
1705
- uninsulatedenergylosses : Uninsulatedenergylosses
1706
- uninsulatedu : Uninsulatedu
1707
- uninsulatedreductionfactors : Reductionfactors
1708
- insulatedreductionfactors : Reductionfactors
1709
- openstairs : boolean
1710
- floorheating : boolean
1711
- househasonehouselevel : boolean,
1712
- temperaturecalcdatas ?:ITemperaturecalcdata[]
1713
- frontorientation ?: Orientation
1714
- }
1715
-
1716
-
1717
- export interface IAbstractInsulation{
1718
- id : string
1719
- name : string
1720
- deleted : boolean
1721
- sortorder : number
1722
- measures ?: IMeasure[]
1723
- measuredatas ?: IMeasuredata[]
1724
- }
1725
-
1726
- export interface IInsulationmethod extends IAbstractInsulation{
1727
- insulationtypes ?: IInsulationtype[]
1728
- image ?: string | null
1729
- walltypes ?: IWalltype[]
1730
- }
1731
- export interface IInsulationlocation extends IAbstractInsulation{
1732
- rooftypeinsulationlocations ?: {
1733
- rooftypeid: string
1734
- }[]
1735
- insulationtypes ?: IInsulationtype[]
1736
- image ?: string | null
1737
- }
1738
- export interface IInsulationtype extends IAbstractInsulation{
1739
- lambda ?: number | null
1740
- rcvalue ?: number | null
1741
- insulationmethods ?: IInsulationmethod[]
1742
- insulationlocations ?: IInsulationlocation[]
1743
- image ?: string | null
1744
- }
1745
-
1746
- export interface IAppliedMeasure{
1747
- id : string
1748
- investment : number
1749
- measureid : string
1750
- measuretype : string
1751
- name : string
1752
- reinvestments ?: {
1753
- investment : string
1754
- years : string
1755
- }[]
1756
- maintenances ?: {
1757
- investment : string
1758
- years : string
1759
- }[]
1760
- }
1761
-
1762
-
1763
- interface IAnnualreportSave{
1764
- year : number,
1765
- type : string,
1766
- amount : number
1767
- delete ?: boolean
1768
- }
1769
-
1770
-
1771
- export interface IQuestionset{
1772
- id : string
1773
- collectionid ?: string
1774
- questions ?: IQuestion[]
1775
- name: string
1776
- }
1777
-
1778
- export interface IQuestion{
1779
- sortorder: number;
1780
- informationtext: string | null;
1781
- informationimage: string | null;
1782
- min: number | null;
1783
- max: number | null;
1784
- step: number | null;
1785
- placeholder: string | null;
1786
- questiontype: IQuestiontype | null;
1787
- image: string | null;
1788
- answeroptions: IAnsweroption[];
1789
- body: string | null;
1790
- posttext: string | null;
1791
- id: string;
1792
- status: string;
1793
- name: string;
1794
- useranswers: IUseranswer[]
1795
- active : boolean;
1796
- error?: {
1797
- [index:string] : any
1798
- }
1799
- required?:boolean
1800
- viewing:boolean
1801
- shortname : string | null
1802
- logged ?: ILogged
1803
- }
1804
-
1805
- export interface IQuestiontype{
1806
- name: string;
1807
- id: string;
1808
- }
1809
- export interface IAnsweroption{
1810
- selected: boolean;
1811
- informationtext: string | null;
1812
- name: string;
1813
- informationimage: string | null;
1814
- image: string | null;
1815
- hasinput: boolean;
1816
- id: string;
1817
- value: string | null;
1818
- placeholder?: string
1819
- min?:number
1820
- max?:number
1821
- step?:number
1822
- questionid : string
1823
- sortorder ?: number
1824
- logged ?: ILogged
1825
- }
1826
-
1827
- export interface IIntake{
1828
- id : string
1829
- useranswers : IUseranswer[]
1830
- }
1831
-
1832
-
1833
- export interface IFinancingOption{
1834
- name : string
1835
- years : number
1836
- interest : number
1837
- min : number
1838
- max : number
1839
- title ?: string
1840
- description ?: string
1841
- type ?: string
1842
- link ?: string
1843
- autoapplied ?: boolean
1844
- }
1845
- export interface IManufacturer extends ICompany{
1846
- appliances ?: IAppliance[]
1847
- ventilationsystems ?: IVentilationsystem[]
1848
- }
1849
-
1850
- export interface IAppliancetype{
1851
- name : string
1852
- id : string
1853
- deleted : boolean
1854
- sortorder : number
1855
- appliances ?: IAppliance[]
1856
- }
1857
-
1858
- export interface IVentilationsystemtype{
1859
- name : string
1860
- id : string
1861
- deleted : boolean
1862
- sortorder : number
1863
- ventilationsystems ?: IVentilationsystem[]
1864
- electricitycost ?: number
1865
- }
1866
-
1867
- export interface IHeatingappliancetype{
1868
- name : string
1869
- id : string
1870
- deleted : boolean
1871
- sortorder : number
1872
- heatingappliances ?: IHeatingappliance[]
1873
- }
1874
- export interface IWaterheatertype{
1875
- name : string
1876
- id : string
1877
- deleted : boolean
1878
- sortorder : number
1879
- waterheaters ?: IWaterheater[]
1880
- }
1881
-
1882
- export interface IWaterheaterCwclass{
1883
- name : string
1884
- deleted : boolean
1885
- sortorder : number
1886
- waterheaters ?: IWaterheater[]
1887
- }
1888
-
1889
- export interface IAppliance{
1890
- name : string
1891
- id : string
1892
- deleted : boolean
1893
- sortorder : number
1894
- userdataid ?: string
1895
- userdata ?: IUserdata
1896
- manufacturerid ?: string
1897
- manufacturer ?: IManufacturer
1898
- appliancetypeid ?: string
1899
- appliancetype ?: IAppliancetype
1900
- buildyear : number
1901
- needsreplacing : boolean
1902
- othermanufacturer ?: string
1903
-
1904
- heatingappliance ?: IHeatingappliance
1905
- }
1906
- export interface IVentilationsystem{
1907
- name : string
1908
- id : string
1909
- deleted : boolean
1910
- sortorder : number
1911
- userdataid ?: string
1912
- userdata ?: IUserdata
1913
- manufacturerid ?: string
1914
- manufacturer ?: IManufacturer
1915
- ventilationsystemtypeid ?: string
1916
- ventilationsystemtype ?: IVentilationsystemtype
1917
- buildyear : number
1918
- needsreplacing : boolean
1919
- othermanufacturer ?: string
1920
- }
1921
-
1922
- export interface IHeatingappliance{
1923
- heatingappliancetypeid ?: string
1924
- heatingappliancetype ?: IHeatingappliancetype
1925
- }
1926
-
1927
- export interface IWaterheater{
1928
- appliance : IAppliance
1929
- waterheatertypeid ?: string
1930
- waterheatertype ?: IWaterheatertype
1931
- waterheatercwclassid ?: string
1932
- waterheatercwclass ?: IWaterheaterCwclass
1933
-
1934
- }
1935
-
1936
- export interface ITag{
1937
- logged ?: ILogged
1938
- tagpostcodes ?: ITagpostcode[]
1939
- contacts ?: IContact[]
1940
- }
1941
-
1942
- export interface ITagpostcode{
1943
- logged ?: ILogged
1944
- tag ?: ITag
1945
- tagid ?: string
1946
- postcode ?: string
1947
- housenumber ?: string
1948
- extension ?: string
1949
- }
1950
-
1951
-
1952
- export interface IContactTag{
1953
- tag ?: ITag
1954
- tagid ?: string
1955
- contactid ?: string
1956
- contact ?: IContact
1957
- }
1958
-
1959
- export interface IQuestionnaireTag{
1960
- id : string
1961
- logged ?: ILogged
1962
- type ?: string
1963
- tagdependencies ?: IQuestionnaireTagDependency[]
1964
- }
1965
-
1966
- export interface IQuestionnaireTagDependency{
1967
- tag ?: IQuestionnaireTag
1968
- tagid ?: string
1969
- answeroption ?: IAnsweroption
1970
- answeroptionid ?: string
1971
- question ?: IQuestion
1972
- questionid ?: string
1973
- value ?: string
1974
- operator ?: string
1975
- }
1976
-
1977
-
1978
- export interface IAddress {
1979
- openbareRuimteNaam: string
1980
- korteNaam: string
1981
- huisnummer: number
1982
- postcode: string
1983
- woonplaatsNaam: string
1984
- nummeraanduidingIdentificatie: string
1985
- openbareRuimteIdentificatie: string
1986
- woonplaatsIdentificatie: string
1987
- adresseerbaarObjectIdentificatie: string
1988
- pandIdentificaties: string[]
1989
- }
1990
- export interface IAddressUitgebreid extends IAddress{
1991
-
1992
- typeAdresseerbaarObject: string,
1993
- adresseerbaarObjectGeometrie: {
1994
- punt: {
1995
- type : string,
1996
- coordinates : number[]
1997
- }
1998
- },
1999
- adresseerbaarObjectStatus: string
2000
- gebruiksdoelen: string[]
2001
- oppervlakte: number
2002
- oorspronkelijkBouwjaar: string[]
2003
- woonplaatsid : string
2004
- huisnummertoevoeging ?: string | number
2005
- huisletter ?: string
2006
- }
2007
-
2008
- export interface IBagData {
2009
- coordinates: number[]
2010
- buildyear: number
2011
- streetname: string
2012
- city: string
2013
- surface: number
2014
- input: IBAGPayload
2015
- woonplaatsid : string
2016
- extension ?: string | number
2017
- municipality ?: string
2018
- }
2019
-
2020
- export interface IBAGPayload {
2021
- postcode?: string
2022
- huisnummer?: number
2023
- exacteMatch?: boolean
2024
- huisnummertoevoeging?: string
2025
- huisletter?: string
2026
- }
2027
-
2028
-
2029
- export interface IAnnex{
2030
- id : string
2031
- logged ?: ILogged
2032
- userdataid ?: string
2033
- annexsides ?: IAnnexside[]
2034
- annextemplate ?: IAnnextemplate
2035
- annextemplateid ?: string
2036
- floors ?: IFloor[]
2037
- roofs ?: IRoof[]
2038
- walls ?: IWall[]
2039
- buildyear ?: number
2040
- shouldceilingbepaneled ?: boolean
2041
- }
2042
-
2043
- export interface IAnnexside{
2044
- deleted : boolean
2045
- id : string
2046
- sortorder : number
2047
- annexid ?: string
2048
- annex ?: IAnnex
2049
- annextemplateid ?: string
2050
- annextemplate ?: IAnnextemplate
2051
- attachedtohouse : boolean
2052
- attachedtoneighbour : boolean
2053
- width : number
2054
- height : number
2055
- deviationtopleft ?: number | null
2056
- deviationbottomright ?: number | null
2057
- sideno : number
2058
- }
2059
-
2060
- export interface IAnnextemplate{
2061
- id : string
2062
- logged ?: ILogged
2063
- userdataid ?: string
2064
- annexes ?: IAnnex[]
2065
- annexsides ?: IAnnexside[]
2066
- nr ?: number
2067
- surfacefloor ?: number
2068
- surfacewall ?: number
2069
- surfaceroof ?: number
2070
- percentageglassleft ?: number
2071
- percentageglassright ?: number
2072
- percentageglassback ?: number
2073
- percentageglassfront ?: number
2074
- wallreductionleft ?: number
2075
- wallreductionright ?: number
2076
- wallreductionback ?: number
2077
- wallreductionfront ?: number
2078
- floorunattachedfactor : number
2079
- }
2080
-
2081
-
2082
- export interface ISubscriptionplan{
2083
- id : string
2084
- logged ?: ILogged
2085
- partnerid ?: string
2086
- price : number
2087
- subscriptionplantype ?: ISubscriptionplantype
2088
- subscriptionplantypeid ?: string
2089
- subscriptions ?: ISubscription[]
2090
- vouchercodes ?: IVouchercode[]
2091
-
2092
- }
2093
- export interface ISubscription{
2094
- id : string
2095
- logged ?: ILogged
2096
- subscriptionplan ?: ISubscriptionplan
2097
- subscriptionplanid ?: string
2098
- contactid ?: string
2099
- vouchercodes ?: IVouchercode[]
2100
- }
2101
- export interface ISubscriptionplantype{
2102
- id : string
2103
- logged ?: ILogged
2104
- subscriptionplans ?: ISubscriptionplan[]
2105
- }
2106
-
2107
- export interface IVouchercode{
2108
- logged ?: ILogged
2109
- subscriptionid ?: string
2110
- subscriptionplanid ?: string
2111
- subscription ?: ISubscription
2112
- 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
+ }
1733
+ export interface IInsulationlocation extends IAbstractInsulation{
1734
+ rooftypeinsulationlocations ?: {
1735
+ rooftypeid: string
1736
+ }[]
1737
+ insulationtypes ?: IInsulationtype[]
1738
+ image ?: string | null
1739
+ }
1740
+ export interface IInsulationtype extends IAbstractInsulation{
1741
+ lambda ?: number | null
1742
+ rcvalue ?: number | null
1743
+ insulationmethods ?: IInsulationmethod[]
1744
+ insulationlocations ?: IInsulationlocation[]
1745
+ image ?: string | null
1746
+ }
1747
+
1748
+ export interface IAppliedMeasure{
1749
+ id : string
1750
+ investment : number
1751
+ measureid : string
1752
+ measuretype : string
1753
+ name : string
1754
+ reinvestments ?: {
1755
+ investment : string
1756
+ years : string
1757
+ }[]
1758
+ maintenances ?: {
1759
+ investment : string
1760
+ years : string
1761
+ }[]
1762
+ }
1763
+
1764
+
1765
+ interface IAnnualreportSave{
1766
+ year : number,
1767
+ type : string,
1768
+ amount : number
1769
+ delete ?: boolean
1770
+ }
1771
+
1772
+
1773
+ export interface IQuestionset{
1774
+ id : string
1775
+ collectionid ?: string
1776
+ questions ?: IQuestion[]
1777
+ name: string
1778
+ }
1779
+
1780
+ export interface IQuestion{
1781
+ sortorder: number;
1782
+ informationtext: string | null;
1783
+ informationimage: string | null;
1784
+ min: number | null;
1785
+ max: number | null;
1786
+ step: number | null;
1787
+ placeholder: string | null;
1788
+ questiontype: IQuestiontype | null;
1789
+ image: string | null;
1790
+ answeroptions: IAnsweroption[];
1791
+ body: string | null;
1792
+ posttext: string | null;
1793
+ id: string;
1794
+ status: string;
1795
+ name: string;
1796
+ useranswers: IUseranswer[]
1797
+ active : boolean;
1798
+ error?: {
1799
+ [index:string] : any
1800
+ }
1801
+ required?:boolean
1802
+ viewing:boolean
1803
+ shortname : string | null
1804
+ logged ?: ILogged
1805
+ }
1806
+
1807
+ export interface IQuestiontype{
1808
+ name: string;
1809
+ id: string;
1810
+ }
1811
+ export interface IAnsweroption{
1812
+ selected: boolean;
1813
+ informationtext: string | null;
1814
+ name: string;
1815
+ informationimage: string | null;
1816
+ image: string | null;
1817
+ hasinput: boolean;
1818
+ id: string;
1819
+ value: string | null;
1820
+ placeholder?: string
1821
+ min?:number
1822
+ max?:number
1823
+ step?:number
1824
+ questionid : string
1825
+ sortorder ?: number
1826
+ logged ?: ILogged
1827
+ }
1828
+
1829
+ export interface IIntake{
1830
+ id : string
1831
+ useranswers : IUseranswer[]
1832
+ }
1833
+
1834
+
1835
+ export interface IFinancingOption{
1836
+ name : string
1837
+ years : number
1838
+ interest : number
1839
+ min : number
1840
+ max : number
1841
+ title ?: string
1842
+ description ?: string
1843
+ type ?: string
1844
+ link ?: string
1845
+ autoapplied ?: boolean
1846
+ }
1847
+ export interface IManufacturer extends ICompany{
1848
+ appliances ?: IAppliance[]
1849
+ ventilationsystems ?: IVentilationsystem[]
1850
+ }
1851
+
1852
+ export interface IAppliancetype{
1853
+ name : string
1854
+ id : string
1855
+ deleted : boolean
1856
+ sortorder : number
1857
+ appliances ?: IAppliance[]
1858
+ }
1859
+
1860
+ export interface IVentilationsystemtype{
1861
+ name : string
1862
+ id : string
1863
+ deleted : boolean
1864
+ sortorder : number
1865
+ ventilationsystems ?: IVentilationsystem[]
1866
+ electricitycost ?: number
1867
+ }
1868
+
1869
+ export interface IHeatingappliancetype{
1870
+ name : string
1871
+ id : string
1872
+ deleted : boolean
1873
+ sortorder : number
1874
+ heatingappliances ?: IHeatingappliance[]
1875
+ }
1876
+ export interface IWaterheatertype{
1877
+ name : string
1878
+ id : string
1879
+ deleted : boolean
1880
+ sortorder : number
1881
+ waterheaters ?: IWaterheater[]
1882
+ }
1883
+
1884
+ export interface IWaterheaterCwclass{
1885
+ name : string
1886
+ deleted : boolean
1887
+ sortorder : number
1888
+ waterheaters ?: IWaterheater[]
1889
+ }
1890
+
1891
+ export interface IAppliance{
1892
+ name : string
1893
+ id : string
1894
+ deleted : boolean
1895
+ sortorder : number
1896
+ userdataid ?: string
1897
+ userdata ?: IUserdata
1898
+ manufacturerid ?: string
1899
+ manufacturer ?: IManufacturer
1900
+ appliancetypeid ?: string
1901
+ appliancetype ?: IAppliancetype
1902
+ buildyear : number
1903
+ needsreplacing : boolean
1904
+ othermanufacturer ?: string
1905
+
1906
+ heatingappliance ?: IHeatingappliance
1907
+ }
1908
+ export interface IVentilationsystem{
1909
+ name : string
1910
+ id : string
1911
+ deleted : boolean
1912
+ sortorder : number
1913
+ userdataid ?: string
1914
+ userdata ?: IUserdata
1915
+ manufacturerid ?: string
1916
+ manufacturer ?: IManufacturer
1917
+ ventilationsystemtypeid ?: string
1918
+ ventilationsystemtype ?: IVentilationsystemtype
1919
+ buildyear : number
1920
+ needsreplacing : boolean
1921
+ othermanufacturer ?: string
1922
+ }
1923
+
1924
+ export interface IHeatingappliance{
1925
+ heatingappliancetypeid ?: string
1926
+ heatingappliancetype ?: IHeatingappliancetype
1927
+ }
1928
+
1929
+ export interface IWaterheater{
1930
+ appliance : IAppliance
1931
+ waterheatertypeid ?: string
1932
+ waterheatertype ?: IWaterheatertype
1933
+ waterheatercwclassid ?: string
1934
+ waterheatercwclass ?: IWaterheaterCwclass
1935
+
1936
+ }
1937
+
1938
+ export interface ITag{
1939
+ logged ?: ILogged
1940
+ tagpostcodes ?: ITagpostcode[]
1941
+ contacts ?: IContact[]
1942
+ }
1943
+
1944
+ export interface ITagpostcode{
1945
+ logged ?: ILogged
1946
+ tag ?: ITag
1947
+ tagid ?: string
1948
+ postcode ?: string
1949
+ housenumber ?: string
1950
+ extension ?: string
1951
+ }
1952
+
1953
+
1954
+ export interface IContactTag{
1955
+ tag ?: ITag
1956
+ tagid ?: string
1957
+ contactid ?: string
1958
+ contact ?: IContact
1959
+ }
1960
+
1961
+ export interface IQuestionnaireTag{
1962
+ id : string
1963
+ logged ?: ILogged
1964
+ type ?: string
1965
+ tagdependencies ?: IQuestionnaireTagDependency[]
1966
+ }
1967
+
1968
+ export interface IQuestionnaireTagDependency{
1969
+ tag ?: IQuestionnaireTag
1970
+ tagid ?: string
1971
+ answeroption ?: IAnsweroption
1972
+ answeroptionid ?: string
1973
+ question ?: IQuestion
1974
+ questionid ?: string
1975
+ value ?: string
1976
+ operator ?: string
1977
+ }
1978
+
1979
+
1980
+ export interface IAddress {
1981
+ openbareRuimteNaam: string
1982
+ korteNaam: string
1983
+ huisnummer: number
1984
+ postcode: string
1985
+ woonplaatsNaam: string
1986
+ nummeraanduidingIdentificatie: string
1987
+ openbareRuimteIdentificatie: string
1988
+ woonplaatsIdentificatie: string
1989
+ adresseerbaarObjectIdentificatie: string
1990
+ pandIdentificaties: string[]
1991
+ }
1992
+ export interface IAddressUitgebreid extends IAddress{
1993
+
1994
+ typeAdresseerbaarObject: string,
1995
+ adresseerbaarObjectGeometrie: {
1996
+ punt: {
1997
+ type : string,
1998
+ coordinates : number[]
1999
+ }
2000
+ },
2001
+ adresseerbaarObjectStatus: string
2002
+ gebruiksdoelen: string[]
2003
+ oppervlakte: number
2004
+ oorspronkelijkBouwjaar: string[]
2005
+ woonplaatsid : string
2006
+ huisnummertoevoeging ?: string | number
2007
+ huisletter ?: string
2008
+ }
2009
+
2010
+ export interface IBagData {
2011
+ coordinates: number[]
2012
+ buildyear: number
2013
+ streetname: string
2014
+ city: string
2015
+ surface: number
2016
+ input: IBAGPayload
2017
+ woonplaatsid : string
2018
+ extension ?: string | number
2019
+ municipality ?: string
2020
+ }
2021
+
2022
+ export interface IBAGPayload {
2023
+ postcode?: string
2024
+ huisnummer?: number
2025
+ exacteMatch?: boolean
2026
+ huisnummertoevoeging?: string
2027
+ huisletter?: string
2028
+ }
2029
+
2030
+
2031
+ export interface IAnnex{
2032
+ id : string
2033
+ logged ?: ILogged
2034
+ userdataid ?: string
2035
+ annexsides ?: IAnnexside[]
2036
+ annextemplate ?: IAnnextemplate
2037
+ annextemplateid ?: string
2038
+ floors ?: IFloor[]
2039
+ roofs ?: IRoof[]
2040
+ walls ?: IWall[]
2041
+ buildyear ?: number
2042
+ shouldceilingbepaneled ?: boolean
2043
+ }
2044
+
2045
+ export interface IAnnexside{
2046
+ deleted : boolean
2047
+ id : string
2048
+ sortorder : number
2049
+ annexid ?: string
2050
+ annex ?: IAnnex
2051
+ annextemplateid ?: string
2052
+ annextemplate ?: IAnnextemplate
2053
+ attachedtohouse : boolean
2054
+ attachedtoneighbour : boolean
2055
+ width : number
2056
+ height : number
2057
+ deviationtopleft ?: number | null
2058
+ deviationbottomright ?: number | null
2059
+ sideno : number
2060
+ }
2061
+
2062
+ export interface IAnnextemplate{
2063
+ id : string
2064
+ logged ?: ILogged
2065
+ userdataid ?: string
2066
+ annexes ?: IAnnex[]
2067
+ annexsides ?: IAnnexside[]
2068
+ nr ?: number
2069
+ surfacefloor ?: number
2070
+ surfacewall ?: number
2071
+ surfaceroof ?: number
2072
+ percentageglassleft ?: number
2073
+ percentageglassright ?: number
2074
+ percentageglassback ?: number
2075
+ percentageglassfront ?: number
2076
+ wallreductionleft ?: number
2077
+ wallreductionright ?: number
2078
+ wallreductionback ?: number
2079
+ wallreductionfront ?: number
2080
+ floorunattachedfactor : number
2081
+ }
2082
+
2083
+
2084
+ export interface ISubscriptionplan{
2085
+ id : string
2086
+ logged ?: ILogged
2087
+ partnerid ?: string
2088
+ price : number
2089
+ subscriptionplantype ?: ISubscriptionplantype
2090
+ subscriptionplantypeid ?: string
2091
+ subscriptions ?: ISubscription[]
2092
+ vouchercodes ?: IVouchercode[]
2093
+
2094
+ }
2095
+ export interface ISubscription{
2096
+ id : string
2097
+ logged ?: ILogged
2098
+ subscriptionplan ?: ISubscriptionplan
2099
+ subscriptionplanid ?: string
2100
+ contactid ?: string
2101
+ vouchercodes ?: IVouchercode[]
2102
+ }
2103
+ export interface ISubscriptionplantype{
2104
+ id : string
2105
+ logged ?: ILogged
2106
+ subscriptionplans ?: ISubscriptionplan[]
2107
+ }
2108
+
2109
+ export interface IVouchercode{
2110
+ logged ?: ILogged
2111
+ subscriptionid ?: string
2112
+ subscriptionplanid ?: string
2113
+ subscription ?: ISubscription
2114
+ subscriptionplan ?: ISubscriptionplan
2113
2115
  }