Skip to main content

@dialstack/sdk-dev / server/src / DeviceUpdateParams

Interface: DeviceUpdateParams

Defined in: sdk/server/src/index.ts:1980

name, base, and button_template are tri-state: omit for no change, send a value to set, or send explicit null to clear. location can be changed but not cleared.

Properties​

base?​

TypeScript
base?: string | null;

Defined in: sdk/server/src/index.ts:1998

Paired DECT base, handset only — re-pair to a different base on the same account, or null to unpair (it stays in inventory).


button_template?​

TypeScript
button_template?: string | null;

Defined in: sdk/server/src/index.ts:2003

Deprecated​

Set button_template on the user instead: a phone shows the layout of the user it serves. Still honoured.


ipei?​

TypeScript
ipei?: string;

Defined in: sdk/server/src/index.ts:1987

DECT handset only.


location?​

TypeScript
location?: string | null;

Defined in: sdk/server/src/index.ts:1993

E911 location, deskphone or DECT base only. null resets it to the default: the account's only location, else the location of a user on the device, else the account's main location.


model?​

TypeScript
model?: string;

Defined in: sdk/server/src/index.ts:1981


name?​

TypeScript
name?: string | null;

Defined in: sdk/server/src/index.ts:1982


overrides?​

TypeScript
overrides?: DeviceSettings;

Defined in: sdk/server/src/index.ts:1985


serial_number?​

TypeScript
serial_number?: string | null;

Defined in: sdk/server/src/index.ts:2008

Manufacturer serial number, deskphones and DECT bases only. Trimmed; null or an empty string clears it.


status?​

TypeScript
status?: DeviceStatus;

Defined in: sdk/server/src/index.ts:1984

Deskphones and DECT bases only.