ReadonlyconfigEffective configuration - apiUrl is filled in with the default when omitted.
Bind an integration to this client - returns trigger emitters keyed by name.
const bondi = client.bind(myIntegration);
bondi.triggers["contact.created"].emit({ id: "1", email: "[email protected]" });
Register or update the integration definition. Used by npx bondi sync
(PUT to public endpoint) or by the CLI init flow (POST to JWT endpoint with cliToken).
OptionalcliToken?: stringShort-lived JWT from the device-code init flow. Only present during first registration.
Optionalversion?: stringOptional version label (e.g. SDK package version) recorded with the sync.
Object with the integration slug and (only on first registration via cliToken) the freshly generated token.
Low-level Bondi client. Handles
register()(definition sync) andbind()(typed trigger emitters). Most users should reach for the NestJS adapter (BondiModule) instead; this class is the underlying engine.Example