@salesforce/agents
    Preparing search index...

    Service class responsible for publishing agents to Salesforce orgs

    Index

    Constructors

    Methods

    Constructors

    • Creates a new AgentPublisher instance.

      Parameters

      • connection: Connection

        The caller-supplied Connection. Used as the lookup key into the ConnectionManager cache (managerFor()); never used directly for SFAP or org API calls.

      • project: SfProject

        The Salesforce project

      • agentJson: AgentJson

        The compiled AgentJson to publish

      • skipMetadataRetrieve: boolean = false

        Whether to skip retrieving the agent metadata from the org

      Returns ScriptAgentPublisher

    Methods