@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?
button_template?: string | null;
Defined in: sdk/js/src/types/device.ts:321
Reusable programmable-key template bound to this deskphone.
button_template_id?
button_template_id?: string | null;
Defined in: sdk/js/src/types/device.ts:323
Deprecated
Use button_template. Retained for backwards compatibility.
created_at
created_at: string;
Defined in: sdk/js/src/types/device.ts:346
ISO 8601 timestamp
current_ip_address?
current_ip_address?: string;
Defined in: sdk/js/src/types/device.ts:331
Last known IP address from provisioning request
firmware_version?
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
id: string;
Defined in: sdk/js/src/types/device.ts:302
Unique identifier for the device
last_provisioned_at?
last_provisioned_at?: string;
Defined in: sdk/js/src/types/device.ts:333
ISO 8601 timestamp of last successful config fetch
lines?
lines?: DeviceLine[];
Defined in: sdk/js/src/types/device.ts:344
Configured lines on this device
location?
location?: string;
Defined in: sdk/js/src/types/device.ts:317
Physical E911 location. Every deskphone has one.
location_id?
location_id?: string;
Defined in: sdk/js/src/types/device.ts:319
Deprecated
Use location. Retained for backwards compatibility.
mac_address
mac_address: string;
Defined in: sdk/js/src/types/device.ts:304
Hardware MAC address (e.g., "00:04:13:aa:bb:cc")
model?
model?: string;
Defined in: sdk/js/src/types/device.ts:313
Device model (e.g., "D785", "T48S")
name?
name?: string | null;
Defined in: sdk/js/src/types/device.ts:315
Human-friendly label for the deskphone. null when unassigned.
overrides?
overrides?: DeviceSettings;
Defined in: sdk/js/src/types/device.ts:329
Device-specific settings overrides
primary_line?
primary_line?: string;
Defined in: sdk/js/src/types/device.ts:340
ID of the primary line
primary_line_id?
primary_line_id?: string;
Defined in: sdk/js/src/types/device.ts:342
Deprecated
Use primary_line. Retained for backwards compatibility.
profile_id?
profile_id?: string;
Defined in: sdk/js/src/types/device.ts:327
ID of the provisioning profile, if using profile-based config
serial_number?
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
status: DeviceStatus;
Defined in: sdk/js/src/types/device.ts:325
Current provisioning status
updated_at
updated_at: string;
Defined in: sdk/js/src/types/device.ts:348
ISO 8601 timestamp
vendor
vendor: string;
Defined in: sdk/js/src/types/device.ts:311
Detected vendor (e.g., "snom", "yealink")