@salesforce/agents
    Preparing search index...

    Type Alias AgentInteractionBase

    type AgentInteractionBase = {
        end(
            sessionId: string,
            reason: EndReason,
        ): Promise<AgentPreviewEndResponse>;
        send(sessionId: string, message: string): Promise<AgentPreviewSendResponse>;
        setApexDebugMode(enable: boolean): void;
        start(): Promise<AgentPreviewStartResponse>;
    }

    Implemented by

    Index

    Methods

    • Parameters

      • enable: boolean

      Returns void