mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 08:04:53 +00:00
Update GetDeviceDetailsInterface and add new interfaces
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
export class GetDeviceDetailsInterface {
|
export class GetDeviceDetailsInterface {
|
||||||
result: object;
|
result: {
|
||||||
|
productId: string;
|
||||||
|
};
|
||||||
success: boolean;
|
success: boolean;
|
||||||
msg: string;
|
msg: string;
|
||||||
}
|
}
|
||||||
@ -42,3 +44,21 @@ export class GetDeviceDetailsFunctionsStatusInterface {
|
|||||||
success: boolean;
|
success: boolean;
|
||||||
msg: string;
|
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;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user