diff --git a/src/device/interfaces/get.device.interface.ts b/src/device/interfaces/get.device.interface.ts index d7c856b..30f57f8 100644 --- a/src/device/interfaces/get.device.interface.ts +++ b/src/device/interfaces/get.device.interface.ts @@ -1,17 +1,17 @@ -export class GetDeviceDetailsInterface { +export interface GetDeviceDetailsInterface { result: { productId: string; }; success: boolean; msg: string; } -export class GetDevicesByRoomIdInterface { +export interface GetDevicesByRoomIdInterface { success: boolean; msg: string; result: []; } -export class GetDevicesByGroupIdInterface { +export interface GetDevicesByGroupIdInterface { success: boolean; msg: string; result: { @@ -20,18 +20,18 @@ export class GetDevicesByGroupIdInterface { }; } -export class addDeviceInRoomInterface { +export interface addDeviceInRoomInterface { success: boolean; msg: string; result: boolean; } -export class controlDeviceInterface { +export interface controlDeviceInterface { success: boolean; result: boolean; msg: string; } -export class GetDeviceDetailsFunctionsInterface { +export interface GetDeviceDetailsFunctionsInterface { result: { category: string; functions: []; @@ -39,7 +39,7 @@ export class GetDeviceDetailsFunctionsInterface { success: boolean; msg: string; } -export class GetDeviceDetailsFunctionsStatusInterface { +export interface GetDeviceDetailsFunctionsStatusInterface { result: [{ id: string; status: [] }]; success: boolean; msg: string;