26 lines
542 B
TypeScript
26 lines
542 B
TypeScript
/** Mirrors the tenant-scoped response from GET client/access-devices. */
|
|
export interface AccessDevice {
|
|
deviceId: string
|
|
deviceName: string
|
|
isActive: boolean
|
|
lastSeenAt?: string | null
|
|
isOnline: boolean
|
|
presenceExpiresAt?: string | null
|
|
isClaimed: boolean
|
|
createdAt: string
|
|
}
|
|
|
|
export interface AccessAgent {
|
|
agentId: string
|
|
name: string
|
|
isActive: boolean
|
|
lastSeenAt?: string | null
|
|
isOnline: boolean
|
|
createdAt: string
|
|
}
|
|
|
|
export interface ClientAccessDevices {
|
|
agents: AccessAgent[]
|
|
devices: AccessDevice[]
|
|
}
|