@dialstack/sdk / index / DeviceReadinessInput
Interface: DeviceReadinessInput
Defined in: sdk/src/utils/device-readiness.ts:36
Structural subset of Device that readiness derivation needs. Accepting a
subset (rather than the full Device) lets callers with their own device
row shapes reuse the derivation as long as they carry the raw fields.
Properties
assignments?
optional assignments?: readonly unknown[];
Defined in: sdk/src/utils/device-readiness.ts:50
User assignments (deskphones and DECT handsets). Only hydrated when the
device was fetched with expand[]=users; without it, assigned reads
false.
base_id?
optional base_id?: string | null;
Defined in: sdk/src/utils/device-readiness.ts:54
Paired DECT base (handsets only).
last_call_at
last_call_at: string | null;
Defined in: sdk/src/utils/device-readiness.ts:44
Latest call involving the device, or null until its first call.
location_id?
optional location_id?: string | null;
Defined in: sdk/src/utils/device-readiness.ts:52
E911 dispatch location (deskphones and DECT bases; handsets inherit).
registration_status
registration_status: RegistrationStatus;
Defined in: sdk/src/utils/device-readiness.ts:42
Live reachability, always present on /v1/devices responses.
status
status: string;
Defined in: sdk/src/utils/device-readiness.ts:40
Persisted provisioning status (pending-sync | provisioned).
type?
optional type?: DeviceType;
Defined in: sdk/src/utils/device-readiness.ts:38
Device type discriminator; assignment derivation differs for DECT bases.