@e-trias/woonplan 1.3.145 → 1.3.147

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