export interface VideoList { id: string; name: string; type: string; projectId: string; online: boolean; status: string; vendor: number; vendorName: string; groupId: string; groupName: string; gatewayId: string; nvrId: string; gatewayName: string; nvrName: string; channelNo: number; sourceType: string; pictureUrl: string; isCustomPicture: boolean; isMonitor: boolean; isDeleted: boolean; isOpenLive: boolean; isAuto: boolean; isLived: boolean; isAi: boolean; controllable: boolean; category: number; isEncrypt: boolean; isSupportCapture: boolean; version: string; password: string; localSipPort: number; vsDeviceId: string; remark: string; username: string; ip: string; gb: boolean; ysySource: string; metadata: { startJob: boolean; jobStatusName: string; }; } export interface GatewayList { id: string; name: string; type: string; sourceType: string; projectId: string; online: boolean; status: string; vendor: number; vendorName: string; groupId: string; groupName: string; gatewayId: string; nvrId: string; gatewayName: string; nvrName: string; configVersion: string; category: number; controllable: boolean; isAi: boolean; pictureUrl: string; streamType: string; supportTemperatureWarnEvent: boolean; containerStatus: string; metadata: { eventType: number; type: string; }; } export interface CreateGateway { id?: string; name: string; type: string; eventType?: string; dockerIp?: string; ip?: string; } export interface CreateVideo { id?: string; deviceName: string; username: string; password: string; ip: string; category?: number; type: string; description: string; vendor: number; groupId?: string; } export interface GroupList { id: string; createdAt: number; projectId: string; type: string; name: string; } export interface CreateGroup { id?: string; name: string; } export interface VendorList { id: number; name: string; } export interface Docs { help: string; config: 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; attributes: { id: string; name: string; code: string; value: number; timestamp: number; timestampString: string; }[]; groupId: string; gatewayId: string; nvrId: string; status: string; createAtString: string; } export interface EventTypes { id: string; name: string; }