@dialstack/sdk-dev / js/src / UpdateDeviceRequest
Interface: UpdateDeviceRequest
Defined in: sdk/js/src/types/device.ts:363
Request payload for POST /v1/devices/{id}. Tri-state fields (name,
location_id, base_id) accept three values: omit to leave unchanged,
a string to set, or explicit JSON null to clear.
Properties
base?
optional base?: string | null;
Defined in: sdk/js/src/types/device.ts:392
Tri-state parent base. dect_handset only — repair to a different
base (string) or unpair (null).
base_id?
optional base_id?: string | null;
Defined in: sdk/js/src/types/device.ts:394
Deprecated
Use base. Retained for backwards compatibility.
button_template?
optional button_template?: string | null;
Defined in: sdk/js/src/types/device.ts:385
Tri-state programmable-key template binding.
button_template_id?
optional button_template_id?: string | null;
Defined in: sdk/js/src/types/device.ts:387
Deprecated
Use button_template. Retained for backwards compatibility.
ipei?
optional ipei?: string;
Defined in: sdk/js/src/types/device.ts:371
Handset IPEI. dect_handset only.
location?
optional location?: string | null;
Defined in: sdk/js/src/types/device.ts:381
Tri-state dispatch location. deskphone and dect_base only.
location_id?
optional location_id?: string | null;
Defined in: sdk/js/src/types/device.ts:383
Deprecated
Use location. Retained for backwards compatibility.
model?
optional model?: string;
Defined in: sdk/js/src/types/device.ts:365
Device model.
name?
optional name?: string | null;
Defined in: sdk/js/src/types/device.ts:373
Tri-state human-friendly label.
overrides?
optional overrides?: DeviceSettings;
Defined in: sdk/js/src/types/device.ts:369
Device-specific settings overrides.
serial_number?
optional serial_number?: string | null;
Defined in: sdk/js/src/types/device.ts:379
Manufacturer serial number (1-64 letters, digits, or dashes; surrounding
whitespace is trimmed). deskphone and dect_base only. Send null or
an empty string to clear.
status?
optional status?: DeviceStatus;
Defined in: sdk/js/src/types/device.ts:367
Device status.