@e-trias/woonplan 1.0.30 → 1.0.33

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.
@@ -1,23 +1,23 @@
1
- # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
-
4
- name: Node.js Package
5
-
6
- on:
7
- release:
8
- types: [created]
9
-
10
- jobs:
11
- publish-npm:
12
- runs-on: ubuntu-latest
13
- steps:
14
- - uses: actions/checkout@v2
15
- - uses: actions/setup-node@v2
16
- with:
17
- node-version: 16
18
- registry-url: https://registry.npmjs.org/
19
- - run: npm ci
20
- - run: npm version patch
21
- - run: npm publish
22
- env:
23
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
1
+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
+
4
+ name: Node.js Package
5
+
6
+ on:
7
+ release:
8
+ types: [created]
9
+
10
+ jobs:
11
+ publish-npm:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - uses: actions/setup-node@v2
16
+ with:
17
+ node-version: 16
18
+ registry-url: https://registry.npmjs.org/
19
+ - run: npm ci
20
+ - run: npm version patch
21
+ - run: npm publish
22
+ env:
23
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
package/index.d.ts CHANGED
@@ -1,516 +1,552 @@
1
- export interface Contact{
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
- securityroleid?: string | null
16
- companyid?: string | null
17
- areaactioncollectionid?: string | null
18
- questionairelocked?: boolean
19
- wantsnewsletter?: boolean
20
- coordinates?:string
21
- streetname?:string
22
- city?:string
23
- simpleid?:number
24
- salutation?: string
25
- pvid?: string
26
- }
27
- export interface Advice{
28
- id:string | null;
29
- userdataid:string;
30
- status:string;
31
- usage:string
32
- adviceinfo:string
33
- advicedusage:string
34
- userinput:string
35
- advicedinput:string
36
- advicedstates:string
37
- workerresult:string
38
- calculatedmeasures:string
39
- }
40
-
41
- export interface EtriasDBContact{
42
- id:string | null;
43
- email:string;
44
- username:string;
45
- password:string;
46
- securityroleid:string | null;
47
- companyid:string | null;
48
- }
49
-
50
- export interface SecurityRole{
51
- id:string;
52
- name:string;
53
- deleted:boolean;
54
- }
55
-
56
- export interface Article{
57
- id:string;
58
- title:string;
59
- body: string;
60
- }
61
- export interface ILogged{
62
- id: string;
63
- name:string;
64
- deleted:boolean;
65
- sortorder:number;
66
- createdate:Date
67
- }
68
-
69
- export interface SignupForm{
70
- salutation:string;
71
- firstname:string;
72
- infix:string;
73
- lastname:string;
74
- postcode:string;
75
- housenumber:number;
76
- extension:string;
77
- phone:string;
78
- mobile:string;
79
- email:string;
80
- password:string;
81
- password_repeat:string;
82
- conditions:boolean;
83
- areaactionid: string;
84
- partnerid: string;
85
- areaactioncollectionid:string;
86
- }
87
-
88
- export interface CIASignupForm extends SignupForm{}
89
- export interface MWASignupForm extends SignupForm{}
90
-
91
- export interface SignupFormResponse{
92
- status: string;
93
- statuscode: number;
94
- title?: string;
95
- contact?:Contact;
96
- }
97
- export interface CIASignupFormResponse extends SignupFormResponse{}
98
- export interface MWASignupFormResponse extends SignupFormResponse{}
99
-
100
- export interface Userdata{
101
- id:string;
102
- sourceid:string | null
103
- contactid:string
104
- maxpanels?:number
105
- openstairs?:boolean
106
- openkitchen?:boolean
107
- floorheating?:boolean
108
- occupants?:number
109
- showerprofile?:number
110
- cookingprofile?:number
111
- draftprofile?:number
112
- maxinvestment?:number
113
- cooksongas?:boolean
114
- source?:string
115
- buildyear?:number
116
- surface?:number
117
- usage ?: string
118
- }
119
-
120
- export interface Solarapicall{
121
- id:string
122
- deleted:boolean
123
- name?:string
124
- sortorder?:number
125
- energyconsumption:number | null
126
- max:boolean
127
- panels:number
128
- yield:number
129
- postcode:string
130
- housenumber:number
131
- extension:string | null
132
- result:string
133
- }
134
-
135
- export interface Quotation{
136
- id:string
137
- expiredate:Date
138
- contractorid:string
139
- adviceid:string
140
- measuredataid?:string
141
- quotationrequestid:string
142
- investment?:number
143
- status?:string
144
- accepteddate?:Date
145
- rejectdate?:Date
146
- rejectreason?:string
147
- }
148
-
149
- export interface QuotationFile{
150
- id:string
151
- originalfilename:string
152
- quotationid?:string
153
- quotationrequestid?:string
154
- folder?:string
155
- bucket?:string
156
- }
157
-
158
- export interface QuotationRequest{
159
- id:string
160
- measureid:string
161
- measuredataid?:string
162
- contractorid?:string
163
- adviceid:string
164
- status:string
165
- data:JSON | null
166
- files?:QuotationFile[]
167
- }
168
-
169
- export interface Collectivebuy{
170
- id:string
171
- expiredate:Date
172
- partnerid:string
173
- }
174
-
175
- export interface IMeasuredata{
176
- id:string
177
- name:string
178
- deleted:boolean
179
- sortorder?:number
180
- active?:boolean
181
- displayname?:string
182
- price_m2?:number
183
- price_m?:number
184
- price_per_object?:number
185
- startamount?:number
186
- rcvalue?:number
187
- investment?:number
188
- collectivebuyid?:string
189
- contractorid?:string
190
- measureid?:string
191
- requiressurvey?:boolean
192
- collectivebuystatus?:"now" | "future" | "never"
193
- collectivebuyquotationpossible?:boolean
194
- g_value ?: number
195
- u_value ?: number
196
- }
197
-
198
- export interface IMeasuredatainterestedcontact{
199
- measuredataid:string
200
- contactid:string
201
- }
202
-
203
- export interface Text{
204
- id:string
205
- title: string
206
- body: string
207
- localeid:string
208
- partnerid:string
209
- }
210
-
211
- export interface Content{
212
- id:string
213
- fullyqualifiedaction : string
214
- subtitle?: string
215
- excerpt?: string
216
- searchbox?: string
217
- actionsbox?: string
218
- htmltitle?: string
219
- htmlkeywords?: string
220
- htmldescription?: string
221
- parentid?: string
222
- areaactionid?: string
223
- }
224
-
225
- export interface Measuretext{
226
- id:string
227
- measureid?:string
228
- measuredataid?:string
229
- excerpt?:string
230
- }
231
-
232
- export interface QuotationRequestForm{
233
- measuredataid : string
234
- measureid : string
235
- contractorid : string
236
- }
237
-
238
- export interface IAppointment {
239
- id: string
240
- status?: string
241
- start?: Date
242
- end?: Date
243
- userdataid?: string
244
- surveyorid?: string
245
- needspayment?: true | false
246
- price? : number
247
- name?: string
248
- }
249
-
250
- export interface ICreateAppointmentParams{
251
- appointmentId: string
252
- agendaId: string
253
- appointmentTypeId: string
254
- start: Date
255
- end: Date
256
- userdataId : string
257
- customerId : string
258
- }
259
-
260
- export interface IAppointmentFormParams{
261
- agendaId: number
262
- appointmentTypeId: number
263
- startDate: string
264
- endDate: string
265
- measuredataids : string[]
266
- }
267
-
268
- export interface ISettings{
269
- onlineAfsprakenAgendaId ?: number
270
- onlineAfsprakenActive ?: number
271
- onlineAfsprakenAppointmentTypeId ?: number
272
- cava ?: ICavaSettings
273
- perfectview ?: IPerfectviewSettings
274
- mollie : {
275
- apiKey : string
276
- }
277
- "ga-code" ?: string
278
- }
279
-
280
- export interface ICavaSettings {
281
- pvMark ?: string
282
- pvMarkCategory ?: string
283
- }
284
-
285
- export interface IPerfectviewSettings {
286
- ApiKey ?: string
287
- UserId ?: string
288
- DatabaseId ?: string
289
- }
290
-
291
- export interface IPrice {
292
- currency: string
293
- value: number
294
- }
295
-
296
- export interface IPSPStatusUpdate {
297
- mollieid: string
298
- }
299
-
300
- export interface IPayment {
301
- id: string
302
- amount: number
303
- description: string
304
- // createdAt & updatedAt in ISO 8601 format
305
- createdAt: string
306
- updatedAt: string
307
- appointmentid?: string
308
- status : string
309
- mollieid: string
310
- checkoutUrl?: string
311
- }
312
-
313
- export interface IOnlineAfsprakenSettings{
314
- apiKey: string
315
- apiSecret: string
316
- appointmentTypeId: number
317
- agendaId: number
318
- }
319
-
320
-
321
- export interface IGetBookableDaysParams {
322
- userdataid: string,
323
- ResourceId?: string,
324
- StartDate: string // YYYY-MM-DD
325
- EndDate: string // YYYY-MM-DD
326
- settings?:IOnlineAfsprakenSettings
327
- }
328
-
329
- export interface IGetBookableTimesParams {
330
- Date: string // YYYY-MM-DD
331
- userdataid: string,
332
- ResourceId?: string,
333
- EndDate?: string // YYYY-MM-DD
334
- settings?:IOnlineAfsprakenSettings
335
- }
336
-
337
- export interface IBookableday{
338
- Date: string;
339
- Month:number
340
- Day:number
341
- Year?:number
342
- JSDate?:Date
343
- UTCDate?: string
344
- }
345
-
346
-
347
- export interface IBookabletime{
348
- Date: string;
349
- StartTime: string,
350
- LabelTime: string
351
- EndTime: string,
352
- Timestamp: number,
353
- JSDateStart?:Date
354
- JSDateEnd?:Date
355
- UTCDateStart?: string
356
- UTCDateEnd?: string
357
- }
358
-
359
-
360
-
361
- export interface IBagData {
362
- coordinates: number[]
363
- buildyear: number
364
- streetname: string
365
- city: string
366
- surface:number
367
- }
368
-
369
- export interface IWssProject{
370
- id : string
371
- name : string
372
- }
373
- export interface IWssAddress{
374
- id : string
375
- postcode : string
376
- housenumber : number
377
- extension : string
378
- projectid : string
379
- tags : string[]
380
- }
381
- export interface IWssTag{
382
- id : string
383
-
384
- }
385
-
386
- export interface IHouseobject{
387
- deleted ?: boolean
388
- id ?: string
389
- sortorder ?: number
390
- surface ?: number
391
- measuredatas ?: IMeasuredata[]
392
- }
393
-
394
- export interface IAbstractHouseObjectType{
395
- deleted ?: boolean
396
- id ?: string
397
- sortorder ?: number
398
- }
399
-
400
- export interface IFloortype extends IAbstractHouseObjectType{
401
- lambda ?: number
402
- rcvalue ?: number
403
- }
404
-
405
- export interface IRooftype extends IAbstractHouseObjectType{
406
- }
407
-
408
- export interface IWalltype extends IAbstractHouseObjectType{
409
- }
410
-
411
- export interface ICrawlspace{
412
- deleted ?: boolean
413
- id ?: string
414
- sortorder ?: number
415
- accessible ?: boolean
416
- pumpable ?: boolean
417
- cluttered ?: boolean
418
- height ?: number
419
- wet ?: string
420
-
421
- }
422
- export interface ICrawlspaceinfloor{
423
- floorid : ''
424
- crawlspaceid : ''
425
- }
426
-
427
- export interface IFloor extends IHouseobject{
428
- floortypeid ?: string
429
- floortype ?: IFloortype
430
- crawlspaces ?: ICrawlspace[]
431
- }
432
-
433
-
434
- export interface ISide{
435
- name : string
436
- deleted : boolean
437
- id : string
438
- sortorder : number
439
- }
440
-
441
- export interface IWall extends IHouseobject{
442
- shadowpercentage ?: number
443
- angle ?: number
444
- side ?: ISide
445
- sideid ?: string
446
- walltypeid ?: string
447
- walltype ?: IWalltype
448
- }
449
-
450
-
451
- export interface IRoof extends IHouseobject{
452
- shadowpercentage ?: number
453
- angle ?: number
454
- rooftypeid ?: string
455
- rooftype ?: IRooftype
456
- }
457
- export interface IWindowframe extends IHouseobject{
458
- userdataid : string
459
- userdata ?: Userdata
460
- wall ?: IWall
461
- sideid : string
462
- side ?: ISide
463
- wallid : string
464
- roomid : string
465
- houselevelid : string
466
- windowframetypeid : string
467
- windowframetype ?: IWindowframetype
468
- width : number
469
- height : number
470
- }
471
-
472
- export interface IWindowframepart extends IHouseobject{
473
- framewidth ?: number
474
- frameheight ?: number
475
- glasswidth ?: number
476
- glassheight ?: number
477
- leftcasinglength ?: number
478
- rightcasinglength ?: number
479
- bottomstoollength ?: number
480
- topstoollength ?: number
481
- shadowpercentage ?: number
482
-
483
- windowframeparttypeid ?: string
484
- windowframeid ?: string
485
- }
486
-
487
- export interface IWindowframetype extends IAbstractHouseObjectType{
488
- uvalue ?: number
489
- }
490
-
491
- export interface IRule{
492
- id : string
493
- energylossid ?: string
494
- floortypeid ?: string
495
- glasstypeid ?: string
496
- roofingid ?: string
497
- roofshapeid ?: string
498
- rooftypeid ?: string
499
- wallfinishid ?: string
500
- walltypeid ?: string
501
- windowframeparttypeid ?: string
502
- packageid ?: string
503
- rulesetid ?: string
504
- ruletypeid ?: string
505
- measuredataid ?: string
506
- targetMeasureid ?: string
507
- gasfreeoptionid ?: string
508
- measuretypeid ?: string
509
- insulationlocationid ?: string
510
- insulationmethodid ?: string
511
- insulationtypeid ?: string
512
-
513
- field: string
514
- operator: string
515
- value : string
1
+ export interface Contact{
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
+ securityroleid?: string | null
16
+ companyid?: string | null
17
+ areaactioncollectionid?: string | null
18
+ questionairelocked?: boolean
19
+ wantsnewsletter?: boolean
20
+ coordinates?:string
21
+ streetname?:string
22
+ city?:string
23
+ simpleid?:number
24
+ salutation?: string
25
+ pvid?: string
26
+ }
27
+ export interface Advice{
28
+ id:string | null;
29
+ userdataid:string;
30
+ status:string;
31
+ usage:string
32
+ adviceinfo:string
33
+ advicedusage:string
34
+ userinput:string
35
+ advicedinput:string
36
+ advicedstates:string
37
+ workerresult:string
38
+ calculatedmeasures:string
39
+ }
40
+
41
+ export interface EtriasDBContact{
42
+ id:string | null;
43
+ email:string;
44
+ username:string;
45
+ password:string;
46
+ securityroleid:string | null;
47
+ companyid:string | null;
48
+ }
49
+
50
+ export interface SecurityRole{
51
+ id:string;
52
+ name:string;
53
+ deleted:boolean;
54
+ }
55
+
56
+ export interface Article{
57
+ id:string;
58
+ title:string;
59
+ body: string;
60
+ }
61
+ export interface ILogged{
62
+ id: string;
63
+ name:string;
64
+ deleted:boolean;
65
+ sortorder:number;
66
+ createdate:Date
67
+ }
68
+
69
+ export interface SignupForm{
70
+ salutation:string;
71
+ firstname:string;
72
+ infix:string;
73
+ lastname:string;
74
+ postcode:string;
75
+ housenumber:number;
76
+ extension:string;
77
+ phone:string;
78
+ mobile:string;
79
+ email:string;
80
+ password:string;
81
+ password_repeat:string;
82
+ conditions:boolean;
83
+ areaactionid: string;
84
+ partnerid: string;
85
+ areaactioncollectionid:string;
86
+ }
87
+
88
+ export interface CIASignupForm extends SignupForm{}
89
+ export interface MWASignupForm extends SignupForm{}
90
+
91
+ export interface SignupFormResponse{
92
+ status: string;
93
+ statuscode: number;
94
+ title?: string;
95
+ contact?:Contact;
96
+ }
97
+ export interface CIASignupFormResponse extends SignupFormResponse{}
98
+ export interface MWASignupFormResponse extends SignupFormResponse{}
99
+
100
+ export interface IUserdata{
101
+ id:string;
102
+ sourceid:string | null
103
+ contactid:string
104
+ maxpanels?:number
105
+ openstairs?:boolean
106
+ openkitchen?:boolean
107
+ floorheating?:boolean
108
+ occupants?:number
109
+ showerprofile?:number
110
+ cookingprofile?:number
111
+ draftprofile?:number
112
+ maxinvestment?:number
113
+ cooksongas?:boolean
114
+ source?:string
115
+ buildyear?:number
116
+ surface?:number
117
+ usage ?: string
118
+
119
+ diyconstruction ?: boolean
120
+ circularconstruction ?: boolean
121
+ renovationconstruction ?: boolean
122
+ }
123
+
124
+ export interface Solarapicall{
125
+ id:string
126
+ deleted:boolean
127
+ name?:string
128
+ sortorder?:number
129
+ energyconsumption:number | null
130
+ max:boolean
131
+ panels:number
132
+ yield:number
133
+ postcode:string
134
+ housenumber:number
135
+ extension:string | null
136
+ result:string
137
+ }
138
+
139
+ export interface Quotation{
140
+ id:string
141
+ expiredate:Date
142
+ contractorid:string
143
+ adviceid:string
144
+ measuredataid?:string
145
+ quotationrequestid:string
146
+ investment?:number
147
+ status?:string
148
+ accepteddate?:Date
149
+ rejectdate?:Date
150
+ rejectreason?:string
151
+ }
152
+
153
+ export interface QuotationFile{
154
+ id:string
155
+ originalfilename:string
156
+ quotationid?:string
157
+ quotationrequestid?:string
158
+ folder?:string
159
+ bucket?:string
160
+ }
161
+
162
+ export interface QuotationRequest{
163
+ id:string
164
+ measureid:string
165
+ measuredataid?:string
166
+ contractorid?:string
167
+ adviceid:string
168
+ status:string
169
+ data:JSON | null
170
+ files?:QuotationFile[]
171
+ }
172
+
173
+ export interface Collectivebuy{
174
+ id:string
175
+ expiredate:Date
176
+ partnerid:string
177
+ }
178
+
179
+ export interface IMeasuredata{
180
+ id:string
181
+ name:string
182
+ deleted:boolean
183
+ sortorder?:number
184
+ active?:boolean
185
+ displayname?:string
186
+ price_m2?:number
187
+ price_m?:number
188
+ price_per_object?:number
189
+ startamount?:number
190
+ rcvalue?:number
191
+ investment?:number
192
+ collectivebuyid?:string
193
+ contractorid?:string
194
+ measureid?:string
195
+ requiressurvey?:boolean
196
+ collectivebuystatus?:"now" | "future" | "never"
197
+ collectivebuyquotationpossible?:boolean
198
+ g_value ?: number
199
+ u_value ?: number
200
+
201
+ insulationmethodid ?: string
202
+ insulationlocationid ?: string
203
+ insulationtypeid ?: string
204
+ }
205
+
206
+ export interface IMeasuredatainterestedcontact{
207
+ measuredataid:string
208
+ contactid:string
209
+ }
210
+
211
+ export interface Text{
212
+ id:string
213
+ title: string
214
+ body: string
215
+ localeid:string
216
+ partnerid:string
217
+ }
218
+
219
+ export interface Content{
220
+ id:string
221
+ fullyqualifiedaction : string
222
+ subtitle?: string
223
+ excerpt?: string
224
+ searchbox?: string
225
+ actionsbox?: string
226
+ htmltitle?: string
227
+ htmlkeywords?: string
228
+ htmldescription?: string
229
+ parentid?: string
230
+ areaactionid?: string
231
+ }
232
+
233
+ export interface Measuretext{
234
+ id:string
235
+ measureid?:string
236
+ measuredataid?:string
237
+ excerpt?:string
238
+ }
239
+
240
+ export interface QuotationRequestForm{
241
+ measuredataid : string
242
+ measureid : string
243
+ contractorid : string
244
+ }
245
+
246
+ export interface IAppointment {
247
+ id: string
248
+ status?: string
249
+ start?: Date
250
+ end?: Date
251
+ userdataid?: string
252
+ surveyorid?: string
253
+ needspayment?: true | false
254
+ price? : number
255
+ name?: string
256
+ }
257
+
258
+ export interface ICreateAppointmentParams{
259
+ appointmentId: string
260
+ agendaId: string
261
+ appointmentTypeId: string
262
+ start: Date
263
+ end: Date
264
+ userdataId : string
265
+ customerId : string
266
+ }
267
+
268
+ export interface IAppointmentFormParams{
269
+ agendaId: number
270
+ appointmentTypeId: number
271
+ startDate: string
272
+ endDate: string
273
+ measuredataids : string[]
274
+ }
275
+
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
305
+ }
306
+
307
+ export interface ICavaSettings {
308
+ pvMark?: string
309
+ pvMarkCategory?: string
310
+ }
311
+
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
325
+ }
326
+
327
+ export interface IPrice {
328
+ currency: string
329
+ value: number
330
+ }
331
+
332
+ export interface IPSPStatusUpdate {
333
+ mollieid: string
334
+ }
335
+
336
+ export interface IPayment {
337
+ id: string
338
+ amount: number
339
+ description: string
340
+ // createdAt & updatedAt in ISO 8601 format
341
+ createdAt: string
342
+ updatedAt: string
343
+ appointmentid?: string
344
+ status : string
345
+ mollieid: string
346
+ checkoutUrl?: string
347
+ }
348
+
349
+ export interface IOnlineAfsprakenSettings{
350
+ apiKey: string
351
+ apiSecret: string
352
+ appointmentTypeId: number
353
+ agendaId: number
354
+ }
355
+
356
+
357
+ export interface IGetBookableDaysParams {
358
+ userdataid: string,
359
+ ResourceId?: string,
360
+ StartDate: string // YYYY-MM-DD
361
+ EndDate: string // YYYY-MM-DD
362
+ settings?:IOnlineAfsprakenSettings
363
+ }
364
+
365
+ export interface IGetBookableTimesParams {
366
+ Date: string // YYYY-MM-DD
367
+ userdataid: string,
368
+ ResourceId?: string,
369
+ EndDate?: string // YYYY-MM-DD
370
+ settings?:IOnlineAfsprakenSettings
371
+ }
372
+
373
+ export interface IBookableday{
374
+ Date: string;
375
+ Month:number
376
+ Day:number
377
+ Year?:number
378
+ JSDate?:Date
379
+ UTCDate?: string
380
+ }
381
+
382
+
383
+ export interface IBookabletime{
384
+ Date: string;
385
+ StartTime: string,
386
+ LabelTime: string
387
+ EndTime: string,
388
+ Timestamp: number,
389
+ JSDateStart?:Date
390
+ JSDateEnd?:Date
391
+ UTCDateStart?: string
392
+ UTCDateEnd?: string
393
+ }
394
+
395
+
396
+
397
+ export interface IBagData {
398
+ coordinates: number[]
399
+ buildyear: number
400
+ streetname: string
401
+ city: string
402
+ surface:number
403
+ }
404
+
405
+ export interface IWssProject{
406
+ id : string
407
+ name : string
408
+ }
409
+ export interface IWssAddress{
410
+ id : string
411
+ postcode : string
412
+ housenumber : number
413
+ extension : string
414
+ projectid : string
415
+ tags : string[]
416
+ }
417
+ export interface IWssTag{
418
+ id : string
419
+
420
+ }
421
+
422
+ export interface IHouseobject{
423
+ deleted ?: boolean
424
+ id ?: string
425
+ sortorder ?: number
426
+ surface ?: number
427
+ measuredatas ?: IMeasuredata[]
428
+ }
429
+
430
+ export interface IAbstractHouseObjectType{
431
+ deleted ?: boolean
432
+ id ?: string
433
+ sortorder ?: number
434
+ }
435
+
436
+ export interface IFloortype extends IAbstractHouseObjectType{
437
+ lambda ?: number
438
+ rcvalue ?: number
439
+ }
440
+
441
+ export interface IRooftype extends IAbstractHouseObjectType{
442
+ }
443
+
444
+ export interface IWalltype extends IAbstractHouseObjectType{
445
+ }
446
+
447
+ export interface ICrawlspace{
448
+ deleted ?: boolean
449
+ id ?: string
450
+ sortorder ?: number
451
+ accessible ?: boolean
452
+ pumpable ?: boolean
453
+ cluttered ?: boolean
454
+ height ?: number
455
+ wet ?: string
456
+
457
+ }
458
+ export interface ICrawlspaceinfloor{
459
+ floorid : ''
460
+ crawlspaceid : ''
461
+ }
462
+
463
+ export interface IFloor extends IHouseobject{
464
+ floortypeid ?: string
465
+ floortype ?: IFloortype
466
+ crawlspaces ?: ICrawlspace[]
467
+ }
468
+
469
+
470
+ export interface ISide{
471
+ name : string
472
+ deleted : boolean
473
+ id : string
474
+ sortorder : number
475
+ }
476
+
477
+ export interface IWall extends IHouseobject{
478
+ shadowpercentage ?: number
479
+ angle ?: number
480
+ side ?: ISide
481
+ sideid ?: string
482
+ walltypeid ?: string
483
+ walltype ?: IWalltype
484
+ }
485
+
486
+
487
+ export interface IRoof extends IHouseobject{
488
+ shadowpercentage ?: number
489
+ angle ?: number
490
+ rooftypeid ?: string
491
+ rooftype ?: IRooftype
492
+ }
493
+ export interface IWindowframe extends IHouseobject{
494
+ userdataid : string
495
+ userdata ?: IUserdata
496
+ wall ?: IWall
497
+ sideid : string
498
+ side ?: ISide
499
+ wallid : string
500
+ roomid : string
501
+ houselevelid : string
502
+ windowframetypeid : string
503
+ windowframetype ?: IWindowframetype
504
+ width : number
505
+ height : number
506
+ }
507
+
508
+ export interface IWindowframepart extends IHouseobject{
509
+ framewidth ?: number
510
+ frameheight ?: number
511
+ glasswidth ?: number
512
+ glassheight ?: number
513
+ leftcasinglength ?: number
514
+ rightcasinglength ?: number
515
+ bottomstoollength ?: number
516
+ topstoollength ?: number
517
+ shadowpercentage ?: number
518
+
519
+ windowframeparttypeid ?: string
520
+ windowframeid ?: string
521
+ }
522
+
523
+ export interface IWindowframetype extends IAbstractHouseObjectType{
524
+ uvalue ?: number
525
+ }
526
+
527
+ export interface IRule{
528
+ id : string
529
+ energylossid ?: string
530
+ floortypeid ?: string
531
+ glasstypeid ?: string
532
+ roofingid ?: string
533
+ roofshapeid ?: string
534
+ rooftypeid ?: string
535
+ wallfinishid ?: string
536
+ walltypeid ?: string
537
+ windowframeparttypeid ?: string
538
+ packageid ?: string
539
+ rulesetid ?: string
540
+ ruletypeid ?: string
541
+ measuredataid ?: string
542
+ targetMeasureid ?: string
543
+ gasfreeoptionid ?: string
544
+ measuretypeid ?: string
545
+ insulationlocationid ?: string
546
+ insulationmethodid ?: string
547
+ insulationtypeid ?: string
548
+
549
+ field: string
550
+ operator: string
551
+ value : string
516
552
  }
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
- {
2
- "name": "@e-trias/woonplan",
3
- "private": false,
4
- "types": "index.d.ts",
5
- "version": "1.0.30",
6
- "main": "index.d.ts",
7
- "scripts": {
8
- "test": "echo \"Error: no test specified\" && exit 1"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/e-line-websolutions/woonplan-types.git"
13
- },
14
- "author": "Jasper Denk",
15
- "license": "ISC",
16
- "bugs": {
17
- "url": "https://github.com/e-line-websolutions/woonplan-types/issues"
18
- },
19
- "homepage": "https://github.com/e-line-websolutions/woonplan-types#readme",
20
- "description": "",
21
- "dependencies": {
22
- "@types/uuidv4": "^5.0.0"
23
- }
24
- }
1
+ {
2
+ "name": "@e-trias/woonplan",
3
+ "private": false,
4
+ "types": "index.d.ts",
5
+ "version": "1.0.33",
6
+ "main": "index.d.ts",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/e-line-websolutions/woonplan-types.git"
13
+ },
14
+ "author": "Jasper Denk",
15
+ "license": "ISC",
16
+ "bugs": {
17
+ "url": "https://github.com/e-line-websolutions/woonplan-types/issues"
18
+ },
19
+ "homepage": "https://github.com/e-line-websolutions/woonplan-types#readme",
20
+ "description": "",
21
+ "dependencies": {
22
+ "@types/uuidv4": "^5.0.0"
23
+ }
24
+ }