@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
23 lines (22 loc) • 650 B
TypeScript
/// <reference types="node" />
/// <reference types="node" />
import * as http from 'http';
import * as https from 'https';
import Bottleneck from 'bottleneck';
export default interface IConfiguration {
apiKey?: string;
accessToken?: string;
developerApiKey?: string;
basePath?: string;
defaultHeaders?: {
[key: string]: string;
};
numberOfApiCallRetries?: number;
limiterOptions?: Bottleneck.ConstructorOptions;
limiterJobOptions?: Bottleneck.JobOptions;
httpAgent?: http.Agent | https.Agent;
middleware?: Array<{
pre(ctx: unknown): unknown;
post(ctx: unknown): unknown;
}>;
}