@e-trias/woonplan 0.0.77 → 0.0.81

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 +54 -18
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,22 +1,26 @@
1
1
  export interface Contact{
2
- id:string | null;
3
- firstname:string;
4
- active:boolean;
5
- infix:string | null;
6
- lastname:string;
7
- email:string;
8
- username:string;
9
- postcode:string;
10
- phone:string;
11
- mobile:string;
12
- houseno:number;
13
- extension:string;
14
- password:string;
15
- securityroleid:string | null;
16
- companyid:string | null;
17
- areaactioncollectionid:string | null;
18
- questionairelocked?:boolean
19
- wantsnewsletter?:boolean
2
+ id?: string | null
3
+ firstname?: string
4
+ infix?: string | null
5
+ lastname?: string
6
+ active?: boolean
7
+ email?: string
8
+ username?: string
9
+ postcode?: string
10
+ phone?: string
11
+ mobile?: string
12
+ houseno?: number
13
+ extension?: string
14
+ password?: string
15
+ securityroleid?: string | null
16
+ companyid?: string | null
17
+ areaactioncollectionid?: string | null
18
+ questionairelocked?: boolean
19
+ wantsnewsletter?: boolean
20
+ coordinates?:unknown
21
+ street?:unknown
22
+ city?:unknown
23
+ buildyear?:unknown
20
24
  }
21
25
  export interface Advice{
22
26
  id:string | null;
@@ -269,4 +273,36 @@ export interface IPayment {
269
273
  status : string
270
274
  mollieid: string
271
275
  checkoutUrl?: string
276
+ }
277
+
278
+ export interface IOnlineAfsprakenSettings{
279
+ apiKey: string
280
+ apiSecret: string
281
+ appointmentTypeId: number
282
+ agendaId: number
283
+ }
284
+
285
+
286
+ export interface IGetBookableDaysParams {
287
+ userdataid: string,
288
+ ResourceId?: string,
289
+ StartDate: string // YYYY-MM-DD
290
+ EndDate: string // YYYY-MM-DD
291
+ settings?:IOnlineAfsprakenSettings
292
+ }
293
+
294
+ export interface IGetBookableTimesParams {
295
+ Date: string // YYYY-MM-DD
296
+ userdataid: string,
297
+ ResourceId?: string,
298
+ EndDate?: string // YYYY-MM-DD
299
+ settings?:IOnlineAfsprakenSettings
300
+ }
301
+
302
+ export interface IBookableday{
303
+ Date: string;
304
+ Month:number
305
+ Day:number
306
+ Year?:number
307
+ JSDate?:Date
272
308
  }
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.77",
5
+ "version": "0.0.81",
6
6
  "main": "index.d.ts",
7
7
  "scripts": {
8
8
  "test": "echo \"Error: no test specified\" && exit 1"