@e-trias/woonplan 1.0.62 → 1.0.65

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +64 -51
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@e-trias/woonplan",
3
3
  "private": false,
4
4
  "types": "types.d.ts",
5
- "version": "1.0.62",
5
+ "version": "1.0.65",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
8
  "build": "tsc -p tsconfig.json"
package/types.d.ts CHANGED
@@ -149,8 +149,8 @@ export interface Quotation{
149
149
  expiredate:Date
150
150
  contractorid:string
151
151
  adviceid:string
152
- measuredataid?:string
153
- quotationrequestid:string
152
+ measuredataid?:string | null
153
+ quotationrequestid:string | null
154
154
  investment?:number
155
155
  status?:string
156
156
  accepteddate?:Date
@@ -161,8 +161,8 @@ export interface Quotation{
161
161
  export interface QuotationFile{
162
162
  id:string
163
163
  originalfilename:string
164
- quotationid?:string
165
- quotationrequestid?:string
164
+ quotationid?:string | null
165
+ quotationrequestid?:string | null
166
166
  folder?:string
167
167
  bucket?:string
168
168
  }
@@ -170,8 +170,8 @@ export interface QuotationFile{
170
170
  export interface QuotationRequest{
171
171
  id:string
172
172
  measureid:string
173
- measuredataid?:string
174
- contractorid?:string
173
+ measuredataid?:string | null
174
+ contractorid?:string | null
175
175
  adviceid:string
176
176
  status:string
177
177
  data:JSON | null
@@ -197,19 +197,19 @@ export interface IMeasuredata{
197
197
  startamount?:number
198
198
  rcvalue?:number
199
199
  investment?:number
200
- collectivebuyid?:string
201
- contractorid?:string
202
- measureid?:string
200
+ collectivebuyid?:string | null
201
+ contractorid?:string | null
202
+ measureid?:string | null
203
203
  requiressurvey?:boolean
204
204
  collectivebuystatus?:"now" | "future" | "never"
205
205
  collectivebuyquotationpossible?:boolean
206
206
  g_value ?: number
207
207
  u_value ?: number
208
208
 
209
- insulationmethodid ?: string
210
- insulationlocationid ?: string
211
- insulationtypeid ?: string
212
- glasstypeid ?: string
209
+ insulationmethodid ?: string | null
210
+ insulationlocationid ?: string | null
211
+ insulationtypeid ?: string | null
212
+ glasstypeid ?: string | null
213
213
  }
214
214
 
215
215
  export interface IMeasuredatainterestedcontact{
@@ -235,14 +235,14 @@ export interface Content{
235
235
  htmltitle?: string
236
236
  htmlkeywords?: string
237
237
  htmldescription?: string
238
- parentid?: string
239
- areaactionid?: string
238
+ parentid?: string | null
239
+ areaactionid?: string | null
240
240
  }
241
241
 
242
242
  export interface Measuretext{
243
243
  id:string
244
- measureid?:string
245
- measuredataid?:string
244
+ measureid?:string | null
245
+ measuredataid?:string | null
246
246
  excerpt?:string
247
247
  }
248
248
 
@@ -257,8 +257,8 @@ export interface IAppointment {
257
257
  status?: string
258
258
  start?: Date
259
259
  end?: Date
260
- userdataid?: string
261
- surveyorid?: string
260
+ userdataid?: string | null
261
+ surveyorid?: string | null
262
262
  needspayment?: true | false
263
263
  price? : number
264
264
  name?: string
@@ -349,7 +349,7 @@ export interface IPayment {
349
349
  // createdAt & updatedAt in ISO 8601 format
350
350
  createdAt: string
351
351
  updatedAt: string
352
- appointmentid?: string
352
+ appointmentid?: string | null
353
353
  status : string
354
354
  mollieid: string
355
355
  checkoutUrl?: string
@@ -436,6 +436,13 @@ export interface IHouseobject{
436
436
  measuredatas ?: IMeasuredata[]
437
437
  }
438
438
 
439
+ export interface IHouse{
440
+ windowframeparts : IWindowframepart[],
441
+ floors : IFloor[],
442
+ walls : IWall[],
443
+ roofs : IRoof[]
444
+ }
445
+
439
446
  export interface IAbstractHouseObjectType{
440
447
  deleted ?: boolean
441
448
  id ?: string
@@ -455,7 +462,7 @@ export interface IWalltype extends IAbstractHouseObjectType{
455
462
 
456
463
  export interface ICrawlspace{
457
464
  deleted ?: boolean
458
- id ?: string
465
+ id ?: string | null
459
466
  sortorder ?: number
460
467
  accessible ?: boolean
461
468
  pumpable ?: boolean
@@ -468,15 +475,15 @@ export interface ICrawlspace{
468
475
  }
469
476
  export interface ICrawlspaceinfloor{
470
477
  deleted ?: boolean
471
- id ?: string
478
+ id ?: string | null
472
479
  sortorder ?: number
473
- floorid ?: string
480
+ floorid ?: string | null
474
481
  crawlspaceid ?: string
475
482
  surface ?: number
476
483
  }
477
484
 
478
485
  export interface IFloor extends IHouseobject{
479
- floortypeid ?: string
486
+ floortypeid ?: string | null
480
487
  floortype ?: IFloortype
481
488
  crawlspaces ?: ICrawlspace[]
482
489
  historic ?: boolean
@@ -500,11 +507,11 @@ export interface IWall extends IHouseobject{
500
507
  shadowpercentage ?: number
501
508
  angle ?: number
502
509
  side ?: ISide
503
- sideid ?: string
504
- walltypeid ?: string
510
+ sideid ?: string | null
511
+ walltypeid ?: string | null
505
512
  walltype ?: IWalltype
506
513
  insulationonownrisk ?: boolean
507
- wallfinishid ?: string
514
+ wallfinishid ?: string | null
508
515
  protectedstatus ?: string
509
516
  aircavity ?: boolean
510
517
  rcvalue ?: number
@@ -515,12 +522,12 @@ export interface IWall extends IHouseobject{
515
522
  export interface IRoof extends IHouseobject{
516
523
  shadowpercentage ?: number
517
524
  angle ?: number
518
- rooftypeid ?: string
525
+ rooftypeid ?: string | null
519
526
  rooftype ?: IRooftype
520
527
  slope ?: boolean
521
528
  ridgeheight ?: number
522
529
  ceilingboarded ?: boolean
523
- roofingid ?: string
530
+ roofingid ?: string | null
524
531
  }
525
532
  export interface IWindowframe extends IHouseobject{
526
533
  userdataid : string
@@ -549,8 +556,8 @@ export interface IWindowframepart extends IHouseobject{
549
556
  topstoollength ?: number
550
557
  shadowpercentage ?: number
551
558
 
552
- windowframeparttypeid ?: string
553
- windowframeid ?: string
559
+ windowframeparttypeid ?: string | null
560
+ windowframeid ?: string | null
554
561
  windowframe ?: IWindowframe
555
562
  }
556
563
 
@@ -560,25 +567,25 @@ export interface IWindowframetype extends IAbstractHouseObjectType{
560
567
 
561
568
  export interface IRule{
562
569
  id : string
563
- energylossid ?: string
564
- floortypeid ?: string
565
- glasstypeid ?: string
566
- roofingid ?: string
567
- roofshapeid ?: string
568
- rooftypeid ?: string
569
- wallfinishid ?: string
570
- walltypeid ?: string
571
- windowframeparttypeid ?: string
572
- packageid ?: string
573
- rulesetid ?: string
574
- ruletypeid ?: string
575
- measuredataid ?: string
576
- targetMeasureid ?: string
577
- gasfreeoptionid ?: string
578
- measuretypeid ?: string
579
- insulationlocationid ?: string
580
- insulationmethodid ?: string
581
- insulationtypeid ?: string
570
+ energylossid ?: string | null
571
+ floortypeid ?: string | null
572
+ glasstypeid ?: string | null
573
+ roofingid ?: string | null
574
+ roofshapeid ?: string | null
575
+ rooftypeid ?: string | null
576
+ wallfinishid ?: string | null
577
+ walltypeid ?: string | null
578
+ windowframeparttypeid ?: string | null
579
+ packageid ?: string | null
580
+ rulesetid ?: string | null
581
+ ruletypeid ?: string | null
582
+ measuredataid ?: string | null
583
+ targetMeasureid ?: string | null
584
+ gasfreeoptionid ?: string | null
585
+ measuretypeid ?: string | null
586
+ insulationlocationid ?: string | null
587
+ insulationmethodid ?: string | null
588
+ insulationtypeid ?: string | null
582
589
 
583
590
  field ?: string
584
591
  operator ?: string
@@ -752,7 +759,13 @@ interface ZonatlasResult{
752
759
  monument_areas: [],
753
760
  national_monuments: []
754
761
  }
755
- plants : ZonatlasPlant[]
762
+ plants : ZonatlasPlant[],
763
+ images : {
764
+ radiation : string,
765
+ radiation_large:string,
766
+ roofs : string,
767
+ roofs_large:string
768
+ }
756
769
  }
757
770
 
758
771
  interface ZonatlasResponse {