Skip to main content

@dialstack/sdk-dev / js/src / UpdateDeviceRequest

Interface: UpdateDeviceRequest

Defined in: sdk/js/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?

TypeScript
optional base?: string | null;

Defined in: sdk/js/src/types/device.ts:375

Tri-state parent base. dect_handset only — repair to a different base (string) or unpair (null).


base_id?

TypeScript
optional base_id?: string | null;

Defined in: sdk/js/src/types/device.ts:377

Deprecated

Use base. Retained for backwards compatibility.


button_template?

TypeScript
optional button_template?: string | null;

Defined in: sdk/js/src/types/device.ts:368

Tri-state programmable-key template binding.


button_template_id?

TypeScript
optional button_template_id?: string | null;

Defined in: sdk/js/src/types/device.ts:370

Deprecated

Use button_template. Retained for backwards compatibility.


ipei?

TypeScript
optional ipei?: string;

Defined in: sdk/js/src/types/device.ts:360

Handset IPEI. dect_handset only.


location?

TypeScript
optional location?: string | null;

Defined in: sdk/js/src/types/device.ts:364

Tri-state dispatch location. deskphone and dect_base only.


location_id?

TypeScript
optional location_id?: string | null;

Defined in: sdk/js/src/types/device.ts:366

Deprecated

Use location. Retained for backwards compatibility.


model?

TypeScript
optional model?: string;

Defined in: sdk/js/src/types/device.ts:354

Device model.


name?

TypeScript
optional name?: string | null;

Defined in: sdk/js/src/types/device.ts:362

Tri-state human-friendly label.


overrides?

TypeScript
optional overrides?: DeviceSettings;

Defined in: sdk/js/src/types/device.ts:358

Device-specific settings overrides.


status?

TypeScript
optional status?: DeviceStatus;

Defined in: sdk/js/src/types/device.ts:356

Device status.