@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
16 lines • 991 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const index_1 = require("../../../../../codegen/crm/extensions/calling/index");
const index_2 = require("../../../../../index");
describe('api client', () => {
it('is discoverable', () => {
const client = new index_2.Client().crm.extensions.calling;
expect(Object.prototype.hasOwnProperty.call(client, 'channelConnectionSettingsApi')).toBeTruthy();
expect(index_1.ChannelConnectionSettingsApi.name).toBe(client.channelConnectionSettingsApi.constructor.name);
expect(Object.prototype.hasOwnProperty.call(client, 'settingsApi')).toBeTruthy();
expect(index_1.SettingsApi.name).toBe(client.settingsApi.constructor.name);
expect(Object.prototype.hasOwnProperty.call(client, 'recordingSettingsApi')).toBeTruthy();
expect(index_1.RecordingSettingsApi.name).toBe(client.recordingSettingsApi.constructor.name);
});
});
//# sourceMappingURL=calling.spec.js.map