Skip to main content

@dialstack/sdk / react / ScheduleNodeConfig

Interface: ScheduleNodeConfig

Defined in: sdk/src/types/dial-plan.ts:17

Configuration for a schedule node that routes calls based on time schedules. Exits: open (business hours), closed, and optionally holiday. Holiday is per-node opt-in — when unset, holiday state folds into closed.

Properties

closed?

optional closed?: string;

Defined in: sdk/src/types/dial-plan.ts:23

Node ID to route to when schedule is closed


holiday?

optional holiday?: string | null;

Defined in: sdk/src/types/dial-plan.ts:29

Node ID to route to when schedule is on holiday. Optional: when omitted, holiday state folds into the closed exit. Set to route holidays to a dedicated branch (e.g., a "closed for holiday" announcement).


open?

optional open?: string;

Defined in: sdk/src/types/dial-plan.ts:21

Node ID to route to when schedule is open


schedule_id

schedule_id: string;

Defined in: sdk/src/types/dial-plan.ts:19

Reference to the schedule definition