@e-trias/woonplan 1.0.61 → 1.0.64

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 +58 -50
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.61",
5
+ "version": "1.0.64",
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
@@ -123,6 +123,7 @@ export interface IUserdata{
123
123
  protectedstatus ?: string
124
124
 
125
125
  flatroofshouldberedone ?: boolean
126
+ sloperoofshouldberedone ?: boolean
126
127
  shouldceilingbepaneled ?: boolean
127
128
  allowlowerceiling ?: string
128
129
 
@@ -148,8 +149,8 @@ export interface Quotation{
148
149
  expiredate:Date
149
150
  contractorid:string
150
151
  adviceid:string
151
- measuredataid?:string
152
- quotationrequestid:string
152
+ measuredataid?:string | null
153
+ quotationrequestid:string | null
153
154
  investment?:number
154
155
  status?:string
155
156
  accepteddate?:Date
@@ -160,8 +161,8 @@ export interface Quotation{
160
161
  export interface QuotationFile{
161
162
  id:string
162
163
  originalfilename:string
163
- quotationid?:string
164
- quotationrequestid?:string
164
+ quotationid?:string | null
165
+ quotationrequestid?:string | null
165
166
  folder?:string
166
167
  bucket?:string
167
168
  }
@@ -169,8 +170,8 @@ export interface QuotationFile{
169
170
  export interface QuotationRequest{
170
171
  id:string
171
172
  measureid:string
172
- measuredataid?:string
173
- contractorid?:string
173
+ measuredataid?:string | null
174
+ contractorid?:string | null
174
175
  adviceid:string
175
176
  status:string
176
177
  data:JSON | null
@@ -196,19 +197,19 @@ export interface IMeasuredata{
196
197
  startamount?:number
197
198
  rcvalue?:number
198
199
  investment?:number
199
- collectivebuyid?:string
200
- contractorid?:string
201
- measureid?:string
200
+ collectivebuyid?:string | null
201
+ contractorid?:string | null
202
+ measureid?:string | null
202
203
  requiressurvey?:boolean
203
204
  collectivebuystatus?:"now" | "future" | "never"
204
205
  collectivebuyquotationpossible?:boolean
205
206
  g_value ?: number
206
207
  u_value ?: number
207
208
 
208
- insulationmethodid ?: string
209
- insulationlocationid ?: string
210
- insulationtypeid ?: string
211
- glasstypeid ?: string
209
+ insulationmethodid ?: string | null
210
+ insulationlocationid ?: string | null
211
+ insulationtypeid ?: string | null
212
+ glasstypeid ?: string | null
212
213
  }
213
214
 
214
215
  export interface IMeasuredatainterestedcontact{
@@ -234,14 +235,14 @@ export interface Content{
234
235
  htmltitle?: string
235
236
  htmlkeywords?: string
236
237
  htmldescription?: string
237
- parentid?: string
238
- areaactionid?: string
238
+ parentid?: string | null
239
+ areaactionid?: string | null
239
240
  }
240
241
 
241
242
  export interface Measuretext{
242
243
  id:string
243
- measureid?:string
244
- measuredataid?:string
244
+ measureid?:string | null
245
+ measuredataid?:string | null
245
246
  excerpt?:string
246
247
  }
247
248
 
@@ -256,8 +257,8 @@ export interface IAppointment {
256
257
  status?: string
257
258
  start?: Date
258
259
  end?: Date
259
- userdataid?: string
260
- surveyorid?: string
260
+ userdataid?: string | null
261
+ surveyorid?: string | null
261
262
  needspayment?: true | false
262
263
  price? : number
263
264
  name?: string
@@ -348,7 +349,7 @@ export interface IPayment {
348
349
  // createdAt & updatedAt in ISO 8601 format
349
350
  createdAt: string
350
351
  updatedAt: string
351
- appointmentid?: string
352
+ appointmentid?: string | null
352
353
  status : string
353
354
  mollieid: string
354
355
  checkoutUrl?: string
@@ -435,6 +436,13 @@ export interface IHouseobject{
435
436
  measuredatas ?: IMeasuredata[]
436
437
  }
437
438
 
439
+ export interface IHouse{
440
+ windowframeparts : IWindowframepart[],
441
+ floors : IFloor[],
442
+ walls : IWall[],
443
+ roofs : IRoof[]
444
+ }
445
+
438
446
  export interface IAbstractHouseObjectType{
439
447
  deleted ?: boolean
440
448
  id ?: string
@@ -454,7 +462,7 @@ export interface IWalltype extends IAbstractHouseObjectType{
454
462
 
455
463
  export interface ICrawlspace{
456
464
  deleted ?: boolean
457
- id ?: string
465
+ id ?: string | null
458
466
  sortorder ?: number
459
467
  accessible ?: boolean
460
468
  pumpable ?: boolean
@@ -467,15 +475,15 @@ export interface ICrawlspace{
467
475
  }
468
476
  export interface ICrawlspaceinfloor{
469
477
  deleted ?: boolean
470
- id ?: string
478
+ id ?: string | null
471
479
  sortorder ?: number
472
- floorid ?: string
480
+ floorid ?: string | null
473
481
  crawlspaceid ?: string
474
482
  surface ?: number
475
483
  }
476
484
 
477
485
  export interface IFloor extends IHouseobject{
478
- floortypeid ?: string
486
+ floortypeid ?: string | null
479
487
  floortype ?: IFloortype
480
488
  crawlspaces ?: ICrawlspace[]
481
489
  historic ?: boolean
@@ -499,11 +507,11 @@ export interface IWall extends IHouseobject{
499
507
  shadowpercentage ?: number
500
508
  angle ?: number
501
509
  side ?: ISide
502
- sideid ?: string
503
- walltypeid ?: string
510
+ sideid ?: string | null
511
+ walltypeid ?: string | null
504
512
  walltype ?: IWalltype
505
513
  insulationonownrisk ?: boolean
506
- wallfinishid ?: string
514
+ wallfinishid ?: string | null
507
515
  protectedstatus ?: string
508
516
  aircavity ?: boolean
509
517
  rcvalue ?: number
@@ -514,12 +522,12 @@ export interface IWall extends IHouseobject{
514
522
  export interface IRoof extends IHouseobject{
515
523
  shadowpercentage ?: number
516
524
  angle ?: number
517
- rooftypeid ?: string
525
+ rooftypeid ?: string | null
518
526
  rooftype ?: IRooftype
519
527
  slope ?: boolean
520
528
  ridgeheight ?: number
521
529
  ceilingboarded ?: boolean
522
- roofingid ?: string
530
+ roofingid ?: string | null
523
531
  }
524
532
  export interface IWindowframe extends IHouseobject{
525
533
  userdataid : string
@@ -548,8 +556,8 @@ export interface IWindowframepart extends IHouseobject{
548
556
  topstoollength ?: number
549
557
  shadowpercentage ?: number
550
558
 
551
- windowframeparttypeid ?: string
552
- windowframeid ?: string
559
+ windowframeparttypeid ?: string | null
560
+ windowframeid ?: string | null
553
561
  windowframe ?: IWindowframe
554
562
  }
555
563
 
@@ -559,25 +567,25 @@ export interface IWindowframetype extends IAbstractHouseObjectType{
559
567
 
560
568
  export interface IRule{
561
569
  id : string
562
- energylossid ?: string
563
- floortypeid ?: string
564
- glasstypeid ?: string
565
- roofingid ?: string
566
- roofshapeid ?: string
567
- rooftypeid ?: string
568
- wallfinishid ?: string
569
- walltypeid ?: string
570
- windowframeparttypeid ?: string
571
- packageid ?: string
572
- rulesetid ?: string
573
- ruletypeid ?: string
574
- measuredataid ?: string
575
- targetMeasureid ?: string
576
- gasfreeoptionid ?: string
577
- measuretypeid ?: string
578
- insulationlocationid ?: string
579
- insulationmethodid ?: string
580
- 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
581
589
 
582
590
  field ?: string
583
591
  operator ?: string