@dialstack/sdk-dev / js/src / DeviceReadinessInput
Interface: DeviceReadinessInput
Defined in: sdk/js/src/utils/device-readiness.ts:44
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?
assignments?: readonly unknown[];
Defined in: sdk/js/src/utils/device-readiness.ts:62
User assignments (deskphones and DECT handsets). Only hydrated when the
device was fetched with expand[]=users; without it, assigned reads
false.
base_id?
base_id?: string | null;
Defined in: sdk/js/src/utils/device-readiness.ts:66
Paired DECT base (handsets only).
last_call_at
last_call_at: string | null;
Defined in: sdk/js/src/utils/device-readiness.ts:56
Latest call involving the device, or null until its first call.
location_id?
location_id?: string | null;
Defined in: sdk/js/src/utils/device-readiness.ts:64
E911 dispatch location (deskphones and DECT bases; handsets inherit).
registration_status
registration_status: RegistrationStatus;
Defined in: sdk/js/src/utils/device-readiness.ts:54
Live reachability, always present on /v1/devices responses.
status
status: string;
Defined in: sdk/js/src/utils/device-readiness.ts:52
Persisted provisioning status (pending-sync | provisioned).
type?
type?: DeviceType;
Defined in: sdk/js/src/utils/device-readiness.ts:50
Device type discriminator. Required for correct DECT readiness: bases
skip the assignment gate and handsets skip the provisioned step, so a
handset passed without type is read as a deskphone.
vendor?
vendor?: string;
Defined in: sdk/js/src/utils/device-readiness.ts:68
Manufacturer; decides whether the zero-touch step applies.
zero_touch_escalation?
zero_touch_escalation?: unknown;
Defined in: sdk/js/src/utils/device-readiness.ts:70
An open zero-touch escalation, which replaces the zero-touch step.