@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
18 lines • 1.14 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const index_1 = require("../../../../codegen/crm/pipelines/index");
const index_2 = require("../../../../index");
describe('api client', () => {
it('is discoverable', () => {
const client = new index_2.Client().crm.pipelines;
expect(Object.prototype.hasOwnProperty.call(client, 'pipelineAuditsApi')).toBeTruthy();
expect(index_1.PipelineAuditsApi.name).toBe(client.pipelineAuditsApi.constructor.name);
expect(Object.prototype.hasOwnProperty.call(client, 'pipelineStageAuditsApi')).toBeTruthy();
expect(index_1.PipelineStageAuditsApi.name).toBe(client.pipelineStageAuditsApi.constructor.name);
expect(Object.prototype.hasOwnProperty.call(client, 'pipelineStagesApi')).toBeTruthy();
expect(index_1.PipelineStagesApi.name).toBe(client.pipelineStagesApi.constructor.name);
expect(Object.prototype.hasOwnProperty.call(client, 'pipelinesApi')).toBeTruthy();
expect(index_1.PipelinesApi.name).toBe(client.pipelinesApi.constructor.name);
});
});
//# sourceMappingURL=pipelines.spec.js.map