@e-trias/woonplan 1.0.31 → 1.0.34

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/index.d.ts +53 -21
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -97,7 +97,7 @@ export interface SignupFormResponse{
97
97
  export interface CIASignupFormResponse extends SignupFormResponse{}
98
98
  export interface MWASignupFormResponse extends SignupFormResponse{}
99
99
 
100
- export interface Userdata{
100
+ export interface IUserdata{
101
101
  id:string;
102
102
  sourceid:string | null
103
103
  contactid:string
@@ -115,6 +115,10 @@ export interface Userdata{
115
115
  buildyear?:number
116
116
  surface?:number
117
117
  usage ?: string
118
+
119
+ diyconstruction ?: boolean
120
+ circularconstruction ?: boolean
121
+ renovationconstruction ?: boolean
118
122
  }
119
123
 
120
124
  export interface Solarapicall{
@@ -269,27 +273,55 @@ export interface IAppointmentFormParams{
269
273
  measuredataids : string[]
270
274
  }
271
275
 
272
- export interface ISettings{
273
- onlineAfsprakenAgendaId ?: number
274
- onlineAfsprakenActive ?: number
275
- onlineAfsprakenAppointmentTypeId ?: number
276
- cava ?: ICavaSettings
277
- perfectview ?: IPerfectviewSettings
278
- mollie : {
279
- apiKey : string
280
- }
281
- "ga-code" ?: string
276
+ export interface ISettings {
277
+ "2fa"?: "email"
278
+ "ga-api-key"?: string
279
+ "ga-code"?: string
280
+ "gtm-code"?: string
281
+ adviceUrl?: string
282
+ cava?: ICavaSettings
283
+ createProjectInPerfectview?: boolean
284
+ houseScan?: boolean
285
+ initialQuestionsetP?: number
286
+ mollie?: { apiKey: string }
287
+ municipalityManagesLandingPage?: boolean
288
+ onlineAfsprakenActive?: number
289
+ onlineAfsprakenAgendaId?: number
290
+ onlineAfsprakenAppointmentTypeId?: number
291
+ perfectview?: IPerfectviewSettings
292
+ perfectviewProject?: IPerfectviewProject
293
+ priceMargin?: IPriceMargin
294
+ primaryPackage?: IPackage
295
+ quotationSalesContact?: string
296
+ showCollectiveHeatSourceText?: boolean
297
+ showPackages?: boolean
298
+ startpercentagequestionaire?: number
299
+ }
300
+
301
+ export interface IPerfectviewSettings {
302
+ ApiKey?: string
303
+ DatabaseId?: string
304
+ UserId?: string
282
305
  }
283
306
 
284
307
  export interface ICavaSettings {
285
- pvMark ?: string
286
- pvMarkCategory ?: string
308
+ pvMark?: string
309
+ pvMarkCategory?: string
287
310
  }
288
311
 
289
- export interface IPerfectviewSettings {
290
- ApiKey ?: string
291
- UserId ?: string
292
- DatabaseId ?: string
312
+ export interface IPerfectviewProject {
313
+ phase?: string
314
+ type?: string
315
+ }
316
+
317
+ export interface IPackage {
318
+ id: string
319
+ name: string
320
+ }
321
+
322
+ export interface IPriceMargin {
323
+ priceMarginMin?: number
324
+ priceMarginMax?: number
293
325
  }
294
326
 
295
327
  export interface IPrice {
@@ -460,7 +492,7 @@ export interface IRoof extends IHouseobject{
460
492
  }
461
493
  export interface IWindowframe extends IHouseobject{
462
494
  userdataid : string
463
- userdata ?: Userdata
495
+ userdata ?: IUserdata
464
496
  wall ?: IWall
465
497
  sideid : string
466
498
  side ?: ISide
@@ -514,7 +546,7 @@ export interface IRule{
514
546
  insulationmethodid ?: string
515
547
  insulationtypeid ?: string
516
548
 
517
- field: string
518
- operator: string
519
- value : string
549
+ field ?: string
550
+ operator ?: string
551
+ value ?: string
520
552
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@e-trias/woonplan",
3
3
  "private": false,
4
4
  "types": "index.d.ts",
5
- "version": "1.0.31",
5
+ "version": "1.0.34",
6
6
  "main": "index.d.ts",
7
7
  "scripts": {
8
8
  "test": "echo \"Error: no test specified\" && exit 1"