/** * Wordpress Node - Version 1 * Discriminator: resource=user, operation=update */ interface Credentials { wordpressApi: CredentialReference; wordpressOAuth2Api: CredentialReference; } /** Update a post */ export type WordpressV1UserUpdateParams = { resource: 'user'; operation: 'update'; /** * The authentication method to use * @default basicAuth */ authType?: 'basicAuth' | 'oAuth2' | Expression; /** * Unique identifier for the user */ userId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Login name for the user */ username?: string | Expression | PlaceholderValue; /** Display name for the user */ name?: string | Expression | PlaceholderValue; /** First name for the user */ firstName?: string | Expression | PlaceholderValue; /** Last name for the user */ lastName?: string | Expression | PlaceholderValue; /** The email address for the user */ email?: string | Expression | PlaceholderValue; /** Password for the user (never included) */ password?: string | Expression | PlaceholderValue; /** URL of the user */ url?: string | Expression | PlaceholderValue; /** Description of the user */ description?: string | Expression | PlaceholderValue; /** The nickname for the user */ nickname?: string | Expression | PlaceholderValue; /** An alphanumeric identifier for the user */ slug?: string | Expression | PlaceholderValue; }; }; export type WordpressV1UserUpdateNode = { type: 'n8n-nodes-base.wordpress'; version: 1; credentials?: Credentials; config: NodeConfig; };