@e-trias/woonplan 0.0.67 → 0.0.71

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 +32 -6
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -156,6 +156,7 @@ export interface Measuredata{
156
156
  collectivebuyid?:string
157
157
  contractorid?:string
158
158
  measureid?:string
159
+ requiressurvey?:boolean
159
160
 
160
161
  }
161
162
 
@@ -199,8 +200,8 @@ export interface IAppointment {
199
200
  status : string
200
201
  startDate : Date
201
202
  endDate : Date
202
- startTime : Date
203
- endTime : Date
203
+ startTime : string
204
+ endTime : string
204
205
  userdataId : string
205
206
  surveyorId : string
206
207
  needsPayment : true | false
@@ -212,8 +213,8 @@ export interface ICreateAppointmentParams{
212
213
  appointmentTypeId: string
213
214
  startDate: Date
214
215
  endDate: Date
215
- startTime : Date
216
- endTime : Date
216
+ startTime : string
217
+ endTime : string
217
218
  userdataId : string
218
219
  customerId : string
219
220
  }
@@ -223,12 +224,37 @@ export interface IAppointmentFormParams{
223
224
  appointmentTypeId: number
224
225
  startDate: Date
225
226
  endDate: Date
226
- startTime : Date
227
- endTime : Date
227
+ startTime : string
228
+ endTime : string
228
229
  }
229
230
 
230
231
  export interface ISettings{
231
232
  onlineAfsprakenAgendaId ?: number
232
233
  onlineAfsprakenActive ?: number
233
234
  onlineAfsprakenAppointmentTypeId ?: number
235
+ mollie : {
236
+ apiKey : string
237
+ }
238
+ }
239
+
240
+ export interface IPrice {
241
+ currency: string
242
+ value: number
243
+ }
244
+
245
+ export interface IPSPStatusUpdate {
246
+ mollieid: string
247
+ }
248
+
249
+ export interface IPayment {
250
+ id: string
251
+ amount: number
252
+ description: string
253
+ // createdAt & updatedAt in ISO 8601 format
254
+ createdAt: string
255
+ updatedAt: string
256
+ appointmentid?: string
257
+ status : string
258
+ mollieid: string
259
+ checkoutUrl?: string
234
260
  }
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.67",
5
+ "version": "0.0.71",
6
6
  "main": "index.d.ts",
7
7
  "scripts": {
8
8
  "test": "echo \"Error: no test specified\" && exit 1"