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 {
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user