diff --git a/src/device/interfaces/get.device.interface.ts b/src/device/interfaces/get.device.interface.ts index e6f1361..d7c856b 100644 --- a/src/device/interfaces/get.device.interface.ts +++ b/src/device/interfaces/get.device.interface.ts @@ -1,5 +1,7 @@ export class GetDeviceDetailsInterface { - result: object; + result: { + productId: string; + }; success: boolean; msg: string; } @@ -42,3 +44,21 @@ export class GetDeviceDetailsFunctionsStatusInterface { success: boolean; msg: string; } +export interface GetProductInterface { + productType: string; + productId: string; +} + +export interface DeviceInstructionResponse { + success: boolean; + result: { + productId: string; + productType: string; + functions: { + code: string; + values: any[]; + dataType: string; + }[]; + }; + msg: string; +}