/** * Nextcloud Node - Version 1 * Discriminator: resource=user, operation=update */ interface Credentials { nextCloudApi: CredentialReference; nextCloudOAuth2Api: CredentialReference; } /** Edit attributes related to a user */ export type NextCloudV1UserUpdateParams = { resource: 'user'; operation: 'update'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * Username the user will have */ userId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Fields */ field?: { /** Key of the updated attribute * @default email */ key?: 'address' | 'displayname' | 'email' | 'password' | 'twitter' | 'website' | Expression; /** Value of the updated attribute */ value?: string | Expression | PlaceholderValue; }; }; }; export type NextCloudV1UserUpdateNode = { type: 'n8n-nodes-base.nextCloud'; version: 1; credentials?: Credentials; config: NodeConfig; };