Interface MicrosoftOneDriveNodeParameters

Source
interface MicrosoftOneDriveNodeParameters {
    additionalFields?: { name?: string };
    binaryData?: boolean;
    binaryPropertyName?: string;
    fileContent?: string;
    fileId?: string;
    fileName?: string;
    folderId?: string;
    itemId?: string;
    name?: string;
    newName?: string;
    operation?:
        | "create"
        | "get"
        | "delete"
        | "search"
        | "upload"
        | "copy"
        | "download"
        | "share"
        | "rename"
        | "getChildren";
    options?: { parentFolderId?: string };
    parentId?: string;
    parentReference?: {
        driveId?: string;
        driveType?: string;
        id?: string;
        listId?: string;
        name?: string;
        path?: string;
        shareId?: string;
        siteId?: string;
    };
    query?: string;
    resource?: "file"
    | "folder";
    scope?: "organization" | "anonymous";
    type?: "edit" | "view" | "embed";
}

Properties§

Source§

readonly additionalFields?: { name?: string }

Default: {}

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

Source§

readonly fileId?: string

Source§

readonly fileName?: string

The name the file should be saved as

Source§

readonly folderId?: string

Source§

readonly itemId?: string

ID of the file

Source§

readonly name?: string

The name or path of the folder

Source§

readonly newName?: string

New name for file

Source§

readonly operation?:
    | "create"
    | "get"
    | "delete"
    | "search"
    | "upload"
    | "copy"
    | "download"
    | "share"
    | "rename"
    | "getChildren"

Default: "upload"

Source§

readonly options?: { parentFolderId?: string }

Default: {}

Source§

readonly parentId?: string

ID of the parent folder that will contain the file

Source§

readonly parentReference?: {
    driveId?: string;
    driveType?: string;
    id?: string;
    listId?: string;
    name?: string;
    path?: string;
    shareId?: string;
    siteId?: string;
}

Reference to the parent item the copy will be created in Details Default: {}

Source§

readonly query?: string

The query text used to search for items. Values may be matched across several fields including filename, metadata, and file content.

Source§

readonly resource?: "file" | "folder"

Default: "file"

Source§

readonly scope?: "organization" | "anonymous"

The type of sharing link to create

Source§

readonly type?: "edit" | "view" | "embed"

The type of sharing link to create