@deploybaseline/hubspot
v0.14.0
Published
HubSpot emulator: CRM objects v3 (contacts, companies, deals, tickets) with batch create, read, update, upsert, and archive; search; associations v4 and v3 with labels and limits; properties and groups; pipelines, stages, and audits; owners; private app t
Readme
@deploybaseline/hubspot
HubSpot emulator: CRM objects v3 (contacts, companies, deals, tickets) with batch create, read, update, upsert, and archive; search; associations v4 and v3 with labels and limits; properties and groups; pipelines, stages, and audits; owners; private app tokens with scopes; OAuth for public apps; the webhooks API with signed deliveries; and an inspector. @hubspot/api-client works against it unchanged.
Part of Baseline: local drop-in replacement services for CI and no-network sandboxes.
Usage
npx @deploybaseline/cli start --service hubspotimport { createEmulator } from "@deploybaseline/cli";
const hubspot = await createEmulator({ service: "hubspot" });
// Point your SDK at hubspot.url
await hubspot.close();import { Client } from "@hubspot/api-client";
const client = new Client({ accessToken: "pat-na1-baseline-local", basePath: hubspot.url });Documentation
- HubSpot docs: routes, value checks, batch behavior, search operators, association types, scopes, OAuth, webhooks and their signatures, seed config, and current limits
- API reference:
http://localhost:3999/docs/hubspotwhile the CLI runs (how it works)
License
Apache-2.0
