UNPKG

@botonic/plugin-flow-builder

Version:

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

17 lines (16 loc) 545 B
import type { BotonicContext } from '@botonic/core'; export interface AvailabilityData { available: boolean; waiting_cases: number; availability_threshold_waiting_cases: number; open: boolean; name: string; available_agents: number; } export declare class HubtypeQueuesClient { private readonly botonicContext; queueId: string; checkAvailableAgents: boolean; constructor(botonicContext: BotonicContext, queueId: string, checkAvailableAgents?: boolean); getAvailability(): Promise<AvailabilityData>; }