UNPKG

@hubspot/api-client

Version:

NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files

14 lines 771 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const index_1 = require("../../../../codegen/marketing/transactional/index"); const index_2 = require("../../../../index"); describe('api client', () => { it('is discoverable', () => { const client = new index_2.Client().marketing.transactional; expect(Object.prototype.hasOwnProperty.call(client, 'publicSMTPTokensApi')).toBeTruthy(); expect(index_1.PublicSMTPTokensApi.name).toBe(client.publicSMTPTokensApi.constructor.name); expect(Object.prototype.hasOwnProperty.call(client, 'singleSendApi')).toBeTruthy(); expect(index_1.SingleSendApi.name).toBe(client.singleSendApi.constructor.name); }); }); //# sourceMappingURL=transactional.spec.js.map