export interface EdgeHoleConfigModel { id: string; tenantId: string; projectId: string; deviceId: string; deviceName: string; presetId: string; productCode: string; presetName: string; imageUrl: string; presetImageUrl: string; interval: number; presetSleepSeconds: number; holeRegions: EdgeHoleRegionModel[]; edgeRegions: EdgeHoleRegionModel[]; time: number; on: true; status: string; issueTime: number; louHao?: string; louMian?: string; lightModel?: boolean; sift?: boolean; shortVideo?: boolean; remark?: string; } export interface EdgeHoleRegionModel { id: string; name: string; x: number; y: number; w: number; h: number; flagType: 1 | 2; no: number; } export interface EdgeHoleSaveReq { id?: string; projectId: string; deviceId: string; deviceName?: string; presetId: string; productCode: string; presetName: string; imageUrl: string; presetImageUrl: string; interval: number; presetSleepSeconds: number; holeRegions: EdgeHoleRegionModel[]; edgeRegions: EdgeHoleRegionModel[]; } export interface EdgeHoleConfigPushReq { productCode: string; boxId: string; projectId: string; configIds?: string[]; } export interface EdgeHoleTestReq { requestId: string; tenantId: string; projectId: string; deviceId: string; images: string[]; } export interface EdgeHoleBboxReq { id?: string; configId: string; type: 'edge' | 'hole'; name: string; no: number; flagType: 1 | 2; x: number; y: number; w: number; h: number; } export interface SimilarItemModel { deviceId: string; deviceName: string; objectId: string; objectName: string; flagType: 1 | 2; labelName: string; eventType: String; eventName: string; on: boolean; similarity: number; } export interface AutoMarkReq { configId: string; projectId: string; image: string; type: string; boxList: MarkBoxModel[]; } export interface MarkBoxModel { flagType: 1 | 2; x: number; y: number; w: number; h: number; name?: string; no?: any; } export interface AutoMarkResponse { configId: string; projectId: string; image: string; type: string; boxList: MarkBoxModel[]; } export interface ShituItemModel { id: string; projectId: string; objectId: string; objectName: string; flagType: 2 | 1; no: number; tenantId: string; imageList: string[]; similarity: number; eventType: string; eventName: string; labelName: string; on: boolean; imageUrl: string; status: string; } export interface ShituItemReq { id?: string; projectId: string; objectId: string; objectName: string; flagType: 2 | 1; no: number; imageList: string[]; similarity: number; eventType: string; labelName: string; on: boolean; imageUrl: string; } export interface BatchSaveBboxListReq { configId: string; edgeRegions?: MarkBoxModel[]; holeRegions?: MarkBoxModel[]; } export interface BatchSaveShituConfigReq extends BatchSaveBboxListReq { image: string; }