/** * Wordpress Node - Version 1 * Discriminator: resource=user, operation=get */ interface Credentials { wordpressApi: CredentialReference; wordpressOAuth2Api: CredentialReference; } /** Get a post */ export type WordpressV1UserGetParams = { resource: 'user'; operation: 'get'; /** * The authentication method to use * @default basicAuth */ authType?: 'basicAuth' | 'oAuth2' | Expression; /** * Unique identifier for the user */ userId?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** Scope under which the request is made; determines fields present in response * @default view */ context?: 'view' | 'embed' | 'edit' | Expression; }; }; export type WordpressV1UserGetOutput = { _links?: { collection?: Array<{ href?: string; }>; self?: Array<{ href?: string; }>; }; description?: string; id?: number; link?: string; name?: string; slug?: string; url?: string; }; export type WordpressV1UserGetNode = { type: 'n8n-nodes-base.wordpress'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };