intercom-client
Version:
Official Node bindings to the Intercom API
32 lines (31 loc) • 996 B
TypeScript
/**
* 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` . */
const State: {
readonly Published: "published";
readonly Draft: "draft";
};
type State = (typeof State)[keyof typeof State];
}