@botonic/plugin-flow-builder
Version:
Use Flow Builder to show your contents
18 lines (17 loc) • 806 B
TypeScript
/// <reference types="react" />
import { ActionRequest } from '@botonic/react';
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(request: ActionRequest): Promise<void>;
trackFlow(_request: ActionRequest): Promise<void>;
toBotonic(id: string, request: ActionRequest): JSX.Element;
}