UNPKG

intercom-client

Version:

Official Node bindings to the Intercom API

105 lines (104 loc) 5.15 kB
/** * This file was auto-generated by Fern from our API Definition. */ import * as environments from "../../../../environments"; import * as core from "../../../../core"; import { Admins } from "../resources/admins/client/Client"; import { AiContent } from "../resources/aiContent/client/Client"; import { Articles } from "../resources/articles/client/Client"; import { AwayStatusReasons } from "../resources/awayStatusReasons/client/Client"; import { Export } from "../resources/export/client/Client"; import { HelpCenter } from "../resources/helpCenter/client/Client"; import { Companies } from "../resources/companies/client/Client"; import { Contacts } from "../resources/contacts/client/Client"; import { Notes } from "../resources/notes/client/Client"; import { SubscriptionTypes } from "../resources/subscriptionTypes/client/Client"; import { Tags } from "../resources/tags/client/Client"; import { Conversations } from "../resources/conversations/client/Client"; import { CustomChannelEvents } from "../resources/customChannelEvents/client/Client"; import { CustomObjectInstances } from "../resources/customObjectInstances/client/Client"; import { DataAttributes } from "../resources/dataAttributes/client/Client"; import { DataEvents } from "../resources/dataEvents/client/Client"; import { DataExport } from "../resources/dataExport/client/Client"; import { Jobs } from "../resources/jobs/client/Client"; import { Messages } from "../resources/messages/client/Client"; import { News } from "../resources/news/client/Client"; import { Segments } from "../resources/segments/client/Client"; import { Switch } from "../resources/switch/client/Client"; import { Teams } from "../resources/teams/client/Client"; import { TicketStates } from "../resources/ticketStates/client/Client"; import { TicketTypeAttributes } from "../resources/ticketTypeAttributes/client/Client"; import { TicketTypes } from "../resources/ticketTypes/client/Client"; import { Tickets } from "../resources/tickets/client/Client"; import { Visitors } from "../resources/visitors/client/Client"; export declare namespace Unstable { interface Options { environment?: core.Supplier<environments.IntercomEnvironment | string>; /** Specify a custom URL to connect the client to. */ baseUrl?: core.Supplier<string>; token?: core.Supplier<core.BearerToken | undefined>; /** Override the Intercom-Version header */ version?: "1.0" | "1.1" | "1.2" | "1.3" | "1.4" | "2.0" | "2.1" | "2.2" | "2.3" | "2.4" | "2.5" | "2.6" | "2.7" | "2.8" | "2.9" | "2.10" | "2.11" | "Unstable"; fetcher?: core.FetchFunction; } } export declare class Unstable { protected readonly _options: Unstable.Options; protected _admins: Admins | undefined; protected _aiContent: AiContent | undefined; protected _articles: Articles | undefined; protected _awayStatusReasons: AwayStatusReasons | undefined; protected _export: Export | undefined; protected _helpCenter: HelpCenter | undefined; protected _companies: Companies | undefined; protected _contacts: Contacts | undefined; protected _notes: Notes | undefined; protected _subscriptionTypes: SubscriptionTypes | undefined; protected _tags: Tags | undefined; protected _conversations: Conversations | undefined; protected _customChannelEvents: CustomChannelEvents | undefined; protected _customObjectInstances: CustomObjectInstances | undefined; protected _dataAttributes: DataAttributes | undefined; protected _dataEvents: DataEvents | undefined; protected _dataExport: DataExport | undefined; protected _jobs: Jobs | undefined; protected _messages: Messages | undefined; protected _news: News | undefined; protected _segments: Segments | undefined; protected _switch: Switch | undefined; protected _teams: Teams | undefined; protected _ticketStates: TicketStates | undefined; protected _ticketTypeAttributes: TicketTypeAttributes | undefined; protected _ticketTypes: TicketTypes | undefined; protected _tickets: Tickets | undefined; protected _visitors: Visitors | undefined; constructor(_options?: Unstable.Options); get admins(): Admins; get aiContent(): AiContent; get articles(): Articles; get awayStatusReasons(): AwayStatusReasons; get export(): Export; get helpCenter(): HelpCenter; get companies(): Companies; get contacts(): Contacts; get notes(): Notes; get subscriptionTypes(): SubscriptionTypes; get tags(): Tags; get conversations(): Conversations; get customChannelEvents(): CustomChannelEvents; get customObjectInstances(): CustomObjectInstances; get dataAttributes(): DataAttributes; get dataEvents(): DataEvents; get dataExport(): DataExport; get jobs(): Jobs; get messages(): Messages; get news(): News; get segments(): Segments; get switch(): Switch; get teams(): Teams; get ticketStates(): TicketStates; get ticketTypeAttributes(): TicketTypeAttributes; get ticketTypes(): TicketTypes; get tickets(): Tickets; get visitors(): Visitors; }