@dialstack/sdk / index / UpdateDeviceRequest
Interface: UpdateDeviceRequest
Defined in: sdk/src/types/device.ts:352
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/src/types/device.ts:375
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/src/types/device.ts:377
Deprecated
Use base. Retained for backwards compatibility.
button_template?
optional button_template?: string | null;
Defined in: sdk/src/types/device.ts:368
Tri-state programmable-key template binding.
button_template_id?
optional button_template_id?: string | null;
Defined in: sdk/src/types/device.ts:370
Deprecated
Use button_template. Retained for backwards compatibility.
ipei?
optional ipei?: string;
Defined in: sdk/src/types/device.ts:360
Handset IPEI. dect_handset only.
location?
optional location?: string | null;
Defined in: sdk/src/types/device.ts:364
Tri-state dispatch location. deskphone and dect_base only.
location_id?
optional location_id?: string | null;
Defined in: sdk/src/types/device.ts:366
Deprecated
Use location. Retained for backwards compatibility.
model?
optional model?: string;
Defined in: sdk/src/types/device.ts:354
Device model.
name?
optional name?: string | null;
Defined in: sdk/src/types/device.ts:362
Tri-state human-friendly label.
overrides?
optional overrides?: DeviceSettings;
Defined in: sdk/src/types/device.ts:358
Device-specific settings overrides.
status?
optional status?: DeviceStatus;
Defined in: sdk/src/types/device.ts:356
Device status.