@e-trias/woonplan 0.0.66 → 0.0.70

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