@dialstack/sdk-dev / server/src / AccountSessionCreateParams
Interface: AccountSessionCreateParams
Defined in: sdk/server/src/index.ts:864
Properties
account
account: string;
Defined in: sdk/server/src/index.ts:865
components
components: object;
Defined in: sdk/server/src/index.ts:867
Components to enable for this session. At least one must be enabled.
Index Signature
[key: string]: ComponentConfig | undefined
account_onboarding?
account_onboarding?: ComponentConfig;
agreement_acceptance?
agreement_acceptance?: ComponentConfig;
Lets this session record acceptance of the subscription agreement.
This is a capability, not a UI toggle: enabling it means the holder of this session can bind the account to the agreement. Enable it only for someone entitled to accept on the account's behalf — doing so asserts that you presented them the agreement.
Separate from account_onboarding on purpose. A session with only
account_onboarding can still read the agreement and render the accept
screen, so someone who may not sign still learns the account is blocked;
submitting without this component is rejected.
ai_agent?
ai_agent?: ComponentConfig;
call_analytics?
call_analytics?: ComponentConfig;
call_history?
call_history?: ComponentConfig;
call_logs?
call_logs?: ComponentConfig;
device_health?
device_health?: ComponentConfig;
dial_plan?
dial_plan?: ComponentConfig;
phone_number_ordering?
phone_number_ordering?: ComponentConfig;
phone_numbers?
phone_numbers?: ComponentConfig;
to_call_back?
to_call_back?: ComponentConfig;
The call activity components: To call back, Call analytics, Device health.
voicemails?
voicemails?: ComponentConfig;