Commit Graph

136 Commits

Author SHA1 Message Date
2cb77504ca Add PollutantType enum and update AQI-related entities and services to use it 2025-06-11 00:28:00 -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
c39129f75b Add Weather module with controller, service, and DTO for fetching weather details 2025-06-03 02:38:44 -06:00
67331aa92a feat: update DEVICE_SPACE_COMMUNITY route and add validation for spaceUuid and communityUuid in DTO 2025-05-14 13:00:09 +03: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
45b8cdcaae Add endpoints and logic for fetching power clamp data by community or space
- Introduced new API endpoints to retrieve power clamp historical data based on community or space UUID.
- Updated PowerClampController to handle requests with optional parameters for community and space.
- Enhanced PowerClampService to validate input and fetch devices accordingly.
- Created ResourceParamsDto to manage request parameters.
- Updated ControllerRoute with new action summaries and descriptions.
2025-05-07 23:09:01 +03:00
72e65882b1 feat: update PowerClamp routes to support historical data retrieval 2025-04-24 15:08:54 +03:00
881618a4ee feat: enhance PowerClamp service with energy consumption procedures and enums 2025-04-24 03:14:03 +03:00
ed3c526efd fix commissioning 2025-04-21 10:58:14 +04:00
d24e7be4ea Merge branch 'dev' of https://github.com/SyncrowIOT/backend into feat/commission-device 2025-04-15 20:01:45 +04:00
5d379e0c36 export 2025-04-15 20:01:42 +04:00
32112930c8 Implement product creation functionality with DTO and permissions 2025-04-15 13:26:56 +03:00
f723b63a91 Merge branch 'dev' into fix-some-issues-wehn-add-new-device 2025-04-14 14:26:13 +03:00
3745962827 Add PowerClamp module with controller and service for energy data retrieval 2025-04-14 12:17:44 +03:00
a3001c8bb8 feat: add DEVICE_ADD permission and update device handling logic 2025-04-13 20:19:21 +03:00
de09624db8 added commissioning endpoint 2025-04-08 10:42:48 +04:00
5e2e95b098 Merge pull request #325 from SyncrowIOT/SP-1306-be-implement-client-credential-flow-that-accept-client-id-and-client-secret-from-3rd-party-applications-and-issue-o-auth-jwt-tokens
SP-1306-be-implement-client-credential-flow-that-accept-client-id-and-client-secret-from-3rd-party-applications-and-issue-o-auth-jwt-tokens
2025-03-28 12:16:16 +03:00
cbd3f5028b finished client endpoints 2025-03-27 01:28:40 +03:00
ef9cf6ad28 convert the route to devices 2025-03-25 10:24:52 +03:00
6785fb2b1e finished refactor vistitor password device 2025-03-24 03:28:26 +03:00
8efd8cfba2 finished refactor devices module 2025-03-24 02:32:44 +03:00
794e12d5d3 finished edit visitor passwords route 2025-03-21 09:56:13 +03:00
9bc763bad3 refactor visitor passwords apis 2025-03-20 09:42:54 +03:00
70047dd337 making endpoint plural 2025-03-14 11:49:00 +04:00
a495563c42 making it plural 2025-03-14 11:47:32 +04:00
3d3dcf17dd moved automation by space to different root 2025-03-14 11:38:49 +04:00
76fd4b640f updated api route and added dtos 2025-03-13 14:23:40 +04:00
8a5709b1c9 finished spaces validation endpoint 2025-03-02 22:48:02 +03:00
e9cda53636 Merge branch 'dev' into feat/project-tag 2025-03-02 00:22:28 +04:00
2582b88c8c fix summary 2025-02-26 20:06:25 +04:00
25f5c62ecf linking dto 2025-02-26 15:39:23 +04:00
394dd0dd6d changed tag endpoint 2025-02-20 17:15:44 +04:00
427a57501f Moved get visitor password and get device for visitor password 2025-02-16 23:26:20 +04:00
7546dbbf35 Add Tag Module with CRUD operations 2025-02-12 00:42:47 -06:00
2a4926f94e added battery and space details 2025-02-04 22:58:03 +04:00
c9f2da1b57 Add missing permissions for SPACE_OWNER role 2025-02-04 02:14:27 -06:00
dc23cce89a Add platform type to user login and enforce access restrictions 2025-01-28 19:41:03 -06:00
8161e8469b Add new automation actions and repository 2025-01-28 03:43:11 -06:00
19d6669a84 Update permission mappings and role permissions 2025-01-22 06:47:12 -06:00
f675064b68 Add endpoint to update user web agreement 2025-01-22 00:34:54 -06:00
335ba9f63b Add VIEW_DEVICE_WIZARD permission to VISITOR role 2025-01-21 07:40:52 -06:00
dc11133057 Add Privacy Policy Module and Controller 2025-01-16 23:32:42 -06:00
12ddb95f19 Add terms and conditions data constants and update service 2025-01-15 23:24:37 -06:00
c7bcb177e1 Remove unused terms and conditions constant 2025-01-15 23:19:19 -06:00
ef593086bf Add Terms and Conditions Module 2025-01-15 23:17:25 -06:00
35b6f9f478 Merge pull request #209 from SyncrowIOT/SP-989-be-modify-the-invite-space-member-to-unit-flow-implementation-in-the-application
Sp 989 be modify the invite space member to unit flow implementation in the application
2025-01-10 21:07:41 +04:00
59a191e579 Add 'SPACE_MEMBER_ADD' permission to VISITOR and ADMIN roles 2025-01-10 06:14:22 -06:00
4744b0844c get space model by id 2025-01-08 21:34:59 +04:00
81ec60d947 Add delete user invitation functionality 2025-01-04 20:10:37 -06:00