/** * Nextcloud Node - Version 1 * Discriminator: resource=folder, operation=copy */ interface Credentials { nextCloudApi: CredentialReference; nextCloudOAuth2Api: CredentialReference; } /** Copy a file */ export type NextCloudV1FolderCopyParams = { resource: 'folder'; operation: 'copy'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * The path of file or folder to copy. The path should start with "/". */ path?: string | Expression | PlaceholderValue; /** * The destination path of file or folder. The path should start with "/". */ toPath?: string | Expression | PlaceholderValue; }; export type NextCloudV1FolderCopyNode = { type: 'n8n-nodes-base.nextCloud'; version: 1; credentials?: Credentials; config: NodeConfig; };