@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?
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?
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
created_at: string;
Defined in: sdk/js/src/types/device.ts:275
ISO 8601 timestamp
current_ip_address?
optional current_ip_address?: string;
Defined in: sdk/js/src/types/device.ts:265
Last known IP address from provisioning request
id
id: string;
Defined in: sdk/js/src/types/device.ts:236
TypeID with dev_ prefix
last_provisioned_at?
optional last_provisioned_at?: string;
Defined in: sdk/js/src/types/device.ts:267
ISO 8601 timestamp of last successful config fetch
lines?
optional lines?: DeviceLine[];
Defined in: sdk/js/src/types/device.ts:273
Configured lines on this device
location?
optional location?: string | null;
Defined in: sdk/js/src/types/device.ts:251
Physical E911 location. null when unassigned.
location_id?
optional location_id?: string | null;
Defined in: sdk/js/src/types/device.ts:253
Deprecated
Use location. Retained for backwards compatibility.
mac_address
mac_address: string;
Defined in: sdk/js/src/types/device.ts:238
Hardware MAC address (e.g., "00:04:13:aa:bb:cc")
model?
optional model?: string;
Defined in: sdk/js/src/types/device.ts:247
Device model (e.g., "D785", "T48S")
name?
optional name?: string | null;
Defined in: sdk/js/src/types/device.ts:249
Human-friendly label for the deskphone. null when unassigned.
overrides?
optional overrides?: DeviceSettings;
Defined in: sdk/js/src/types/device.ts:263
Device-specific settings overrides
primary_line?
optional primary_line?: string;
Defined in: sdk/js/src/types/device.ts:269
TypeID of the primary line
primary_line_id?
optional primary_line_id?: string;
Defined in: sdk/js/src/types/device.ts:271
Deprecated
Use primary_line. Retained for backwards compatibility.
profile_id?
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?
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
status: DeviceStatus;
Defined in: sdk/js/src/types/device.ts:259
Current provisioning status
updated_at
updated_at: string;
Defined in: sdk/js/src/types/device.ts:277
ISO 8601 timestamp
vendor
vendor: string;
Defined in: sdk/js/src/types/device.ts:245
Detected vendor (e.g., "snom", "yealink")