Skip to main content

@dialstack/sdk / index / ProvisionedDevice

Interface: ProvisionedDevice

Defined in: sdk/src/types/device.ts:228

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/src/types/device.ts:244

Reusable programmable-key template bound to this deskphone.


button_template_id?

TypeScript
optional button_template_id?: string | null;

Defined in: sdk/src/types/device.ts:246

Deprecated

Use button_template. Retained for backwards compatibility.


created_at

TypeScript
created_at: string;

Defined in: sdk/src/types/device.ts:264

ISO 8601 timestamp


current_ip_address?

TypeScript
optional current_ip_address?: string;

Defined in: sdk/src/types/device.ts:254

Last known IP address from provisioning request


id

TypeScript
id: string;

Defined in: sdk/src/types/device.ts:230

TypeID with dev_ prefix


last_provisioned_at?

TypeScript
optional last_provisioned_at?: string;

Defined in: sdk/src/types/device.ts:256

ISO 8601 timestamp of last successful config fetch


lines?

TypeScript
optional lines?: DeviceLine[];

Defined in: sdk/src/types/device.ts:262

Configured lines on this device


location?

TypeScript
optional location?: string | null;

Defined in: sdk/src/types/device.ts:240

Physical E911 location. null when unassigned.


location_id?

TypeScript
optional location_id?: string | null;

Defined in: sdk/src/types/device.ts:242

Deprecated

Use location. Retained for backwards compatibility.


mac_address

TypeScript
mac_address: string;

Defined in: sdk/src/types/device.ts:232

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


model?

TypeScript
optional model?: string;

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

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


name?

TypeScript
optional name?: string | null;

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

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


overrides?

TypeScript
optional overrides?: DeviceSettings;

Defined in: sdk/src/types/device.ts:252

Device-specific settings overrides


primary_line?

TypeScript
optional primary_line?: string;

Defined in: sdk/src/types/device.ts:258

TypeID of the primary line


primary_line_id?

TypeScript
optional primary_line_id?: string;

Defined in: sdk/src/types/device.ts:260

Deprecated

Use primary_line. Retained for backwards compatibility.


profile_id?

TypeScript
optional profile_id?: string;

Defined in: sdk/src/types/device.ts:250

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


status

TypeScript
status: DeviceStatus;

Defined in: sdk/src/types/device.ts:248

Current provisioning status


updated_at

TypeScript
updated_at: string;

Defined in: sdk/src/types/device.ts:266

ISO 8601 timestamp


vendor

TypeScript
vendor: string;

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

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