import { Types } from "mongoose"; export interface TrackerResponderType { _id: Types.ObjectId, departmentId: string, // Transponder MAC address, normalized uppercase. Unique per department. mac: string, // Stable identity carried by Location.transponderUUID. uuid: string, // Vendor personnelId verbatim (not a PersonnelKnown reference). trackerPersonnelId: string, // Vendor-owned names, taken verbatim from the TXRX webhook body. personnelName: string, friendlyName: string, // User-owned display name, editable on our end (eventually via iOS); // the webhook never touches this. displayName: string, seatPosition: string, // "" = unassigned, otherwise PersonnelKnown.uuid. personnelUUID: string, assignedBy: string, // null while unassigned assignedAt: Date | null, active: boolean, source: string, createdAt: Date, modified: Date, }