UNPKG

intercom-client

Version:

Official Node bindings to the Intercom API

153 lines (152 loc) 7.25 kB
"use strict"; /** * This file was auto-generated by Fern from our API Definition. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Unstable = void 0; const Client_1 = require("../resources/admins/client/Client"); const Client_2 = require("../resources/aiContent/client/Client"); const Client_3 = require("../resources/articles/client/Client"); const Client_4 = require("../resources/awayStatusReasons/client/Client"); const Client_5 = require("../resources/export/client/Client"); const Client_6 = require("../resources/helpCenter/client/Client"); const Client_7 = require("../resources/companies/client/Client"); const Client_8 = require("../resources/contacts/client/Client"); const Client_9 = require("../resources/notes/client/Client"); const Client_10 = require("../resources/subscriptionTypes/client/Client"); const Client_11 = require("../resources/tags/client/Client"); const Client_12 = require("../resources/conversations/client/Client"); const Client_13 = require("../resources/customChannelEvents/client/Client"); const Client_14 = require("../resources/customObjectInstances/client/Client"); const Client_15 = require("../resources/dataAttributes/client/Client"); const Client_16 = require("../resources/dataEvents/client/Client"); const Client_17 = require("../resources/dataExport/client/Client"); const Client_18 = require("../resources/jobs/client/Client"); const Client_19 = require("../resources/messages/client/Client"); const Client_20 = require("../resources/news/client/Client"); const Client_21 = require("../resources/segments/client/Client"); const Client_22 = require("../resources/switch/client/Client"); const Client_23 = require("../resources/teams/client/Client"); const Client_24 = require("../resources/ticketStates/client/Client"); const Client_25 = require("../resources/ticketTypeAttributes/client/Client"); const Client_26 = require("../resources/ticketTypes/client/Client"); const Client_27 = require("../resources/tickets/client/Client"); const Client_28 = require("../resources/visitors/client/Client"); class Unstable { constructor(_options = {}) { this._options = _options; } get admins() { var _a; return ((_a = this._admins) !== null && _a !== void 0 ? _a : (this._admins = new Client_1.Admins(this._options))); } get aiContent() { var _a; return ((_a = this._aiContent) !== null && _a !== void 0 ? _a : (this._aiContent = new Client_2.AiContent(this._options))); } get articles() { var _a; return ((_a = this._articles) !== null && _a !== void 0 ? _a : (this._articles = new Client_3.Articles(this._options))); } get awayStatusReasons() { var _a; return ((_a = this._awayStatusReasons) !== null && _a !== void 0 ? _a : (this._awayStatusReasons = new Client_4.AwayStatusReasons(this._options))); } get export() { var _a; return ((_a = this._export) !== null && _a !== void 0 ? _a : (this._export = new Client_5.Export(this._options))); } get helpCenter() { var _a; return ((_a = this._helpCenter) !== null && _a !== void 0 ? _a : (this._helpCenter = new Client_6.HelpCenter(this._options))); } get companies() { var _a; return ((_a = this._companies) !== null && _a !== void 0 ? _a : (this._companies = new Client_7.Companies(this._options))); } get contacts() { var _a; return ((_a = this._contacts) !== null && _a !== void 0 ? _a : (this._contacts = new Client_8.Contacts(this._options))); } get notes() { var _a; return ((_a = this._notes) !== null && _a !== void 0 ? _a : (this._notes = new Client_9.Notes(this._options))); } get subscriptionTypes() { var _a; return ((_a = this._subscriptionTypes) !== null && _a !== void 0 ? _a : (this._subscriptionTypes = new Client_10.SubscriptionTypes(this._options))); } get tags() { var _a; return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_11.Tags(this._options))); } get conversations() { var _a; return ((_a = this._conversations) !== null && _a !== void 0 ? _a : (this._conversations = new Client_12.Conversations(this._options))); } get customChannelEvents() { var _a; return ((_a = this._customChannelEvents) !== null && _a !== void 0 ? _a : (this._customChannelEvents = new Client_13.CustomChannelEvents(this._options))); } get customObjectInstances() { var _a; return ((_a = this._customObjectInstances) !== null && _a !== void 0 ? _a : (this._customObjectInstances = new Client_14.CustomObjectInstances(this._options))); } get dataAttributes() { var _a; return ((_a = this._dataAttributes) !== null && _a !== void 0 ? _a : (this._dataAttributes = new Client_15.DataAttributes(this._options))); } get dataEvents() { var _a; return ((_a = this._dataEvents) !== null && _a !== void 0 ? _a : (this._dataEvents = new Client_16.DataEvents(this._options))); } get dataExport() { var _a; return ((_a = this._dataExport) !== null && _a !== void 0 ? _a : (this._dataExport = new Client_17.DataExport(this._options))); } get jobs() { var _a; return ((_a = this._jobs) !== null && _a !== void 0 ? _a : (this._jobs = new Client_18.Jobs(this._options))); } get messages() { var _a; return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_19.Messages(this._options))); } get news() { var _a; return ((_a = this._news) !== null && _a !== void 0 ? _a : (this._news = new Client_20.News(this._options))); } get segments() { var _a; return ((_a = this._segments) !== null && _a !== void 0 ? _a : (this._segments = new Client_21.Segments(this._options))); } get switch() { var _a; return ((_a = this._switch) !== null && _a !== void 0 ? _a : (this._switch = new Client_22.Switch(this._options))); } get teams() { var _a; return ((_a = this._teams) !== null && _a !== void 0 ? _a : (this._teams = new Client_23.Teams(this._options))); } get ticketStates() { var _a; return ((_a = this._ticketStates) !== null && _a !== void 0 ? _a : (this._ticketStates = new Client_24.TicketStates(this._options))); } get ticketTypeAttributes() { var _a; return ((_a = this._ticketTypeAttributes) !== null && _a !== void 0 ? _a : (this._ticketTypeAttributes = new Client_25.TicketTypeAttributes(this._options))); } get ticketTypes() { var _a; return ((_a = this._ticketTypes) !== null && _a !== void 0 ? _a : (this._ticketTypes = new Client_26.TicketTypes(this._options))); } get tickets() { var _a; return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new Client_27.Tickets(this._options))); } get visitors() { var _a; return ((_a = this._visitors) !== null && _a !== void 0 ? _a : (this._visitors = new Client_28.Visitors(this._options))); } } exports.Unstable = Unstable;