import { Types } from "mongoose"; import { Coordinate } from "./department"; import { SharedToEventSchemaType } from "./common-incident"; export interface EventUserType { username: string; email: string; radioName: string; userId: string; } export interface IncidentEventType { _id: Types.ObjectId; id?: string; archived: boolean; departmentId: string; IncidentNumber: string; location?: Coordinate; message: string; modified_unix_date: number; modified: Date; opts: object; ref_uuid: string; serverTime: number; sharedTo: SharedToEventSchemaType[]; type: string; user?: EventUserType; userTime: number; uuid: string; version: number; } export interface SentItemType { name: string; type: string; date: Date; } export interface UnitType { UnitID: string; UnitDispatchNumber: string; } export interface IncidentNotifiedType { _id: Types.ObjectId; departmentId: string; sourceDepartmentId: string; IncidentNumber: string; incidentTypes: string[]; unitsByDispatch: UnitType[]; sent: SentItemType[]; updated: Date; } export interface IncidentTakeoverType { _id: Types.ObjectId; departmentId: string; uuid: string; incident_id: string; incident_name: string; incident_number: string; old_owner: string; new_owner: string; owner: string; status: string; request_time: number; last_response_time: number; response_time: number; } //# sourceMappingURL=incident-events.d.ts.map