bothy-sdk
    Preparing search index...

    Function triggererLoader

    • Builds the TriggererLoader of a client: getAgentTriggerers.

      Parameters

      • client: Pick<Client<paths>, "GET">

        A client of the public API with the agent's credentials; only GET is used.

      Returns TriggererLoader

      The loader; it throws the typed ProblemError of a failed answer.

      const verifier = new InvocationVerifier({ ..., allowlist: triggererLoader(api) });