Skip to main content

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

Interface: AccountConfig

Defined in: sdk/js/src/types/account-onboarding.ts:47

Properties​

customer_ordering_enabled?​

TypeScript
customer_ordering_enabled?: boolean | null;

Defined in: sdk/js/src/types/account-onboarding.ts:128

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/js/src/types/account-onboarding.ts:121

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.


e911_notification?​

TypeScript
e911_notification?: E911NotificationConfig;

Defined in: sdk/js/src/types/account-onboarding.ts:115


extension_length?​

TypeScript
extension_length?: number;

Defined in: sdk/js/src/types/account-onboarding.ts:57


intercom?​

TypeScript
intercom?: IntercomConfig | null;

Defined in: sdk/js/src/types/account-onboarding.ts:50

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


max_phone_numbers?​

TypeScript
max_phone_numbers?: number;

Defined in: sdk/js/src/types/account-onboarding.ts:114


recording_enabled?​

TypeScript
recording_enabled?: boolean;

Defined in: sdk/js/src/types/account-onboarding.ts:75

Whether call audio recordings are retained. Defaults to false.


recording_inbound_enabled?​

TypeScript
recording_inbound_enabled?: boolean;

Defined in: sdk/js/src/types/account-onboarding.ts:80

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/js/src/types/account-onboarding.ts:88

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


recording_outbound_enabled?​

TypeScript
recording_outbound_enabled?: boolean;

Defined in: sdk/js/src/types/account-onboarding.ts:86

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/js/src/types/account-onboarding.ts:112

How long call recording audio is kept before it is deleted. The call record is kept and stays in call history; only the audio goes. Defaults to 365 days, maximum 2555 (7 years). Zero or negative means use the default — retention cannot be disabled. Voicemail audio is not covered by this setting.


redaction_enabled?​

TypeScript
redaction_enabled?: boolean;

Defined in: sdk/js/src/types/account-onboarding.ts:96

Whether sensitive information (PII) is redacted from transcripts and audio recordings. When enabled, redacted words appear as [PII] in transcripts, the matching audio is silenced, calls are transcribed in English only, and a recording is downloadable only after redaction completes. Defaults to false.


region?​

TypeScript
region?: string;

Defined in: sdk/js/src/types/account-onboarding.ts:56

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/js/src/types/account-onboarding.ts:113


transcript_retention_days?​

TypeScript
transcript_retention_days?: number;

Defined in: sdk/js/src/types/account-onboarding.ts:104

How long transcript text and AI summaries are kept on call recordings and voicemails before the text is cleared. The call and voicemail records themselves are kept, and audio expires on its own window. Defaults to 365 days, maximum 2555 (7 years). Zero or negative means use the default — retention cannot be disabled.


transcription_enabled?​

TypeScript
transcription_enabled?: boolean;

Defined in: sdk/js/src/types/account-onboarding.ts:59

Whether calls are transcribed. Defaults to false. Voicemail is transcribed regardless.


transcription_inbound_enabled?​

TypeScript
transcription_inbound_enabled?: boolean;

Defined in: sdk/js/src/types/account-onboarding.ts:65

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/js/src/types/account-onboarding.ts:73

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


transcription_outbound_enabled?​

TypeScript
transcription_outbound_enabled?: boolean;

Defined in: sdk/js/src/types/account-onboarding.ts:71

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).