@botonic/plugin-flow-builder
Version:
Use Flow Builder to show your contents
26 lines (25 loc) • 684 B
TypeScript
import { HtBaseNode, HtNodeLink } from './common';
import { HtFunctionArguments, HtFunctionResult } from './function';
import { HtNodeWithContentType } from './node-types';
export type HtQueueStatusConditionalResultMapping = [
{
result: 'open';
target: HtNodeLink;
},
{
result: 'closed';
target: HtNodeLink;
},
{
result: 'open-without-agents';
target: HtNodeLink;
}
];
export interface HtQueueStatusConditionalNode extends HtBaseNode {
type: HtNodeWithContentType.FUNCTION;
content: {
action: string;
arguments: HtFunctionArguments[];
result_mapping: HtFunctionResult[];
};
}