UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

43 lines (38 loc) 977 B
/** * Dropbox Node - Version 1 * Discriminator: resource=folder, operation=delete */ interface Credentials { dropboxApi: CredentialReference; dropboxOAuth2Api: CredentialReference; } /** Delete a file */ export type DropboxV1FolderDeleteParams = { resource: 'folder'; operation: 'delete'; /** * Means of authenticating with the service * @default accessToken */ authentication?: 'accessToken' | 'oAuth2' | Expression<string>; /** * The path to delete. Can be a single file or a whole folder. */ path?: string | Expression<string> | PlaceholderValue; }; export type DropboxV1FolderDeleteOutput = { metadata?: { '.tag'?: string; id?: string; name?: string; path_display?: string; path_lower?: string; }; }; export type DropboxV1FolderDeleteNode = { type: 'n8n-nodes-base.dropbox'; version: 1; credentials?: Credentials; config: NodeConfig<DropboxV1FolderDeleteParams>; output?: Items<DropboxV1FolderDeleteOutput>; };