Skip to main content

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

Interface: DeviceCreateParams

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

Properties​

base?​

TypeScript
optional base?: string;

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

Parent DECT base, handset only. Omit to stock the handset unpaired.


ipei?​

TypeScript
optional ipei?: string;

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

Required for DECT handsets.


location?​

TypeScript
optional location?: string;

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

E911 location, deskphone or DECT base only. Can be set later.


mac_address?​

TypeScript
optional mac_address?: string;

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

Required for deskphones and DECT bases.


model?​

TypeScript
optional model?: string;

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


multicell_role?​

TypeScript
optional multicell_role?: DeviceMulticellRole;

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

DECT base only; defaults to single.


name?​

TypeScript
optional name?: string;

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


overrides?​

TypeScript
optional overrides?: DeviceSettings;

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


type?​

TypeScript
optional type?: DeviceType;

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

The kind to create. Optional for MAC-addressable devices: omit it and the type is detected from mac_address via the vendor catalog. Rejected if the MAC cannot be classified, or if a supplied type contradicts a positive catalog match. dect_handset is IPEI-identified and must always be given.