Skip to main content

@dialstack/sdk / index / DeviceSettings

Interface: DeviceSettings

Defined in: sdk/src/types/provisioning.ts:271

Complete device settings configuration.

This type is used at all levels of the configuration hierarchy:

  • Platform level: Sets defaults for all devices in the platform
  • Account level: Sets defaults for all devices in the account
  • Device level: Sets overrides for a specific device

All fields are optional. Omitting a field means "inherit from parent layer". The server resolves the final configuration by merging: Global -> Platform -> Account -> Device

Example

// Account-wide settings
const accountSettings: DeviceSettings = {
abstractions: {
regional: {
timezone: 'America/Chicago',
language: 'en-US',
},
features: {
callWaitingEnabled: true,
dndEnabled: true,
},
},
};

// Device-specific override
const deviceSettings: DeviceSettings = {
abstractions: {
display: {
backlightLevel: 'low', // This device is in a dark room
},
},
};

Properties

abstractions?

optional abstractions?: AbstractSettings;

Defined in: sdk/src/types/provisioning.ts:275

Vendor-agnostic settings that are translated to device-specific configuration.