intercom-client
Version:
Official Node bindings to the Intercom API
23 lines (22 loc) • 726 B
JavaScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.News = void 0;
const Client_1 = require("../resources/items/client/Client");
const Client_2 = require("../resources/feeds/client/Client");
class News {
constructor(_options = {}) {
this._options = _options;
}
get items() {
var _a;
return ((_a = this._items) !== null && _a !== void 0 ? _a : (this._items = new Client_1.Items(this._options)));
}
get feeds() {
var _a;
return ((_a = this._feeds) !== null && _a !== void 0 ? _a : (this._feeds = new Client_2.Feeds(this._options)));
}
}
exports.News = News;
;