@dialstack/sdk-dev / server/src / Device
Interface: Device
Defined in: sdk/server/src/index.ts:1442
A provisioned device — desk phone, DECT base station, or DECT handset. type
indicates the kind, and type-specific fields are present only for that kind.
Properties
assignments?
optional assignments?: DeviceUserAssignment[];
Defined in: sdk/server/src/index.ts:1498
User assignments. Present only when expand: ['users'] is requested.
base?
optional base?: string | null;
Defined in: sdk/server/src/index.ts:1490
button_template?
optional button_template?: ButtonTemplate | null;
Defined in: sdk/server/src/index.ts:1508
The full bound template. Present only when
expand: ['button_template'] is requested; the id is always available as
button_template_id.
button_template_id?
optional button_template_id?: string | null;
Defined in: sdk/server/src/index.ts:1502
The bound template's id, or null when none is bound.
compatibility?
optional compatibility?: ButtonCompatibilitySummary;
Defined in: sdk/server/src/index.ts:1500
Programmable-key compatibility for the current effective button set.
created_at
created_at: string;
Defined in: sdk/server/src/index.ts:1474
current_ip_address?
optional current_ip_address?: string | null;
Defined in: sdk/server/src/index.ts:1459
display_name?
optional display_name?: string | null;
Defined in: sdk/server/src/index.ts:1492
extensions?
optional extensions?: HandsetLine[];
Defined in: sdk/server/src/index.ts:1495
firmware_version?
optional firmware_version?: string | null;
Defined in: sdk/server/src/index.ts:1487
handsets?
optional handsets?: DECTHandset[];
Defined in: sdk/server/src/index.ts:1484
id
id: string;
Defined in: sdk/server/src/index.ts:1443
ipei?
optional ipei?: string | null;
Defined in: sdk/server/src/index.ts:1491
last_call_at
last_call_at: string | null;
Defined in: sdk/server/src/index.ts:1473
The latest call attempt involving the device, any outcome. Null until its first call: presence means it has carried a call, recency means it is still in use.
last_provisioned_at?
optional last_provisioned_at?: string | null;
Defined in: sdk/server/src/index.ts:1460
last_registered_at
last_registered_at: string | null;
Defined in: sdk/server/src/index.ts:1467
lines?
optional lines?: DeviceLine[];
Defined in: sdk/server/src/index.ts:1479
location?
optional location?: string | null;
Defined in: sdk/server/src/index.ts:1454
Physical E911 location. Set on deskphones and DECT bases; handsets have none of their own and inherit from the paired base, reporting null here.
mac_address
mac_address: string;
Defined in: sdk/server/src/index.ts:1445
max_handsets?
optional max_handsets?: number | null;
Defined in: sdk/server/src/index.ts:1483
model?
optional model?: string | null;
Defined in: sdk/server/src/index.ts:1448
multicell_role?
optional multicell_role?: DeviceMulticellRole | null;
Defined in: sdk/server/src/index.ts:1482
name?
optional name?: string | null;
Defined in: sdk/server/src/index.ts:1449
overrides?
optional overrides?: DeviceSettings;
Defined in: sdk/server/src/index.ts:1456
primary_line?
optional primary_line?: string | null;
Defined in: sdk/server/src/index.ts:1478
registered_at?
optional registered_at?: string | null;
Defined in: sdk/server/src/index.ts:1494
registration_status
registration_status: DeviceRegistrationStatus;
Defined in: sdk/server/src/index.ts:1466
Whether the device is currently reachable, derived live from its assigned
lines. Distinct from status, which only reflects whether the device has
fetched its configuration. A device with no lines is not_registered.
serial_number?
optional serial_number?: string;
Defined in: sdk/server/src/index.ts:1458
Manufacturer serial number, deskphones and DECT bases only. Omitted until set.
slot_number?
optional slot_number?: number | null;
Defined in: sdk/server/src/index.ts:1493
status
status: DeviceStatus;
Defined in: sdk/server/src/index.ts:1455
type
type: DeviceType;
Defined in: sdk/server/src/index.ts:1444
updated_at
updated_at: string;
Defined in: sdk/server/src/index.ts:1475
vendor
vendor: string;
Defined in: sdk/server/src/index.ts:1447
Auto-detected from the MAC address.