@botonic/core
Version:
Runtime and APIs for Botonic bots: actions, context, messaging, and integration hooks used by the **current** framework line.
11 lines (10 loc) • 630 B
TypeScript
/** Flow / handoff action prefixes stored in session (legacy plugins may still set these via `custom` until migrated). */
export declare enum BotonicAction {
Redirect = "redirect_action",
CreateCase = "create_case",
DeleteUser = "delete_user",
DiscardCase = "discard_case"
}
type BotonicActionSeparator = ':';
export type BotonicActionType = `${BotonicAction.CreateCase}${BotonicActionSeparator}${string}` | `${BotonicAction.Redirect}${BotonicActionSeparator}${string}` | `${BotonicAction.DiscardCase}${BotonicActionSeparator}${string}` | `${BotonicAction.DiscardCase}` | `${BotonicAction.DeleteUser}`;
export {};