/** * Wordpress Node - Version 1 * Discriminator: resource=page, operation=get */ interface Credentials { wordpressApi: CredentialReference; wordpressOAuth2Api: CredentialReference; } /** Get a post */ export type WordpressV1PageGetParams = { resource: 'page'; operation: 'get'; /** * The authentication method to use * @default basicAuth */ authType?: 'basicAuth' | 'oAuth2' | Expression; /** * Unique identifier for the object */ pageId?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** The password for the page if it is password protected */ password?: string | Expression | PlaceholderValue; /** Scope under which the request is made; determines fields present in response * @default view */ context?: 'view' | 'embed' | 'edit' | Expression; }; }; export type WordpressV1PageGetOutput = { _links?: { about?: Array<{ href?: string; }>; author?: Array<{ embeddable?: boolean; href?: string; }>; collection?: Array<{ href?: string; }>; curies?: Array<{ href?: string; name?: string; templated?: boolean; }>; 'predecessor-version'?: Array<{ href?: string; id?: number; }>; replies?: Array<{ embeddable?: boolean; href?: string; }>; self?: Array<{ href?: string; targetHints?: { allow?: Array; }; }>; 'version-history'?: Array<{ count?: number; href?: string; }>; 'wp:attachment'?: Array<{ href?: string; }>; }; author?: number; class_list?: Array; comment_status?: string; content?: { protected?: boolean; rendered?: string; }; date?: string; date_gmt?: string; excerpt?: { protected?: boolean; rendered?: string; }; featured_media?: number; guid?: { rendered?: string; }; link?: string; menu_order?: number; meta?: { footnotes?: string; }; modified?: string; modified_gmt?: string; parent?: number; ping_status?: string; slug?: string; status?: string; template?: string; title?: { rendered?: string; }; type?: string; }; export type WordpressV1PageGetNode = { type: 'n8n-nodes-base.wordpress'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };