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