UNPKG

intercom-client

Version:

Official Node bindings to the Intercom API

22 lines (21 loc) 885 B
"use strict"; // This file was auto-generated by Fern from our API Definition. Object.defineProperty(exports, "__esModule", { value: true }); exports.NewsClient = void 0; const BaseClient_js_1 = require("../../../../BaseClient.js"); const Client_js_1 = require("../resources/feeds/client/Client.js"); const Client_js_2 = require("../resources/items/client/Client.js"); class NewsClient { constructor(options = {}) { this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options); } get items() { var _a; return ((_a = this._items) !== null && _a !== void 0 ? _a : (this._items = new Client_js_2.ItemsClient(this._options))); } get feeds() { var _a; return ((_a = this._feeds) !== null && _a !== void 0 ? _a : (this._feeds = new Client_js_1.FeedsClient(this._options))); } } exports.NewsClient = NewsClient;