Update GetDeviceDetailsInterface and add new interfaces

This commit is contained in:
faris Aljohari
2024-03-25 14:27:31 +03:00
parent fc387703ea
commit ca86e07981

View File

@ -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;
}