export interface TplinkAccountReq { hasAccount: boolean; userName?: string; password?: string; appKey?: string; appSecret?: string; contacts?: string; memo?: string; isPersonal?: boolean; } export interface TplinkAccountRep { id: string; projectId: string; tplinkConfig: { hasAccount: boolean; userName: string; password: string; appKey: string; appSecret: string; contacts: string; isPersonal: boolean; memo: string; enterpriseId: string; tpProjectId: string; }; } export interface TplinkNvrReq { id: string; name: string; deviceSerial: string; validateCode: string; vendor: number; username: string; password: string; } export interface TplinkDeviceReq { id: string; name: string; vendor: number; groupId: string; category: number; channelNo: string; deviceSerial: string; validateCode: string; username: string; password: string; } export interface TplinkVideoList { id: string; createdAt: string; name: string; projectId: string; deviceSerial: string; validateCode: string; type: string; sourceType: string; pictureUrl: string; online: boolean; groupId: string; isEncrypt: boolean; isMonitor: boolean; isFlv: boolean; bindingStatus: string; nvrId: string; category: number; faceStatus?: string; macAddress?: string; autoSendStatus?: boolean; username: string; password: string; } export interface VendorList { id: number; name: string; } export interface Docs { help: string; install: string; config: string; localPlay: string; plugin: string; remoteConfig: string; } export interface CategoryList { id: number; name: string; } export interface DeviceDetail { id: string; name: string; accessToken: string; type: string; projectId: string; online: boolean; createdAt: number; groupId: string; vendor: string; deviceSerial: string; validateCode: string; nvrId: string; category: string; channelNo: string; rtspIp: string; rtspPort: string; rtspUsername: string; rtspPassword: string; username: string; password: string; attributes: { name: string; code: string; value: number; timestamp: number; timestampString: string; }[]; }