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