Commit Graph

16 Commits

Author SHA1 Message Date
e5970c02c1 SP-1757, SP-1758, SP-1809, SP-1810: Feat/implement booking (#469)
* fix: commission device API

* task: add create booking API

* add get All api for dashboard & mobile

* add Find APIs for bookings

* implement sending email updates on update bookable space

* move email interfaces to separate files
2025-07-15 10:11:36 +03:00
9bebcb2f3e feat: implement scheduler for periodic data updates and optimize database procedures
- Added SchedulerModule and SchedulerService to handle hourly data updates for AQI, occupancy, and energy consumption.
- Refactored existing services to remove unused device repository dependencies and streamline procedure execution.
- Updated SQL procedures to use correct parameter indexing.
- Enhanced error handling and logging for scheduled tasks.
- Integrated new repositories for presence sensor and AQI pollutant stats across multiple modules.
- Added NestJS schedule package for task scheduling capabilities.
2025-06-25 03:20:25 -06:00
c86be27576 Add AQI module and related services, controllers, and DTOs
- Introduced AqiModule with AqiService and AqiController for handling AQI data.
- Added DTOs for AQI requests: GetAqiDailyBySpaceDto and GetAqiPollutantBySpaceDto.
- Implemented AqiDataService for managing AQI sensor historical data.
- Updated existing modules to include AqiDataService where necessary.
- Defined new routes for AQI data retrieval in ControllerRoute.
2025-06-10 18:19:34 -06:00
799fcb6fb9 feat: add DEVICE_SPACE_COMMUNITY route and controller for device retrieval by space or community 2025-05-13 03:06:43 +03:00
7ec4171e1a feat: add occupancy module with controller, service, and related DTOs for heat map data retrieval 2025-05-12 02:15:57 +03:00
f3fd6646a1 feat: add SqlLoaderService to multiple modules for improved SQL data handling 2025-04-24 02:31:35 +03:00
7f43ef5de5 feat: integrate PowerClamp service and repositories across multiple modules 2025-04-24 02:14:58 +03:00
9bc763bad3 refactor visitor passwords apis 2025-03-20 09:42:54 +03:00
427a57501f Moved get visitor password and get device for visitor password 2025-02-16 23:26:20 +04:00
8161e8469b Add new automation actions and repository 2025-01-28 03:43:11 -06:00
eb916b79b4 finished 4scene configration endpoints 2024-11-16 23:05:06 -06:00
07ac955eb0 added timeseries 2024-10-20 16:46:44 +03:00
e8e68f7dfc Add User UUID to Temporary Passwords and Save to Repository 2024-08-27 22:10:20 +03:00
764cfbe7e2 Refactor Visitor Password Controller and Service for Enhanced Security and Functionality 2024-08-13 01:41:23 +03:00
0b7a87b6bd added devices and passwords of devices 2024-08-11 23:02:37 +03:00
39d3e18d9d Add Visitor Password Management Module 2024-08-11 19:45:33 +03:00