Interface DropboxNodeParameters

Source
interface DropboxNodeParameters {
    authentication?: "oAuth2" | "accessToken";
    binaryData?: boolean;
    binaryPropertyName?: string;
    fileContent?: string;
    fileStatus?: "deleted" | "active";
    filters?:
        | {
            file_categories?: (
                | "other"
                | "video"
                | "document"
                | "image"
                | "pdf"
                | "folder"
                | "audio"
                | "paper"
                | "presentation"
                | "spreadsheet"
            )[];
            file_extensions?: string;
            path?: string;
        }
        | {
            include_deleted?: boolean;
            include_has_explicit_shared_members?: boolean;
            include_mounted_folders?: boolean;
            include_non_downloadable_files?: boolean;
            recursive?: boolean;
        };
    limit?: number;
    operation?: | "create"
    | "list"
    | "delete"
    | "upload"
    | "query"
    | "move"
    | "copy"
    | "download";
    path?: string;
    query?: string;
    resource?: "search"
    | "file"
    | "folder";
    returnAll?: boolean;
    simple?: boolean;
    toPath?: string;
}

Properties§

Source§

readonly authentication?: "oAuth2" | "accessToken"

Means of authenticating with the service Default: "accessToken"

Source§

readonly binaryData?: boolean

Whether the data to upload should be taken from binary field

Source§

readonly binaryPropertyName?: string

Default: "data"

Source§

readonly fileContent?: string

The text content of the file to upload

Source§

readonly fileStatus?: "deleted" | "active"

The string to search for. May match across multiple fields based on the request arguments. Default: "active"

Source§

readonly filters?:
    | {
        file_categories?: (
            | "other"
            | "video"
            | "document"
            | "image"
            | "pdf"
            | "folder"
            | "audio"
            | "paper"
            | "presentation"
            | "spreadsheet"
        )[];
        file_extensions?: string;
        path?: string;
    }
    | {
        include_deleted?: boolean;
        include_has_explicit_shared_members?: boolean;
        include_mounted_folders?: boolean;
        include_non_downloadable_files?: boolean;
        recursive?: boolean;
    }

Default: {}

Source§

readonly limit?: number

Max number of results to return Default: 100 Type options: {"minValue":1}

Source§

readonly operation?:
    | "create"
    | "list"
    | "delete"
    | "upload"
    | "query"
    | "move"
    | "copy"
    | "download"

Default: "upload"

Source§

readonly path?: string

The path of file or folder to copy

Source§

readonly query?: string

The string to search for. May match across multiple fields based on the request arguments.

Source§

readonly resource?: "search" | "file" | "folder"

Default: "file"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

readonly simple?: boolean

Whether to return a simplified version of the response instead of the raw data Default: true

Source§

readonly toPath?: string

The destination path of file or folder