Commit Graph

75 Commits

Author SHA1 Message Date
720b9ce23f Add snake case converter helper function 2024-06-24 13:28:21 +03:00
4c729da2a6 Merge branch 'dev' into SP-197-be-retrieve-devices-in-the-gateway 2024-06-11 12:03:30 +03:00
bcab5a00d8 Refactor: Remove group and group-device modules 2024-06-02 21:12:50 +03:00
4531a1f87b Remove duplicate code and unnecessary dependency in user entity and package-lock.json respectively 2024-06-02 19:30:59 +03:00
8cf8a2da90 Add conditional check for Tuya web socket service 2024-06-02 19:30:51 +03:00
948d133e4f Merge branch 'dev' into SP-232-consume-the-tuya-messaging-service-for-device-logs 2024-06-02 19:09:58 +03:00
f0606f81e7 Add generateRandomString helper function and remove nanoid dependency 2024-06-01 20:25:05 +03:00
483fc6375f feat: Add unit invitation code functionality and user verification using code 2024-06-01 19:56:07 +03:00
423533df04 feat(device): add endpoint to add device to user 2024-05-29 23:29:53 +03:00
0a830ddf05 Refactor TuyaMessageSubscribeWebsocket class 2024-05-26 10:42:00 +03:00
c3a71cedb3 import the services in Helper Module 2024-05-26 00:39:11 +03:00
cff8ac1c5c add device messages services to send notification 2024-05-26 00:38:22 +03:00
bb9b043be9 add tuya web socket service 2024-05-26 00:37:51 +03:00
853251304f Add Tuya WebSocket configuration and credentials 2024-05-26 00:36:37 +03:00
7946c5673c Add global configuration to common module 2024-05-26 00:36:14 +03:00
35f061c907 Add UserNotificationEntity and DeviceNotificationEntity to database module imports 2024-05-26 00:35:34 +03:00
8b88d2be95 Add OneSignal configuration and service 2024-05-26 00:35:20 +03:00
fdab3fa687 Add device and user notification modules 2024-05-26 00:34:28 +03:00
79c238f7d3 Merge branch 'dev' into SP-197-be-retrieve-devices-in-the-gateway 2024-05-21 15:35:31 +03:00
8cbfcae775 Merge branch 'dev' into SP-201-be-handle-roles-new 2024-05-19 17:42:24 +03:00
25c3765d9c Merge pull request #31 from SyncrowIOT/SP-202-be-handle-space-permissions
Sp 202 be handle space permissions
2024-05-19 03:26:23 -04:00
6415d78992 Remove USER role 2024-05-18 23:00:22 +03:00
1bc8fee061 Remove onDelete and onUpdate properties from entity relationships 2024-05-18 22:10:48 +03:00
ad15164e15 feat: Add seeder module and services for all lookup tables 2024-05-18 21:53:27 +03:00
cd40dc897b Add endpoint to update device firmware 2024-05-18 20:23:17 +03:00
6b881ce01e Add ProductType enum and implement getDevicesInGetaway method 2024-05-11 22:25:43 +03:00
e7024a5cb8 Add Unique constraint to 'type' column in RoleTypeEntity 2024-05-11 21:02:35 +03:00
3e9fff3822 Add super admin configuration and service 2024-05-11 21:02:25 +03:00
d1fa15cff1 Update role types in enums and role guards 2024-05-11 21:01:39 +03:00
616ddd4d4c Refactor space permission service 2024-05-08 09:35:42 +03:00
bee140f517 Add space permission service and guards for various entities 2024-05-07 22:27:45 +03:00
c30a21b04f Add Unique constraint to user and roleType fields in UserRoleEntity 2024-05-07 09:48:16 +03:00
85424554cb Add roles to user payload in JWT and refresh token strategies 2024-05-07 00:32:53 +03:00
1dcb0a3052 Add UserRoleRepository and RoleTypeRepository imports 2024-05-06 19:10:24 +03:00
6bd827fe57 Add UserRoleEntity and RoleTypeEntity imports to database module 2024-05-06 18:34:03 +03:00
7d6964208c Add UserRoleEntity and related modules for user role management 2024-05-06 18:33:49 +03:00
1b41199359 Merge branch 'SP-205-be-user-device-permission' into SP-201-be-handle-roles 2024-05-06 10:31:00 +03:00
b65bef982d Add role type enum, dto, entity, repository, and module 2024-05-06 10:30:29 +03:00
fae2fff2ba Remove unnecessary field from Unique constraint 2024-05-05 21:32:00 +03:00
5aa69255be Add Unique constraint to DeviceUserPermissionEntity 2024-05-05 19:47:50 +03:00
e48c6b4a91 Update imports in database module 2024-05-05 18:40:06 +03:00
b8ae3540c3 Update entity references in permission and user entities 2024-05-05 18:39:38 +03:00
46bc98da55 Add device user permission module, DTOs, entities, and repositories 2024-05-05 18:39:23 +03:00
aa7a09391f Remove unused DeviceUserType related files and imports 2024-05-05 18:38:59 +03:00
bdcc065d73 Remove Home Module 2024-04-27 23:31:00 +03:00
8c790b0d96 Refactor Device Module 2024-04-27 23:27:40 +03:00
d61a1b92e7 Device Related API changes are done 2024-04-23 16:24:58 +05:30
501b9c6768 Merge pull request #24 from SyncrowIOT/SP-171-be-create-groups-to-control-devices-per-group
Sp 171 be create groups to control devices per group
2024-04-23 15:41:13 +05:30
bef2f1e4ad added listing api 2024-04-23 10:38:09 +05:30
18e7e35d35 Add unique constraint to GroupDeviceEntity and isActive flag to both GroupDeviceEntity and GroupEntity 2024-04-21 16:27:32 +03:00