raf-dev1
f447cfa065
Merge pull request #470 from SyncrowIOT/fix/remove-x-y-from-space
...
SP-1853: Space Fixes
2025-07-23 09:02:54 +03:00
Mhd Zayd Skaff
a060f92208
implement duplicate space API
2025-07-20 11:23:43 +03:00
ZaydSkaff
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
Mhd Zayd Skaff
2c3b985594
remove x & y from space, add validation on space naming
2025-07-14 16:03:48 +03:00
ZaydSkaff
a9cb1b6704
SP-1830: add company name to invite user entity ( #468 )
2025-07-10 15:41:46 +03:00
ZaydSkaff
09322c5b80
add booking points to user table ( #461 )
2025-07-09 14:25:42 +03:00
ZaydSkaff
74d3620d0e
Chore/space link tag cleanup ( #462 )
...
* chore: remove unused imports and dead code for space link
* chore: remove unused imports and dead code
* chore: remove unused imports and dead code of tag service
2025-07-09 14:25:26 +03:00
ZaydSkaff
83be80d9f6
add order space API ( #459 )
2025-07-09 11:44:14 +03:00
ZaydSkaff
0bb178ed10
make point nullable ( #457 )
2025-07-08 14:50:00 +03:00
ZaydSkaff
18b21d697c
SP-1753 Feat/booking system ( #454 )
...
* task: add get all bookable spaces API (#453 )
* task: add non bookable space API
2025-07-08 09:02:24 +03:00
ZaydSkaff
66391bafd8
SP-1814: Update out-of-date device-virtual-id ( #451 )
...
* task: add a function to update device tuya id
* Add Tuya const uuid to device
2025-07-07 10:38:20 +03:00
faris Aljohari
a9eaf44d31
Merge branch 'main' into dev
2025-07-03 00:10:00 -06:00
ZaydSkaff
5381a949bc
task: delete used & its relations ( #437 )
2025-06-25 15:32:46 +03:00
faris Aljohari
d3d84da5e3
fix: correct property name from bookableConfigs to bookableConfig in BookableSpaceEntity and SpaceEntity
2025-06-23 00:39:29 -06:00
faris Aljohari
49cc762962
fix duplication from conflict merge
2025-06-18 01:56:51 -06:00
faris Aljohari
a94d4610ed
Merge branch 'dev' into SP-1754-be-implement-configure-space
2025-06-18 01:55:48 -06:00
faris Aljohari
df59e9a4a3
refactor: update BookableSpaceEntity relationship to OneToOne with SpaceEntity
2025-06-18 01:48:46 -06:00
faris Aljohari
8c34c68ba6
refactor: remove BookableSpaceDto and its index export
2025-06-18 01:48:35 -06:00
ZaydSkaff
689a38ee0c
Revamp/space management ( #409 )
...
* task: add getCommunitiesV2
* task: update getOneSpace API to match revamp structure
* refactor: implement modifications to pace management APIs
* refactor: remove space link
2025-06-18 10:34:29 +03:00
faris Aljohari
8d44b66dd3
feat: add BookableSpace entity, DTO, repository, and integrate with Space entity
2025-06-17 22:02:08 -06:00
faris Aljohari
72753b6dfb
merge dev to main
2025-06-14 15:18:20 -06:00
faris Aljohari
568eef8119
Merge branch 'dev'
2025-06-14 15:04:48 -06:00
faris Aljohari
f2ed04f206
feat: add SpaceDailyOccupancyDuration entity, DTO, and repository for occupancy tracking
2025-06-12 02:49:59 -06: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
2cb77504ca
Add PollutantType enum and update AQI-related entities and services to use it
2025-06-11 00:28:00 -06:00
faris Aljohari
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
faris Aljohari
3a08f9f258
Merge branch 'dev' into aqi-test
2025-06-10 17:08:06 -06:00
faris Aljohari
97e14e70f7
Refactor DeviceStatusLogEntity: expand unique constraint to include code and value
2025-06-10 01:41:41 -06:00
faris Aljohari
0793441e06
Refactor DeviceStatusLogEntity: correct unique constraint name for event time and device ID
2025-06-10 01:24:33 -06:00
faris Aljohari
b6321c2530
Refactor DeviceStatusLogEntity: update unique constraint to include deviceId
2025-06-10 01:18:58 -06:00
faljawhary
c1065126aa
Revert "Refactor DeviceStatusLogEntity: update unique constraint and primary …"
2025-06-10 01:03:45 -06:00
faris Aljohari
7eb13088ac
Refactor DeviceStatusLogEntity: update unique constraint and primary key definition
2025-06-09 04:50:58 -06:00
faris Aljohari
0d6de2df43
Refactor AqiSpaceDailyPollutantStatsEntity: update unique constraint and rename event fields for clarity
2025-06-04 15:24:13 -06:00
faris Aljohari
ef2245eae1
Add AQI space daily pollutant stats module and related entities, DTOs, and repositories
2025-06-03 23:37:52 -06:00
ZaydSkaff
35ce13a67f
fix: return proper error on login API ( #386 )
2025-06-03 09:47:24 +03:00
faris Aljohari
191d0dfaf6
Remove unique constraint on subspace and product in SubspaceProductAllocationEntity; update product relation to nullable in NewTagEntity
2025-06-01 21:16:51 -06:00
faris Aljohari
8030644fee
refactor: rename presence sensor entities and update related references
2025-05-09 13:11:14 +03:00
Dona Maria Absi
d3a560d18f
Revert "DATA-date-param-moved"
2025-05-08 13:08:41 +03:00
faris Aljohari
2a1f1f52f6
feat: add presence sensor module with entity, DTO, and repository
2025-05-04 19:11:14 +03:00
faris Aljohari
7f43ef5de5
feat: integrate PowerClamp service and repositories across multiple modules
2025-04-24 02:14:58 +03:00
faris Aljohari
8228ccc293
feat: add power clamp entities, DTOs, and repository for energy consumption tracking
2025-04-23 15:08:51 +03:00
hannathkadher
055518d672
Merge pull request #339 from SyncrowIOT/feat/commission-device
...
Feat/commission device
2025-04-22 11:04:15 +04:00
faris Aljohari
1b3eb08fcb
fix: set name column to non-nullable in DeviceEntity
2025-04-22 01:58:31 +03: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
hannathkadher
ed3c526efd
fix commissioning
2025-04-21 10:58:14 +04:00
hannathkadher
c677be400c
added community info and tag
2025-04-17 10:41:39 +04:00
faris Aljohari
a3001c8bb8
feat: add DEVICE_ADD permission and update device handling logic
2025-04-13 20:19:21 +03:00
faris Aljohari
cf8cf08bdc
add client relation btw user and client
2025-03-27 01:55:26 +03:00
faris Aljohari
c5dac6c564
add register client api
2025-03-25 10:10:08 +03:00
faris Aljohari
a4b743eb58
add client entity
2025-03-25 02:29:00 +03:00