@iservice365/module-hygiene 0.1.2 → 0.2.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @iservice365/module-hygiene
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4a9a008: Add new dependencies
8
+
3
9
  ## 0.1.2
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,62 +1,68 @@
1
1
  import Joi from 'joi';
2
2
  import * as mongodb from 'mongodb';
3
3
  import { ObjectId, ClientSession } from 'mongodb';
4
- import * as bson from 'bson';
5
4
  import { Request, Response, NextFunction } from 'express';
5
+ import * as bson from 'bson';
6
+
7
+ declare const allowedTypes: string[];
8
+ declare const allowedStatus: string[];
6
9
 
7
- interface TManageAreaChecklist {
8
- _id: string | ObjectId;
10
+ type TAreaUnits = {
11
+ unit: string | ObjectId;
9
12
  name: string;
10
- }
13
+ };
11
14
  type TArea = {
12
15
  _id?: ObjectId;
16
+ site: string | ObjectId;
13
17
  name: string;
14
- site?: string | ObjectId;
15
- createdBy?: string | ObjectId;
16
- checklist?: TManageAreaChecklist[];
17
- status?: string;
18
+ type: (typeof allowedTypes)[number];
19
+ set?: number;
20
+ units?: TAreaUnits[];
21
+ status?: "active" | "deleted";
18
22
  createdAt?: Date | string;
19
23
  updatedAt?: Date | string;
20
24
  deletedAt?: Date | string;
21
25
  };
22
- type TAreaUpdate = Pick<TArea, "name">;
23
- type TAreaUpdateChecklist = NonNullable<Pick<TArea, "checklist">>;
26
+ type TAreaGetQuery = {
27
+ page?: number;
28
+ limit?: number;
29
+ search?: string;
30
+ } & Pick<TArea, "site">;
31
+ type TAreaCreate = Pick<TArea, "site" | "name" | "type" | "set" | "units">;
32
+ type TAreaUpdate = Partial<Pick<TArea, "name" | "type" | "set" | "units">>;
33
+ type TAreaGetAreasForChecklist = Pick<TArea, "site" | "type">;
34
+ type TAreaUpdateChecklist = {
35
+ units: TAreaUnits[];
36
+ };
24
37
  declare const areaSchema: Joi.ObjectSchema<any>;
25
- declare function MArea(value: TArea): {
38
+ declare function MArea(value: TAreaCreate): {
39
+ site: string | ObjectId;
26
40
  name: string;
27
- site: string | ObjectId | undefined;
28
- createdBy: string | ObjectId | undefined;
29
- checklist: TManageAreaChecklist[] | undefined;
41
+ type: string;
42
+ set: number;
43
+ units: TAreaUnits[];
30
44
  status: string;
31
45
  createdAt: Date;
32
- updatedAt: string | Date;
33
- deletedAt: string | Date;
46
+ updatedAt: string;
47
+ deletedAt: string;
34
48
  };
35
49
 
36
- declare function useAreaRepository(): {
50
+ declare function useAreaRepo(): {
37
51
  createIndex: () => Promise<void>;
38
52
  createTextIndex: () => Promise<void>;
39
53
  createUniqueIndex: () => Promise<void>;
40
- createArea: (value: TArea, session?: ClientSession) => Promise<ObjectId>;
41
- getAreas: ({ page, limit, search, startDate, endDate, site, }: {
42
- page?: number | undefined;
43
- limit?: number | undefined;
44
- search?: string | undefined;
45
- startDate?: string | Date | undefined;
46
- endDate?: string | Date | undefined;
47
- site?: string | ObjectId | undefined;
48
- }) => Promise<{}>;
54
+ createArea: (value: TAreaCreate, session?: ClientSession) => Promise<ObjectId>;
55
+ getAreas: ({ page, limit, search, site, }: TAreaGetQuery) => Promise<{}>;
56
+ getAreasForChecklist: ({ site, type, }: TAreaGetAreasForChecklist) => Promise<{}>;
49
57
  getAreaById: (_id: string | ObjectId) => Promise<{}>;
50
- getAreaByName: (name: string, site?: string | ObjectId) => Promise<mongodb.WithId<bson.Document> | null>;
51
58
  updateArea: (_id: string | ObjectId, value: TAreaUpdate) => Promise<number>;
52
59
  updateAreaChecklist: (_id: string | ObjectId, value: TAreaUpdateChecklist) => Promise<number>;
53
60
  deleteArea: (_id: string | ObjectId, session?: ClientSession) => Promise<number>;
54
61
  };
55
62
 
56
63
  declare function useAreaService(): {
57
- uploadByFile: ({ dataJson, createdBy, site, }: {
64
+ importArea: ({ dataJson, site, }: {
58
65
  dataJson: string;
59
- createdBy: string | ObjectId;
60
66
  site: string | ObjectId;
61
67
  }) => Promise<{
62
68
  message: string;
@@ -74,169 +80,43 @@ interface MulterRequest extends Request {
74
80
 
75
81
  declare function useAreaController(): {
76
82
  createArea: (req: Request, res: Response, next: NextFunction) => Promise<void>;
77
- getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
83
+ getAreas: (req: Request, res: Response, next: NextFunction) => Promise<void>;
78
84
  getAreaById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
79
85
  updateArea: (req: Request, res: Response, next: NextFunction) => Promise<void>;
80
86
  updateAreaChecklist: (req: Request, res: Response, next: NextFunction) => Promise<void>;
81
87
  deleteArea: (req: Request, res: Response, next: NextFunction) => Promise<void>;
82
- uploadByFile: (req: MulterRequest, res: Response, next: NextFunction) => Promise<Response<any, Record<string, any>> | undefined>;
88
+ importArea: (req: MulterRequest, res: Response, next: NextFunction) => Promise<Response<any, Record<string, any>> | undefined>;
83
89
  };
84
90
 
85
- interface TToiletLocationChecklist {
86
- _id: string | ObjectId;
87
- name: string;
88
- }
89
- interface TGetToiletLocationsQuery {
90
- page?: number;
91
- limit?: number;
92
- search?: string;
93
- sort?: Record<string, any>;
94
- startDate?: Date | string;
95
- endDate?: Date | string;
96
- site: ObjectId | string;
97
- }
98
- type TToiletLocation = {
91
+ type TUnit = {
99
92
  _id?: ObjectId;
100
- name: string;
101
- createdBy?: string | ObjectId;
102
- checklist?: TToiletLocationChecklist[];
103
- status?: string;
104
- site?: string | ObjectId;
105
- createdAt?: string | Date;
106
- updatedAt?: string | Date;
107
- deletedAt?: Date | string;
108
- };
109
- type TToiletUpdateChecklist = NonNullable<Pick<TToiletLocation, "checklist">>;
110
- declare const toiletLocationSchema: Joi.ObjectSchema<any>;
111
- declare function MToiletLocation(value: TToiletLocation): {
112
- name: string;
113
- site: string | ObjectId | undefined;
114
- createdBy: string | ObjectId | undefined;
115
- checklist: TToiletLocationChecklist[] | undefined;
116
- status: string;
117
- createdAt: Date;
118
- updatedAt: string | Date;
119
- deletedAt: string | Date;
120
- };
121
-
122
- declare function useToiletLocationRepository(): {
123
- createIndexes: () => Promise<void>;
124
- createUniqueIndex: () => Promise<void>;
125
- getToiletLocations: ({ page, limit, search, sort, startDate, endDate, site, }: {
126
- page?: number | undefined;
127
- limit?: number | undefined;
128
- search?: string | undefined;
129
- sort?: Record<string, any> | undefined;
130
- startDate?: string | Date | undefined;
131
- endDate?: string | Date | undefined;
132
- site?: string | ObjectId | undefined;
133
- }) => Promise<{}>;
134
- create: (value: TToiletLocation, session?: ClientSession) => Promise<ObjectId>;
135
- updateToiletLocation: (_id: string | ObjectId, value: TToiletLocation) => Promise<number>;
136
- deleteToiletLocation: (_id: string | ObjectId, session?: ClientSession) => Promise<number>;
137
- getToiletLocationByName: (name: string, site?: string | ObjectId) => Promise<mongodb.WithId<bson.Document> | null>;
138
- getToiletLocationById: (_id: string | ObjectId) => Promise<{}>;
139
- updateToiletLocationChecklist: (_id: string | ObjectId, value: TToiletUpdateChecklist) => Promise<number>;
140
- };
141
-
142
- declare function useToiletLocationService(): {
143
- uploadByFile: ({ dataJson, createdBy, site, }: {
144
- dataJson: string;
145
- createdBy: string | ObjectId;
146
- site: string | ObjectId;
147
- }) => Promise<{
148
- message: string;
149
- }>;
150
- };
151
-
152
- declare function useToiletLocationController(): {
153
- getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
154
- createToiletLocation: (req: Request, res: Response, next: NextFunction) => Promise<void>;
155
- updateToiletLocation: (req: Request, res: Response, next: NextFunction) => Promise<void>;
156
- deleteToiletLocation: (req: Request, res: Response, next: NextFunction) => Promise<void>;
157
- updateToiletLocationChecklist: (req: Request, res: Response, next: NextFunction) => Promise<void>;
158
- getToiletLocationById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
159
- uploadByFile: (req: MulterRequest, res: Response, next: NextFunction) => Promise<Response<any, Record<string, any>> | undefined>;
160
- };
161
-
162
- declare const allowedTypes: string[];
163
- declare const allowedStatus: string[];
164
- interface TParentChecklistStatus {
165
- type: (typeof allowedTypes)[number];
166
93
  site: string | ObjectId;
167
- status: (typeof allowedStatus)[number];
168
- completedAt: string | Date;
169
- }
170
- type TParentChecklist = {
171
- _id?: ObjectId;
172
- date: Date;
173
- status?: TParentChecklistStatus[];
174
- createdAt?: Date | string;
175
- updatedAt?: Date | string;
176
- deletedAt?: Date | string;
177
- };
178
- declare const parentChecklistSchema: Joi.ObjectSchema<any>;
179
- declare function MParentChecklist(value: TParentChecklist): {
180
- date: Date;
181
- status: TParentChecklistStatus[] | undefined;
182
- createdAt: Date;
183
- updatedAt: string | Date;
184
- };
185
-
186
- declare function useParentChecklistRepo(): {
187
- createIndex: () => Promise<void>;
188
- createParentChecklist: (value: TParentChecklist, session?: ClientSession) => Promise<ObjectId>;
189
- getAllParentChecklist: ({ page, limit, search, site, type, startDate, endDate, }: {
190
- page?: number | undefined;
191
- limit?: number | undefined;
192
- search?: string | undefined;
193
- site: ObjectId | string;
194
- type: (typeof allowedTypes)[number];
195
- startDate?: string | Date | undefined;
196
- endDate?: string | Date | undefined;
197
- }) => Promise<{}>;
198
- updateParentChecklistStatuses: (date?: Date) => Promise<mongodb.BulkWriteResult | null>;
199
- };
200
-
201
- declare function useParentChecklistController(): {
202
- createParentChecklist: (req: Request, res: Response, next: NextFunction) => Promise<void>;
203
- getAllParentChecklist: (req: Request, res: Response, next: NextFunction) => Promise<void>;
204
- };
205
-
206
- interface TUnit {
207
- _id?: ObjectId;
208
94
  name: string;
209
- site?: string | ObjectId;
210
- createdBy?: string | ObjectId;
211
- status?: string;
212
- createdAt?: string | Date;
213
- updatedAt?: string | Date;
214
- deletedAt?: string | Date;
215
- }
95
+ createdAt?: string;
96
+ updatedAt?: string;
97
+ deletedAt?: string;
98
+ status?: "active" | "deleted";
99
+ };
100
+ type TUnitCreate = Partial<Pick<TUnit, "site" | "name">>;
216
101
  type TUnitUpdate = Partial<Pick<TUnit, "name">>;
217
- interface TGetUnitsQuery {
102
+ type TGetUnitsQuery = {
218
103
  page?: number;
219
104
  limit?: number;
220
105
  search?: string;
221
- startDate?: Date | string;
222
- endDate?: Date | string;
223
- site: ObjectId | string;
224
- }
106
+ } & Pick<TUnit, "site">;
225
107
  declare const unitSchema: Joi.ObjectSchema<any>;
226
- declare function MUnit(value: TUnit): {
227
- name: string;
228
- createdBy: string | ObjectId | undefined;
108
+ declare function MUnit(value: TUnitCreate): {
229
109
  site: string | ObjectId | undefined;
230
- status: string;
110
+ name: string | undefined;
231
111
  createdAt: Date;
232
- updatedAt: string | Date;
233
- deletedAt: string | Date;
112
+ status: string;
113
+ updatedAt: string;
114
+ deletedAt: string;
234
115
  };
235
116
 
236
117
  declare function useUnitService(): {
237
- uploadByFile: ({ dataJson, createdBy, site, }: {
118
+ importUnit: ({ dataJson, site, }: {
238
119
  dataJson: string;
239
- createdBy: string | ObjectId;
240
120
  site: string | ObjectId;
241
121
  }) => Promise<{
242
122
  message: string;
@@ -247,160 +127,107 @@ declare function useUnitRepository(): {
247
127
  createIndex: () => Promise<void>;
248
128
  createTextIndex: () => Promise<void>;
249
129
  createUniqueIndex: () => Promise<void>;
250
- createUnit: (value: TUnit, session?: ClientSession) => Promise<ObjectId>;
251
- getUnits: ({ page, limit, search, startDate, endDate, site, }: TGetUnitsQuery) => Promise<{}>;
252
- getUnitByName: (name: string, site?: string | ObjectId) => Promise<mongodb.WithId<bson.Document> | null>;
253
- getUnitById: (id: string | ObjectId, site?: string | ObjectId) => Promise<mongodb.WithId<bson.Document> | null>;
130
+ createUnit: (value: TUnitCreate, session?: ClientSession) => Promise<ObjectId>;
131
+ getUnits: ({ page, limit, search, site, }: TGetUnitsQuery) => Promise<{}>;
254
132
  updateUnit: (_id: string | ObjectId, value: TUnitUpdate) => Promise<number>;
255
133
  deleteUnit: (_id: string | ObjectId, session?: ClientSession) => Promise<number>;
256
134
  };
257
135
 
258
136
  declare function useUnitController(): {
259
137
  createUnit: (req: Request, res: Response, next: NextFunction) => Promise<void>;
260
- getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
138
+ getUnits: (req: Request, res: Response, next: NextFunction) => Promise<void>;
261
139
  updateUnit: (req: Request, res: Response, next: NextFunction) => Promise<void>;
262
140
  deleteUnit: (req: Request, res: Response, next: NextFunction) => Promise<void>;
263
- uploadByFile: (req: MulterRequest, res: Response, next: NextFunction) => Promise<Response<any, Record<string, any>> | undefined>;
141
+ importUnit: (req: MulterRequest, res: Response, next: NextFunction) => Promise<Response<any, Record<string, any>> | undefined>;
264
142
  };
265
143
 
266
- interface TScheduleTaskAreaCheckList {
267
- _id: string | ObjectId;
268
- name: string;
269
- }
270
- interface TGetScheduleTaskAreasQuery {
271
- page?: number;
272
- limit?: number;
273
- search?: string;
274
- sort?: Record<string, any>;
275
- startDate?: Date | string;
276
- endDate?: Date | string;
277
- site: ObjectId | string;
278
- }
279
- type TScheduleTaskArea = {
144
+ type TParentChecklist = {
280
145
  _id?: ObjectId;
281
- name: string;
282
146
  site?: string | ObjectId;
283
- createdBy?: string | ObjectId;
284
- checklist?: TScheduleTaskAreaCheckList[];
285
- status?: string;
147
+ status?: (typeof allowedStatus)[number];
286
148
  createdAt?: Date | string;
287
149
  updatedAt?: Date | string;
288
- deletedAt?: Date | string;
289
150
  };
290
- declare const scheduleTaskAreaSchema: Joi.ObjectSchema<any>;
291
- declare function MScheduleTaskArea(value: TScheduleTaskArea): {
292
- name: string;
151
+ declare const parentChecklistSchema: Joi.ObjectSchema<any>;
152
+ declare function MParentChecklist(value: TParentChecklist): {
293
153
  site: string | ObjectId | undefined;
294
- createdBy: string | ObjectId | undefined;
295
- checklist: TScheduleTaskAreaCheckList[] | undefined;
296
154
  status: string;
297
- createdAt: Date;
155
+ createdAt: string | Date;
298
156
  updatedAt: string | Date;
299
- deletedAt: string | Date;
300
157
  };
301
158
 
302
- declare function useScheduleTaskAreaRepository(): {
303
- createUniqueIndex: () => Promise<void>;
304
- createScheduleTaskArea: (value: TScheduleTaskArea, session?: ClientSession) => Promise<ObjectId>;
305
- updateScheduleTaskArea: (_id: string | ObjectId, params: TScheduleTaskArea) => Promise<number>;
306
- deleteScheduleTaskArea: (_id: string | ObjectId, session?: ClientSession) => Promise<number>;
307
- getScheduleTaskAreas: ({ page, limit, search, startDate, endDate, site, }: {
159
+ declare function useParentChecklistRepo(): {
160
+ createIndex: () => Promise<void>;
161
+ createParentChecklist: (value: TParentChecklist, session?: ClientSession) => Promise<ObjectId | ObjectId[]>;
162
+ getAllParentChecklist: ({ page, limit, search, site, startDate, endDate, }: {
308
163
  page?: number | undefined;
309
164
  limit?: number | undefined;
310
165
  search?: string | undefined;
166
+ site: ObjectId | string;
311
167
  startDate?: string | Date | undefined;
312
168
  endDate?: string | Date | undefined;
313
- site?: string | ObjectId | undefined;
314
169
  }) => Promise<{}>;
315
- createIndexes: () => Promise<void>;
316
- getScheduleTaskAreaByName: (name: string, site?: string | ObjectId) => Promise<mongodb.WithId<bson.Document> | null>;
317
- getScheduleTaskAreaById: (id: string | ObjectId, site?: string | ObjectId) => Promise<mongodb.WithId<bson.Document> | null>;
318
- getAreaById: (_id: string | ObjectId) => Promise<{}>;
319
- };
320
-
321
- declare function useScheduleTaskAreaService(): {
322
- uploadByFile: ({ dataJson, createdBy, site, }: {
323
- dataJson: string;
324
- createdBy: string | ObjectId;
325
- site: string | ObjectId;
326
- }) => Promise<{
327
- message: string;
328
- }>;
170
+ updateParentChecklistStatuses: (createdAt?: Date) => Promise<mongodb.BulkWriteResult | null>;
329
171
  };
330
172
 
331
- declare function useScheduleTaskAreaController(): {
332
- getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
333
- getAreaById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
334
- createScheduleTaskArea: (req: Request, res: Response, next: NextFunction) => Promise<void>;
335
- updateScheduleTaskArea: (req: Request, res: Response, next: NextFunction) => Promise<void>;
336
- deleteScheduleTaskArea: (req: Request, res: Response, next: NextFunction) => Promise<void>;
337
- uploadByFile: (req: MulterRequest, res: Response, next: NextFunction) => Promise<Response<any, Record<string, any>> | undefined>;
173
+ declare function useParentChecklistController(): {
174
+ createParentChecklist: (req: Request, res: Response, next: NextFunction) => Promise<void>;
175
+ getAllParentChecklist: (req: Request, res: Response, next: NextFunction) => Promise<void>;
338
176
  };
339
177
 
340
- type TAreaChecklist = {
178
+ declare const allowedChecklistStatus: string[];
179
+ type TCleaningScheduleArea = {
341
180
  _id?: ObjectId;
181
+ schedule: string | ObjectId;
182
+ name: string;
342
183
  type: (typeof allowedTypes)[number];
343
- site: string | ObjectId;
344
- parentChecklist: string | ObjectId;
345
- area: string | ObjectId;
346
- name?: string;
347
- metadata?: TAreaChecklistMetadata;
184
+ checklist: TAreaChecklist[];
348
185
  status?: (typeof allowedStatus)[number];
349
- createdBy?: string | ObjectId;
350
186
  createdAt?: Date | string;
351
- acceptedBy?: string | ObjectId;
352
- acceptedAt?: Date | string;
353
- startedAt?: Date | string;
354
- endedAt?: Date | string;
355
- signature?: string;
356
187
  updatedAt?: Date | string;
357
188
  };
358
- type TAreaChecklistMetadata = {
359
- attachments?: string[];
189
+ type TAreaChecklist = {
190
+ set: number;
191
+ units: TAreaChecklistUnits[];
360
192
  };
361
- type TAreaChecklistCreate = Pick<TAreaChecklist, "type" | "site" | "parentChecklist" | "createdBy"> & {
362
- areas: Array<{
363
- area: string | ObjectId;
364
- name?: string;
365
- }>;
193
+ type TAreaChecklistUnits = {
194
+ name: string;
195
+ status?: (typeof allowedChecklistStatus)[number];
196
+ remarks?: string;
197
+ timestamp?: Date | string;
366
198
  };
367
- declare const areaChecklistSchema: Joi.ObjectSchema<any>;
368
- declare function MAreaChecklist(value: TAreaChecklist): {
369
- type: string;
199
+ type TAreaChecklistCreate = Pick<TCleaningScheduleArea, "schedule"> & {
370
200
  site: string | ObjectId;
371
- parentChecklist: string | ObjectId;
372
- area: string | ObjectId;
201
+ };
202
+ declare const areaChecklistSchema: Joi.ObjectSchema<any>;
203
+ declare function MAreaChecklist(value: TCleaningScheduleArea): {
204
+ schedule: string | ObjectId;
373
205
  name: string;
206
+ type: string;
207
+ checklist: TAreaChecklist[];
374
208
  status: string;
375
- createdBy: string | ObjectId;
376
209
  createdAt: Date;
377
- acceptedBy: string | ObjectId;
378
- acceptedAt: string | Date;
379
- startedAt: string | Date;
380
- endedAt: string | Date;
381
- signature: string;
382
- updatedAt: string | Date;
210
+ updatedAt: string;
383
211
  };
384
212
 
385
213
  declare function useAreaChecklistRepo(): {
386
214
  createIndex: () => Promise<void>;
387
215
  createTextIndex: () => Promise<void>;
388
- createAreaChecklist: (value: TAreaChecklist, session?: ClientSession) => Promise<ObjectId>;
389
- getAllAreaChecklist: ({ page, limit, search, site, type, parentChecklist, }: {
216
+ createAreaChecklist: (value: TCleaningScheduleArea, session?: ClientSession) => Promise<ObjectId>;
217
+ getAllAreaChecklist: ({ page, limit, search, type, schedule, }: {
390
218
  page?: number | undefined;
391
219
  limit?: number | undefined;
392
220
  search?: string | undefined;
393
- site: string | ObjectId;
394
- type: (typeof allowedTypes)[number];
395
- parentChecklist: string | ObjectId;
221
+ type?: string | undefined;
222
+ schedule: string | ObjectId;
396
223
  }) => Promise<{}>;
397
- getAreaChecklistHistory: ({ page, limit, search, site, type, parentChecklist, status, createdAt, user, }: {
224
+ getAreaChecklistHistory: ({ page, limit, search, site, type, schedule, status, createdAt, user, }: {
398
225
  page?: number | undefined;
399
226
  limit?: number | undefined;
400
227
  search?: string | undefined;
401
228
  site: string | ObjectId;
402
229
  type: (typeof allowedTypes)[number];
403
- parentChecklist: string | ObjectId;
230
+ schedule: string | ObjectId;
404
231
  status?: string | undefined;
405
232
  createdAt?: string | Date | undefined;
406
233
  user?: string | ObjectId | undefined;
@@ -501,4 +328,4 @@ declare function useUnitChecklistController(): {
501
328
  rejectUnitChecklist: (req: Request, res: Response, next: NextFunction) => Promise<void>;
502
329
  };
503
330
 
504
- export { MArea, MAreaChecklist, MParentChecklist, MScheduleTaskArea, MToiletLocation, MUnit, MUnitChecklist, TArea, TAreaChecklist, TAreaChecklistCreate, TAreaChecklistMetadata, TAreaUpdate, TAreaUpdateChecklist, TGetScheduleTaskAreasQuery, TGetToiletLocationsQuery, TGetUnitsQuery, TManageAreaChecklist, TParentChecklist, TParentChecklistStatus, TScheduleTaskArea, TScheduleTaskAreaCheckList, TToiletLocation, TToiletLocationChecklist, TToiletUpdateChecklist, TUnit, TUnitChecklist, TUnitChecklistApprove, TUnitChecklistMetadata, TUnitChecklistMetadataWorkOrder, TUnitChecklistReject, TUnitUpdate, allowedStatus, allowedTypes, areaChecklistSchema, areaSchema, parentChecklistSchema, scheduleTaskAreaSchema, toiletLocationSchema, unitChecklistSchema, unitSchema, useAreaChecklistController, useAreaChecklistRepo, useAreaController, useAreaRepository, useAreaService, useParentChecklistController, useParentChecklistRepo, useScheduleTaskAreaController, useScheduleTaskAreaRepository, useScheduleTaskAreaService, useToiletLocationController, useToiletLocationRepository, useToiletLocationService, useUnitChecklistController, useUnitChecklistRepo, useUnitController, useUnitRepository, useUnitService };
331
+ export { MArea, MAreaChecklist, MParentChecklist, MUnit, MUnitChecklist, TArea, TAreaChecklist, TAreaChecklistCreate, TAreaChecklistUnits, TAreaCreate, TAreaGetAreasForChecklist, TAreaGetQuery, TAreaUnits, TAreaUpdate, TAreaUpdateChecklist, TCleaningScheduleArea, TGetUnitsQuery, TParentChecklist, TUnit, TUnitChecklist, TUnitChecklistApprove, TUnitChecklistMetadata, TUnitChecklistMetadataWorkOrder, TUnitChecklistReject, TUnitCreate, TUnitUpdate, allowedChecklistStatus, areaChecklistSchema, areaSchema, parentChecklistSchema, unitChecklistSchema, unitSchema, useAreaChecklistController, useAreaChecklistRepo, useAreaController, useAreaRepo, useAreaService, useParentChecklistController, useParentChecklistRepo, useUnitChecklistController, useUnitChecklistRepo, useUnitController, useUnitRepository, useUnitService };