@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?
optional button_template?: string | null;
Defined in: sdk/src/types/device.ts:244
Reusable programmable-key template bound to this deskphone.
button_template_id?
optional button_template_id?: string | null;
Defined in: sdk/src/types/device.ts:246
Deprecated
Use button_template. Retained for backwards compatibility.
created_at
created_at: string;
Defined in: sdk/src/types/device.ts:264
ISO 8601 timestamp
current_ip_address?
optional current_ip_address?: string;
Defined in: sdk/src/types/device.ts:254
Last known IP address from provisioning request
id
id: string;
Defined in: sdk/src/types/device.ts:230
TypeID with dev_ prefix
last_provisioned_at?
optional last_provisioned_at?: string;
Defined in: sdk/src/types/device.ts:256
ISO 8601 timestamp of last successful config fetch
lines?
optional lines?: DeviceLine[];
Defined in: sdk/src/types/device.ts:262
Configured lines on this device
location?
optional location?: string | null;
Defined in: sdk/src/types/device.ts:240
Physical E911 location. null when unassigned.
location_id?
optional location_id?: string | null;
Defined in: sdk/src/types/device.ts:242
Deprecated
Use location. Retained for backwards compatibility.
mac_address
mac_address: string;
Defined in: sdk/src/types/device.ts:232
Hardware MAC address (e.g., "00:04:13:aa:bb:cc")
model?
optional model?: string;
Defined in: sdk/src/types/device.ts:236
Device model (e.g., "D785", "T48S")
name?
optional name?: string | null;
Defined in: sdk/src/types/device.ts:238
Human-friendly label for the deskphone. null when unassigned.
overrides?
optional overrides?: DeviceSettings;
Defined in: sdk/src/types/device.ts:252
Device-specific settings overrides
primary_line?
optional primary_line?: string;
Defined in: sdk/src/types/device.ts:258
TypeID of the primary line
primary_line_id?
optional primary_line_id?: string;
Defined in: sdk/src/types/device.ts:260
Deprecated
Use primary_line. Retained for backwards compatibility.
profile_id?
optional profile_id?: string;
Defined in: sdk/src/types/device.ts:250
TypeID of the provisioning profile, if using profile-based config
status
status: DeviceStatus;
Defined in: sdk/src/types/device.ts:248
Current provisioning status
updated_at
updated_at: string;
Defined in: sdk/src/types/device.ts:266
ISO 8601 timestamp
vendor
vendor: string;
Defined in: sdk/src/types/device.ts:234
Detected vendor (e.g., "snom", "yealink")