Skip to main content

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

Interface: ProvisionedDevice

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

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
optional button_template?: string | null;

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

Reusable programmable-key template bound to this deskphone.


button_template_id?​

TypeScript
optional button_template_id?: string | null;

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

Deprecated​

Use button_template. Retained for backwards compatibility.


created_at​

TypeScript
created_at: string;

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

ISO 8601 timestamp


current_ip_address?​

TypeScript
optional current_ip_address?: string;

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

Last known IP address from provisioning request


id​

TypeScript
id: string;

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

TypeID with dev_ prefix


last_provisioned_at?​

TypeScript
optional last_provisioned_at?: string;

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

ISO 8601 timestamp of last successful config fetch


lines?​

TypeScript
optional lines?: DeviceLine[];

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

Configured lines on this device


location?​

TypeScript
optional location?: string | null;

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

Physical E911 location. null when unassigned.


location_id?​

TypeScript
optional location_id?: string | null;

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

Deprecated​

Use location. Retained for backwards compatibility.


mac_address​

TypeScript
mac_address: string;

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

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


model?​

TypeScript
optional model?: string;

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

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


name?​

TypeScript
optional name?: string | null;

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

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


overrides?​

TypeScript
optional overrides?: DeviceSettings;

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

Device-specific settings overrides


primary_line?​

TypeScript
optional primary_line?: string;

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

TypeID of the primary line


primary_line_id?​

TypeScript
optional primary_line_id?: string;

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

Deprecated​

Use primary_line. Retained for backwards compatibility.


profile_id?​

TypeScript
optional profile_id?: string;

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

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


serial_number?​

TypeScript
optional serial_number?: string;

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

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:259

Current provisioning status


updated_at​

TypeScript
updated_at: string;

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

ISO 8601 timestamp


vendor​

TypeScript
vendor: string;

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

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