Skip to main content

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

Interface: AccountConfig

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

Properties​

customer_approval_required?​

TypeScript
customer_approval_required?: boolean | null;

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

Account-level override of the platform's customer approval requirement: whether every hardware order for this account needs the customer's approval before it is placed. Tri-state: null/undefined inherits the platform default, true requires approval, false does not. Settable only with a platform secret key.


customer_ordering_enabled?​

TypeScript
customer_ordering_enabled?: boolean | null;

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

Account-level override of the platform's customer ordering default: whether this account's users may order hardware themselves. Tri-state: null/undefined inherits the platform default, true allows, false refuses. Settable only with a platform secret key.


default_agent_visible?​

TypeScript
default_agent_visible?: boolean | null;

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

Account-level override for whether the managed AI agent is offered when creating a voice app. Tri-state: null/undefined inherits the platform default, true shows it, false hides it.


extension_length?​

TypeScript
extension_length?: number;

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

Number of digits for extension numbers, 3-6 (default: 4)


intercom?​

TypeScript
intercom?: IntercomConfig | null;

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

Admin-key-only intercom recipient policy; component sessions cannot change it. Omit on update to preserve it; null resets to Off.


recording_enabled?​

TypeScript
recording_enabled?: boolean;

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

Whether call audio recordings are retained (default: false)


recording_inbound_enabled?​

TypeScript
recording_inbound_enabled?: boolean;

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

Whether inbound call audio is retained. Narrows recording_enabled, which gates every direction, so both must be on (default: true).


recording_internal_enabled?​

TypeScript
recording_internal_enabled?: boolean;

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

Whether extension-to-extension call audio is retained (default: true)


recording_outbound_enabled?​

TypeScript
recording_outbound_enabled?: boolean;

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

Whether outbound call audio is retained. Turn this off where the law requires every party to consent and an inbound notice cannot cover it (default: true).


recording_retention_days?​

TypeScript
recording_retention_days?: number;

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

How long call recording audio is kept before it is deleted; the call record is kept either way (default: 365, max: 2555). Zero or negative means use the default. Voicemail audio is not covered.


redaction_enabled?​

TypeScript
redaction_enabled?: boolean;

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

Whether sensitive information (PII) is redacted from transcripts and audio recordings; transcription is English-only and a recording is downloadable only after redaction completes (default: false)


region?​

TypeScript
region?: string;

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

Deprecated​

Read-only copy of the account's country, which is now its dialing region. Sending a different value is refused. Removed in the next major.


timezone?​

TypeScript
timezone?: string;

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

IANA timezone (default: "UTC")


transcript_retention_days?​

TypeScript
transcript_retention_days?: number;

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

How long transcript text and AI summaries are kept before the text is cleared; the call and voicemail records are kept either way (default: 365, max: 2555). Zero or negative means use the default.


transcription_enabled?​

TypeScript
transcription_enabled?: boolean;

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

Whether calls are transcribed (default: false). Voicemail is transcribed regardless.


transcription_inbound_enabled?​

TypeScript
transcription_inbound_enabled?: boolean;

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

Whether inbound calls are transcribed. Narrows transcription_enabled, which gates every direction, so both must be on. Independent of the recording flags (default: true).


transcription_internal_enabled?​

TypeScript
transcription_internal_enabled?: boolean;

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

Whether extension-to-extension calls are transcribed (default: true)


transcription_outbound_enabled?​

TypeScript
transcription_outbound_enabled?: boolean;

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

Whether outbound calls are transcribed. A transcript needs the call's audio, so turn this off where the law requires every party to consent, even with recording off (default: true).