import { parseUpdateArticle, updateArticle } from './articles.ts' /** * Update an Intercom article. Requires `confirm: true`, or use `dryRun: true`. * @example * import updateArticle from 'kody:@kody/intercom/update-article' * const preview = await updateArticle({ id, title: 'Updated title', dryRun: true }) */ export default async function updateArticleEntrypoint(params: Record = {}) { return updateArticle(parseUpdateArticle(params)) }