UNPKG

@botonic/plugin-flow-builder

Version:

Botonic plugin for **Hubtype Flow Builder**: run and bridge flow-driven logic from bots on the **current** line.

18 lines (17 loc) 843 B
import { BotonicContext } from '@botonic/core'; import { FlowBuilderApi } from '../api'; import { ContentFieldsBase } from './content-fields-base'; import { HtHandoffNode, HtQueueLocale } from './hubtype-fields'; export declare class FlowHandoff extends ContentFieldsBase { queue?: HtQueueLocale; onFinishPayload?: string; handoffAutoAssign: boolean; hasQueuePositionChangedNotificationsEnabled: boolean; isTestIntegration: boolean; static fromHubtypeCMS(cmsHandoff: HtHandoffNode, locale: string, cmsApi: FlowBuilderApi): FlowHandoff; private static getOnFinishPayload; doHandoff(botonicContext: BotonicContext): Promise<void>; trackFlow(): Promise<void>; processContent(botonicContext: BotonicContext): Promise<import(".").FlowContent>; toBotonic(botonicContext: BotonicContext): Promise<void>; }