Skip to main content

@dialstack/sdk-dev / js/src / ProvisionedDevice

Interface: ProvisionedDevice

Defined in: sdk/js/src/types/device.ts:300

A provisioned device (desk phone, DECT base, etc.).

Deprecated​

Use Device from the /v1/devices endpoint instead. Still used for create/update return types that hit /v1/deskphones.

Properties​

button_template?​

TypeScript
button_template?: string | null;

Defined in: sdk/js/src/types/device.ts:321

Reusable programmable-key template bound to this deskphone.


button_template_id?​

TypeScript
button_template_id?: string | null;

Defined in: sdk/js/src/types/device.ts:323

Deprecated​

Use button_template. Retained for backwards compatibility.


created_at​

TypeScript
created_at: string;

Defined in: sdk/js/src/types/device.ts:346

ISO 8601 timestamp


current_ip_address?​

TypeScript
current_ip_address?: string;

Defined in: sdk/js/src/types/device.ts:331

Last known IP address from provisioning request


firmware_version?​

TypeScript
firmware_version?: string;

Defined in: sdk/js/src/types/device.ts:338

Firmware version named in the User-Agent of the last recognized config fetch. A fetch with an unrecognized User-Agent keeps the previous value.


id​

TypeScript
id: string;

Defined in: sdk/js/src/types/device.ts:302

Unique identifier for the device


last_provisioned_at?​

TypeScript
last_provisioned_at?: string;

Defined in: sdk/js/src/types/device.ts:333

ISO 8601 timestamp of last successful config fetch


lines?​

TypeScript
lines?: DeviceLine[];

Defined in: sdk/js/src/types/device.ts:344

Configured lines on this device


location?​

TypeScript
location?: string;

Defined in: sdk/js/src/types/device.ts:317

Physical E911 location. Every deskphone has one.


location_id?​

TypeScript
location_id?: string;

Defined in: sdk/js/src/types/device.ts:319

Deprecated​

Use location. Retained for backwards compatibility.


mac_address​

TypeScript
mac_address: string;

Defined in: sdk/js/src/types/device.ts:304

Hardware MAC address (e.g., "00:04:13:aa:bb:cc")


model?​

TypeScript
model?: string;

Defined in: sdk/js/src/types/device.ts:313

Device model (e.g., "D785", "T48S")


name?​

TypeScript
name?: string | null;

Defined in: sdk/js/src/types/device.ts:315

Human-friendly label for the deskphone. null when unassigned.


overrides?​

TypeScript
overrides?: DeviceSettings;

Defined in: sdk/js/src/types/device.ts:329

Device-specific settings overrides


primary_line?​

TypeScript
primary_line?: string;

Defined in: sdk/js/src/types/device.ts:340

ID of the primary line


primary_line_id?​

TypeScript
primary_line_id?: string;

Defined in: sdk/js/src/types/device.ts:342

Deprecated​

Use primary_line. Retained for backwards compatibility.


profile_id?​

TypeScript
profile_id?: string;

Defined in: sdk/js/src/types/device.ts:327

ID of the provisioning profile, if using profile-based config


serial_number?​

TypeScript
serial_number?: string;

Defined in: sdk/js/src/types/device.ts:309

Manufacturer serial number from the device label, used to resolve zero-touch provisioning transfers. Omitted when not set.


status​

TypeScript
status: DeviceStatus;

Defined in: sdk/js/src/types/device.ts:325

Current provisioning status


updated_at​

TypeScript
updated_at: string;

Defined in: sdk/js/src/types/device.ts:348

ISO 8601 timestamp


vendor​

TypeScript
vendor: string;

Defined in: sdk/js/src/types/device.ts:311

Detected vendor (e.g., "snom", "yealink")