/** * This file was auto-generated by Fern from our API Definition. */ /** * WordPress post data for creation/update * * Attributes: * title: Post title * content: Post content (HTML or plain text) * status: Post status (draft, publish, private, pending) * excerpt: Post excerpt/summary (optional) * categories: List of category names (optional, created if not exist) * tags: List of tag names (optional, created if not exist) * featured_image: URL to featured image (optional) * date: Post publish date in ISO format (optional) * format: Post format (standard, aside, gallery, etc.) (optional) */ export interface WordPressPost { /** Post title */ title: string; /** Post content (HTML or plain text) */ content: string; /** Post status: draft, publish, private, pending, trash */ status?: string; /** Post excerpt/summary */ excerpt?: string; /** List of category names */ categories?: string[]; /** List of tag names */ tags?: string[]; /** URL to featured image */ featured_image?: string; /** Post publish date in ISO format (e.g., 2025-01-15T10:00:00) */ date?: string; /** Post format: standard, aside, gallery, link, image, quote, status, video, audio, chat */ format?: string; }