OptionalapiBase URL for the Bondi automation API. Defaults to DEFAULT_BONDI_API_URL
(https://automation.heybondi.com) — only set this when targeting a
non-prod Bondi deployment. Required when internalMode is true (no
default is applied so a misconfigured internal app falls into dry-run
instead of silently posting to the public endpoint).
OptionaldryWhen true, emit() logs payloads instead of making HTTP calls. Also
auto-enabled when required config is missing — workspaceId/token for
the public path, or internalApiKey/apiUrl for internalMode: true.
OptionalfetchCustom fetch implementation. Tests can inject a mock; Node 18+ has fetch globally.
Optionalinit: RequestInitOptionalinit: RequestInitOptionalinternalInternal API key for BondiClientConfig.internalMode. Bondi-only.
OptionalinternalInternal mode: post platform events to /internal/platform-events instead of the public HMAC endpoint. Bondi-only.
OptionalinternalInternal provider slug used in BondiClientConfig.internalMode requests.
OptionalonCalled on emit failures (network or auth errors). Default: console.warn.
HMAC signing key (bnd_tok_...). Created by npx bondi init; saved as BONDI_INTEGRATION_TOKEN.
Workspace ID (UUID). Created by npx bondi init; saved as BONDI_WORKSPACE_ID.
Configuration for createBondiClient. Most fields default to environment variables when unset; see
BondiModule.forRoot(NestJS adapter) for the NestJS-friendly version.