@dialstack/sdk-dev / server/src / AccountSessionCreateParams
Interface: AccountSessionCreateParams
Defined in: sdk/server/src/index.ts:731
Properties
account
account: string;
Defined in: sdk/server/src/index.ts:732
components
components: object;
Defined in: sdk/server/src/index.ts:734
Components to enable for this session. At least one must be enabled.
Index Signature
[key: string]: ComponentConfig | undefined
account_onboarding?
optional account_onboarding?: ComponentConfig;
agreement_acceptance?
optional 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?
optional ai_agent?: ComponentConfig;
call_history?
optional call_history?: ComponentConfig;
call_logs?
optional call_logs?: ComponentConfig;
dial_plan?
optional dial_plan?: ComponentConfig;
phone_number_ordering?
optional phone_number_ordering?: ComponentConfig;
phone_numbers?
optional phone_numbers?: ComponentConfig;
voicemails?
optional voicemails?: ComponentConfig;