Commit Graph
137 Commits
Author SHA1 Message Date
ZaydSkaff 807c5b7dd3 add tag uuid to add device API (#450) 2025-07-03 16:23:42 +03:00
ZaydSkaff 932a3efd1c Sp 1780 be configure the curtain module device (#424)
* task: add Cur new device configuration
2025-06-24 12:18:46 +03:00
ZaydSkaff 110ed4157a task: add spaces filter to get devices by project (#422) 2025-06-23 09:34:59 +03:00
ZaydSkaff 8503ee728d Refactor/space management (#404)
* refactor: reducing used queries on get communities (#385)

* refactor: fix create space logic (#394)

* Remove unique constraint on subspace and product in SubspaceProductAllocationEntity; update product relation to nullable in NewTagEntity

* refactor: fix create space logic

* device model updated to include the fixes and final columns

* updated space models to include suggested fixes, update final logic and column names

* task: removing old references of the old tag-product relation

* task: remove old use of tags

* task: remove old tag & tag model usage

* refactor: delete space

* task: remove unused functions

* fix lint rule
2025-06-11 13:15:21 +03:00
faris Aljohari 0fe6c80731 Add utility function to associate space UUID with devices in community and device services 2025-06-01 21:56:08 -06:00
faris Aljohari 8750da7e62 feat: optimize getAllDevicesByCommunity to prevent duplicate space processing 2025-05-15 10:09:29 +03:00
faris Aljohari 67331aa92a feat: update DEVICE_SPACE_COMMUNITY route and add validation for spaceUuid and communityUuid in DTO 2025-05-14 13:00:09 +03:00
faris Aljohari 4aa3d04478 feat: update device and space services to use productType instead of deviceType and add query support for device retrieval by product type 2025-05-13 03:19:21 +03:00
faris Aljohari 799fcb6fb9 feat: add DEVICE_SPACE_COMMUNITY route and controller for device retrieval by space or community 2025-05-13 03:06:43 +03:00
hannathkadher f9e1219f55 throw appropriate error 2025-04-24 12:55:49 +04:00
faris Aljohari fa3f49af18 fix: handle potential undefined deviceDetails in getDeviceByDeviceUuid 2025-04-24 11:06:41 +03:00
faris Aljohari d1bc723834 fix: include productName in device details response 2025-04-23 12:51:24 +03:00
faris Aljohari dabf234349 refactor: clean up unused variable and update destructuring in device service 2025-04-22 13:54:12 +03:00
hannathkadher 2470c8e09a fixed the response of batch get status 2025-04-22 10:25:44 +04:00
faris Aljohari 2f12189eef feat: add device name field to DeviceEntity and update related DTOs and services 2025-04-22 01:53:03 +03:00
faris Aljohari a3001c8bb8 feat: add DEVICE_ADD permission and update device handling logic 2025-04-13 20:19:21 +03:00
hannathkadher f9eee8e266 reordering controller 2025-04-11 11:50:57 +04:00
faris Aljohari cd05c9906d convert the api from post to put 2025-03-25 10:25:13 +03:00
faris Aljohari 6785fb2b1e finished refactor vistitor password device 2025-03-24 03:28:26 +03:00
faris Aljohari 8efd8cfba2 finished refactor devices module 2025-03-24 02:32:44 +03:00
hannathkadher 1220ee395d fixing propagation 2025-03-07 23:01:38 +04:00
hannathkadher e9cda53636 Merge branch 'dev' into feat/project-tag 2025-03-02 00:22:28 +04:00
hannathkadher a0790f0b48 fixed the heirarchy device fetching issue 2025-02-20 13:29:19 +04:00
faris Aljohari 6fbeef97df Add project UUID filter to device query in DeviceService 2025-02-17 01:15:48 -06:00
hannathkadher 427a57501f Moved get visitor password and get device for visitor password 2025-02-16 23:26:20 +04:00
hannathkadher e9a3cd14a8 fixed entity relation, removed circular dependency 2025-02-10 20:36:29 +04:00
hannathkadher a890d75d5a SP-1046 2025-02-04 15:04:58 +04:00
hannathkadher 289e615b7a added subspace information 2025-01-30 10:09:41 +04:00
faris Aljohari 8161e8469b Add new automation actions and repository 2025-01-28 03:43:11 -06:00
faris Aljohari 19d6669a84 Update permission mappings and role permissions 2025-01-22 06:47:12 -06:00
hannathkadher f7b75a630a disabling space 2024-12-25 16:23:09 +04:00
faris Aljohari d169999675 Replace JwtAuthGuard with PermissionsGuard and add specific permissions 2024-12-16 00:19:34 -06:00
faris Aljohari b143e50fba handle empty return when get scene switch 2024-11-30 20:26:34 -06:00
faris Aljohari 4d2257a3e3 Add endpoint to delete scenes by device UUID and switch name 2024-11-27 03:17:56 -06:00
faris Aljohari 3437493282 Merge branch 'dev' into delete-scene-device-endpoint 2024-11-24 23:28:56 -06:00
faris Aljohari 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
faris Aljohari 99bacbe202 finished skip any error from tuya device 2024-11-24 17:47:47 -06:00
faris Aljohari c2374e7155 Add @ApiOperation decorators to DeviceController endpoints 2024-11-23 22:50:22 -06:00
faris Aljohari 7b3c929aa6 finished delete switch scene device 2024-11-23 20:50:34 -06:00
faris Aljohari 16444c625a remove duplication code 2024-11-20 00:34:12 -06:00
faris Aljohari 1fe5ba70b9 resolve review comments 2024-11-19 23:51:20 -06:00
faris Aljohari 4a51c9170b add constants values 2024-11-19 20:53:39 -06:00
faris Aljohari 5198578eb7 Merge branch 'fix-duplication-issue-in-four-scene-device' into SP-845-be-implement-the-6-scene-device-configuration 2024-11-19 20:44:53 -06:00
faris Aljohari 9510905fb4 finished config with 6 scene device 2024-11-19 20:44:45 -06:00
faris Aljohari 7ea69a10b9 finished fix duplication 2024-11-19 20:01:09 -06:00
faris Aljohari ccf207d652 finished get all switches 2024-11-18 00:23:54 -06:00
faris Aljohari 145e335beb finshed add subspace to devices details 2024-11-17 03:04:33 -06:00
faris Aljohari 6d73968631 finished update name device api 2024-11-16 23:36:10 -06:00
faris Aljohari c7a6986292 finished get mac address api 2024-11-16 23:18:20 -06:00
faris Aljohari eb916b79b4 finished 4scene configration endpoints 2024-11-16 23:05:06 -06:00