UNPKG

intercom-client

Version:

Official Node bindings to the Intercom API

27 lines (26 loc) 1.1 kB
/** * This file was auto-generated by Fern from our API Definition. */ import * as environments from "../../../../environments"; import * as core from "../../../../core"; import { Items } from "../resources/items/client/Client"; import { Feeds } from "../resources/feeds/client/Client"; export declare namespace News { 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 News { protected readonly _options: News.Options; protected _items: Items | undefined; protected _feeds: Feeds | undefined; constructor(_options?: News.Options); get items(): Items; get feeds(): Feeds; }