@e-trias/woonplan 0.0.83 → 0.0.87

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.
@@ -0,0 +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}}
package/index.d.ts CHANGED
@@ -17,9 +17,9 @@ export interface Contact{
17
17
  areaactioncollectionid?: string | null
18
18
  questionairelocked?: boolean
19
19
  wantsnewsletter?: boolean
20
- coordinates?:unknown
21
- street?:unknown
22
- city?:unknown
20
+ coordinates?:string
21
+ streetname?:string
22
+ city?:string
23
23
  }
24
24
  export interface Advice{
25
25
  id:string | null;
@@ -108,18 +108,18 @@ export interface Solarapicall{
108
108
  deleted:boolean
109
109
  name?:string
110
110
  sortorder?:number
111
- energyconsumption:number | null
111
+ energyconsumption:number | null
112
112
  max:boolean
113
113
  panels:number
114
114
  yield:number
115
115
  postcode:string
116
- housenumber:number
117
- extension:string | null
116
+ housenumber:number
117
+ extension:string | null
118
118
  result:string
119
119
  }
120
120
 
121
121
  export interface Quotation{
122
- id:string
122
+ id:string
123
123
  expiredate:Date
124
124
  contractorid:string
125
125
  adviceid:string
@@ -128,19 +128,19 @@ export interface Quotation{
128
128
  investment?:number
129
129
  status?:string
130
130
  accepteddate?:Date
131
- rejectdate?:Date
131
+ rejectdate?:Date
132
132
  rejectreason?:string
133
133
  }
134
134
 
135
135
  export interface QuotationFile{
136
- id:string
137
- originalfilename:string
136
+ id:string
137
+ originalfilename:string
138
138
  quotationid:string
139
139
  folder:string
140
140
  }
141
141
 
142
142
  export interface QuotationRequest{
143
- id:string
143
+ id:string
144
144
  measureid:string
145
145
  measuredataid?:string
146
146
  contractorid?:string
@@ -150,7 +150,7 @@ export interface QuotationRequest{
150
150
  }
151
151
 
152
152
  export interface Collectivebuy{
153
- id:string
153
+ id:string
154
154
  expiredate:Date
155
155
  partnerid:string
156
156
  }
@@ -177,7 +177,7 @@ export interface Measuredata{
177
177
 
178
178
  export interface Text{
179
179
  id:string
180
- title: string
180
+ title: string
181
181
  body: string
182
182
  localeid:string
183
183
  partnerid:string
@@ -205,31 +205,27 @@ export interface Measuretext{
205
205
  }
206
206
 
207
207
  export interface QuotationRequestForm{
208
- measuredataid : string
208
+ measuredataid : string
209
209
  measureid : string
210
210
  contractorid : string
211
211
  }
212
212
 
213
213
  export interface IAppointment {
214
- id : string
215
- status : string
216
- startDate : Date
217
- endDate : Date
218
- startTime : string
219
- endTime : string
220
- userdataId : string
221
- surveyorId : string
222
- needsPayment : true | false
214
+ id: string
215
+ status?: string
216
+ start?: Date
217
+ end?: Date
218
+ userdataId?: string
219
+ surveyorId?: string
220
+ needsPayment?: true | false
223
221
  }
224
222
 
225
223
  export interface ICreateAppointmentParams{
226
224
  appointmentId: string
227
225
  agendaId: string
228
226
  appointmentTypeId: string
229
- startDate: Date
230
- endDate: Date
231
- startTime : string
232
- endTime : string
227
+ start: Date
228
+ end: Date
233
229
  userdataId : string
234
230
  customerId : string
235
231
  }
@@ -239,15 +235,15 @@ export interface IAppointmentFormParams{
239
235
  appointmentTypeId: number
240
236
  startDate: Date
241
237
  endDate: Date
242
- startTime : string
238
+ startTime : string
243
239
  endTime : string
244
240
  measuredataids : string[]
245
241
  }
246
242
 
247
243
  export interface ISettings{
248
244
  onlineAfsprakenAgendaId ?: number
249
- onlineAfsprakenActive ?: number
250
- onlineAfsprakenAppointmentTypeId ?: number
245
+ onlineAfsprakenActive ?: number
246
+ onlineAfsprakenAppointmentTypeId ?: number
251
247
  mollie : {
252
248
  apiKey : string
253
249
  }
@@ -284,7 +280,7 @@ export interface IOnlineAfsprakenSettings{
284
280
 
285
281
 
286
282
  export interface IGetBookableDaysParams {
287
- userdataid: string,
283
+ userdataid: string,
288
284
  ResourceId?: string,
289
285
  StartDate: string // YYYY-MM-DD
290
286
  EndDate: string // YYYY-MM-DD
@@ -293,7 +289,7 @@ export interface IGetBookableDaysParams {
293
289
 
294
290
  export interface IGetBookableTimesParams {
295
291
  Date: string // YYYY-MM-DD
296
- userdataid: string,
292
+ userdataid: string,
297
293
  ResourceId?: string,
298
294
  EndDate?: string // YYYY-MM-DD
299
295
  settings?:IOnlineAfsprakenSettings
@@ -312,6 +308,7 @@ export interface IBookableday{
312
308
  export interface IBagData {
313
309
  coordinates: number[]
314
310
  buildyear: number
315
- street: string
311
+ streetname: string
316
312
  city: string
313
+ surface:number
317
314
  }
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": "0.0.83",
5
+ "version": "0.0.87",
6
6
  "main": "index.d.ts",
7
7
  "scripts": {
8
8
  "test": "echo \"Error: no test specified\" && exit 1"