{
  "name": "nextcloud",
  "display_name": "Nextcloud",
  "description": "Access data on Nextcloud",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [
    {
      "name": "nextCloudApi",
      "required": true
    },
    {
      "name": "nextCloudOAuth2Api",
      "required": true
    }
  ],
  "properties": [
    {
      "name": "authentication",
      "display_name": "Authentication",
      "kind": "options",
      "required": false,
      "default": "accessToken"
    },
    {
      "name": "resource",
      "display_name": "Resource",
      "kind": "options",
      "required": false,
      "default": "file"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "upload",
      "description": "Copy a file"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "create",
      "description": "Copy a folder"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "create",
      "description": "Invite a user to a NextCloud organization"
    },
    {
      "name": "path",
      "display_name": "From Path",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The path of file or folder to copy. The path should start with "
    },
    {
      "name": "toPath",
      "display_name": "To Path",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The destination path of file or folder. The path should start with "
    },
    {
      "name": "path",
      "display_name": "Delete Path",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The path to delete. Can be a single file or a whole folder. The path should start with "
    },
    {
      "name": "path",
      "display_name": "From Path",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The path of file or folder to move. The path should start with "
    },
    {
      "name": "toPath",
      "display_name": "To Path",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The new path of file or folder. The path should start with "
    },
    {
      "name": "path",
      "display_name": "File Path",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The file path of the file to download. Has to contain the full path. The path should start with "
    },
    {
      "name": "binaryPropertyName",
      "display_name": "Put Output File in Field",
      "kind": "string",
      "required": true,
      "default": "data"
    },
    {
      "name": "path",
      "display_name": "File Path",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The absolute file path of the file to upload. Has to contain the full path. The parent folder has to exist. Existing files get overwritten."
    },
    {
      "name": "binaryDataUpload",
      "display_name": "Binary File",
      "kind": "boolean",
      "required": true
    },
    {
      "name": "fileContent",
      "display_name": "File Content",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The text content of the file to upload"
    },
    {
      "name": "binaryPropertyName",
      "display_name": "Input Binary Field",
      "kind": "string",
      "required": true,
      "default": "data"
    },
    {
      "name": "path",
      "display_name": "File Path",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The file path of the file to share. Has to contain the full path. The path should start with "
    },
    {
      "name": "shareType",
      "display_name": "Share Type",
      "kind": "options",
      "required": false,
      "description": "The share permissions to set"
    },
    {
      "name": "circleId",
      "display_name": "Circle ID",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The ID of the circle to share with"
    },
    {
      "name": "email",
      "display_name": "Email",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The Email address to share with"
    },
    {
      "name": "groupId",
      "display_name": "Group ID",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The ID of the group to share with"
    },
    {
      "name": "user",
      "display_name": "User",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The user to share with"
    },
    {
      "name": "options",
      "display_name": "Options",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "Optional search string"
    },
    {
      "name": "path",
      "display_name": "Folder",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The folder to create. The parent folder has to exist. The path should start with "
    },
    {
      "name": "path",
      "display_name": "Folder Path",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The path of which to list the content. The path should start with "
    },
    {
      "name": "userId",
      "display_name": "Username",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Username the user will have"
    },
    {
      "name": "email",
      "display_name": "Email",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The email of the user to invite"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "The display name of the user to invite"
    },
    {
      "name": "userId",
      "display_name": "Username",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Username the user will have"
    },
    {
      "name": "returnAll",
      "display_name": "Return All",
      "kind": "boolean",
      "required": false,
      "description": "Whether to return all results or only up to a given limit"
    },
    {
      "name": "limit",
      "display_name": "Limit",
      "kind": "number",
      "required": false,
      "description": "Max number of results to return"
    },
    {
      "name": "options",
      "display_name": "Options",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "Optional search string"
    },
    {
      "name": "updateFields",
      "display_name": "Update Fields",
      "kind": "fixedCollection",
      "required": false,
      "default": "email",
      "description": "The new address for the user"
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts"
}