Commit Graph

812 Commits

Author SHA1 Message Date
c1af930dc9 Fix inconsistent casing in import paths for Invite-user module 2024-12-16 19:36:40 -06:00
d169999675 Replace JwtAuthGuard with PermissionsGuard and add specific permissions 2024-12-16 00:19:34 -06:00
64027d3a16 Add permission and role management features 2024-12-16 00:19:14 -06:00
57397e653a Add Invite User Module and Update User and Space Entities
This commit introduces a new module for handling user invitations, including DTOs, entities, and repositories. It also updates the User and Space entities to include relationships with the new Invite User entities.
2024-12-16 00:17:50 -06:00
852299a273 Refactor user role handling to use single role object 2024-12-16 00:16:24 -06:00
3099e905e2 subspace product repository created 2024-12-15 19:59:36 +04:00
4fb4e32c3d folder restructuring 2024-12-13 15:08:50 +04:00
1373dfb0ce subspace model also has product model and item 2024-12-13 15:00:33 +04:00
1b9b79ba6b renamed dtos 2024-12-13 09:48:33 +04:00
b8590841a8 aadded product item to space 2024-12-12 14:37:44 +04:00
72bebe3b06 reduced duplication 2024-12-12 09:29:25 +04:00
ba002ae474 reduced code duplication 2024-12-12 09:21:56 +04:00
8af29cddfd add validation to check both space model and products, subspaces are not created 2024-12-11 17:01:23 +04:00
a2ee7a0001 added space model details to space 2024-12-11 16:45:09 +04:00
88a4b26919 added entities for space product item 2024-12-11 15:27:06 +04:00
72c8445d24 updated create space model with query runner 2024-12-11 13:23:37 +04:00
4f4fd7b734 added count validation 2024-12-11 12:03:09 +04:00
69d0065ee6 added unique subspace name 2024-12-11 11:46:30 +04:00
02faca3397 added space model controller for create 2024-12-11 11:06:41 +04:00
b2a422f71b created space model create service 2024-12-11 10:51:17 +04:00
476e5cf9ac remove unused 2024-12-09 17:59:52 +04:00
e61132561b changed endpoint for subspace device 2024-12-09 17:56:18 +04:00
30c2294224 updated endpoint of subspaces 2024-12-09 17:52:15 +04:00
dc9c67b6c0 updated root of endoint of space device from project 2024-12-09 17:47:26 +04:00
dade201752 api endpoints for space user controller base root has been mapped from project 2024-12-09 17:44:22 +04:00
bb031dd15b updated space scee endpoint to match project entity 2024-12-09 17:37:22 +04:00
cdc95056ae updated space endpoint to follow project 2024-12-09 17:33:19 +04:00
19825540dd updated endpoint and validation to manage project entity in communty CRUD 2024-12-09 16:22:54 +04:00
1e5b61e3e0 added project endpoints 2024-12-09 13:26:17 +04:00
459e971498 added dto 2024-12-09 12:44:57 +04:00
768ea7cad8 add update project 2024-12-09 12:26:53 +04:00
7f739b88d8 Project service to CRUD project entity 2024-12-09 11:48:53 +04:00
5a698f8087 Add updateAutomation method and update external service handling 2024-12-03 03:10:32 -06:00
b507bcbdf1 Add RULE_TRIGGER to ActionExecutorEnum and introduce ActionTypeEnum 2024-12-02 05:25:11 -06:00
5feabb8049 Update AutomationService to use SceneRepository for scene details 2024-12-02 01:14:32 -06:00
88615348c9 Remove type filter from getAllIcons method 2024-12-01 03:24:22 -06:00
b143e50fba handle empty return when get scene switch 2024-11-30 20:26:34 -06:00
e0ec9f20ff Add method to update TapToRun scene in Tuya and integrate it in SceneService 2024-11-30 20:25:59 -06:00
17b300183c Add productUuid and productType to action when device is present 2024-11-29 01:40:59 -06:00
b3f4507a70 Add productUuid and productType to action and condition 2024-11-29 01:40:52 -06:00
4d2257a3e3 Add endpoint to delete scenes by device UUID and switch name 2024-11-27 03:17:56 -06:00
bae48c02fe Add SceneDeviceRepository and update deleteScene method 2024-11-26 22:26:46 -06:00
13983d61aa Remove unnecessary check for scenesData length 2024-11-25 19:29:07 -06:00
06c10c39ee Include space relation in scene query 2024-11-25 01:11:51 -06:00
a37af93696 Include space relation in findScene method 2024-11-25 01:10:32 -06:00
c90b07fab4 Update getScene method to accept sceneUuid and use it for spaceId 2024-11-25 01:01:31 -06:00
9721cb765f Update scene service to use space object instead of spaceUuid 2024-11-24 23:43:27 -06:00
3437493282 Merge branch 'dev' into delete-scene-device-endpoint 2024-11-24 23:28:56 -06:00
86923461eb Merge pull request #154 from SyncrowIOT/SP-447-be-lack-of-documentation
Sp 447 be lack of documentation
2024-11-24 23:26:35 -06:00
0e4f39931b Merge pull request #156 from SyncrowIOT/fix-issue-when-get-devices
finished skip any error from tuya device
2024-11-24 23:26:22 -06:00