intercom-client
Version:
Official Node bindings to the Intercom API
37 lines (36 loc) • 1.06 kB
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
/**
* The Content of an Article.
*/
export interface ArticleContent {
/** The type of object - `article_content` . */
type: "article_content";
/** The title of the article. */
title: string;
/** The description of the article. */
description: string;
/** The body of the article. */
body: string;
/** The ID of the author of the article. */
author_id: number;
/** Whether the article is `published` or is a `draft` . */
state: ArticleContent.State;
/** The time when the article was created (seconds). */
created_at?: number;
/** The time when the article was last updated (seconds). */
updated_at?: number;
/** The URL of the article. */
url?: string;
}
export declare namespace ArticleContent {
/**
* Whether the article is `published` or is a `draft` .
*/
type State = "published" | "draft";
const State: {
readonly Published: "published";
readonly Draft: "draft";
};
}