HubSpot API Configuration (notes/configuration.ts)

hubspot-api-nodejs · codegen/crm/objects/notes/configuration.ts · typescript · Apache-2.0
integration, crm, lang:typescript

Configures authentication and middleware for HubSpot API clients. Use this to initialize SDK connections for CRM data operations.

// Source: https://github.com/HubSpot/hubspot-api-nodejs | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import { HttpLibrary } from "./http/http";
import { Middleware, PromiseMiddleware, PromiseMiddlewareWrapper } from "./middleware";
import { IsomorphicFetchHttpLibrary as DefaultHttpLibrary } from "./http/isomorphic-fetch";
import { BaseServerConfiguration, server1 } from "./servers";
import { configureAuthMethods, AuthMethods, AuthMethodsConfiguration } from "./auth/auth";

export interface Configuration<M = Middleware> {
  readonly baseServer: BaseServerConfiguration;
  readonly httpApi: HttpLibrary;
  readonly middleware: M[];
  readonly authMethods: AuthMethods;
}

// Additi

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key